XRechnung · CII · rule diff

XRechnung 2.0.1: CII validation rule changes

1 rule changed between 2.0.0 and 2.0.1 — added, removed, or rewritten. This is computed from the two rule sets directly, not from a changelog.

About this comparison

Revalidate compares the archived 2.0.0 and 2.0.1 rule sets at the assertion and variable level. The diff identifies changed rules; replaying your invoices shows which changes affect your documents.

Browse archived rule sets and checksums. Report published by Revalidate on .

What changed

PEPPOL-EN16931-R053Test expression rewritten

Tax total currency rule now permits "0" matching amounts

The condition changed from requiring exactly one tax total amount with currency matching "$documentCurrencyCode" to requiring at most one. The rule message already says "No more than one tax total amount must be provided where currency id equals document currency code." A count of "0" matching tax total amounts is now allowed; before the change it was a violation because the required count was "1".

warningformat

Original rule text: No more than one tax total amount must be provided where currency id equals document currency code.

PEPPOL-EN16931-R053 rule details

Before · 2.0.0

count(ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxTotalAmount[@currencyID = $documentCurrencyCode]) = 1

After · 2.0.1

count(ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxTotalAmount[@currencyID = $documentCurrencyCode]) <=1

Which of these catch you depends on your invoices.

The rule diff is the same for everyone — what breaks is not. Upload a corpus once and every subsequent release gets replayed against your own invoices, so you see what breaks for you.