Recaudo Docs

Payments & customers

E-invoicing (CFDI)

Look up, stamp and cancel electronic invoices (CFDI in Mexico) and download their XML and PDF.

GET /v1/einvoice Lists CFDIs. Filter by status, customer_id and limit.
POST /v1/einvoice Stamps a new CFDI for a customer with complete fiscal data.
GET /v1/einvoice/{id} A CFDI with its line items and the XML: uuid, serie, folio, stamped_at, forma_pago, metodo_pago, uso_cfdi, receptor_rfc, receptor_nombre, total.
GET /v1/einvoice/{id}/xml Downloads the stamped XML (application/xml).
GET /v1/einvoice/{id}/pdf Downloads the PDF. It is generated the first time it is requested.
POST /v1/einvoice/{id}/cancel Cancels with the SAT. Send motivo (01 to 04) and, with motivo 01, folio_sustitucion.

Store orders are invoiced automatically when the customer asks for an invoice: the CFDI arrives in order.invoiced and in the order einvoice field.

Was this page helpful? Thanks for letting us know.
Esc