---
title: "24: Merger of creditor and debtor roles | Clara"
description: "The same person is both creditor and debtor."
canonical: "https://www.clara.com/en-mx/cfdi/payment-form-24"
lang: "en-MX"
alternate_html: "https://www.clara.com/en-mx/cfdi/payment-form-24"
---

# 24: Merger of creditor and debtor roles

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. 24: Merger of creditor and debtor roles

How the invoice was paid (01 cash, 03 bank transfer, 04 credit card, etc.).

| Code        | 24                                                                  |
| ----------- | ------------------------------------------------------------------- |
| Catalog     | [c\_FormaPago — Form of payment](https://www.clara.com/en-mx/cfdi-catalogs/payment-form) |
| Description | The same person is both creditor and debtor.                        |

Original Spanish source label: Confusión

## What it means

Form of payment 24 indicates that the debt was fulfilled or extinguished through 'Merger of creditor and debtor': the same person is both creditor and debtor. It is the value of the CFDI's Form of payment field (FormaPago attribute) and indicates how the invoice was settled.

It is one of the c\_FormaPago codes for legal mechanisms other than a direct customer payment by cash, check, card, or transfer.

## When to use it and when not to

When to use it:

- The debt was settled through 'Merger of creditor and debtor,' and you can document it.
- 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 directly using a means of payment: use the code for that means (01, 02, 03, 04, or 28).
- If you have doubts about the legal mechanism, it has its own legal and tax effects; review it with your accountant before invoicing.

## Differences from similar codes

__24 compared with 17 and 25__
| Code                              | Name                          | In brief                                     |
| --------------------------------- | ----------------------------- | -------------------------------------------- |
| 24                                | Merger of creditor and debtor | The same person is both creditor and debtor. |
| [17](https://www.clara.com/en-mx/cfdi/payment-form-17) | Setoff                        | Offsetting mutual claims and debts.          |
| [25](https://www.clara.com/en-mx/cfdi/payment-form-25) | Remission of debt             | Total or partial forgiveness of the claim.   |

## 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

- ### [23 — Novation](https://www.clara.com/en-mx/cfdi/payment-form-23)  
Replacement of the original obligation.
- ### [25 — Debt remission](https://www.clara.com/en-mx/cfdi/payment-form-25)  
Full or partial forgiveness of the debt.
- ### [17 — Setoff](https://www.clara.com/en-mx/cfdi/payment-form-17)  
Setoff of mutual credits and debts.
- ### [26 — Prescription or expiration](https://www.clara.com/en-mx/cfdi/payment-form-26)  
Extinguishment through the passage of time.
- ### [15 — Debt forgiveness](https://www.clara.com/en-mx/cfdi/payment-form-15)  
Cancellation of a debt.
- ### [27 — To the creditor's satisfaction](https://www.clara.com/en-mx/cfdi/payment-form-27)  
Fulfillment to the creditor's satisfaction.
- ### [14 — Payment by consignation](https://www.clara.com/en-mx/cfdi/payment-form-14)  
Payment made by consignation.
- ### [28 — Debit card](https://www.clara.com/en-mx/cfdi/payment-form-28)  
Payment with a bank debit card.

## 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)
