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

# Content-Type

> Todas las peticiones con body deben incluir Content-Type: application/json.

## Requerimiento

Todas las peticiones que envíen un body (POST, PUT, PATCH) deben incluir el header:

```
Content-Type: application/json
```

Las respuestas de la API siempre retornan `Content-Type: application/json`.

***

## Ejemplo

```bash theme={"system"}
curl -X POST https://sandbox.cucu.bo/api/v1/invoices \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
    "invoiceType": "ELECTRONIC_SALE",
    "nitCliente": "1234567",
    ...
  }'
```

<Note>
  Peticiones GET y DELETE no requieren `Content-Type` ya que no envían body.
</Note>
