MYDATA-226

The rule sets below word this rule differently; each wording is shown with its rule set.

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

Message

The sum of fees amount of the invoice lines doesn't match with total fees amount of the invoice: totalFeesAmount …, lines and taxesTotals ….

Context
inv:invoice
Test
gr:same(gr:dec($summary/inv:totalFeesAmount), $fees)

Checked with myDATA 2.0.2

Message

The sum of other taxes amount of the invoice lines doesn't match with total other taxes amount of the invoice: totalOtherTaxesAmount …, lines and taxesTotals ….

Context
inv:invoice
Test
gr:same(gr:dec($summary/inv:totalOtherTaxesAmount), $other)

Checked with myDATA 2.0.2

Message

The sum of stamp duty amount of the invoice lines doesn't match with total stamp duty amount of the invoice: totalStampDutyAmount …, lines and taxesTotals ….

Context
inv:invoice
Test
gr:same(gr:dec($summary/inv:totalStampDutyAmount), $stamp)

Checked with myDATA 2.0.2

Message

The sum of deductions amount of the invoice lines doesn't match with total deductions amount of the invoice: totalDeductionsAmount …, lines and taxesTotals ….

Context
inv:invoice
Test
gr:same(gr:dec($summary/inv:totalDeductionsAmount), $deductions)

Checked with myDATA 2.0.2