Returns one invoice by its ID, with its line items and the date of the next payment retry.
Security
ApiKey
- Sandboxhttps://acme-billing.redocly.app/_mock/apis/billing/invoices/{invoiceId}
- Sandbox (mock data)https://acme-billing.redocly.app/_mock/apis/billing/invoices/{invoiceId}
curl -i -X GET \
'https://acme-billing.redocly.app/_mock/apis/billing/invoices/{invoiceId}' \
-H 'X-API-Key: YOUR_API_KEY_HERE'The invoice.
The name of the customer, copied from the customer when the invoice was finalized.
The status of the invoice. See the invoice lifecycle guide.
Enum:"draft""open""unpaid""paid""void"
The three-letter ISO 4217 currency code, in lowercase.
Example:"usd"
How Acme collects the invoice. charge_automatically charges the payment method on file on the due date. send_invoice emails the invoice, and the customer pays by card or bank transfer.
Enum:"charge_automatically""send_invoice"
When Acme retries the failed card payment next. null when no retry is scheduled.
When Acme captured the payment that paid the invoice in full.
Response
{ "object": "invoice", "id": "INV-2041", "customerId": "cus_N8w2Lq7Tz", "customerName": "Northwind Traders", "status": "unpaid", "currency": "usd", "total": 320000, "amountPaid": 0, "amountDue": 320000, "issueDate": "2026-09-21", "dueDate": "2026-10-21", "pastDue": true, "collectionMethod": "send_invoice", "nextRetryAt": "2026-10-27T14:05:31Z", "paidAt": null, "voidedAt": null, "lineItems": [ { … }, { … } ], "createdAt": "2026-09-21T08:00:00Z" }