Group Bills Screen
Workflow Details
Employee Screens


Citizen Screens
API Used
Group Bills Inbox


API Used
Technical Implementation Details
MDMS Configuration
Localisation Details
Last updated
Was this helpful?
Was this helpful?
billgenie: "/egov-searcher",curl ‘https://qa.digit.org/egov-searcher/bill-genie/mcollectbills/_get?_=1654070581498’
-H ‘authority: qa.digit.org’
-H ‘accept: application/json, text/plain, /’
-H ‘accept-language: en-GB,en;q=0.9’
-H ‘content-type: application/json;charset=UTF-8’
-H ‘origin: https://qa.digit.org’
-H ‘referer: https://qa.digit.org/digit-ui/employee/bills/inbox’
-H ‘sec-ch-ua: ” Not A;Brand”;v=“99”, “Chromium”;v=“102”, “Google Chrome”;v=“102”’
-H ‘sec-ch-ua-mobile: ?0’
-H ‘sec-ch-ua-platform: “macOS”’
-H ‘sec-fetch-dest: empty’
-H ‘sec-fetch-mode: cors’
-H ‘sec-fetch-site: same-origin’
-H ‘user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36’
--data-raw ’{“searchCriteria”:{“tenantId”:“pb.amritsar”,“name”:“BILLINGSERVICE_BUSINESSSERVICE_ADVT_LIGHT_WALA_BOARD”,“url”:“/bill-genie/mcollectbills/_get”,“businesService”:“ADVT.Light_Wala_Board”,“limit”:10,“offset”:0,“sortBy”:“applicationDate”,“sortOrder”:“ASC”,“sortParams”:[{“id”:“applicationDate”,“desc”:false}]},“RequestInfo”:{“apiId”:“Rainmaker”,“authToken”:“5e0a93dd-4a41-4b05-894c-c6237146668f”,“msgId”:“1654070581498|en_IN”}}'
--compressedbillgenie: "/egov-searcher",curl ‘https://qa.digit.org/egov-searcher/bill-genie/mcollectbills/_get?_=1654076169191’ \
-H ‘authority: qa.digit.org’ \
-H ‘accept: application/json, text/plain, */*’ \
-H ‘accept-language: en-GB,en;q=0.9’ \
-H ‘content-type: application/json;charset=UTF-8’ \
-H ‘origin: https://qa.digit.org’ \
-H ‘referer: https://qa.digit.org/digit-ui/employee/bills/group-bill’ \
-H ‘sec-ch-ua: ” Not A;Brand”;v=“99”, “Chromium”;v=“102”, “Google Chrome”;v=“102”’ \
-H ‘sec-ch-ua-mobile: ?0’ \
-H ‘sec-ch-ua-platform: “macOS”’ \
-H ‘sec-fetch-dest: empty’ \
-H ‘sec-fetch-mode: cors’ \
-H ‘sec-fetch-site: same-origin’ \
-H ‘user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36’ \
--data-raw ’{“searchCriteria”:{“tenantId”:“pb.amritsar”,“name”:“BILLINGSERVICE_BUSINESSSERVICE_ADVT_LIGHT_WALA_BOARD”,“url”:“/bill-genie/mcollectbills/_get”,“businesService”:“ADVT.Light_Wala_Board”,“locality”:[“SUN20”],“limit”:10,“offset”:0,“sortBy”:“applicationDate”,“sortOrder”:“ASC”,“sortParams”:[{“id”:“applicationDate”,“desc”:false}],“billActive”:“ACTIVE”},“RequestInfo”:{“apiId”:“Rainmaker”,“authToken”:“5e0a93dd-4a41-4b05-894c-c6237146668f”,“msgId”:“1654076169191|en_IN”}}' \
--compressed
const { isFetching, isLoading: hookLoading, searchResponseKey, data, searchFields, ...rest } = Digit.Hooks.useBillSearch({
tenantId,
filters: { ...searchParams, businessService, ...paginationParams, sortParams },
config: {},
});import Urls from "../atoms/urls";
import { Request } from "../atoms/Utils/Request";
const BillingService = {
search_bill: ({ tenantId, filters }) =>
Request({
url: `${Urls.billgenie}${filters.url}`,
useCache: false,
method: "POST",
data: {
searchCriteria: {
tenantId: tenantId,
...filters,
},
},
auth: true,
userService: false,
}),
};
export default BillingService;
import { useQuery, useQueryClient } from "react-query";
import BillingService from "../../services/elements/Bill";
const useBillSearch = ({ filters }) => {
const client = useQueryClient();
const tenantId = Digit.SessionStorage.get("User")?.info?.tenantId;
filters.locality = filters.locality?.map((element) => {
return element.code;
});
filters.url = filters.url?.replace("egov-searcher", "");
const args = tenantId ? { tenantId, filters } : { filters };
const { isLoading, error, data } = useQuery(["BILL_INBOX", tenantId, filters], async () => await BillingService.search_bill(args), {
enabled: filters?.businesService ? true : false,
});
return { isLoading, error, data, revalidate: () => client.invalidateQueries(["BILL_INBOX", tenantId, filters]) };
};
export default useBillSearch;
{
"module": "Bills",
"code": "Bills",
"active": true,
"order": 3,
"tenants": [
{
"code": "pb.jalandhar"
},
{
"code": "pb.phagwara"
},
{
"code": "pb.amritsar"
}
]
} {
"code": "ABG_ADVERTISEMENT_TAX_INFO",
"message": "Advertisement Tax",
"module": "rainmaker-abg",
"locale": "en_IN"
},
{
"code": "ABG_ADVERTISEMENT_TAX_LABEL",
"message": "Advertisement Tax",
"module": "rainmaker-abg",
"locale": "en_IN"
},