{"id":"t/postal_code_pt_validate","kind":"forged","name":"postal_code_pt_validate","description":"Offline structural validator/normalizer for Portuguese postal codes (Código Postal) in the NNNN-NNN format. Accepts input with or without the dash, normalizes to NNNN-NNN, and checks the 4-digit + 3-digit pattern; no check digit exists for Portuguese postal codes.","tags":["validation","postal-code","portugal","offline","format"],"method":"POST","path":"/v1/t/postal_code_pt_validate","url":"https://toll402.dev/v1/t/postal_code_pt_validate","specUrl":"https://toll402.dev/v1/spec/t/postal_code_pt_validate","price":"$0.001","priceUsd":0.001,"available":true,"inputSchema":{"type":"object","properties":{"postalCode":{"type":"string","description":"Portuguese postal code, e.g. 1000-001 or 1000001"}},"required":["postalCode"],"additionalProperties":false},"example":{"postalCode":"1000-001"},"meta":{"creator":null,"createdAt":"2026-09-09T22:56:24.458Z","calls":3,"failures":2,"network":false,"notes":"Pure offline structural validator: strips non digit/dash chars, requires exactly one optional dash splitting 4+3 digits or 7 raw digits, then normalizes to NNNN-NNN; no external data or network calls used since Portuguese postal codes have no check digit."}}