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
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-invoiceOrigin
- 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.
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
- PEPPOL-EN16931-R044A charge on the item price is not allowed
- PEPPOL-EN16931-R046The net price (BT-146) is not the gross price (BT-148) minus discount (BT-147)
- PEPPOL-EN16931-R053The file contains more than one tax total with breakdown
- PEPPOL-EN16931-R055The VAT totals in invoice and VAT currency have different signs
- PEPPOL-EN16931-R061Missing for the direct debit: mandate reference identifier (BT-89)
- PEPPOL-EN16931-R101A document reference in a line is allowed only as an object identifier (BT-128)