Skip to content

Error

FX-SCH-A-000191: Use at most one total for discounts on the whole invoice

In short

Error: fails the selected checks.

FX-SCH-A-000191 means ram:AllowanceTotalAmount, the total of discounts on the whole invoice (BT-107), appears more than once in an invoice totals block. Keep at most one element containing the correct total, then export and check the file again.

On this page

What it means

Each header ram:SpecifiedTradeSettlementHeaderMonetarySummation may contain at most one ram:AllowanceTotalAmount. This represents the total of document-level discounts (BG-20, BT-107), not discounts already included in line amounts. The rule does not fail when the element is absent.

Why it matters

The document-level discount total is a separate component of the invoice totals. The profile allows one field for that total, regardless of how many individual discounts contribute to it.

How to fix it

Check the total of the discounts on the whole invoice. In ram:SpecifiedTradeSettlementHeaderMonetarySummation, remove repeated ram:AllowanceTotalAmount elements and retain the correct total once if it is needed. Do not add repeated copies of the same total or remove genuine discounts merely to fix the element count. Export and check the file again.

Once the file is corrected, check it again for free: Validate a ZUGFeRD invoice

Or fix the invoice in a form and download the corrected file, for 1 credit: Fix a rejected e-invoice Beta

The rule as published

Element 'ram:AllowanceTotalAmount' may occur at maximum 1 times.

Where this rule applies

Rule set Version
Factur-X 1.09 BASIC WL 1.0.9-2
Factur-X 1.09 BASIC 1.0.9-2
Factur-X 1.09 EN 16931 1.0.9-2
Factur-X 1.09 EXTENDED 1.0.9-2
ZUGFeRD 2.5 BASIC WL 2.5.2
ZUGFeRD 2.5 BASIC 2.5.2
ZUGFeRD 2.5 EN 16931 2.5.2
ZUGFeRD 2.5 EXTENDED 2.5.2
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether FX-SCH-A-000191 still fails, and which other rules do.

Updated 6 November 2026