validate_polish_nip
Validates a Polish NIP (tax ID) using the official 10-digit checksum algorithm. Accepts input with or without dashes/spaces, returns validity and normalized NIP.
Instructions
Validate a Polish NIP (tax identification number).
Applies the official 10-digit checksum algorithm. Accepts NIP with or without dashes/spaces.
Returns {'valid': bool, 'nip': str, 'normalized': str}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nip | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||