31: Payment intermediary
How the invoice was paid (01 cash, 03 bank transfer, 04 credit card, etc.).
| Code | 31 |
|---|---|
| Catalog | c_FormaPago — Form of payment |
| Description | Payment through a payment intermediary. |
Original Spanish source label: Intermediario pagos
What it means
Form of payment 31 indicates that payment was received through a payment intermediary, such as platforms like Mercado Pago or Stripe. It is the value of the CFDI's Form of payment field (FormaPago attribute) and indicates how the invoice was settled.
When to use it and when not to
When to use it:
- Payments you receive through a platform that collects payment on your behalf.
- With payment method PUE, record the form used to settle the invoice; with PPD, record 99 (To be determined), and enter the actual form in the payment supplement for each payment collected.
- If you were paid using multiple forms, record the one that covered the largest amount.
When not to use it:
- The customer paid by card directly at your terminal: use 04 or 28.
- The customer transferred money to your account: use 03.
Differences from similar codes
Example of how to enter it in the CFDI
| CFDI field | Value |
|---|---|
| Invoice type (TipoDeComprobante) | I (Income) |
| Payment method (MetodoPago) | PUE (Payment in full in one transaction) |
| Form of payment (FormaPago) | 31 (Payment intermediary) |
Sources
Consult the SAT documentation:
For informational purposes; this is not tax or legal advice. Values verified as of November 23, 2026. Consult your accountant before issuing an invoice or claiming a deduction. Reviewed by Aranza Bracho.