Facturas
Validar estado de factura electrónica
Consulta el estado de validación de facturas electrónicas ante la DIAN.
Autenticación requerida: Este endpoint requiere autenticación Bearer Token. Usar el campo tokenCurrent obtenido del servicio de login (/login) en el header: Authorization: Bearer {tokenCurrent}
Permite revisar si una factura electrónica fue aceptada o rechazada por la DIAN.
get/invoices/validateEInvoice
Request
- Base URLhttps://api.pirpos.com
- URLhttps://api.pirpos.com/invoices/validateEInvoice
- AuthHTTP bearer
Response
Estado de validación retornado exitosamente
Example response
[
{
"_id": "507f1f77bcf86cd799439011",
"businessId": "507f1f77bcf86cd799439012",
"business": {
"name": "Restaurante El Buen Sabor",
"nit": "123456789-1",
"address": "Calle 123 #45-67"
},
"number": "FAC-001",
"invoicePrefix": "FAC",
"seq": 1,
"products": [
{
"name": "Hamburguesa Clásica",
"quantity": 2,
"price": 15000
}
],
"total": 35000,
"totalPaid": 35000,
"status": "Pagada",
"type": "Normal",
"table": {
"name": "Mesa 5"
},
"client": {
"name": "Juan Pérez",
"phone": "+57 300 123 4567"
},
"cashier": {
"name": "María González"
},
"paid": {
"paymentMethodValue": {
"paymentMethod": "Efectivo"
}
},
"eInvoice": {
"DIAN": {
"dianState": "00"
}
},
"externalIntegration": {
"siigo": {
"statusCode": 200
},
"loggro": {
"statusCode": 200
}
},
"createdOn": "2025-08-05T10:30:00.000Z",
"modifiedOn": "2025-08-05T10:30:00.000Z"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.