Search the docs

Pages and API endpoints

Developer dashboard
Docs/Credit Notes

Credit Notes

Issue credit notes to customers. Reduces their outstanding balance.

List Credit Notes

GET/api/v1/credit-notes
ParameterTypeDescription
statusstringFilter: draft, issued, applied
customerIdstringFilter by customer

Create Credit Note

POST/api/v1/credit-notes
ParameterTypeDescription
customerIdrequiredstringCustomer ID
invoiceIdstringLinked invoice (optional)
lineItemsrequiredarray{ description, quantity, unitPrice }
reasonstringReason for credit

Apply to an Invoice

POST/api/v1/credit-notes/:id/apply

Issues a draft credit note and applies it to an invoice, reducing what the customer owes.

ParameterTypeDescription
invoiceIdstringThe invoice to credit (default: the invoice the credit note was raised against)