CUIL Validator
CUIL (Argentine labor ID) · Issuer: ANSES. Payroll, social security registrations, digital pay slips and HR systems.
Free online validator
Validated with the public algorithm; we don't store your input.Format
11 digits, XX-XXXXXXXX-X. Prefixes 20 (male), 27 (female), 23/24 when the calculation collides. The middle 8 digits are the DNI.
Check-digit algorithm
- Same mod 11 as CUIT: weights 5,4,3,2,7,6,5,4,3,2 over the first 10 digits.
- Check digit = 11 − (sum mod 11); 11 → 0.
- If the result is 10, ANSES switches to prefix 23 and recalculates.
Use cases
Payroll, social security registrations, digital pay slips and HR systems.
Code examples
# curl (RapidAPI)
curl -X POST "https://validalatam.p.rapidapi.com/validate" -H "Content-Type: application/json" \
-H "X-RapidAPI-Key: $RAPIDAPI_KEY" -H "X-RapidAPI-Host: validalatam.p.rapidapi.com" \
-d '{"type":"AR_CUIL","value":"27191984019"}'
# Python
import requests
r = requests.post("https://validalatam.p.rapidapi.com/validate", json={"type": "AR_CUIL", "value": "27191984019"},
headers={"X-RapidAPI-Key": KEY, "X-RapidAPI-Host": "validalatam.p.rapidapi.com"})
print(r.json()["valid"], r.json()["formatted"])
// JavaScript (fetch)
const r = await fetch("https://validalatam.p.rapidapi.com/validate", { method: "POST",
headers: { "Content-Type": "application/json", "X-RapidAPI-Key": KEY, "X-RapidAPI-Host": "validalatam.p.rapidapi.com" },
body: JSON.stringify({ type: "AR_CUIL", value: "27191984019" }) });
const { valid, formatted, error } = await r.json();
# Response
{
"valid": true,
"type": "AR_CUIL",
"country": "AR",
"input": "27191984019",
"normalized": "27191984019",
"formatted": "27-19198401-9"
}
API plans on RapidAPI
Free plan to get started; paid plans for production volume and batch validation (up to 1000 per request).
FAQ
How is the CUIL check digit calculated?
Same mod 11 as CUIT: weights 5,4,3,2,7,6,5,4,3,2 over the first 10 digits. Check digit = 11 − (sum mod 11); 11 → 0. If the result is 10, ANSES switches to prefix 23 and recalculates.
What is the CUIL format?
11 digits, XX-XXXXXXXX-X. Prefixes 20 (male), 27 (female), 23/24 when the calculation collides. The middle 8 digits are the DNI.
Can I extract the DNI from a CUIL?
Yes, digits 3–10. The API returns it in details.dni.
Is this validator free?
Yes, the web tool is free. To integrate it, use the API: there's a free plan on RapidAPI.
Does the API store the numbers I validate?
No. Validation is deterministic, with no storage and no third-party lookups.