curl -X GET "https://sandbox.cucu.bo/api/v3/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",
"siatState": "VALIDATED",
"clientBusinessName": "EMPRESA DEMO S.R.L.",
"amountTotal": 500.00,
"emissionDate": "2026-02-11T12:00:00.000-04:00"
}
],
"page": 0,
"size": 10,
"totalElements": 1,
"totalPages": 1,
"first": true,
"last": true
},
"timestamp": "2026-02-11T12:00:00.000-04:00"
}
Listar facturas
GET /api/v3/invoices: lista paginada de las facturas emitidas, de la más reciente a la más antigua, con filtros por estado, rango de fechas, documento del cliente o número de factura.
GET
/
api
/
v3
/
invoices
curl -X GET "https://sandbox.cucu.bo/api/v3/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",
"siatState": "VALIDATED",
"clientBusinessName": "EMPRESA DEMO S.R.L.",
"amountTotal": 500.00,
"emissionDate": "2026-02-11T12:00:00.000-04:00"
}
],
"page": 0,
"size": 10,
"totalElements": 1,
"totalPages": 1,
"first": true,
"last": true
},
"timestamp": "2026-02-11T12:00:00.000-04:00"
}
Facturas paginadas, por fecha de emisión descendente, con filtros opcionales.
Headers
| Parametro | Tipo | Req | Descripcion |
|---|---|---|---|
X-API-Key | string | Si | Tu API Key |
Query Parameters
| Parametro | Tipo | Req | Descripcion |
|---|---|---|---|
state | string | No | PENDING, PROCESSING, VALIDATED, ACCEPTED, REJECTED, CANCELLED, OFFLINE_PENDING, MASSIVE_PENDING, ERROR. Otro valor: 400 (INVALID_VALUE) |
from | string | No | Desde, hora de Bolivia: 2026-01-15, 2026-01-15T00:00:00 o 2026-01-15T00:00:00-04:00. Otro formato: 400 (INVALID_FORMAT) |
to | string | No | Hasta, mismos formatos; una fecha sola incluye el día entero. from posterior a to: 400 (OUT_OF_RANGE en from) |
clientDocument | string | No | NIT o documento del cliente |
invoiceNumber | integer | No | Número de factura |
page | integer | No | Página, desde 0. Negativo: 400 (OUT_OF_RANGE) |
size | integer | No | Elementos por página, de 1 a 100 (default 20). Fuera de rango: 400 (OUT_OF_RANGE) |
Response
| Campo | Tipo | Descripcion |
|---|---|---|
success | boolean | true si exitoso |
data.content | array | Lista de facturas |
data.page | integer | Pagina actual |
data.size | integer | Tamaño de página pedido |
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/v3/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",
"siatState": "VALIDATED",
"clientBusinessName": "EMPRESA DEMO S.R.L.",
"amountTotal": 500.00,
"emissionDate": "2026-02-11T12:00:00.000-04:00"
}
],
"page": 0,
"size": 10,
"totalElements": 1,
"totalPages": 1,
"first": true,
"last": true
},
"timestamp": "2026-02-11T12:00:00.000-04:00"
}