Skip to main content
POST
https://sandbox.cucu.bo
/
api
/
v1
/
invoices
/
{id}
/
cancel
curl -X POST "https://sandbox.cucu.bo/api/v1/invoices/a1b2c3d4-e5f6-7890-abcd-ef1234567890/cancel?motivo=1" \
  -H "X-API-Key: sk_test_MuLfItnPAScdhgrOsYn6Y4ur_gdMfCSMXtLciK9P8S8"
{
  "success": true,
  "message": "Factura anulada exitosamente",
  "data": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "invoiceNumber": 5,
    "cuf": "2872F7294502332E637FABFBC3654EA82202AD48E0969F14EBEB8AF74",
    "state": "CANCELLED",
    "cancellationReason": 1,
    "cancellationDate": "2026-02-11T14:00:00"
  },
  "timestamp": "2026-02-11T14:00:00"
}
Anula una factura previamente emitida y validada por el SIAT. La anulacion es irreversible.
Una vez anulada, la factura no puede revertirse. El SIAT registra la anulacion permanentemente.

Path Parameters

id
string
required
UUID de la factura a anular.

Query Parameters

motivo
integer
default:"1"
Codigo de motivo de anulacion:
  • 1 - Error de datos
  • 2 - Devolucion
  • 3 - Periodo posterior
  • 4 - Otro

Headers

X-API-Key
string
required
Tu API Key.
curl -X POST "https://sandbox.cucu.bo/api/v1/invoices/a1b2c3d4-e5f6-7890-abcd-ef1234567890/cancel?motivo=1" \
  -H "X-API-Key: sk_test_MuLfItnPAScdhgrOsYn6Y4ur_gdMfCSMXtLciK9P8S8"
{
  "success": true,
  "message": "Factura anulada exitosamente",
  "data": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "invoiceNumber": 5,
    "cuf": "2872F7294502332E637FABFBC3654EA82202AD48E0969F14EBEB8AF74",
    "state": "CANCELLED",
    "cancellationReason": 1,
    "cancellationDate": "2026-02-11T14:00:00"
  },
  "timestamp": "2026-02-11T14:00:00"
}