Headers
Value must be 'Bearer <token>' where <token> is an API key prefixed with 'bc_' or a JWT token.
"Bearer bc_1234567890abcdef"
Required if Authorization is a JWT token. The organization ID to operate within.
Path Parameters
The sale invoice id
Body
Customer ID
1
Invoice date
"2023-01-01T00:00:00Z"
Due date
"2023-01-15T00:00:00Z"
Invoice line items
1
The attachments of the sale receipt
[{ "key": "123456" }]
Invoice number
"INV-001"
Reference number
"REF-001"
Whether the invoice is delivered
Invoice message
"Thank you for your business"
Terms and conditions
"Payment due within 14 days"
Exchange rate
x >= 0
1
Warehouse ID
1
Branch ID
1
Project ID
1
Whether tax is inclusive
false
PDF template ID
1
Payment methods
Discount value
10
Discount type
percentage
, amount
"percentage"
Adjustment amount
5
ID of the estimate this invoice is created from
1
Response
Sale invoice edited successfully