---
title: "Changes to Obtener venta por ID"
method: GET
path: "/api/v1/sales/{sale_id}"
---

# Changes to Obtener venta por ID

`GET /api/v1/sales/{sale_id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 3 revisions.

- **2026-11-03** `ed0d46e68fbe`: 2 breaking, 24 info

## Changes

- **2026-11-03** `ed0d46e68fbe`: 2 breaking, 24 info
  - the response property `data/accounting/journal_entries_url` became nullable for the status `200`
  - the response property `data/document/file/url` became nullable for the status `200`
  - added the enum value `accounting` to the property `items/` of the `query` request parameter `fields`
  - added the enum value `invoicePdf` to the property `items/` of the `query` request parameter `fields`
  - added the enum value `metafields` to the property `items/` of the `query` request parameter `fields`
  - added the enum value `tags` to the property `items/` of the `query` request parameter `fields`
  - added the non-success response with the status `503`
  - added the optional property `data/invoice_pdf` to the response with the `200` status
  - added the optional property `data/metafields` to the response with the `200` status
  - added the optional property `data/tags` to the response with the `200` status
  - added the optional property `error/details/items/metadata` to the response with the `401` status
  - added the optional property `error/details/items/metadata` to the response with the `403` status
  - added the optional property `error/details/items/metadata` to the response with the `404` status
  - added the optional property `error/details/items/metadata` to the response with the `429` status
  - added the optional property `error/details/items/metadata` to the response with the `500` status
  - response property `data/accounting/journal_entries_url` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/document/file/url` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - added 'propertyNames' constraint to the `data/amounts` response property for the status `200`
  - added 'propertyNames' constraint to the `data/applications` response property for the status `200`
  - added 'propertyNames' constraint to the `data/audit` response property for the status `200`
  - added 'propertyNames' constraint to the `data/customer/anyOf[subschema #1]/` response property for the status `200`
  - added 'propertyNames' constraint to the `data/fiscal` response property for the status `200`
  - added 'propertyNames' constraint to the `data/integration` response property for the status `200`
  - added 'propertyNames' constraint to the `data/items/items/` response property for the status `200`
  - added 'propertyNames' constraint to the `data/payments` response property for the status `200`
  - added 'propertyNames' constraint to the `data/reverses_voucher/anyOf[subschema #1]/` response property for the status `200`

---

[Operation](https://skmtc.dev/lapyme/apis/la-pyme-api/docs/api/v1/sales/:sale_id/get.md) - [API](https://skmtc.dev/lapyme/apis/la-pyme-api.md) - [Page](https://skmtc.dev/lapyme/apis/la-pyme-api/changes/api/v1/sales/:sale_id/get)
