---
title: "Get an invoice"
method: GET
path: "/organizations/{organization}/invoices/{id}"
tags: ["Invoices"]
---

# Get an invoice

`GET /organizations/{organization}/invoices/{id}`

### Authorization
A service token or OAuth token must have at least one of the following access or scopes in order to use this API endpoint:

**Service Token Accesses**
 `read_invoices`

**OAuth Scopes**

 | Resource | Scopes |
| :------- | :---------- |
| Organization | `read_invoices` |

## Path parameters

- `organization` string, required
- `id` string, required

## Response `200`

Returns an invoice

- object
  - `id` string, required — The ID of the invoice
  - `total` string, required — The total amount of the invoice, as a stringified decimal to preserve precision
  - `billing_period_start` string, required — Start of the billing period
  - `billing_period_end` string, required — End of the billing period
  - `paid` boolean, required — Whether the invoice has been paid
  - `overdue` boolean, required — Whether the invoice is past due and unpaid

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2026-06-01** `72506953f367` — 1 breaking
  - the `total` response's property type/format changed from `number`/`` to `string`/`` for status `200`
- **2026-02-10** `ed1825db11c6` — 2 info
  - added the required property `overdue` to the response with the `200` status
  - added the required property `paid` to the response with the `200` status

[Change history](https://skmtc.dev/planetscale/apis/planetscale-api/changes/organizations/:organization/invoices/:id/get.md)

---

[API](https://skmtc.dev/planetscale/apis/planetscale-api.md) · [All operations](https://skmtc.dev/planetscale/apis/planetscale-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/planetscale/planetscale-api/revisions/6d28c038c4fd/schema)
