Credit Notes
Apply a Credit Note to an Invoice
Changed onAllocates an amount from a Credit Note's balance to an Invoice's balance.
post/credit-note-applications
Request
- Base URLhttps://sandbox.sequencehq.com/api
- URLhttps://sandbox.sequencehq.com/api/credit-note-applications
- Authnone declared. Required headers: Authorization
Headers
Authorizationstring required
Your API credentials. Eg. Basic {credentials}.
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
OK
Changes
- breaking
the
response's property format changed fromdate-timeto no format for status - warning
deleted the
headerrequest parameterIdempotency-Key - warning
deleted the
headerrequest parameterSequence-Version - info
added the new optional
headerrequest parametersequence-version - info
added the success response with the status
- breaking
- breaking
added the new required
headerrequest parameterIdempotency-Key - breaking
removed the success response with the status
- warning
deleted the
headerrequest parametersequence-version - info
added the new optional
headerrequest parameterSequence-Version
- breaking