---
title: "Lista facturas de venta"
method: GET
path: "/v2/facturas"
tags: ["Facturas"]
---

# Lista facturas de venta

`GET /v2/facturas`

## Request

- Base URL: `https://erp.duxsoftware.com.ar/WSERP/rest/services`
- URL: `https://erp.duxsoftware.com.ar/WSERP/rest/services/v2/facturas`
- Auth: HTTP bearer

Cada ítem incluye datos de comprobante, montos, CAE/CAI y estado de facturación. Con trae_detalles=true incluye detalles[] (ítems facturados).

## Query parameters

- `id_empresa` integer
- `id_sucursal` integer
- `fecha_desde` string
- `fecha_hasta` string
- `id_cliente` integer
- `id_presupuesto` integer
- `id_pedido` integer
- `id_remito_venta` integer
- `tipo_comprobante` string
- `letra_comprobante` string
- `nro_comprobante` integer
- `punto_venta` string
- `estado` string
- `anulada` boolean
- `offset` integer
- `limit` integer
- `trae_detalles` boolean

## Response `200`

OK

- ApiResponseListFacturaResponseFacturaDto
  - `datos` FacturaResponseFacturaDto[]
    - `id_comp_venta` integer
    - `id_empresa` integer
    - `id_sucursal_empresa` integer
    - `sucursal` string
    - `id_cliente` integer
    - `apellido_razon_soc` string: Apellido o razón social del cliente tal como figura en el comprobante.
    - `nombre` string: Nombre del cliente tal como figura en el comprobante; puede ser null para razones sociales.
    - `tipo_comp` string
    - `letra_comp` string
    - `nro_pto_vta` string
    - `nro_comp` integer
    - `comprobante` string
    - `fecha` string
    - `fecha_vencimiento` string
    - `monto_gravado` number, double
    - `monto_exento` number, double
    - `monto_iva` number, double
    - `monto_desc` number, double
    - `total` number, double
    - `nro_cae_cai` string
    - `fecha_vencimiento_cae_cai` string
    - `tipo_validacion_afip` string
    - `estado_facturacion` string
    - `anulada` boolean
    - `fecha_anula` string
    - `fecha_registro` string
    - `detalles` FacturaResponseDetalleFacturaDto[]: Solo presente si se envió trae_detalles=true.
      - `id_det_comp_venta` integer
      - `cod_item` string
      - `item` string
      - `descripcion` string
      - `ctd` number, double
      - `precio_uni` number, double
      - `porc_desc` number, double
      - `porc_iva` number, double
      - `comentarios` string
  - `paginacion` Paginacion
    - `total` integer
    - `offset` integer
    - `limit` integer
    - `hay_mas` boolean
  - `id_solicitud` string

## Other responses

- `400`: Validación
- `401`: No autorizado
- `403`: Prohibido
- `429`: Límite de peticiones
- `500`: Error interno

---

[API](https://skmtc.dev/duxsoftware/apis/dux-api-v2-facturaci-n.md) - [All operations](https://skmtc.dev/duxsoftware/apis/dux-api-v2-facturaci-n/llms.txt) - [OpenAPI document](https://skmtc.dev/duxsoftware/apis/dux-api-v2-facturaci-n/revisions/04d0648019c4?raw)
