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.
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.
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
isdoc:CurrRate = 1
Checked with ISDOC 6.0.2
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
isdoc:RefCurrRate = 1
Checked with ISDOC 6.0.2
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
not(.//isdoc:LineExtensionAmountCurr)
Checked with ISDOC 6.0.2
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
not(.//isdoc:LineExtensionAmountTaxInclusiveCurr)
Checked with ISDOC 6.0.2
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
not(.//isdoc:DepositAmountCurr)
Checked with ISDOC 6.0.2
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
not(.//isdoc:TaxableDepositAmountCurr)
Checked with ISDOC 6.0.2
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
not(.//isdoc:TaxInclusiveDepositAmountCurr)
Checked with ISDOC 6.0.2
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
not(.//isdoc:TaxAmountCurr)
Checked with ISDOC 6.0.2
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
not(.//isdoc:TaxableAmountCurr)
Checked with ISDOC 6.0.2
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
not(.//isdoc:TaxInclusiveAmountCurr)
Checked with ISDOC 6.0.2
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
not(.//isdoc:AlreadyClaimedTaxableAmountCurr)
Checked with ISDOC 6.0.2
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
not(.//isdoc:AlreadyClaimedTaxAmountCurr)
Checked with ISDOC 6.0.2
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
not(.//isdoc:AlreadyClaimedTaxInclusiveAmountCurr)
Checked with ISDOC 6.0.2
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
not(.//isdoc:DifferenceTaxableAmountCurr)
Checked with ISDOC 6.0.2
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
not(.//isdoc:DifferenceTaxAmountCurr)
Checked with ISDOC 6.0.2
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
not(.//isdoc:DifferenceTaxInclusiveAmountCurr)
Checked with ISDOC 6.0.2
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
not(.//isdoc:TaxExclusiveAmountCurr)
Checked with ISDOC 6.0.2
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
not(.//isdoc:AlreadyClaimedTaxExclusiveAmountCurr)
Checked with ISDOC 6.0.2
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
not(.//isdoc:DifferenceTaxExclusiveAmountCurr)
Checked with ISDOC 6.0.2
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
not(.//isdoc:PayableRoundingAmountCurr)
Checked with ISDOC 6.0.2
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
not(.//isdoc:PaidDepositsAmountCurr)
Checked with ISDOC 6.0.2
isdoc:Invoice[not(isdoc:ForeignCurrencyCode)]
not(.//isdoc:PayableAmountCurr)
Checked with ISDOC 6.0.2