Engine Classification
Financial or legal field · Modification blocked by policy
Reason: Romanian tax reporting requires amounts in RON (Romanian Leu). Converting from foreign currency requires recalculating all amounts at the appropriate BNR (National Bank of Romania) exchange rate. This financial calculation cannot be automated safely. Issue the invoice in RON from your source system, or include RON equivalents per Romanian regulations.
What is RO-R-004?
RO-R-004 is a warning validation rule defined in the ubl-2.1 specification (ROU national rules). It validates the DocumentCurrencyCode element under Invoice in the UBL invoice XML.
The invoice may pass transmission, but this non-compliance can cause problems during tax audits or buyer-side processing.
Target path: XPath: /Invoice/cbc:DocumentCurrencyCode
Why This Error Matters
Tax reported in Romanian leu.
RO-R-004 is a soft failure that can cause issues at the receiving end — tax audits, ERP processing, or VAT reconciliation mismatches.
Validator Behavior
- ·Generates validation warning
- ·Fails UBL schema validation
- ·Error returned: RO-R-004
- ·Specification: ubl-2.1
How to Fix It
Check currency
If not RON
Add conversion
RON amounts for VAT
XML Example
Generic example based on the rule's target XPath. Your actual XML structure may differ.
<!-- Incorrect value --> <cbc:DocumentCurrencyCode>INVALID</cbc:DocumentCurrencyCode>
<!-- Corrected value --> <cbc:DocumentCurrencyCode>VALID_VALUE</cbc:DocumentCurrencyCode>
Technical Reference
XPath: /Invoice/cbc:DocumentCurrencyCodeCommon Causes
- ·EUR invoice without RON conversion
Seeing this in production? The API handles RO-R-004 automatically. See the fix response →
Frequently Asked Questions
Romanian tax reporting requires RON amounts.
Include RON equivalents for tax calculation. This error involves a protected field — Invoice Navigator flags it in your pipeline so your team can correct it at the source.
RO-R-004 is a warning that should be addressed.
Related Errors
Related Content
Last updated: 3 March 2026
Validate your invoice
Drop your XML here to check for RO-R-004
Detect RO-R-004 before submission
This error involves a financial field that can't be auto-modified. We'll flag it with a clear diagnosis so you can fix it at the source.