✅ ValidaLatam All validators · API docs · RapidAPI · ES

RUC PY Validator

Paraguayan RUC (tax ID) · Issuer: DNIT (ex SET). SIFEN e-invoicing, customer onboarding.

Free online validator

Validated with the public algorithm; we don't store your input.

Format

Base number (the cédula for individuals) + hyphen + check digit: 1234567-8.

Check-digit algorithm

  1. Mod 11 with weights increasing from 2 right-to-left (max base 11).
  2. r = sum mod 11; DV = 11 − r if r > 1, else 0.

Use cases

SIFEN e-invoicing, customer onboarding.

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":"PY_RUC","value":"13449753"}'
# Python
import requests
r = requests.post("https://validalatam.p.rapidapi.com/validate", json={"type": "PY_RUC", "value": "13449753"},
                 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: "PY_RUC", value: "13449753" }) });
const { valid, formatted, error } = await r.json();
# Response
{
  "valid": true,
  "type": "PY_RUC",
  "country": "PY",
  "input": "13449753",
  "normalized": "13449753",
  "formatted": "1344975-3"
}

API plans on RapidAPI

Free plan to get started; paid plans for production volume and batch validation (up to 1000 per request).

See plans on RapidAPI →

FAQ

How is the RUC PY check digit calculated?

Mod 11 with weights increasing from 2 right-to-left (max base 11). r = sum mod 11; DV = 11 − r if r > 1, else 0.

What is the RUC PY format?

Base number (the cédula for individuals) + hyphen + check digit: 1234567-8.

Are RUCs with letters valid?

Some legacy foreigner RUCs contain letters; the API validates current numeric RUCs.

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.

Other validators

CUIT · ArgentinaCUIL · ArgentinaDNI · ArgentinaCBU · ArgentinaCVU · ArgentinaCPF · BrazilCNPJ · BrazilRFC · Mexico