Request: POST
Signature: /api/v1/savebill
Creates or updates a bill if it already exists. The API expects a JSON body as shown in the sample request below.
If "BillID" is set to 0, a new bill is created. Otherwise, the bill with the matching ID is updated.
"OfficeID" is required only when creating the bill.
The token must be passed as a Header in the request.
Sample Request:
{
"BillID": 0,
"OfficeID": 12,
"EntType": 2,
"EntID": 1213,
"BillNumber": "ABCD1234",
"BillDate": "2025-01-01",
"Received": "2025-01-15",
"DueDate": null,
"CurrCode": "USD",
"BillActual": 1234.56,
"TaxAmount": 123.45,
"TaxDeduct": 0.0,
"Submitted": false,
"Remarks": null,
"ExtRemarks": null
}