GET
/
invoices
/
{invoice}
curl --request GET \
  --url https://api.chargeapi.co/v1/invoices/{invoice} \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "id": null,
  "object": null,
  "amount_due": null,
  "amount_paid": null,
  "created": null,
  "currency": null,
  "due_date": null,
  "line_items": null,
  "paid_at": null,
  "period_end": null,
  "period_start": null,
  "status": null
}

Path Parameters

invoice
string
required

ID of the invoice to retrieve.

Query Parameters

expand
string[]

Specifies related objects to expand (for example, expand[]=line_items).

Body

application/json · object

Response

200
application/json

Returns the Invoice object for a valid identifier. If the invoice is in draft state, totals might change until it’s finalized. Raises an error otherwise.