Skip to content

Error

FX-SCH-A-000039: Use exactly one document totals block

In short

Error: fails the selected checks.

FX-SCH-A-000039 means the document totals block (BG-22) is missing from your invoice's settlement section or appears more than once. Make sure ram:ApplicableHeaderTradeSettlement contains exactly one ram:SpecifiedTradeSettlementHeaderMonetarySummation, then export and recheck the file.

On this page

What it means

The test counts ram:SpecifiedTradeSettlementHeaderMonetarySummation elements directly inside ram:ApplicableHeaderTradeSettlement. It requires exactly one document totals block (BG-22), but does not check its contents or calculations. It applies to the Minimum, Basic WL, Basic, EN 16931 and Extended profiles of Factur-X 1.09 and ZUGFeRD 2.5.

Why it matters

One totals block gives your invoice a single place for its document totals. Separate checks cover the fields and amounts within that block.

How to fix it

Check whether your XML export omits the totals block or writes it more than once. Add the missing ram:SpecifiedTradeSettlementHeaderMonetarySummation with the correct totals, or consolidate repeated blocks without losing any required figures. If your software creates the XML, have its export corrected if necessary. Export again and recheck.

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:SpecifiedTradeSettlementHeaderMonetarySummation' must occur exactly 1 times.

Where this rule applies

Rule set Version
Factur-X 1.09 MINIMUM 1.0.9-2
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 MINIMUM 2.5.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-000039 still fails, and which other rules do.

Updated 8 November 2026