---
title: "31: Payment intermediary | Clara"
description: "Payment through a payment intermediary."
canonical: "https://www.clara.com/en-mx/cfdi/payment-form-31"
lang: "en-MX"
alternate_html: "https://www.clara.com/en-mx/cfdi/payment-form-31"
---

# 31: Payment intermediary

1. [Clara](https://www.clara.com/en-mx)
2. [Tax Intelligence](https://www.clara.com/en-mx/products/tax-intelligence)
3. [c\_FormaPago — Form of payment](https://www.clara.com/en-mx/cfdi-catalogs/payment-form)
4. 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](https://www.clara.com/en-mx/cfdi-catalogs/payment-form) |
| 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

__31 versus 04, 28 and 06__
| Code                              | Name                 | In brief                                |
| --------------------------------- | -------------------- | --------------------------------------- |
| 31                                | Payment intermediary | Payment through a payment intermediary. |
| [04](https://www.clara.com/en-mx/cfdi/payment-form-04) | Credit card          | Payment with a bank credit card (TC).   |
| [28](https://www.clara.com/en-mx/cfdi/payment-form-28) | Debit card           | Payment with a bank debit card (TD).    |
| [06](https://www.clara.com/en-mx/cfdi/payment-form-06) | Electronic money     | Payment using electronic money.         |

## Example of how to enter it in the CFDI

__Invoice paid in full when issued__
| 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:

- [SAT invoice format (Anexo 20; Spanish) (opens in a new tab)](https://wwwmat.sat.gob.mx/consultas/35025/formato-de-factura-electronica-%28anexo-20%29)

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.

## Other codes in this catalog

- ### [30 — Application of advances](https://www.clara.com/en-mx/cfdi/payment-form-30)  
Application of advances to a payment.
- ### [99 — To be defined](https://www.clara.com/en-mx/cfdi/payment-form-99)  
Form of payment recorded when it is not yet known how the transaction will be settled at the time the CFDI is issued.
- ### [29 — Charge card](https://www.clara.com/en-mx/cfdi/payment-form-29)  
Payment with a charge card.
- ### [28 — Debit card](https://www.clara.com/en-mx/cfdi/payment-form-28)  
Payment with a bank debit card.
- ### [27 — To the creditor's satisfaction](https://www.clara.com/en-mx/cfdi/payment-form-27)  
Fulfillment to the creditor's satisfaction.
- ### [26 — Prescription or expiration](https://www.clara.com/en-mx/cfdi/payment-form-26)  
Extinguishment through the passage of time.
- ### [25 — Debt remission](https://www.clara.com/en-mx/cfdi/payment-form-25)  
Full or partial forgiveness of the debt.
- ### [24 — Merger of creditor and debtor roles](https://www.clara.com/en-mx/cfdi/payment-form-24)  
The same person is both creditor and debtor.

## Reach month-end knowing  
how much you’ll pay

Connect your RFC today and get your tax information in order.

LatAm’s fastest-growing company, two consecutive years · Financial Times and Statista

[**Sign up**](https://contabilidad.clara.com/signup?utm%5Fsource=clara.com&utm%5Fmedium=referral&utm%5Fcampaign=es%5Fmx%5Finteligencia%5Ffiscal)[**Request a guided demo**](https://contabilidad.clara.com/demo)

Related calculators:[CFDI 4.0 reader (XML)](https://www.clara.com/en-mx/tax-intelligence/tools/cfdi-reader)[RFC validator (individuals and legal entities)](https://www.clara.com/en-mx/tax-intelligence/tools/rfc-validator)
