---
id: "plnip"
kind: "datatype"
status: "draft"
is_pii: true
categories: ["finances"]
country: ["PL"]
langs: ["pl"]
quality: 100
url: "http://registry.apicrafter.io/datatype/plnip"
---

# Polish tax identification number (NIP) (`plnip`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Numer identyfikacji podatkowej, the 10-digit tax identification number in Poland. Businesses, including sole traders, use it in tax matters; since September 2011 individuals without a business use their PESEL number instead. With the PL prefix it is the EU VAT number. Older documents group the digits with hyphens, 3-3-2-2 for individuals and 3-2-2-3 for companies. The last digit is a weighted modulo 11 check digit.

- Parent datatype: `vatin`
- Personal data (PII): yes
- Categories: Finances and banking (finances)
- Countries: Poland (PL)
- Languages: Polish (pl)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:PL[ -]?)?(?:\d{10}|\d{3}-\d{3}-\d{2}-\d{2}|\d{3}-\d{2}-\d{2}-\d{3})$
```

Check digit algorithm: `pl_nip`

## Examples

- `PL8567346215` — python-stdnum reference value in the EU form
- `856-734-62-15` — The same number with hyphens
- `PL8567346216` (invalid example) — Check digit does not match
- `85673462` (invalid example) — Two digits short

## Mappings

- fta: `IDENTITY.VAT_PL`
- orgid: `PL-NIP`
- schema_org: `taxID`, `vatID`
- stdnum: `pl.nip`

## Metacrafter rules

2 rules: 1 match the field name, 1 match values.

- `plnipfield` (field, `pl/pl_finances.yaml`)
- `plnipvalue` (data, `pl/pl_finances.yaml`)

## Supported by tools

- `awsglue`
- `dataprep`
- `fta`
- `metacrafter`
- `pythonstdnum`
- `snowflake`

## Translations

- pl: Numer identyfikacji podatkowej (NIP)

## Sources

- wikipedia: <https://pl.wikipedia.org/wiki/Numer_identyfikacji_podatkowej>
- other: <https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.pl.nip.html>

## Quality

Score 100/100.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/plnip.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/PL/finances/plnip.yaml>
