Docs

Invoice Lifecycle

Know when an invoice is payable, fulfillable, or terminal.

This page covers legacy v1 fixed invoices. For new integrations use v2 payment sessions. Session and child-attempt states are not interchangeable. Advanced fee alternatives are in buyer-fee pricing.

StatusMeaningCustomer should pay?Fulfill?Terminal?
PENDINGWaiting for one eligible transferYes, before expiryNoNo
PAIDExact eligible transfer confirmedNoYes, onceYes
EXPIREDPayment window ended; a timely transfer may still be processingNoNoNot necessarily
CANCELLEDMerchant cancelled a pending invoiceNoNoYes
UNDERPAIDHistorical attribution stateNoManual review onlyYes
OVERPAIDHistorical attribution stateNoManual review onlyYes

The current attribution-v3 flow transitions PENDING to PAID, EXPIRED, or CANCELLED. Wrong-amount transfers remain unmatched; new invoices are not expected to enter UNDERPAID or OVERPAID.

A transfer timestamped on-chain at or before expiresAt can still settle if BramaPay processes it later. A transfer made after expiry is not eligible. Cancellation is allowed only while PENDING and cannot reverse an on-chain transfer.

Cancel a pending invoice from the Dashboard Payments UI or POST /invoices/:id/cancel (JWT or secret API key). Cancel is not part of the narrow /v1/invoices contract.