Update an existing invoice. Only draft invoices can be updated.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The total amount for the invoice in smallest currency unit (e.g., cents)
x >= 09999
The currency code in ISO 4217 format
USD, EUR, GBP, AED "USD"
A clear description of what this invoice is for
"Monthly Premium Plan Subscription - January 2024"
The unique identifier of the plan being billed
"PREMIUM_MONTHLY"
The display name of the plan being billed
"Premium Monthly Plan"
ID of the invoice template to use. If not provided, default template will be used
"template-123"
Current status of the invoice
DRAFT, FINALIZED, PAYMENT_FAILED, PAID, VOID "DRAFT"
Custom invoice components including line items and customer details
The start date of the billing period
"2024-01-01T00:00:00.000Z"
The next renewal date for recurring invoices
"2024-02-01T00:00:00.000Z"
Number of days until payment is due
x >= 030
Invoice updated successfully
DRAFT, FINALIZED, PAYMENT_FAILED, PAID, VOID