InvoiceGlass

An amount has a currency code outside the list · BR-CL-03

  • Severity · Error
  • Applies to · UBL / CII
  • Editorial review pending

The check concerns the currency attribute on an amount. UBL checks fields including amounts, prices and totals. In CII this rule checks currency attributes on ram:TaxTotalAmount.

As of

Who can correct it?

The sender can correct the invoice.

How to fix it

  1. Choose the code for the actual value from ISO 4217 (three-letter codes). Check that your invoicing software uses the list for the selected format.
  2. XML fields in the affected group · UBL cbc:TaxAmount/@currencyID and other amount fields · CII ram:TaxTotalAmount/@currencyID

Rule text and source

Paraphrase · The code for the currency attribute on an amount must come from ISO 4217 (three-letter codes).

Message to the sender

Subject: Invoice {invoiceNumber} – An amount has a currency code outside the list

Hello,

could you clarify a detail on your invoice {invoiceNumber} dated {issueDate} (BR-CL-03)? The check concerns the currency attribute on an amount. Please check the code against the list for the invoice format and send us the corrected invoice.

Thank you and kind regards

Example

A euro tax amount with currencyID="€" triggers the rule. Use currencyID="EUR" for euros.

UBL

cbc:TaxAmount/@currencyID und weitere Betragsfelder

Fails the rule
<cbc:TaxAmount currencyID="€">19.00</cbc:TaxAmount>

Corrected
<cbc:TaxAmount currencyID="EUR">19.00</cbc:TaxAmount>

CII

ram:TaxTotalAmount/@currencyID

Fails the rule
<ram:TaxTotalAmount currencyID="€">19.00</ram:TaxTotalAmount>

Corrected
<ram:TaxTotalAmount currencyID="EUR">19.00</ram:TaxTotalAmount>

Rule versions

CEN · EN 16931 (KoSIT) 1.3.16

CEN · EN 16931 1.3.17

Validate a file