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
Credit note ID
Response
Returns the credit note
The unique identifier of the credit note
1
The date of the credit note
"2023-01-01T00:00:00Z"
The credit note number
"CN-001"
The ID of the customer
1
Whether the credit note is open
true
Whether the credit note is closed
false
The line items of the credit note
The subtotal amount before discount and adjustments
900
The total amount after discount and adjustments
1000
The date when the credit note was created
"2023-01-01T00:00:00Z"
Formatted credit note date
"2023-01-01"
Formatted created at date
"2023-01-01"
Formatted amount
"$1,000.00"
Formatted credits remaining
"$100.00"
Formatted credits used
"$50.00"
Formatted subtotal
"$900.00"
Formatted discount amount
"$10.00"
Formatted discount amount in local currency
"$10.00"
Formatted discount percentage
"10%"
Formatted adjustment
"$5.00"
Formatted adjustment in local currency
"$5.00"
Formatted total
"$1,000.00"
Formatted total in local currency
"$1,000.00"
The reference number
"REF-001"
The exchange rate for currency conversion
1
The currency code
"USD"
Custom note on the credit note
"Thank you for your business"
Terms and conditions of the credit note
"Valid for 30 days"
The ID of the warehouse
1
The ID of the branch
1
The attachments of the credit note
The discount value
10
The type of discount (percentage or fixed)
percentage
, amount
"percentage"
The adjustment amount
5
The ID of the PDF template
1
The total amount of credits remaining
100
The total amount of credits used
50
The subtotal amount in local currency
900
The discount amount
10
The discount amount in local currency
10
The discount percentage
10
The adjustment amount in local currency
5
The total amount in local currency
1000
The date when the credit note was last updated
"2023-01-02T00:00:00Z"