robin.vision Appointment

SmartFormular

Tools › SmartFormular E-Rechnung lite › Validation rules › PEPPOL-EN16931-R054

PEPPOL-EN16931-R054

With a separate VAT currency, the second tax total is missing or duplicated

Validation rule of XRechnung 3.0.2 (KoSIT, Schematron 2.6.0) · Level: Error

What the message means

With a separate VAT currency, the second tax total is missing or duplicated.

What the issuer needs to change

Give exactly one tax total in the VAT currency.

This rule is part of XRechnung, even though its name starts with PEPPOL.

Your invoice reports PEPPOL-EN16931-R054? Check it with SmartFormular E-Rechnung lite, free to try until 31 December 2026: the tool shows every finding with an explanation, the invoice in readable form and a GiroCode to pay – in your browser, no upload.

Check an e-invoice

Origin

Rule set
XRechnung 3.0.2 (KoSIT, Schematron 2.6.0)
Syntax
CII, UBL
Level
Error

Original rule text

Only one tax total without tax subtotals MUST be provided when tax currency code is provided.

Source: KoSIT, XRechnung Schematron 2.6.0, Apache License 2.0

Technical details for IT

UBL

Context: ubl-creditnote:CreditNote | ubl-invoice:Invoice
Test: not(count(cac:TaxTotal[not(cac:TaxSubtotal)]) = (if (cbc:TaxCurrencyCode) then 1 else 0))

CII

Context: ram:ApplicableHeaderTradeSettlement
Test: not(                     count(ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxTotalAmount[@currencyID != $documentCurrencyCode]) = (if (ram:TaxCurrencyCode) then                         1                     else                         0))

Related rules

All validation rules

Technical explanation by robin.vision, not tax or legal advice. Rules as of 31 August 2026 (KoSIT validator configuration).