Skip to main content
GET
Get an invoice

Authorizations

Authorization
string
header
required

API key authentication. Pass your API key as a Bearer token.

Headers

Alguna-Version
enum<string>
required
Available options:
2026-04-01

Path Parameters

id
string
required

Unique identifier for the invoice

Response

Success

amount_paid
string
required

Amount that has been paid

Example:

"0.00"

amount_remaining
string
required

Remaining amount due

Example:

"110.00"

billing_period
string
required

Formatted billing period string

created_at
string<date-time>
required

Timestamp when the invoice was created

currency
string
required

ISO 4217 currency code

Example:

"USD"

customer_id
string
required

Customer this invoice belongs to

description
string
required

Invoice description or memo

id
string
required

Unique identifier for the invoice

line_items
object[]
required

Line items on this invoice

status
enum<string>
required

Current status of the invoice

Available options:
draft,
upcoming,
pending_approval,
scheduled,
processing,
issued,
void,
paid,
canceled,
overdue
subtotal
string
required

Sum of all line item totals before tax

Example:

"100.00"

tax
string
required

Total tax amount

Example:

"10.00"

total
string
required

Total amount including tax

Example:

"110.00"

updated_at
string<date-time>
required

Timestamp when the invoice was last updated

autopay_timing
enum<string> | null

When auto-pay charges the invoice. Before issue, it is null when the invoice inherits the value of its subscription or customer. At issue, the resolved value is saved on the invoice. Invoices issued without a value are charged when they are issued.

Available options:
on_issue,
on_due_date
Example:

"on_due_date"

billing_period_end
string<date-time> | null

End of the billing period

billing_period_start
string<date-time> | null

Start of the billing period

due_date
string<date-time> | null

Date the invoice payment is due

external_id
string

Identifier in the external payment provider

external_provider
string

External payment provider name

external_reference
string

Customer-facing invoice reference number

external_url
string

URL to the invoice in the external system

invoicing_date
string<date-time> | null

Date the invoice is scheduled for processing

issue_date
string<date-time> | null

Date the invoice was issued

merchant_id
string | null

Sub-merchant the invoice was issued for; you remain the seller of record

Example:

"mrch_01H8XGJWBWBAQ4PLwXYZ"

paid_date
string<date-time> | null

Date the invoice was paid

purchase_order_number
string | null

Purchase order number

tax_calculation_id
string | null

Id of the tax calculation this invoice was created from, if any