Skip to content

UpdateBill

Changes a bill that is still a draft, or that the company rejected. A rejected bill goes back to Draft, so you can attach a corrected file with uploadbillfile and submit it again. How keys, responses and statuses work is on Vendor bills.

POST /api/public/updatebill
APIKey: your-api-key
Content-Type: application/json
{
"BillID": 109827,
"BillNumber": "INV-2026-0042",
"BillDate": "2026-10-20",
"CurrCode": "USD",
"Amount": 900.00,
"Tax": 100.00
}

Send every field, as in createbill, plus BillID: the request replaces the bill’s number, date, currency, amount and tax. The bill’s files stay.

The rules of createbill apply, and also:

Rule Info when it fails
The bill belongs to the key’s supplier and company. BillID is required, Bill not found
The bill is a draft, or was rejected. This bill can no longer be modified

On success, Identity is the bill’s ID and RetInfo is the bill, with the status Draft.