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 receipt id
Body
The id of the customer
1
The exchange rate of the sale receipt
1
The id of the deposit account
1
The date of the sale receipt
"2021-01-01"
The receipt number of the sale receipt
"123456"
The reference number of the sale receipt
"123456"
Whether the sale receipt is closed
false
The id of the warehouse
1
The id of the branch
1
The entries of the sale receipt
[{ "key": "123456" }]
The receipt message of the sale receipt
"123456"
The statement of the sale receipt
"123456"
The attachments of the sale receipt
[{ "key": "123456" }]
The id of the pdf template
1
The discount of the sale receipt
1
The discount type of the sale receipt
"percentage"
The adjustment of the sale receipt
1