---
title: "Changes to Consultar reporte"
method: POST
path: "/api/v1/reports/query"
---

# Changes to Consultar reporte

`POST /api/v1/reports/query`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 3 revisions.

- **2026-11-03** `ed0d46e68fbe`: 4 breaking, 8 info

## Changes

- **2026-11-03** `ed0d46e68fbe`: 4 breaking, 8 info
  - removed `#/components/schemas/SalesReportRequest, #/components/schemas/PurchasesReportRequest, #/components/schemas/PaymentsReportRequest, #/components/schemas/InventoryReportRequest` from the request body `oneOf` list
  - the response's body type changed from `object` to no type for status `200`
  - removed the required property `data` from the response with the `200` status
  - removed the required property `request_id` from the response with the `200` status
  - added `#/components/schemas/ReportRequest, #/components/schemas/AssistantReportRequest` to the request body `anyOf` list
  - added `#/components/schemas/ReportQueryResponse, #/components/schemas/AssistantReportResponse` to the response body `anyOf` list for the response status `200`
  - added the non-success response with the status `503`
  - added the optional property `error/details/items/metadata` to the response with the `400` 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 `429` status
  - added the optional property `error/details/items/metadata` to the response with the `500` status

---

[Operation](https://skmtc.dev/lapyme/apis/la-pyme-api/docs/api/v1/reports/query/post.md) - [API](https://skmtc.dev/lapyme/apis/la-pyme-api.md) - [Page](https://skmtc.dev/lapyme/apis/la-pyme-api/changes/api/v1/reports/query/post)
