> ## Documentation Index
> Fetch the complete documentation index at: https://docs.folyo.cl/llms.txt
> Use this file to discover all available pages before exploring further.

# Listar documentos emitidos

> Lista documentos con paginación y filtros.

**Autenticación:** Bearer JWT o API Key — **Headers:** `X-Empresa-Id` (requerido)

| Parámetro | Tipo   | Descripción                            |
| --------- | ------ | -------------------------------------- |
| `page`    | number | Página (default: `1`)                  |
| `limit`   | number | Por página (default: `20`, max: `100`) |
| `tipo`    | number | Tipo DTE                               |
| `estado`  | string | `DOK`, `RCH`, `PENDING`                |
| `desde`   | string | Fecha inicio `YYYY-MM-DD`              |
| `hasta`   | string | Fecha fin `YYYY-MM-DD`                 |

```json Response 200 theme={null}
{
  "documentos": [
    {
      "id": "doc_abc123",
      "tipo_dte": 33,
      "folio": 1234,
      "receptor_rut": "12.345.678-9",
      "receptor_razon_social": "Cliente SpA",
      "monto_total": 119000,
      "fecha_emision": "2026-04-09",
      "estado": "DOK"
    }
  ],
  "pagination": { "page": 1, "limit": 20, "total": 127, "pages": 7 }
}
```
