errorcii-d16b

CII-FIX-CURRENCY:CII currency codes must be uppercase

All currency codes in CII invoices must be uppercase ISO 4217 codes. This includes the @currencyID attribute on amount elements and the ram:InvoiceCurrencyCode element. Lowercase currency codes like "eur" are invalid.

Severity
Fatal
Rule set
cii-d16b
Country
All EU
Fix type
AUTO-FIX
Confidence
99%
Category
formatting

Engine Classification

Uppercase all @currencyID attributes and ram:InvoiceCurrencyCode

Confidence: 99% · Applied automatically in pipeline

What is CII-FIX-CURRENCY?

CII-FIX-CURRENCY is a fatal validation rule defined in the cii-d16b specification. It validates the @currencyID, ram:InvoiceCurrencyCode element 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: //@currencyID, ram:InvoiceCurrencyCode

Why This Error Matters

CII-FIX-CURRENCY 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.

Invoice Navigator can automatically correct this error in your pipeline. The fix is applied with full audit evidence, so your compliance trail remains intact.

Validator Behavior

  • ·Causes invoice rejection
  • ·Fails CII schema validation
  • ·Error returned: CII-FIX-CURRENCY
  • ·Specification: cii-d16b

XML Example

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

Before
<!-- Triggers validation error -->
<@currencyID, ram:InvoiceCurrencyCode></@currencyID, ram:InvoiceCurrencyCode>
After
<!-- Corrected -->
<@currencyID, ram:InvoiceCurrencyCode>VALID_VALUE</@currencyID, ram:InvoiceCurrencyCode>

Technical Reference

XPath//@currencyID, ram:InvoiceCurrencyCode
Speccii-d16b
Operationnormalize
StrategyUppercase all @currencyID attributes and ram:InvoiceCurrencyCode

Common Causes

  • ·ERP software outputs lowercase currency codes
  • ·Manual entry with lowercase
  • ·Database stores codes in mixed case

Seeing this in production? The API handles CII-FIX-CURRENCY automatically. See the fix response →

Commonly Seen In

ZUGFeRD generatorsFactur-X converters

Last updated: 18 February 2026

Share this guide:

Handle CII-FIX-CURRENCY Automatically in Your Pipeline

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