Skip to main content
POST

Headers

string
default:"1.2"
required
The API version to use. Supported versions are 1.1 and 1.2.
string
A unique key so a retried request is not processed twice.

Path Parameters

string
required
The unique ID (UUID) of the credit note from which balance is allocated.

Request Body Parameters

number
required
The amount to allocate against the invoice. Cannot exceed remainingAmount.
string
required
The unique ID (UUID) of the target invoice to apply the credit toward.
string
Optional remarks or memo describing this allocation.

Response Body

number
HTTP status code (200).
string
Confirmation message (e.g. Credit note applied successfully).
number
Total cumulative amount credited across invoices.
number
Remaining credit balance available for future allocations.
string
Updated state: PARTIALLY_APPLIED (if balance > 0) or FULLY_APPLIED (if balance = 0).
object
Details of the newly created allocation record.

Response Codes

Last modified on November 10, 2026