Finalize Invoice
Finalize an invoice (transition from DRAFT to OPEN).
Triggers PDF generation after finalization.
Requirements:
- Invoice must be in DRAFT state
Returns:
- The finalized invoice with OPEN status
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
external_id
account_id
Response
Successful Response
id
customer_id
status
currency
ISO 4217 currency codes.
subtotal_amount_atom
tax_amount_atom
total_amount_atom
due_amount_atom
paid_amount_atom
remaining_amount_atom
issued_at
due_date
description
metadata
created_at
updated_at
applied_balance_amount_atom
total_discount_amount_atom
period_start
period_end
collection_method
Allowed values:
custom_fields
Custom field values. Only included when expand=custom_fields is specified.
items
invoice_number
billing_reason
subscription_id
invoice_pdf_url
receipt_pdf_url