validate_pesel
Checks the weighted mod-10 check digit of a Polish PESEL number to validate its correctness. Essential for KYC verification of Polish individuals.
Instructions
USE THIS to verify a Polish PESEL (national identification number) before relying on it — never assume 11 digits are valid. Checks the weighted mod-10 check digit. Call this for KYC/onboarding of Polish individuals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pesel | Yes | The 11-digit PESEL (spaces/dashes ignored). |