Credit Notes
Apply a Credit Note to an Invoice
Allocates an amount from a Credit Note's balance to an Invoice's balance.
post/credit-note-applications
Headers
Authorizationstring required
Your API credentials. Eg. Basic {credentials}.
Idempotency-Keystring required
Unique ID for this request (max 255 characters). Retrying with the same ID is safe; the operation runs at most once.
Sequence-Version'2024-07-30'
Use this header to select an API version
Request body
Example request
{
"creditNoteId": "af60cab3-812d-4250-a051-0fb7133a00c7",
"invoiceId": "61b083e0-1faa-47ca-9aeb-6205da8f6c47",
"amount": 50,
"currency": "USD",
"creditNoteBalanceVersion": 3,
"invoiceBalanceVersion": 7
}Response
Created
Example response
{
"ledgerTransactionId": "0192c1b6-7f3a-7000-8000-000000000001",
"creditNoteId": "af60cab3-812d-4250-a051-0fb7133a00c7",
"invoiceId": "61b083e0-1faa-47ca-9aeb-6205da8f6c47",
"amount": 50,
"currency": "USD",
"appliedAt": "2026-05-28T12:34:56Z",
"invoiceBalance": {
"value": 150,
"currency": "USD",
"version": 8
},
"creditNoteBalance": {
"value": 50,
"currency": "USD",
"version": 4
}
}