ISDOC-4.1.4

U dokladu v zahraniční měně nesmí být měna lokální a zahraniční shodné. Konkrétně hodnota povinné položky LocalCurrencyCode se nesmí rovnat hodnotě nepovinné položky ForeignCurrencyCode.

In English In a document in a foreign currency the local and the foreign currency must differ: LocalCurrencyCode may not equal ForeignCurrencyCode.

error: the document is invalid

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.

Context
isdoc:Invoice[isdoc:ForeignCurrencyCode]
Test
isdoc:ForeignCurrencyCode != isdoc:LocalCurrencyCode

Checked with ISDOC 6.0.2