GET
/
billing
/
invoices
/
{id}
curl --request GET \
  --url https://api.altostrat.io/billing/invoices/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "number": "<string>",
  "description": "<string>",
  "amount_due": 123,
  "amount_paid": 123,
  "amount_remaining": 123,
  "subtotal": 123,
  "subtotal_excluding_tax": 123,
  "total": 123,
  "tax": 123,
  "total_excluding_tax": 123,
  "currency": "<string>",
  "currency_symbol": "<string>",
  "due_date": "2023-12-25",
  "invoice_pdf": "<string>",
  "status": "<string>",
  "period_start": "2023-12-25",
  "period_end": "2023-12-25",
  "paid": true,
  "attempt_count": 123,
  "attempted": true,
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Standard OAuth2 flow for user authentication. Use Authorization Code Grant or Implicit Grant. JWT Bearer tokens obtained are used for subsequent requests.

Path Parameters

id
string
required

The Stripe Invoice ID (in_...) or Subscription ID (sub_...) for upcoming invoice.

Response

200
application/json

Invoice details.

The response is of type object.