Get invoice
## Get invoice by id
Retrieves the full invoice record for the given `:id` path parameter, scoped to the authenticated user/account.
### Auth
`x-api-key` header with **`Merchant.invoice.read`**. Also accepts all internal auth methods (JWT user, POS JWT, limited JWT).
### Path params
- `id` (required): the invoice id.
---
**Notas:** Handler accepts an AuthOrPosUser (user or POS session). Response mirrors the Prisma Invoices model.
Authentication
x-api-keystring
API Key authentication via header
Path parameters
id
Id of the invoice to retrieve.
Headers
x-application-account-id
Scope the request to a specific store / account instead of the one resolved from the API key. Aliases: the x-account-id header, or the application_account_id / account_id query parameter.
