errorPOLubl-2.1

PL-R-006:Currency must be PLN for KSeF

Invoices to Polish KSeF typically require PLN amounts.

Severity
Fatal
Rule set
ubl-2.1
Country
POL
Fix type
BLOCKED

Engine Classification

Financial or legal field · Modification blocked by policy

Reason: KSeF typically requires invoices in PLN (Polish Zloty). Changing the currency requires recalculating all amounts at the appropriate exchange rate, which is a financial calculation that cannot be automated safely. Issue the invoice in PLN from your source system, or ensure foreign currency invoices include proper PLN equivalents per Polish regulations.

What is PL-R-006?

PL-R-006 is a fatal validation rule defined in the ubl-2.1 specification (POL national rules). It validates the DocumentCurrencyCode element under Invoice 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: /Invoice/cbc:DocumentCurrencyCode

This error requires manual correction — financial fields are protected by policy.

Why This Error Matters

KSeF requires amounts in Polish zloty for tax reporting.

PL-R-006 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-006
  • ·Specification: ubl-2.1

How to Fix It

1.

Set currency

DocumentCurrencyCode = PLN

2.

Or convert

Include PLN equivalents for VAT

XML Example

Generic example based on the rule's target XPath. Your actual XML structure may differ.

Before
<!-- Missing or empty element triggers cbc:DocumentCurrencyCode error -->
<cbc:DocumentCurrencyCode></cbc:DocumentCurrencyCode>
After
<!-- Provide the required value -->
<cbc:DocumentCurrencyCode>VALID_VALUE</cbc:DocumentCurrencyCode>

Technical Reference

XPathXPath: /Invoice/cbc:DocumentCurrencyCode
Specubl-2.1

Common Causes

  • ·Using EUR without PLN conversion
  • ·Wrong currency code

Seeing this in production? The API handles PL-R-006 automatically. See the fix response →

Frequently Asked Questions

Invoices to Polish KSeF typically require PLN amounts.

Use PLN as document currency or include PLN conversion. You can also use Invoice Navigator's automatic Fixer tool to correct this instantly.

Yes, PL-R-006 is a critical error that will cause invoice rejection. It must be fixed before submission.

Related Errors

Last updated: 27 February 2026

Share this guide:

Handle PL-R-006 Automatically in Your Pipeline

The compliance engine auto-remediates this error with controlled safety policies and evidence pack generation.