Datos del sector
| Campo | Valor |
|---|---|
codigoDocumentoSector | 8 |
| WSDL SIAT | ServicioFacturacionCompraVenta |
| Tipo de documento | 2 — sin derecho a crédito fiscal. Lo fija el sector: invoiceType no es parte del contrato (mandarlo devuelve 400 UNKNOWN_FIELD) |
Campos adicionales
Solo campos estándar.clientDocumentType debe ser 5 (NIT) y el número no puede ser 0 (ej. 99001).Ejemplo
cURL
curl -X POST https://sandbox.cucu.bo/api/v3/invoices \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"documentSectorType": 8,
"pointOfSaleId": "660e8400-e29b-41d4-a716-446655440004",
"clientDocumentType": 5,
"clientDocumentNumber": "99001",
"clientBusinessName": "ORGANIZACION INTERNACIONAL",
"paymentMethodCode": 1,
"details": [
{
"activityEconomic": "620100",
"codeProductSin": "83141",
"description": "Consultoria internacional - tasa cero",
"quantity": 1,
"unitMeasure": 58,
"priceUnit": 3000.00
}
]
}'