POST services/api/rest/v1/Generate_XReport
Request Information
URI Parameters
None.
Body Parameters
RestCounterClose_Filter| Name | Description | Type | Additional information |
|---|---|---|---|
| CounterOpId | integer |
None. |
|
| LocationId | integer |
None. |
|
| DayOpenId | integer |
None. |
|
| CloseCash | decimal number |
None. |
|
| UserId | integer |
None. |
|
| DenominationDetails | Collection of RestDenominationDetails |
None. |
Request Formats
application/json, text/json
Sample:
{
"CounterOpId": 1,
"LocationId": 2,
"DayOpenId": 3,
"CloseCash": 4.0,
"UserId": 5,
"DenominationDetails": [
{
"Id": 1,
"CurrencyId": 2,
"CurrencyDetailsId": 3,
"Contains": 4.0,
"Name": "sample string 5",
"ConvRate": 6.0,
"Count": 7.0,
"Amount": 8.0
},
{
"Id": 1,
"CurrencyId": 2,
"CurrencyDetailsId": 3,
"Contains": 4.0,
"Name": "sample string 5",
"ConvRate": 6.0,
"Count": 7.0,
"Amount": 8.0
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Rest_XReport_Master| Name | Description | Type | Additional information |
|---|---|---|---|
| Title | string |
None. |
|
| DayOpenDate | date |
None. |
|
| DateAndTime | date |
None. |
|
| ShiftNo | integer |
None. |
|
| Counter | string |
None. |
|
| Cashier | string |
None. |
|
| TotalCancelBill | integer |
None. |
|
| TotalAmtCancelBill | decimal number |
None. |
|
| TotalHeldBill | integer |
None. |
|
| TotalAmtHeldBill | decimal number |
None. |
|
| TotalDineInBill | integer |
None. |
|
| TotalAmtDineInBill | decimal number |
None. |
|
| TotalTakeAwayBill | integer |
None. |
|
| TotalAmtTakeAwayBill | decimal number |
None. |
|
| TotalDeliveryBill | integer |
None. |
|
| TotalAmtDeliveryBill | decimal number |
None. |
|
| OpCash | decimal number |
None. |
|
| CloseCash | decimal number |
None. |
|
| TotAmount | decimal number |
None. |
|
| Cash | decimal number |
None. |
|
| CreditCard | decimal number |
None. |
|
| Credit | decimal number |
None. |
|
| Discount | decimal number |
None. |
|
| AmountReceived | decimal number |
None. |
|
| TotalGiftVoucher | decimal number |
None. |
|
| TotOnlinePayment | decimal number |
None. |
|
| TotalVat | decimal number |
None. |
|
| DeliveryCharges | decimal number |
None. |
|
| TotSecurityDeposit | decimal number |
None. |
|
| TotPayLater | decimal number |
None. |
|
| SalesList | Collection of Rest_XReport_Sub |
None. |
|
| TotalPAX | integer |
None. |
|
| TotalAmtPAX | decimal number |
None. |
|
| AmountList | Collection of Rest_Id_Amount |
None. |
|
| DenominationList | Collection of Rest_DenominationAmount |
None. |
|
| OpDenominationList | Collection of Rest_OpDenominationAmount |
None. |
|
| CashCount | decimal number |
None. |
|
| TotCreditCardOthers | decimal number |
None. |
|
| TotCreditCardMaestro | decimal number |
None. |
|
| TotCreditCardVisa | decimal number |
None. |
|
| TotCashCollection | decimal number |
None. |
|
| TotPLCollected | decimal number |
None. |
|
| TotSDReturned | decimal number |
None. |
|
| PredefinedDiscount | Collection of Rest_PreDiscountAmount |
None. |
|
| ProviderType | Collection of Rest_ProviderType |
None. |
|
| TotCreditCardAmex | decimal number |
None. |
|
| WastageItems | Collection of Rest_Wastage |
None. |
|
| TotCreditCardOthersCount | integer |
None. |
|
| TotCreditCardMaestroCount | integer |
None. |
|
| TotCreditCardVisaCount | integer |
None. |
|
| TotCreditCardAmexCount | integer |
None. |
|
| CashIn | decimal number |
None. |
|
| CashOut | decimal number |
None. |
|
| CashOutCount | decimal number |
None. |
|
| CashInCount | decimal number |
None. |
|
| CashTransactionList | Collection of Rest_Cash_Transaction_List |
None. |
|
| LocId | integer |
None. |
|
| DayOpenId | integer |
None. |
|
| CounterOpId | integer |
None. |
|
| TotalVoidSalesBill | integer |
None. |
|
| TotalAmtVoidSalesBill | decimal number |
None. |
|
| TotalCreditNote | decimal number |
None. |
|
| Tips | decimal number |
None. |
|
| Currency_Master | Collection of Rest_ForignCurrency |
None. |
|
| PaymentList | Collection of RestPaymentList_XReport |
None. |
|
| WaiterList | Collection of RestWaiterList_XReport |
None. |
|
| TotalCreditNoteIssued | decimal number |
None. |
|
| TotalCreditNoteCollected | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"Title": "sample string 1",
"DayOpenDate": "2026-09-09T15:02:07.4349249+04:00",
"DateAndTime": "2026-09-09T15:02:07.4349249+04:00",
"ShiftNo": 4,
"Counter": "sample string 5",
"Cashier": "sample string 6",
"TotalCancelBill": 7,
"TotalAmtCancelBill": 8.0,
"TotalHeldBill": 9,
"TotalAmtHeldBill": 10.0,
"TotalDineInBill": 11,
"TotalAmtDineInBill": 12.0,
"TotalTakeAwayBill": 13,
"TotalAmtTakeAwayBill": 14.0,
"TotalDeliveryBill": 15,
"TotalAmtDeliveryBill": 16.0,
"OpCash": 17.0,
"CloseCash": 18.0,
"TotAmount": 19.0,
"Cash": 20.0,
"CreditCard": 21.0,
"Credit": 22.0,
"Discount": 23.0,
"AmountReceived": 24.0,
"TotalGiftVoucher": 25.0,
"TotOnlinePayment": 26.0,
"TotalVat": 27.0,
"DeliveryCharges": 28.0,
"TotSecurityDeposit": 29.0,
"TotPayLater": 30.0,
"SalesList": [
{
"ItemName": "sample string 1",
"Qty": 2.1,
"Amount": 3.1,
"CategoryName": "sample string 4"
},
{
"ItemName": "sample string 1",
"Qty": 2.1,
"Amount": 3.1,
"CategoryName": "sample string 4"
}
],
"TotalPAX": 31,
"TotalAmtPAX": 32.0,
"AmountList": [
{
"InvNo": 1,
"InvAmount": 2.0
},
{
"InvNo": 1,
"InvAmount": 2.0
}
],
"DenominationList": [
{
"Denomination": "sample string 1",
"DenominationAmount": 2.0
},
{
"Denomination": "sample string 1",
"DenominationAmount": 2.0
}
],
"OpDenominationList": [
{
"OpDenomination": "sample string 1",
"OpDenominationAmount": 2.0
},
{
"OpDenomination": "sample string 1",
"OpDenominationAmount": 2.0
}
],
"CashCount": 33.0,
"TotCreditCardOthers": 34.0,
"TotCreditCardMaestro": 35.0,
"TotCreditCardVisa": 36.0,
"TotCashCollection": 37.0,
"TotPLCollected": 38.0,
"TotSDReturned": 39.0,
"PredefinedDiscount": [
{
"PreDiscount": "sample string 1",
"BillCount": 2,
"DiscountAmount": 3.0
},
{
"PreDiscount": "sample string 1",
"BillCount": 2,
"DiscountAmount": 3.0
}
],
"ProviderType": [
{
"Provider": "sample string 1",
"TotalCash": 2.0,
"cashCount": 3,
"TotalCredit": 4.0,
"CreditCount": 5,
"TotalCreditCard": 6.0,
"CreditCardCount": 7,
"TotalOnlinePayment": 8.0,
"OnlineCount": 9
},
{
"Provider": "sample string 1",
"TotalCash": 2.0,
"cashCount": 3,
"TotalCredit": 4.0,
"CreditCount": 5,
"TotalCreditCard": 6.0,
"CreditCardCount": 7,
"TotalOnlinePayment": 8.0,
"OnlineCount": 9
}
],
"TotCreditCardAmex": 40.0,
"WastageItems": [
{
"Name": "sample string 1",
"Qty": 2.0
},
{
"Name": "sample string 1",
"Qty": 2.0
}
],
"TotCreditCardOthersCount": 41,
"TotCreditCardMaestroCount": 42,
"TotCreditCardVisaCount": 43,
"TotCreditCardAmexCount": 44,
"CashIn": 45.0,
"CashOut": 46.0,
"CashOutCount": 47.0,
"CashInCount": 48.0,
"CashTransactionList": [
{
"CashInList": "sample string 1",
"CashOutList": "sample string 2",
"CashOutAmountList": 3.0,
"CashInAmountList": 4.0,
"CashOutListcount": 5,
"CashInListcount": 6
},
{
"CashInList": "sample string 1",
"CashOutList": "sample string 2",
"CashOutAmountList": 3.0,
"CashInAmountList": 4.0,
"CashOutListcount": 5,
"CashInListcount": 6
}
],
"LocId": 49,
"DayOpenId": 50,
"CounterOpId": 51,
"TotalVoidSalesBill": 52,
"TotalAmtVoidSalesBill": 53.0,
"TotalCreditNote": 54.0,
"Tips": 55.0,
"Currency_Master": [
{
"Currency": "sample string 1",
"CurrencyAmount": 2.0,
"ConvertRate": 3.0,
"TotForeignCurrency": 4.0
},
{
"Currency": "sample string 1",
"CurrencyAmount": 2.0,
"ConvertRate": 3.0,
"TotForeignCurrency": 4.0
}
],
"PaymentList": [
{
"Name": "sample string 1",
"Description": "sample string 2",
"Amount": 3.0,
"InvCount": 4
},
{
"Name": "sample string 1",
"Description": "sample string 2",
"Amount": 3.0,
"InvCount": 4
}
],
"WaiterList": [
{
"Name": "sample string 1",
"NoOfInvoice": 2,
"TotAmount": 3.0,
"Tips": 4.0
},
{
"Name": "sample string 1",
"NoOfInvoice": 2,
"TotAmount": 3.0,
"Tips": 4.0
}
],
"TotalCreditNoteIssued": 56.0,
"TotalCreditNoteCollected": 57.0
}