Skip to main content

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

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",
    ...
  }'
Peticiones GET y DELETE no requieren Content-Type ya que no envían body.