Authentication
Requires a valid JWT token in the Authorization header.Path Parameters
The UUID of the expense to retrieve.
Response
The expense object.
UUID of the expense.
UUID of the associated profile.
Origin type: “XML” (from CFDI) or “MANUAL” (manually created).
Date of the expense (ISO 8601 format).
Month of the expense (1-12).
Year of the expense.
Total amount of the expense.
Subtotal amount (before taxes).
IVA (VAT) percentage.
IVA amount in currency.
IVA withholding amount.
ISR withholding amount.
Whether the expense has been paid.
Date when the expense was paid (ISO 8601 format, nullable).
Description or concept of the expense.
Category of the expense.
Fiscal folio UUID from the CFDI (for XML expenses).
Payment type: “PUE” (Pago en Una Exhibición), “PPD” (Pago en Parcialidades o Diferido), or “COMPLEMENTO_PAGO”.
RFC (tax ID) of the issuer.
Name of the issuer.
Tax regime code of the issuer.
RFC of the receiver.
Name of the receiver.
Tax regime code of the receiver.
Array of partial payments (for PPD invoices).
Payment complement data (for COMPLEMENTO_PAGO type).
Validation status of the expense.
Whether the RFC was verified.
Whether the tax regime was verified.
Whether this UUID already exists.
Overall validation status.
List of warning messages.
List of error messages.
Timestamp when the expense was created (ISO 8601).
Timestamp when the expense was last updated (ISO 8601).
Example Request
cURL
Error Responses
Unauthorized - Invalid or missing JWT token.
Expense not found or doesn’t belong to the user.
Internal server error.