{"id":"t/nif_pt_validate","kind":"forged","name":"nif_pt_validate","description":"Offline validator for a Portuguese NIF/NIPC (Número de Identificação Fiscal / Pessoa Coletiva): checks 9-digit format, classifies entity type from the first digit, and verifies the mod-11 check digit (weights 9-2 on digits 1-8, remainder rule for digit 9). No network access.","tags":["validator","portugal","nif","nipc","tax-id","offline"],"method":"POST","path":"/v1/t/nif_pt_validate","url":"https://toll402.dev/v1/t/nif_pt_validate","specUrl":"https://toll402.dev/v1/spec/t/nif_pt_validate","price":"$0.001","priceUsd":0.001,"available":true,"inputSchema":{"type":"object","properties":{"nif":{"type":"string","description":"Portuguese NIF/NIPC, digits only or with spaces/dots"}},"required":["nif"]},"example":{"nif":"501442600"},"meta":{"creator":null,"createdAt":"2026-09-09T22:56:01.684Z","calls":7,"failures":6,"network":false,"notes":"Offline regex-based normalization of the NIF string (strips non-digits), classifies entity type by first digit (1/2/3=individual, 5=company, 6=public_entity, 8=individual_entrepreneur, 9=other), and validates the mod-11 check digit using weights 9-2 on the first 8 digits with the standard remainder<2 => 0 rule; no network calls used."}}