Update Invoice
Update an existing invoice. Supports partial updates.
Updatable fields:
lineItems: Array of line items if calculationMethod is “LINE_ITEMS”sections: Grouped line items if calculationMethod is “LINE_ITEMS”percentage: Percentage if calculationMethod is “PERCENTAGE”issueDate: ISO 8601 datetime stringdueDate: ISO 8601 datetime stringdescription: Invoice descriptionstatus: Invoice status — one ofDRAFT,SENT,DECLINED,PAID,PARTIALLY_PAID,OVERDUE. Only valid transitions from the invoice’s current status are accepted (e.g.DECLINEDis reachable fromDRAFT,SENT,OVERDUE, orPARTIALLY_PAID); an invalid transition is rejected with a 400.isActive: Set tofalseto archive the invoice, ortrueto unarchive it. Applied independently of any other fields present in the same request.
calculationMethod cannot be changed after creation and is rejected if included.
Authentication
Path parameters
Request
Flat array of line items (LINE_ITEMS only). May be combined with sections (a catalogItemId may appear only once across both).
Grouped line items with named sections (LINE_ITEMS only). May be combined with lineItems (ungrouped items).
Percentage (PERCENTAGE invoices only). Cannot be combined with lineItems or sections.
Issue date (ISO 8601 datetime string)
Due date (ISO 8601 datetime string)
Internal-only memo, never shown to customers or on the PDF or portal. Rich text (HTML, like the app’s editor stores). On update, send null or "" to clear it; responses return null when empty. Invoices and bills created in the app from a quote or purchase order inherit its memo.
Set to false to archive the invoice, or true to unarchive it. Applied independently of any other fields present in the same request.
Response
Calculation method (e.g., LINE_ITEMS)
Internal-only memo, never shown to customers or on the PDF or portal. Rich text (HTML, like the app’s editor stores). On update, send null or "" to clear it; responses return null when empty. Invoices and bills created in the app from a quote or purchase order inherit its memo.
