Overview
GET /invoices/{id} returns a single invoice by its document ID - useful to back-fill a missed webhook, reconcile your accounting, or re-fetch a document on demand.
The endpoint returns standard invoices, deposit invoices, balance invoices, and their credit notes. Quotes are not exposed by this endpoint.
Amounts are always integer cents, dates are
YYYY-MM-DD strings in the Europe/Paris timezone, timestamps are Unix milliseconds, and missing values are explicit null. See the invoice webhook reference for the full field-by-field definition.Authentication
All requests require a Bearer token (your BookingShake API key):Path Parameters
The invoice document ID - the
id field carried by the invoice.created webhook.Request
Response
The invoice is returned wrapped in the standard{ message, data } envelope. The data object follows the Invoice schema.
Key Fields
| Field | Type | Description |
|---|---|---|
id | string | Unique invoice document ID |
number | string | Invoice number as printed on the PDF |
type / type_code | string / number | Document type and its UNTDID 1001 code (see Invoice Types) |
status | string | null | ongoing, paid, or canceled |
amount_excl_tax / amount_incl_tax | number | Document totals, in cents |
lines | array | Line items, self-consistent with the totals |
deposit_invoices | array | For balance invoices: prior deposits deducted |
booking_id | string | null | Correlation key shared with payment and invoice events of the same booking |
seller / account / contact | object | null | Frozen legal-mention snapshots captured at issue time |
pdf_url | string | null | URL of the generated PDF |
metadata | object | Free-form integration key/value pairs (strings), editable via PATCH /invoices/{id}. Empty {} when unset |
Errors
| Status | Meaning |
|---|---|
400 | Missing/invalid token, or missing invoice id |
404 | Invoice not found - it does not exist, belongs to another venue, or is not an invoice (e.g. a quote) |
429 | Rate limit exceeded (60 requests/minute) |
500 | Internal server error |
A
404 is returned uniformly whenever the invoice is outside your scope, so the existence of another venue’s invoice is never disclosed.Next Steps
Invoice Events
Receive invoices in real time via the invoice.created webhook
Payment Events
Track payments tied to the same booking
