---
title: "Consultar Compras"
method: GET
path: "/compras"
tags: ["Compras"]
---

# Consultar Compras

`GET /compras`

Permite consultar y obtener las compras (comprobante de  compras, facturas, notas de crédito y débito) cargadas en el sistema.

## Query parameters

- `fechaDesde` string, required
- `fechaHasta` string, required
- `idEmpresa` integer, required
- `idSucursal` integer
- `tipoComp` string
- `idProveedor` integer
- `offset` integer
- `limit` integer

## Response `200`

200

- object
  - `paging` object
    - `total` integer
    - `offset` integer
    - `limit` integer
  - `results` object[]
    - `id` integer
    - `id_dux` integer
    - `id_empresa` integer
    - `empresa` string
    - `id_sucursal_empresa` integer
    - `sucursal_empresa` string
    - `id_proveedor` integer
    - `proveedor` string
    - `fecha_comp` string
    - `fecha_vencimiento` string
    - `id_personal` string
    - `personal` string
    - `monto_exento` string
    - `monto_gravado` string
    - `monto_iva` string
    - `monto_desc` string
    - `total` string
    - `comprobante` string
    - `tipo_comp` string
    - `monto_percepcion_impuesto` string
    - `observaciones` string
    - `id_provincia` string
    - `provincia` string
    - `id_pais` string
    - `pais` string
    - `id_localidad` string
    - `localidad` string
    - `estado_recepcion` string
    - `fecha_imputacion_contable` string
    - `id_condicion_pago` string
    - `forma_pago` string
    - `es_gasto` string
    - `cuit_sucursal_empresa` string
    - `monto_aplicado` string

## Other responses

- `400` — 400

---

[API](https://skmtc.dev/duxsoftware/apis/dux-api-v1.md) · [All operations](https://skmtc.dev/duxsoftware/apis/dux-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/duxsoftware/dux-api-v1/revisions/d99a90e12fee/schema)
