Get sales invoice by ID
GET/api/v2/sales-invoices/:id
Returns a single customer sales invoice by its primary key. The response carries a strong ETag header with the current version for optimistic concurrency control. Returns 404 when the requested ID belongs to a purchase (issued=false) document. Honours If-None-Match: when the supplied ETag matches the current version on the server, the endpoint returns 304 Not Modified without loading the full invoice detail graph.
Request
Responses
- 200
- 304
- 401
- 403
- 404
- 500
Sales invoice found
Not Modified ÔÇö the client's If-None-Match ETag matches the current version
Missing or invalid JWT (Bearer token).
Authenticated user is missing the VER_FACTURASEMITIDAS permission
Sales invoice not found
Unexpected server error. Includes legacy WAR failures that are not classified as 502 / 503 / 504.