Error codes

PEPPOL-EN16931-R005: VAT accounting currency code MUST be different from invoice currency code when p

Severity: fatal · Syntax: CII, UBL

Official message

VAT accounting currency code MUST be different from invoice currency code when provided.

What this means

The official message is: VAT accounting currency code MUST be different from invoice currency code when provided. This page does not add a further obligation.

Typical cause

The assertion in the context above failed for this file.

How to fix it

Adjust the file so the assertion succeeds, then validate it again. This page helps you read the rule.

Business term

—

Related rules

Context and assertion

UBL cbc:TaxCurrencyCode

CII ram:ApplicableHeaderTradeSettlement

UBL

not(normalize-space(text()) = normalize-space(../cbc:DocumentCurrencyCode/text()))

CII

not(ram:TaxCurrencyCode) or normalize-space(ram:TaxCurrencyCode/text()) != normalize-space(ram:InvoiceCurrencyCode/text())

Check a file now, free of charge

curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate