cURL
curl --request GET \ --url https://sandbox.cucu.bo/api/v1/api/v1/invoice/xml \ --header 'Content-Type: <content-type>' \ --header 'cucukey: <cucukey>' \ --data ' { "posId": 1, "invoiceNumber": 1026, "invoiceCode": "6D1B7B5D" } '
{ "message": "<string>", "errors": "<string>", "success": true, "data": "<string>" }
Recupera una factura específica en formato XML
Debe ser siempre 'application/json'
"application/json"
Token obtenido del login. Formato: 'Token '
"Token abc123def456"
Factura XML obtenida exitosamente
XML de la factura