cn_…) is an immutable document issued against a paid invoice.
It reduces the invoice’s effective balance by the credited amount. A credit note requires a paid invoice,
and your server issues it. See Credit notes for the full flow.
Every credit note carries a gapless, sequential number per merchant and mode (for example CN-000001;
test mode uses TEST-CN-000001). Once issued, a credit note cannot be edited. It can only be voided.
Platforms can create and manage billing for connected accounts: see Billing for connected accounts.
Attributes
string
Credit note id (
cn_…).string
The gapless per-merchant number assigned at creation (for example
CN-000001).string
The invoice this credit note offsets (
inv_…).string
The customer the invoice was issued to (
cus_…).string
issued is the normal state after creation; void means the credit note has been reversed.string | null
The reason given at creation, or null if none was provided.
integer
Total credit amount (subtotal + tax), in minor units.
integer
Portion returned via the linked refund, in minor units.
integer
Portion settled outside the platform, in minor units.
Endpoints
Statuses
Notes
- Creating a credit note against a draft, open, void, or uncollectible invoice returns
422. - Supply either
linesoramounton create. Supplying both returns400. - The
reasonfield acceptsduplicate,fraudulent,order_change,product_unsatisfactory, oradjustment. - Voiding a credit note that is already
voidreturns422. - Send an
Idempotency-Keyheader on create and void so a retried request does not issue a duplicate credit or reject a second void. See Idempotency.

