validate_cbu_ar
Validates Argentine CBU bank account numbers using the official weighted modulo-10 checksum to ensure correct electronic transfers.
Instructions
Validates an Argentine CBU (Clave Bancaria Uniforme) — the 22-digit standardized bank account identifier used for electronic transfers in Argentina, as defined by BCRA (Banco Central de la República Argentina). Applies the official weighted modulo-10 checksum algorithm validated in two blocks: the 8-digit bank/branch block and the 14-digit account block. Returns { valid: boolean, cbu: string, bank_code: string } or { valid: false, reason: string }. Use when processing Argentine wire transfers, validating supplier bank accounts, or building Argentine payment flows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cbu | Yes | 22-digit Argentine CBU bank account number. Example: '0720309988000019834160' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | ||
| cbu | No | ||
| bank_code | No | ||
| reason | No |