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_TELECOM",
"pointOfSaleId": "660e8400-e29b-41d4-a716-446655440004",
"clientDocumentType": 5,
"clientDocumentNumber": "99001",
"clientBusinessName": "EMPRESA CONECTADA S.R.L.",
"paymentMethodCode": 1,
"details": [
{
"activityEconomic": "642000",
"codeProductSin": "84111",
"description": "Plan corporativo 100GB - Marzo 2026",
"quantity": 1,
"unitMeasure": 58,
"priceUnit": 350.00
},
{
"activityEconomic": "642000",
"codeProductSin": "45231",
"description": "Smartphone Samsung Galaxy S26",
"quantity": 1,
"unitMeasure": 1,
"priceUnit": 4500.00,
"serialNumber": "SN-2026-0001234",
"imeiNumber": "353456789012345"
}
]
}'