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
Response
The sale receipt details have been successfully retrieved.
The unique identifier of the sale receipt
1
The date of the sale receipt
"2024-01-01T00:00:00Z"
The receipt number
"SR-2024-001"
The ID of the customer
1
The customer details
The ID of the deposit account
1
The deposit account details
Whether the receipt is closed
false
The entries of the sale receipt
The subtotal amount before discount and adjustments
900
The subtotal in local currency
900
The formatted subtotal
"900.00"
The formatted subtotal in local currency
"900.00"
The total amount after discount and adjustments
1000
The total in local currency
1000
The formatted total
"1,000.00"
The formatted total in local currency
"1,000.00"
The formatted amount
"1,000.00"
The formatted receipt date
"2024-01-01"
The formatted closed at date
"2024-01-02"
The formatted created at date
"2024-01-01"
The formatted discount amount
"100.00"
The formatted discount percentage
"10%"
The formatted adjustment amount
"50.00"
The date when the receipt was created
"2024-01-01T00:00:00Z"
The reference number
"REF-001"
The exchange rate for currency conversion
1
The currency code
"USD"
The message on the receipt
"Thank you for your payment"
The statement on the receipt
"Paid in full"
The date when the receipt was closed
"2024-01-02T00:00:00Z"
The ID of the warehouse
1
The warehouse details
The ID of the branch
1
The branch details
The attachments of the sale receipt
The discount value
100
The type of discount (percentage or fixed)
percentage
, amount
"percentage"
The adjustment amount
50
The date when the receipt was last updated
"2024-01-02T00:00:00Z"