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 |
Documentation Index
Fetch the complete documentation index at: https://planetscale.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
The access token received from the authorization server in the OAuth 2.0 flow.
Organization name slug from list_organizations. Example: acme.
Invoice public ID from list_invoices. Example: aabb12123434.
Returns an invoice
The ID of the invoice
The total amount of the invoice, as a stringified decimal to preserve precision
Start of the billing period
End of the billing period
Whether the invoice has been paid
Whether the invoice is past due and unpaid