Datos del sector
| Campo | Valor |
|---|---|
codigoDocumentoSector | 3 |
| WSDL SIAT | ServicioFacturacionCompraVenta |
Campos adicionales
Detalle
| Campo | Tipo | Req | Descripcion |
|---|---|---|---|
details[].codeNandina | string | Si | Codigo arancelario Nandina del producto exportado |
Ejemplo
curl -X POST https://sandbox.cucu.bo/api/v1/invoices \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"documentSectorType": 3,
"pointOfSaleId": "660e8400-e29b-41d4-a716-446655440004",
"clientDocumentType": 5,
"clientDocumentNumber": "99001",
"clientBusinessName": "IMPORTADORA INTERNACIONAL LLC",
"paymentMethodCode": 1,
"exchangeRate": 6.96,
"details": [
{
"activityEconomic": "620100",
"codeProductSin": "83141",
"description": "Quinua real organica - exportacion",
"quantity": 1000,
"unitMeasure": 2,
"priceUnit": 15.00,
"codeNandina": "1008509000"
}
]
}'
const response = await fetch('https://sandbox.cucu.bo/api/v1/invoices', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-API-Key': 'YOUR_API_KEY'
},
body: JSON.stringify({
documentSectorType: 3,
pointOfSaleId: '660e8400-e29b-41d4-a716-446655440004',
clientDocumentType: 5,
clientDocumentNumber: '99001',
clientBusinessName: 'IMPORTADORA INTERNACIONAL LLC',
paymentMethodCode: 1,
exchangeRate: 6.96,
details: [{
activityEconomic: '620100',
codeProductSin: '83141',
description: 'Quinua real organica - exportacion',
quantity: 1000,
unitMeasure: 2,
priceUnit: 15.00,
codeNandina: '1008509000'
}]
})
});
import requests
response = requests.post(
'https://sandbox.cucu.bo/api/v1/invoices',
headers={
'Content-Type': 'application/json',
'X-API-Key': 'YOUR_API_KEY'
},
json={
'documentSectorType': 3,
'pointOfSaleId': '660e8400-e29b-41d4-a716-446655440004',
'clientDocumentType': 5,
'clientDocumentNumber': '99001',
'clientBusinessName': 'IMPORTADORA INTERNACIONAL LLC',
'paymentMethodCode': 1,
'exchangeRate': 6.96,
'details': [{
'activityEconomic': '620100',
'codeProductSin': '83141',
'description': 'Quinua real organica - exportacion',
'quantity': 1000,
'unitMeasure': 2,
'priceUnit': 15.00,
'codeNandina': '1008509000'
}]
}
)
Ver Crear Factura para la referencia completa de campos estandar, response y codigos de error.