LatAm Tax ID Validator & CFDI Parser
Pricing
$1.00 / 1,000 results
LatAm Tax ID Validator & CFDI Parser
Checks format and check digits of Latin American tax IDs (CUIT, RUT, RFC, CURP, CPF, CNPJ, NIT, RUC) and parses CFDI invoice XML into JSON. Format and check digits only: it does not confirm an ID is registered or active. Independent of any tax authority. AI-assisted.
Pricing
$1.00 / 1,000 results
Rating
0.0
(0)
Developer
Augeo auto
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
11 days ago
Last modified
Categories
Share
LatAm Tax ID Validator + CFDI Parser
English
What it does
Validates Latin American tax IDs offline and parses the header of Mexican CFDI 3.3 / 4.0 invoices. Each input item produces exactly one dataset row, and each row is one billable result event. A bad item never crashes the run: it returns a row with valid: false and a reason.
It runs pure computation: no website is read and no network request is made.
Important limits (please read)
- Format and check digits only. The Actor does not confirm that an ID is registered or active with any tax authority, and it is not tax, legal or accounting advice.
- For CFDI, it extracts fields and checks the RFC check digits. It does not verify the SAT seal or certificate and does not query SAT, so a parsed CFDI is not proof that the invoice is valid or stamped.
Supported IDs
| Country | country | Types | What is checked |
|---|---|---|---|
| Argentina | AR | cuit, cuil | 11 digits, type prefix (20, 23, 24, 27, 30, 33, 34), mod-11 check digit |
| Chile | CL | rut | 6-8 digit body, mod-11 check digit (0-9 or K) |
| Mexico | MX | rfc, curp | RFC 12/13 characters, date part, check character; CURP 18 characters, date, sex, state code, check digit |
| Brazil | BR | cpf, cnpj | CPF 11 digits with two check digits; CNPJ 14 characters (numeric and alphanumeric) with two check digits |
| Colombia | CO | nit | digits plus DIAN check digit |
| Peru | PE | ruc | 11 digits, prefix (10, 15, 17, 20), check digit |
With type: "auto" (the default) the type is detected from the country and the length of the value. Dots, hyphens, slashes and spaces are ignored.
Input
{"ids": [{"country": "AR", "type": "auto", "value": "20-12345678-6"},{"country": "BR", "type": "auto", "value": "529.982.247-25"},{"country": "AR", "type": "cuit", "value": "20-12345678-0"}],"cfdi_xml": []}
ids: array of{country, type, value}.cfdi_xml: optional array of CFDI XML strings.- Up to 10,000 items per run (IDs and CFDIs together); extra items are ignored and the log says so.
The prefilled example uses only synthetic IDs made for testing.
Output
One row per input item. Example for an ID:
{"kind": "id","index": 2,"input": "20-12345678-0","country": "AR","type": "cuit","normalized": "20123456780","valid": false,"reason": "check digit mismatch","check_digit_expected": "6","check_digit_found": "0","flags": []}
CFDI rows have kind: "cfdi", valid, reason (when invalid), version, serie, folio, fecha, subtotal, total, moneda, tipo_de_comprobante, emisor, receptor (each with an RFC check), uuid, fecha_timbrado, concept_count, warnings and seal_verified: false.
Pricing
Pay per result: one result event is charged for each item pushed to the dataset, valid or not. The current price per result is the one shown on this Actor's Store page.
Privacy
The author does not store the inputs. Run data (input, dataset) is kept by Apify under its own run-data retention rules; see Apify's documentation and your account settings.
Disclosures
- Independent tool, not affiliated with SAT, AFIP/ARCA, SII, Receita Federal, DIAN, SUNAT or Mercado Pago. Those names are used only to describe what the tool does.
- This Actor and its README are AI-assisted.
Español
Qué hace
Valida identificadores fiscales de Latinoamérica sin conexión y lee el encabezado de facturas CFDI 3.3 / 4.0 de México. Cada ítem de entrada genera exactamente una fila en el dataset, y cada fila es un evento result cobrado. Un ítem inválido no rompe la ejecución: devuelve una fila con valid: false y un reason.
Es cálculo puro: no se lee ningún sitio web ni se hace ninguna conexión de red.
Límites importantes
- Solo formato y dígitos verificadores. El Actor no confirma que un ID esté registrado ni activo ante ninguna autoridad fiscal, y no es asesoramiento fiscal, legal ni contable.
- En CFDI extrae campos y verifica los dígitos del RFC. No verifica el sello ni el certificado del SAT ni consulta al SAT, así que un CFDI leído no prueba que la factura sea válida ni esté timbrada.
IDs soportados
| País | country | Tipos | Qué se verifica |
|---|---|---|---|
| Argentina | AR | cuit, cuil | 11 dígitos, prefijo (20, 23, 24, 27, 30, 33, 34), dígito verificador módulo 11 |
| Chile | CL | rut | cuerpo de 6 a 8 dígitos, dígito verificador módulo 11 (0-9 o K) |
| México | MX | rfc, curp | RFC de 12/13 caracteres, fecha, carácter verificador; CURP de 18 caracteres, fecha, sexo, estado, dígito verificador |
| Brasil | BR | cpf, cnpj | CPF de 11 dígitos con dos verificadores; CNPJ de 14 caracteres (numérico y alfanumérico) con dos verificadores |
| Colombia | CO | nit | dígitos más dígito verificador de la DIAN |
| Perú | PE | ruc | 11 dígitos, prefijo (10, 15, 17, 20), dígito verificador |
Con type: "auto" (por defecto) el tipo se detecta por el país y el largo del valor. Se ignoran puntos, guiones, barras y espacios.
Entrada
{"ids": [{"country": "AR", "type": "auto", "value": "20-12345678-6"},{"country": "BR", "type": "auto", "value": "529.982.247-25"},{"country": "AR", "type": "cuit", "value": "20-12345678-0"}],"cfdi_xml": []}
ids: lista de{country, type, value}.cfdi_xml: lista opcional de XML CFDI como texto.- Hasta 10.000 ítems por ejecución (IDs y CFDI en conjunto); los sobrantes se ignoran y el log lo indica.
El ejemplo precargado usa solo IDs sintéticos hechos para pruebas.
Salida
Una fila por ítem. Las filas de ID traen kind, index, input, country, type, normalized, valid, reason, check_digit_expected, check_digit_found y flags. Las filas CFDI traen kind: "cfdi", valid, reason (si es inválido), version, serie, folio, fecha, subtotal, total, moneda, tipo_de_comprobante, emisor, receptor (cada uno con su verificación de RFC), uuid, fecha_timbrado, concept_count, warnings y seal_verified: false.
Precio
Pago por resultado: se cobra un evento result por cada ítem enviado al dataset, sea válido o no. El precio vigente por resultado es el que figura en la página de este Actor en la Store.
Privacidad
El autor no almacena las entradas. Los datos de la ejecución (entrada, dataset) los conserva Apify según su propia política de retención; consultá su documentación y la configuración de tu cuenta.
Avisos
- Herramienta independiente, sin afiliación con SAT, AFIP/ARCA, SII, Receita Federal, DIAN, SUNAT ni Mercado Pago. Esos nombres se usan solo para describir lo que hace la herramienta.
- Este Actor y su README fueron elaborados con asistencia de IA.