Validar CUIT/CUIL (Argentina)
ar-cuit-validateValida un CUIT/CUIL argentino (11 dígitos, dígito verificador mod 11) e identifica el tipo de prefijo. Cuándo: hay que comprobar sin conexión un documento o número de cuenta de LatAm o España dado por un usuario antes de guardarlo o usarlo; la herramienta solo valida. No para: validar una CBU/CVU argentina de 22 dígitos (ar-cbu-validate). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.
EN: Validates an Argentine CUIT/CUIL (11 digits: type prefix, DNI, mod-11 check digit with weights 5432765432) and identifies the prefix type (person or company). When: a user-supplied Latin American or Spanish ID or account number has to be checked offline before it is stored or used; the tool only validates. Not for: validating a 22-digit Argentine CBU/CVU (ar-cbu-validate). [EN completo / full EN: inputSchema.description]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cuit | Yes | CUIT/CUIL (string; required; up to 20 chars). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | No | ||
| reason | No | ||
| formatted | No | ||
| prefix_type | No |