GET /api/invoices
Retrieves a paginated list of invoices for the authenticated user, with support for filtering by profile, date, type, fiscal regime, and text search.Authentication
Requires Bearer token authentication. The token must be included in theAuthorization header.
Query Parameters
Filter invoices by profile UUID. If not provided, returns invoices from all user’s profiles.
Filter by month (1-12)
Filter by year
Filter by payment type. Valid values:
PUE- Paid in one paymentPPD- Paid in installmentsCOMPLEMENTO_PAGO- Payment complement
Filter by fiscal regime of the issuer (3-digit SAT code, e.g., “612”)
Search text across multiple fields:
- RFC emisor
- Nombre emisor
- RFC receptor
- Nombre receptor
- Concepto (description)
Page number for pagination (minimum: 1)
Number of items per page (minimum: 1, maximum: 100)
Response
Array of invoice objects with payment status
UUID of the invoice
UUID of the associated profile
Fiscal UUID from the CFDI
Invoice date (ISO 8601 format)
Month (1-12)
Year
Total amount including taxes
Subtotal before taxes
IVA amount
Transferred IVA amount
IVA withholding amount
ISR withholding amount
Payment type: “PUE”, “PPD”, or “COMPLEMENTO_PAGO”
RFC of the issuer
Name of the issuer
Fiscal regime code of the issuer
RFC of the recipient
Name of the recipient
Fiscal regime code of the recipient
Description or concept of the invoice
Array of partial payments
Payment complement data
Validation results
Payment status information
“PAGADO”, “PAGO_PARCIAL”, or “NO_PAGADO”
Total invoice amount
Total amount paid
Outstanding balance
Percentage paid (0-100)
Whether fully paid
Whether payment complements exist
Whether manual payments exist
Creation timestamp
Last update timestamp
Error Codes
Unauthorized - User not authenticated
Internal Server Error - Error retrieving invoices
Example Request
Example Request with Search
Example Response
Notes
- Invoices are sorted by date in descending order (newest first)
- The payment status (
estadoPago) is calculated dynamically for each invoice based on payment complements and manual payments - Search is performed using case-insensitive pattern matching across multiple fields
- Only invoices belonging to the authenticated user’s profiles are returned
- The
limitparameter is capped at 100 to prevent excessive data transfer