Skip to main content
GET
/
billing
/
organizations
/
{orgId}
/
invoices
/
{invoiceId}
Get a single invoice
curl --request GET \
  --url http://localhost:3000/billing/organizations/{orgId}/invoices/{invoiceId} \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 123,
  "message": "OK",
  "data": {
    "invoice": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "stripe_invoice_id": "<string>",
      "stripe_subscription_id": "<string>",
      "amount_due": 123,
      "amount_paid": 123,
      "currency": "<string>",
      "status": "<string>",
      "invoice_pdf": "<string>",
      "hosted_invoice_url": "<string>",
      "period_start": "2023-11-07T05:31:56Z",
      "period_end": "2023-11-07T05:31:56Z",
      "due_date": "2023-11-07T05:31:56Z",
      "paid_at": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "metadata": {}
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgId
string<uuid>
required
invoiceId
string<uuid>
required

Response

Default Response

statusCode
number
message
string
default:OK
data
object