PL-R-005:Invalid Polish NIP format
Polish NIP must be 10 digits with valid checksum.
Engine Classification
Business data required · Explicit input workflow · No assumptions made
Required input: Polish NIP Number
What is PL-R-005?
PL-R-005 is a fatal validation rule defined in the ubl-2.1 specification (POL national rules). It validates the CompanyID element under PartyTaxScheme in the UBL invoice XML.
When this rule fires, the invoice is non-compliant and will be rejected by Peppol access points and national validation services. The sending system receives a rejection response and the invoice does not reach the buyer.
Target path: XPath: //cac:PartyTaxScheme/cbc:CompanyID
Why This Error Matters
Invalid NIP prevents KSeF submission and VAT verification.
PL-R-005 is a hard failure. Invoices that trigger this rule are rejected at the access point and never reach the recipient. In Peppol networks, this means your sending system receives an MLR (Message Level Response) with a rejection status. The invoice must be corrected and re-sent, adding delay to your payment cycle.
Validator Behavior
- ·Causes invoice rejection
- ·Fails UBL schema validation
- ·Error returned: PL-R-005
- ·Specification: ubl-2.1
How to Fix It
Check length
Must be exactly 10 digits
Verify checksum
MOD 11 validation
XML Example
Generic example based on the rule's target XPath. Your actual XML structure may differ.
<!-- Missing or empty element triggers cbc:CompanyID error --> <cbc:CompanyID></cbc:CompanyID>
<!-- Provide the required value --> <cbc:CompanyID>VALID_VALUE</cbc:CompanyID>
Technical Reference
XPath: //cac:PartyTaxScheme/cbc:CompanyIDCommon Causes
- ·Wrong length
- ·Invalid checksum
- ·Using old format
Seeing this in production? The API handles PL-R-005 automatically. See the fix response →
Frequently Asked Questions
Polish NIP must be 10 digits with valid checksum.
Use valid 10-digit NIP number. Invoice Navigator detects this error and prompts for the required business data before applying a safe fix.
Yes, PL-R-005 is a critical error that will cause invoice rejection. It must be fixed before submission.
Related Content
Last updated: 3 March 2026
Resolve PL-R-005 with Guided Input
The compliance engine detects this error and prompts for the required business data before applying a safe, auditable fix.