Invoices
List, retrieve, finalize, and void invoices
Invoices are generated automatically by Prolifi’s billing engine when a subscription billing cycle completes. You can also finalize or void invoices through the API.
Endpoints
Key concepts
- Invoice lifecycle: Invoices progress through statuses —
pending→posted→paid(orvoid). - Finalization: Only
pendinginvoices can be finalized. Finalizing transitions an invoice toposted, making it ready for payment collection. - Voiding: Cancels an invoice. Already-voided invoices cannot be voided again.
- Line items: Each invoice contains line items that break down the charges (plan, add-ons, usage, etc.).
- Filtering: Use
customer_id,status, orsubscription_idquery parameters to filter the list.