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_INSURANCE",
"pointOfSaleId": "660e8400-e29b-41d4-a716-446655440004",
"clientDocumentType": 5,
"clientDocumentNumber": "99001",
"clientBusinessName": "EMPRESA ASEGURADA S.R.L.",
"paymentMethodCode": 1,
"isSureComplement": false,
"details": [
{
"activityEconomic": "660000",
"codeProductSin": "71321",
"description": "Prima seguro vehicular - Toyota Hilux 2025 - Poliza SV-2026-00158",
"quantity": 1,
"unitMeasure": 58,
"priceUnit": 2800.00
}
]
}'