Get invoice download URL
Invoices
Get invoice download URL
Get a PDF download URL for one invoice.
Use this endpoint when a user clicks “download invoice” in billing UI.
Security behavior:
- Verifies the invoice exists.
- Verifies the invoice belongs to the authenticated user’s Stripe customer account.
- Returns
404for unknown invoices or ownership mismatch.
Response:
- Returns a direct PDF URL when available.
- Returns
404if the invoice has no PDF yet.
GET
Get invoice download URL
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Stripe invoice identifier returned by the list endpoint.
Response
Download URL for the requested invoice.
Direct download URL for the invoice PDF generated by Stripe.