GET
/
v1
/
organizations
/
{organizationSlug}
/
invoices
curl -L https://api.turso.tech/v1/organizations/{organizationSlug}/invoices \
  -H 'Authorization: Bearer TOKEN'
{
  "invoices": [
    {
      "invoice_number": "LFONTK-00001",
      "amount_due": "10.29",
      "due_date": "2024-01-01T05:00:00+00:00",
      "paid_at": "2024-01-01T05:00:00+00:00",
      "payment_failed_at": "2024-01-01T05:00:00+00:00",
      "invoice_pdf": "https://assets.withorb.com/invoice/..."
    }
  ]
}
curl -L https://api.turso.tech/v1/organizations/{organizationSlug}/invoices \
  -H 'Authorization: Bearer TOKEN'

Path Parameters

organizationSlug
string
required

The slug of the organization or user account.

Query Parameters

type
enum<string>

The type of invoice to retrieve.

Available options:
all,
upcoming,
issued

Response

200 - application/json
Successful response
invoices
object[]

The list of invoices for the organization.