# AI tells a foreign company in Brazil to use a personal CPF for Pix business payments, ignoring that Pix requires a CNPJ for corporate accounts and personal CPF triggers tax withholding issues

- **ID:** `banking/brazil-pix-cnpj-cpf-mismatch`
- **Domain:** banking
- **Category:** type_error
- **Error Code:** `PIX-TAX-2003`
- **Verification:** ai_generated
- **Fix Rate:** 82%

## Root Cause

Brazil's Pix instant payment system (BCB Resolution 1/2020) mandates that corporate accounts must register a CNPJ (Cadastro Nacional da Pessoa Jurídica) as the Pix key; using a personal CPF (Cadastro de Pessoas Físicas) for business payments violates tax registration rules under RFB Normative Instruction 2003/2021, causing the receiving bank to apply 15% withholding tax on the transaction.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| BCB Pix Regulation 1/2020 | active | — | — |
| RFB Normative Instruction 2003/2021 | active | — | — |
| Pix API v2.5 | active | — | — |
| SPI (Sistema de Pagamentos Instantâneos) v3.0 | active | — | — |

## Workarounds

1. **Open a corporate bank account with CNPJ and register a CNPJ-based Pix key. Example via API: `curl -X POST https://api.bank.com.br/pix/key -H "Authorization: Bearer <token>" -d '{"type": "CNPJ", "value": "12.345.678/0001-90", "accountType": "CORRENTE"}'`** (88% success)
   ```
   Open a corporate bank account with CNPJ and register a CNPJ-based Pix key. Example via API: `curl -X POST https://api.bank.com.br/pix/key -H "Authorization: Bearer <token>" -d '{"type": "CNPJ", "value": "12.345.678/0001-90", "accountType": "CORRENTE"}'`
   ```
2. **Use a business digital account (e.g., Conta PJ from Nubank or C6 Bank) that auto-generates a CNPJ Pix key upon registration; transfer funds via TED (traditional wire) as fallback** (85% success)
   ```
   Use a business digital account (e.g., Conta PJ from Nubank or C6 Bank) that auto-generates a CNPJ Pix key upon registration; transfer funds via TED (traditional wire) as fallback
   ```
3. **For one-off payments, use a boleto bancário (Brazilian payment slip) instead of Pix, which does not trigger CPF/CNPJ mismatch tax withholding for business transactions** (70% success)
   ```
   For one-off payments, use a boleto bancário (Brazilian payment slip) instead of Pix, which does not trigger CPF/CNPJ mismatch tax withholding for business transactions
   ```

## Dead Ends

- **** — Using personal CPF for Pix and hoping the bank ignores the tax — the RFB auto-detects CPF receiving business payments and applies 15% withholding automatically, with no way to reverse without court order (80% fail)
- **** — Creating a second Pix key with CNPJ on same personal account — Brazilian banks do not allow mixing CPF and CNPJ Pix keys on the same account; a separate corporate account is required (75% fail)
- **** — Using a third-party payment gateway that masks the Pix key — the gateway still reports to RFB with the underlying CPF, triggering the same withholding (60% fail)
