GET /factura — List the Latest Electronic Invoices
GET /factura — retrieves the latest electronic invoices from Factus. Returns an array of bill summaries with status, number, customer, and payment info.
Use this file to discover all available pages before exploring further.
This endpoint retrieves the most recently created electronic invoices registered in the Factus platform. Each item in the returned array is a summary-level bill object containing the invoice number, customer identification, document type, current validation status, and payment form. No query parameters are required — the Factus API returns a default page of the latest invoices.
No request body or query parameters are required. The backend attaches the Bearer token from the server environment automatically — callers do not need to include any Authorization header.
Returned when the Factus API responds but with a status value that does not match the expected "OK" string — for example, if the upstream API returns an unexpected status code or payload shape.
Optional extra fields: message (Axios error message), code (Axios error code), error_name (error class name).Shape B — controller-level exception:
{ "status": 500, "messaje": "Hubo un error al intentar realizar la solicitud", "error": {}}
The messaje key (with a j) in Shape B is a known typo in the backend source — handle it as-is when parsing error objects. Shape A uses error as a plain string ("ERROR INTERNO"), not an object.