cURL
Invoices
Create Credit Note
Credit against a finalized invoice.
POST
cURL
Only against a
FINALIZED invoice; total must be > 0 and ≤ the invoice balance.
Body:
reason ∈ duplicated_charge, billing_error, dispute, goodwill, other.
fee_id (optional) must reference a fee on that invoice. attachments[].type ∈
tolls, citations. Returns 201; the PDF is generated asynchronously.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
PENDING- PendingSUCCEEDED- SucceededFAILED- Failed
Available options:
PENDING, SUCCEEDED, FAILED Response
200 - application/json
DRAFT- DraftFINALIZED- FinalizedVOID- Void
Available options:
DRAFT, FINALIZED, VOID PROGRESSIVE- ProgressiveAGREEMENT_ENDED- Agreement EndedLATE_TICKET- Late TicketMANUAL- Manual
Available options:
PROGRESSIVE, AGREEMENT_ENDED, LATE_TICKET, MANUAL Full snapshot of plan + charges at creation time.
Null during DRAFT; computed and locked on finalization.
Pattern:
^-?\d{0,10}(?:\.\d{0,2})?$Materialized running total while in DRAFT; nulled on finalization.
Pattern:
^-?\d{0,10}(?:\.\d{0,2})?$Null = PDF never requested. Set to PENDING when task is enqueued.
PENDING- PendingIN_PROGRESS- In ProgressCOMPLETE- Complete
Available options:
PENDING, IN_PROGRESS, COMPLETE PENDING- PendingSUCCEEDED- SucceededFAILED- Failed
Available options:
PENDING, SUCCEEDED, FAILED 
