curl -X GET "https://sandbox.cucu.bo/api/v1/invoices?page=0&size=10" \
-H "X-API-Key: YOUR_API_KEY"
{
"success": true,
"data": {
"content": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"invoiceNumber": 5,
"cuf": "2872F7294502332E637FABFBC3654EA82202AD48E0969F14EBEB8AF74",
"state": "VALIDATED",
"clientBusinessName": "EMPRESA DEMO S.R.L.",
"amountTotal": 500.00,
"emissionDate": "2026-02-11T12:00:00"
}
],
"page": 0,
"size": 10,
"totalElements": 1,
"totalPages": 1,
"first": true,
"last": true
},
"timestamp": "2026-02-11T12:00:00"
}
Obtiene una lista paginada de facturas del tenant autenticado.
curl -X GET "https://sandbox.cucu.bo/api/v1/invoices?page=0&size=10" \
-H "X-API-Key: YOUR_API_KEY"
{
"success": true,
"data": {
"content": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"invoiceNumber": 5,
"cuf": "2872F7294502332E637FABFBC3654EA82202AD48E0969F14EBEB8AF74",
"state": "VALIDATED",
"clientBusinessName": "EMPRESA DEMO S.R.L.",
"amountTotal": 500.00,
"emissionDate": "2026-02-11T12:00:00"
}
],
"page": 0,
"size": 10,
"totalElements": 1,
"totalPages": 1,
"first": true,
"last": true
},
"timestamp": "2026-02-11T12:00:00"
}
| Parametro | Tipo | Req | Descripcion |
|---|---|---|---|
X-API-Key | string | Si | Tu API Key |
| Parametro | Tipo | Req | Descripcion |
|---|---|---|---|
page | integer | No | Numero de pagina (inicia en 0). Default: 0 |
size | integer | No | Elementos por pagina (max 50). Default: 20 |
| Campo | Tipo | Descripcion |
|---|---|---|
success | boolean | true si exitoso |
data.content | array | Lista de facturas |
data.page | integer | Pagina actual |
data.size | integer | Tamano de pagina |
data.totalElements | integer | Total de facturas |
data.totalPages | integer | Total de paginas |
data.first | boolean | true si es la primera pagina |
data.last | boolean | true si es la ultima pagina |
timestamp | string | Fecha/hora de la respuesta |
curl -X GET "https://sandbox.cucu.bo/api/v1/invoices?page=0&size=10" \
-H "X-API-Key: YOUR_API_KEY"
{
"success": true,
"data": {
"content": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"invoiceNumber": 5,
"cuf": "2872F7294502332E637FABFBC3654EA82202AD48E0969F14EBEB8AF74",
"state": "VALIDATED",
"clientBusinessName": "EMPRESA DEMO S.R.L.",
"amountTotal": 500.00,
"emissionDate": "2026-02-11T12:00:00"
}
],
"page": 0,
"size": 10,
"totalElements": 1,
"totalPages": 1,
"first": true,
"last": true
},
"timestamp": "2026-02-11T12:00:00"
}