errorformattingcii-d16b

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

Fix: Uppercase all currency code values. Upload your invoice to fix this automatically.

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 rejected by Peppol access points and never reaches the buyer.

Target path: //@currencyID, ram:InvoiceCurrencyCode

Why This Error Matters

CII-FIX-CURRENCY is a hard failure — the invoice must be corrected and re-sent before it can reach the recipient.

Lowercase currency codes cause validation failures and may be rejected by payment systems that perform strict code matching.

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

How to Fix It

1.

Find the incorrectly formatted value

Check @currencyID, ram:InvoiceCurrencyCode at //@currencyID, ram:InvoiceCurrencyCode. The current value does not match the required format.

2.

Apply the correct format

Uppercase all currency code values.

3.

Update your export settings

If this occurs consistently, check your invoicing software's locale and format settings for XML export. Re-validate to confirm CII-FIX-CURRENCY is resolved.

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

Frequently Asked Questions

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.

Uppercase all currency code values. You can also use Invoice Navigator's compliance engine to correct this automatically in your pipeline.

Yes, CII-FIX-CURRENCY is a critical error that will cause invoice rejection. It must be fixed before submission.

Many instances of CII-FIX-CURRENCY can be automatically corrected using Invoice Navigator's compliance engine. The fix is applied in your pipeline with full audit evidence.

CII-FIX-CURRENCY is commonly seen in exports from ZUGFeRD generators, Factur-X converters. These packages sometimes generate invoices that need adjustment.

Related Content

Last updated: 14 April 2026

Share this guide:

Validate your invoice

Drop your XML here to check for CII-FIX-CURRENCY

Auto-fix CII-FIX-CURRENCY in seconds

Upload your invoice and we fix this error automatically. Financial fields are never touched.