# Argentina

{% hint style="success" %}
**New Feature** (May 2025): \
\
**Cashouts in Argentina** now **support** both **CBU** (traditional bank accounts) and **CVU** (virtual accounts)
{% endhint %}

### Required fields <a href="#required-fields" id="required-fields"></a>

| Field                  | Format                                                                 | Description                                         |
| ---------------------- | ---------------------------------------------------------------------- | --------------------------------------------------- |
| `login`                | String                                                                 | Cashouts login                                      |
| `pass`                 | String                                                                 | Cashouts pass                                       |
| `external_id`          | String (max length: 100)                                               | Transaction's ID on your end                        |
| `document_id`          | See [document validations](#document_type-and-document_id-validations) | Beneficiary's document ID                           |
| `country`              | `AR`                                                                   | The country codes are in ISO 3166-1 alpha-2 format. |
| `currency`             | `ARS` / `USD`                                                          | The currencies are in ISO 4217 format.              |
| `amount`               | Number with up to 2 decimals                                           | Cashout amount                                      |
| `bank_account`         | See [bank accounts validations](#bank-account-validations)             | Beneficiary's bank account                          |
| `beneficiary_name`     | String (max length: 100)                                               | Beneficiary's name                                  |
| `beneficiary_lastname` | String (max length: 100)                                               | Beneficiary's last name                             |

### `bank_account` validations <a href="#bank-account-validations" id="bank-account-validations"></a>

Use the Regex below to validate the bank accounts on your end.

<table><thead><tr><th width="125.12890625">Bank name</th><th>bank_account Description</th><th>Format</th></tr></thead><tbody><tr><td>All</td><td>CBU - <a href="https://es.wikipedia.org/wiki/Clave_Bancaria_Uniforme">Clave Bancaria Uniforme</a></td><td>Numeric, Length 22</td></tr><tr><td>All</td><td>CVU - <a href="https://es.wikipedia.org/wiki/Clave_virtual_uniforme">Clave Virtual Uniforme</a></td><td>Numeric, Length 22</td></tr></tbody></table>

<figure><img src="/files/UkHlLv5GlEJ2uf4ED1qn" alt=""><figcaption><p>CBU - Bank accounts format</p></figcaption></figure>

#### CBU Validation Algorithm <a href="#email-validations" id="email-validations"></a>

Since the first three digits of the CBU are the bank code, it is not mandatory to send the bank\_code field.

```java
public class Validations {
    static Integer CBU_LENGTH = 22;

    public static Boolean verifyCBU(String cbu) {
        return cbuLengthValidation(cbu) && bankCodeValidation(cbu) && accountValidation(cbu);
    }

    public static Boolean cbuLengthValidation(String cbu) {
        return cbu.length() == 22 && ValidationsUtils.validateOnlyNumbers(cbu);
    }

    public static Boolean bankCodeValidation(String cbu) {
        if (cbu.length() == CBU_LENGTH && ValidationsUtils.validateOnlyNumbers(cbu)) {
            String shortCbu = StringUtils.left(cbu, 8);
            String bankCode = shortCbu.substring(0, 3);
            String branchCode = shortCbu.substring(4, 7);
            int firstCheckDigit = charToInt(shortCbu.toCharArray()[3]);
            int secondCheckDigit = charToInt(shortCbu.toCharArray()[7]);
            int sum = charToInt(bankCode.charAt(0)) * 7 + charToInt(bankCode.charAt(1)) * 1 + charToInt(bankCode.charAt(2)) * 3 + firstCheckDigit * 9 + charToInt(branchCode.charAt(0)) * 7 + charToInt(branchCode.charAt(1)) * 1 + charToInt(branchCode.charAt(2)) * 3;
            int diference = (10 - sum % 10) % 10;
            return diference == secondCheckDigit;
        } else {
            return false;
        }
    }

    public static Boolean accountValidation(String cbu) {
        String account = cbu.substring(8, 22);
        int sum = 0;
        int j = 0;
        int[] weighter = new int[]{3, 9, 7, 1};
        char[] arrayAccount = account.toCharArray();
        int checkDigit = charToInt(account.toCharArray()[13]);

        for(int i = 0; i < 13; ++i) {
            sum += charToInt(arrayAccount[i]) * weighter[j % 4];
            ++j;
        }

        int diference = (10 - sum % 10) % 10;
        return diference == checkDigit;
    }

    private static int charToInt(char ch) {
        return Integer.parseInt(String.valueOf(ch));
    }
}
```

### `document_type`  and `document_id` validations

<table><thead><tr><th width="166.68359375">document_type</th><th>document_id format</th></tr></thead><tbody><tr><td><code>DNI</code></td><td>Numeric. Length 7-9</td></tr><tr><td><code>CUIL</code></td><td>Numeric. Length between 7 and 9 inclusive or equal to 11</td></tr></tbody></table>

### Example request <a href="#example-request" id="example-request"></a>

```json
{
    "login": "xxxxxxxx",
    "pass": "xxxxxxxx",
    "external_id": "30000000001",
    "country": "AR",
    "currency": "ARS",
    "amount": 10000,
    "document_id": "5676586998",
    "bank_account": "0000003100000098476521",
    "email": "johnSmith@gmail.com",
    "beneficiary_name": "John",
    "beneficiary_lastname": "Smith",
    "notification_url": "https://webhook.site/url",
    "type": "json"
}
```

{% hint style="success" %}
Notice that the bank code is not mandatory for Argentina as it's part of the bank account.
{% endhint %}

### Bank codes <a href="#bank-codes" id="bank-codes"></a>

{% hint style="success" %}

### Bank code retrieval via API

For the full and most up-to-date list of banks and its codes, please check this endpoint <a href="/spaces/VNE8t2FopKfzgQzTjlBb/pages/kD1eu0r7kuzS2nEDm1N9" class="button primary">Get bank codes</a>
{% endhint %}

| Bank Name                                      | Code |
| ---------------------------------------------- | ---- |
| A.B.N Amro Bank                                | 005  |
| Banco de Galicia Y Buenos Aires                | 007  |
| Lloyds Tsb Bank                                | 010  |
| Banco de La Nación Argentina                   | 011  |
| Banco de La Provincia de Buenos Aires          | 014  |
| Industrial and Commercial Bank of China (ICBC) | 015  |
| Citibank                                       | 016  |
| BBVA Banco Frances                             | 017  |
| The Bank Of Tokyo - Mitsubishi                 | 018  |
| Banco de La Provincia de Cordoba               | 020  |
| Superville Bank                                | 027  |
| Banco de La Ciudad de Buenos Aires             | 029  |
| Banco Patagonia Sudameris                      | 034  |
| Banco Hipotecario                              | 044  |
| Banco de San Juan                              | 045  |
| Banco Do Brasil                                | 046  |
| Banco Del Tucuman                              | 060  |
| Banco Municipal de Rosario                     | 065  |
| Santander Río                                  | 072  |
| Banco Regional de Cuyo                         | 079  |
| Banco Del Chubut                               | 083  |
| Banco de Santa Cruz                            | 086  |
| Banco de La Pampa                              | 093  |
| Banco de Corrientes                            | 094  |
| Banco Provincia Del Neuquen                    | 097  |
| Banco Empresario de Tucuman Coop.              | 137  |
| Banco B. I. Creditanstalt                      | 147  |
| HSBC Bank Argentina                            | 150  |
| J P Morgan Chase Bank Sucursal Buenos Aires    | 165  |
| Banco Credicoop Coop.                          | 191  |
| Banco de Valores                               | 198  |
| Banco Roela                                    | 247  |
| Banco Mariva                                   | 254  |
| Banco Itau Buen Ayre                           | 259  |
| Bank Of America                                | 262  |
| Banca Nazionale Del Lavoro                     | 265  |
| Bnp Paribas                                    | 266  |
| Banco Provincia de Tierra Del Fuego            | 268  |
| Banco de La República Oriental Del Uruguay     | 269  |
| Banco Saenz                                    | 277  |
| Banco Meridian                                 | 281  |
| Banco Macro Bansud                             | 285  |
| Banco Mercurio                                 | 293  |
| Ing Bank                                       | 294  |
| American Express Bank Ltd.                     | 295  |
| Banco Banex                                    | 297  |
| Banco Comafi                                   | 299  |
| Banco de Inversión Y Comercio Exterior         | 300  |
| Banco Piano                                    | 301  |
| Banco Finansur                                 | 303  |
| Banco Julio                                    | 305  |
| Banco Privado de Inversiones                   | 306  |
| Nuevo Banco de La Rioja                        | 309  |
| Banco Del Sol                                  | 310  |
| Nuevo Banco Del Chaco                          | 311  |
| M. B. A. Banco de Inversiones                  | 312  |
| Banco de Formosa                               | 315  |
| Banco CMF                                      | 319  |
| Banco de Santiago Del Estero                   | 321  |
| Nuevo Banco Industrial de Azul                 | 322  |
| Deutsche Bank                                  | 325  |
| Nuevo Banco de Santa Fe                        | 330  |
| Banco Cetelem Argentina                        | 331  |
| Banco de Servicios Financieros                 | 332  |
| Banco Cofidis                                  | 335  |
| Banco Bradesco Argentina                       | 336  |
| Banco de Servicios Y Transacciones             | 338  |
| Rci Ba                                         | 339  |
| Bacs Banco de Crédito Y Securitización         | 340  |
| Nuevo Banco de Entre Rios                      | 386  |
| Nuevo Banco Suquia                             | 387  |
| Nuevo Banco Bisel                              | 388  |
| Banco Columbia                                 | 389  |
| Mercado Pago                                   | 031  |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pandablue.com/guides/cashouts/countries-validations/american-countries/argentina.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
