Skip to main content
A Credit note (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.
See every field in the response of Retrieve a credit note.

Endpoints

Statuses

Notes

  • Creating a credit note against a draft, open, void, or uncollectible invoice returns 422.
  • Supply either lines or amount on create. Supplying both returns 400.
  • The reason field accepts duplicate, fraudulent, order_change, product_unsatisfactory, or adjustment.
  • Voiding a credit note that is already void returns 422.
  • Send an Idempotency-Key header on create and void so a retried request does not issue a duplicate credit or reject a second void. See Idempotency.