# Cesiones del RUT, de la más reciente a la más antigua

`GET /api/v1/dte/assignments/` · Cesión de facturas · Fuente: https://api.sharkpos.cl/docs/api/list-assignments/

## Parámetros

| Campo | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| `status` | query · string (uno de SENT, ACCEPTED, REJECTED, FAILED) |  |  |
| `document_type` | query · integer (uno de 33, 34) |  |  |
| `folio` | query · integer |  |  |
| `limit` | query · integer (por defecto 50) |  |  |

## Ejemplo en el sandbox

```bash
curl -X GET https://sandbox.sharkpos.cl/api/v1/dte/assignments/ \
  -H "Authorization: Bearer $SHARKPOS_API_KEY"
```

## Respuestas

| HTTP | Qué significa | Esquema |
|---|---|---|
| 200 | Cesiones. |  |
| 400 | Solicitud inválida (`INVALID_REQUEST`, `INVALID_RECEPTOR_RUT`, `CONSUMIDOR_FINAL_NOT_ALLOWED`, `IDEMPOTENCY_KEY_REQUIRED`, `CAF_NOT_FOUND`...). | Error |
| 401 | Credencial ausente o inválida (`AUTHENTICATION_REQUIRED`, `INVALID_API_KEY`). | Error |
| 403 | `PLAN_NOT_INCLUDED`. | Error |

Contrato completo: https://api.sharkpos.cl/docs/openapi.yaml
