ISDOC-4.1.3

Doklad vystavený v tuzemské měně nesmí obsahovat žádný element v cizí měně. Pokud neexistuje element ForeignCurrencyCode, pak nesmí existovat žádný element pro cizí měnu, tj. element končící na Curr. Položky s kursem (CurrRate i RefCurrRate) musí být rovny hodnotě 1.

In English A document in the local currency may not hold any amount in a foreign currency (no element ending in Curr), and CurrRate and RefCurrRate must both be 1.

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[not(isdoc:ForeignCurrencyCode)]
Test
isdoc:CurrRate = 1

Checked with ISDOC 6.0.2

Context
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
Test
isdoc:RefCurrRate = 1

Checked with ISDOC 6.0.2

Context
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
Test
not(.//isdoc:LineExtensionAmountCurr)

Checked with ISDOC 6.0.2

Context
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
Test
not(.//isdoc:LineExtensionAmountTaxInclusiveCurr)

Checked with ISDOC 6.0.2

Context
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
Test
not(.//isdoc:DepositAmountCurr)

Checked with ISDOC 6.0.2

Context
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
Test
not(.//isdoc:TaxableDepositAmountCurr)

Checked with ISDOC 6.0.2

Context
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
Test
not(.//isdoc:TaxInclusiveDepositAmountCurr)

Checked with ISDOC 6.0.2

Context
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
Test
not(.//isdoc:TaxAmountCurr)

Checked with ISDOC 6.0.2

Context
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
Test
not(.//isdoc:TaxableAmountCurr)

Checked with ISDOC 6.0.2

Context
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
Test
not(.//isdoc:TaxInclusiveAmountCurr)

Checked with ISDOC 6.0.2

Context
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
Test
not(.//isdoc:AlreadyClaimedTaxableAmountCurr)

Checked with ISDOC 6.0.2

Context
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
Test
not(.//isdoc:AlreadyClaimedTaxAmountCurr)

Checked with ISDOC 6.0.2

Context
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
Test
not(.//isdoc:AlreadyClaimedTaxInclusiveAmountCurr)

Checked with ISDOC 6.0.2

Context
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
Test
not(.//isdoc:DifferenceTaxableAmountCurr)

Checked with ISDOC 6.0.2

Context
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
Test
not(.//isdoc:DifferenceTaxAmountCurr)

Checked with ISDOC 6.0.2

Context
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
Test
not(.//isdoc:DifferenceTaxInclusiveAmountCurr)

Checked with ISDOC 6.0.2

Context
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
Test
not(.//isdoc:TaxExclusiveAmountCurr)

Checked with ISDOC 6.0.2

Context
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
Test
not(.//isdoc:AlreadyClaimedTaxExclusiveAmountCurr)

Checked with ISDOC 6.0.2

Context
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
Test
not(.//isdoc:DifferenceTaxExclusiveAmountCurr)

Checked with ISDOC 6.0.2

Context
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
Test
not(.//isdoc:PayableRoundingAmountCurr)

Checked with ISDOC 6.0.2

Context
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
Test
not(.//isdoc:PaidDepositsAmountCurr)

Checked with ISDOC 6.0.2

Context
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
Test
not(.//isdoc:PayableAmountCurr)

Checked with ISDOC 6.0.2