Get Invoice
Get an invoice by ID.
Works for both User and API Key authentication.
Account access is automatically validated via endpoint dependency.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
external_id
account_id
Query parameters
expand
Response
Successful Response
id
customer_id
status
currency
ISO 4217 currency codes.
subtotal_amount_atom
tax_amount_atom
total_amount_atom
due_amount_atom
paid_amount_atom
remaining_amount_atom
issued_at
due_date
description
metadata
created_at
updated_at
applied_balance_amount_atom
total_discount_amount_atom
period_start
period_end
collection_method
custom_fields
Custom field values. Only included when expand=custom_fields is specified.
items
invoice_number
billing_reason
subscription_id
payment_method_id
invoice_pdf_url
receipt_pdf_url
hosted_invoice_url
show_payment_link
customer_email
default_payment_method
Payment method API response model.
payment_method
Payment method API response model.
discounts
payments
last_payment_error
Errors
422
Unprocessable Entity Error