Skip to content

Error

FX-SCH-A-000189: Include exactly one total for the invoice lines

In short

Error: fails the selected checks.

FX-SCH-A-000189 means the invoice totals block has no ram:LineTotalAmount or has more than one. Include the sum of the line amounts excluding VAT (BT-106) in exactly one element, then export and check the file again.

On this page

What it means

Each header ram:SpecifiedTradeSettlementHeaderMonetarySummation must contain exactly one ram:LineTotalAmount for BT-106. The rule checks the element count, not whether the field contains a valid amount or the correct sum.

Why it matters

This field records the combined amount excluding VAT of the invoice lines, before discounts and charges on the whole invoice. It is a separate component of the invoice totals.

How to fix it

Check the sum of your line amounts excluding VAT. Add ram:LineTotalAmount to ram:SpecifiedTradeSettlementHeaderMonetarySummation if it is missing. If it is repeated, retain the correct total in one element rather than adding repeated totals together. 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:LineTotalAmount' must occur exactly 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-000189 still fails, and which other rules do.

Updated 6 November 2026