Invoices are automatically created when customers subscribe to plans, make payments, or when billing events occur. This is a read-only endpoint.
Query Parameters
Filter invoices by customer ID (your unique customer identifier)
Filter invoices by entity ID. If provided, returns invoices for this specific entity plus any customer-level invoices (where
entity_id is null)Maximum number of invoices to return (max: 100)
Response
Returns an array of invoice objects with the following properties:Array of plan IDs included in this invoice
The Stripe invoice ID
The invoice status. Possible values:
draft, open, paid, void, uncollectibleThe total amount of the invoice in the smallest currency unit (e.g., cents for USD)
Three-letter ISO currency code (e.g.,
usd, eur)Timestamp when the invoice was created (milliseconds since epoch)
URL to the invoice page where customers can view and pay the invoice
Common Use Cases
Invoice Statuses
- draft - Invoice is still being prepared
- open - Invoice has been finalized and is awaiting payment
- paid - Invoice has been successfully paid
- void - Invoice has been voided and cannot be paid
- uncollectible - Payment attempts have failed and the invoice is marked as uncollectible
Line Items
Invoices contain line items that detail the charges. Each line item includes:- Plan or feature being charged
- Billing period (start and end dates)
- Amount and currency
- Quantity (for metered or seat-based billing)
- Proration adjustments (for mid-cycle changes)
stripe_id.