Peru Sunat Ruc
v0.1.0peru-sunat-ruc -- Peru's SUNAT taxpayer register (Padron reducido del RUC).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
pe_ruc
Look up one Peruvian taxpayer by its 11-digit RUC in SUNAT's published taxpayer register: registered name (razon social), taxpayer status (active, deregistered, suspended ...), domicile condition (habido / no habido ...) and, for companies, the registered address with its ubigeo and department. Companies and organisations only (RUC prefix 20, plus government offices 00): natural persons (RUCs beginning 10, 15, 17) are excluded and answer found:false with reason natural_person_not_served, no name, status or address. Use for "is RUC 20100070970 real and active", KYC and counterparty checks, or r…
| Parameter | Type | Description |
|---|---|---|
ruc * | string | The 11-digit RUC, digits only, e.g. "20100070970". |
pe_ruc_search
Search SUNAT's published taxpayer register by company name (razon social) -- legal entities only (RUC prefix 20 and government offices); natural persons are excluded entirely and are never returned. Accent-insensitive substring match: every word of 3+ letters must appear in the name. Active registrations are listed before deregistered ones. Optionally restrict to a place with a ubigeo prefix (2 digits = department, e.g. "15" Lima; 4 = province; 6 = district). Returns RUC, name, status and address so you can pick the right one.
| Parameter | Type | Description |
|---|---|---|
name * | string | Company name or part of it, e.g. "BANCO DE CREDITO" or "alicorp". |
active_only | boolean | If true, return only registrations whose status is ACTIVO (default false: active first, then the rest). |
limit | number | Maximum results (1-50, default 10). |
ubigeo | string | Optional ubigeo prefix: 2, 4 or 6 digits (e.g. "15" Lima department, "150122" Miraflores). |