validate_document
Validate, normalize, or format Latin American tax, ID, and bank numbers with exact check-digit rules. AUTO type detects document formats automatically.
Instructions
Validate/normalize/format a LatAm document (AR_CUIT, BR_CPF, BR_CNPJ, MX_RFC, MX_CURP, CL_RUT, CO_NIT, PE_RUC, IBAN...). type='AUTO' auto-detects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| value | Yes | ||
| country | No |