POST api/Billing/InsertPayment
Request Information
URI Parameters
None.
Body Parameters
InsertBillingRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| OrdHeadnumb | integer |
None. |
|
| OrdSaleDate | date |
None. |
|
| OrdNumber | integer |
None. |
|
| MechKey | integer |
None. |
|
| UserKey | integer |
None. |
|
| OrdType | string |
None. |
|
| ClientKey | integer |
None. |
|
| TableKey | integer |
None. |
|
| LoyaltyKey | integer |
None. |
|
| CompKey | integer |
None. |
|
| TaxKey | integer |
None. |
|
| TaxAmount | decimal number |
None. |
|
| TaxKey2 | integer |
None. |
|
| TaxAmount2 | decimal number |
None. |
|
| BmDiscAmt | decimal number |
None. |
|
| BmTotalAmount | decimal number |
None. |
|
| BmPaidAmount | decimal number |
None. |
|
| BmServCharge | decimal number |
None. |
|
| BmOtherCharge | decimal number |
None. |
|
| AdvpaidAmount | decimal number |
None. |
|
| Paymentag | string |
None. |
|
| Paymode | string |
None. |
|
| Cardnumber | string |
None. |
|
| CurrencyKey | integer |
None. |
|
| CountryKey | integer |
None. |
|
| Statekey | integer |
None. |
|
| paymadvance | string |
None. |
|
| Subsordemo | string |
None. |
|
| billsOrdersDetList | Collection of BillingDetModel |
None. |
|
| IsDemoCustomer | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrdHeadnumb": 1,
"OrdSaleDate": "2026-04-02T05:17:00.9250314+04:00",
"OrdNumber": 3,
"MechKey": 4,
"UserKey": 5,
"OrdType": "sample string 6",
"ClientKey": 7,
"TableKey": 8,
"LoyaltyKey": 9,
"CompKey": 10,
"TaxKey": 11,
"TaxAmount": 12.0,
"TaxKey2": 13,
"TaxAmount2": 14.0,
"BmDiscAmt": 15.0,
"BmTotalAmount": 16.0,
"BmPaidAmount": 17.0,
"BmServCharge": 18.0,
"BmOtherCharge": 19.0,
"AdvpaidAmount": 20.0,
"Paymentag": "sample string 21",
"Paymode": "sample string 22",
"Cardnumber": "sample string 23",
"CurrencyKey": 24,
"CountryKey": 25,
"Statekey": 26,
"paymadvance": "sample string 27",
"Subsordemo": "sample string 28",
"billsOrdersDetList": [
{
"ordHeadnumb": 2,
"ordHeadLine": 3,
"bmBillNumb": "sample string 4",
"prodKey": 5,
"prodBarcode": "sample string 6",
"prodName": "sample string 7",
"prodDesc": "sample string 8",
"prodQty": 9.0,
"prodPrices": 10.0,
"prodAmount": 11.0,
"paidAmount": 12.0,
"prodDiscAmt": 13.0,
"transType": "sample string 14",
"transTag": "sample string 15",
"paymKey": 16,
"advanceTag": "sample string 17",
"paymDesc": "sample string 18",
"detLinenum": 19,
"bmHeadnum": 20,
"discountAmount": 21.0,
"taxAmount": 22.0,
"taxableAmount": 23.0,
"taxPerc": 24.0,
"taxDescription": "sample string 25",
"vat": 26.0,
"cgst": 27.0,
"sgst": 28.0,
"igst": 29.0
},
{
"ordHeadnumb": 2,
"ordHeadLine": 3,
"bmBillNumb": "sample string 4",
"prodKey": 5,
"prodBarcode": "sample string 6",
"prodName": "sample string 7",
"prodDesc": "sample string 8",
"prodQty": 9.0,
"prodPrices": 10.0,
"prodAmount": 11.0,
"paidAmount": 12.0,
"prodDiscAmt": 13.0,
"transType": "sample string 14",
"transTag": "sample string 15",
"paymKey": 16,
"advanceTag": "sample string 17",
"paymDesc": "sample string 18",
"detLinenum": 19,
"bmHeadnum": 20,
"discountAmount": 21.0,
"taxAmount": 22.0,
"taxableAmount": 23.0,
"taxPerc": 24.0,
"taxDescription": "sample string 25",
"vat": 26.0,
"cgst": 27.0,
"sgst": 28.0,
"igst": 29.0
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.