Skip to main content
Retrieve a single invoice by its Stripe invoice ID. This endpoint returns the raw Stripe invoice object.
This is a read-only endpoint. Invoices are automatically created when customers subscribe to plans or make payments through the billing system.

Path Parameters

string
required
The Stripe invoice ID (e.g., in_1A2B3C4D5E6F7G8H)

Response

Returns a Stripe invoice object with the following key properties:
string
The Stripe invoice ID
string
The Stripe customer ID
string
The invoice status. Possible values: draft, open, paid, void, uncollectible
number
The total amount in cents
string
Three-letter ISO currency code (e.g., usd)
number
Timestamp when the invoice was created (Unix timestamp in seconds)
string | null
URL to the Stripe-hosted invoice page where customers can view and pay
object
Line items included in the invoice
string | null
The Stripe subscription ID if this invoice is for a subscription
object | null
Any discount applied to the invoice

Common Use Cases