HomeError code lexicon › BR-12
BR-12 Field BT-106 EN 16931 core rules (BR)

Fix BR-12: Sum of Invoice line net amount (BT-106) missing

[BR-12]-An Invoice shall have the Sum of Invoice line net amount (BT-106).

BR-12 in your own invoice? Upload the file and find every error in seconds.

What does BR-12 mean?

The invoice must state the sum of all Invoice line net amounts. It is the starting point of the document totals.

Common causes of BR-12

How to fix BR-12

  1. Find the faulty spot in the XML. Open the XML of the invoice and go to field BT-106 along this XPath://ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:LineTotalAmount
  2. Apply the fix. Add the Sum of Invoice line net amount (BT-106) in the element 'ram:LineTotalAmount' of the document totals. The value is the sum of all Invoice line net amounts (BT-131).
  3. Validate again. Save the file and validate it again to check that BR-12 is no longer reported.
Concrete fix

Add the Sum of Invoice line net amount (BT-106) in the element 'ram:LineTotalAmount' of the document totals. The value is the sum of all Invoice line net amounts (BT-131).

XPath//ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:LineTotalAmount

Before / after: the XML example

This is the spot in question before and after the fix (Cross Industry Invoice, ZUGFeRD/Factur-X).

Wrong
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
  <ram:TaxBasisTotalAmount>100.00</ram:TaxBasisTotalAmount>
</ram:SpecifiedTradeSettlementHeaderMonetarySummation>
Correct
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
  <ram:LineTotalAmount>100.00</ram:LineTotalAmount>
  <ram:TaxBasisTotalAmount>100.00</ram:TaxBasisTotalAmount>
</ram:SpecifiedTradeSettlementHeaderMonetarySummation>

Frequent questions about BR-12

How is BT-106 calculated?
As the sum of all Invoice line net amounts (BT-131) across all invoice lines. Document level allowances and charges do not count here yet.
What is the difference from BT-109?
BT-106 is the pure line sum. BT-109 is the total amount without VAT, so BT-106 minus document level allowances plus document level charges.

Related error codes

Check BR-12 automatically

Instead of digging through the XML by hand you can validate your ZUGFeRD or XRechnung file online – upload the PDF or the XML and you get every error with rule ID, affected field, fix and XPath, as a readable report or as JSON through the API.

Find every error automatically instead of searching by hand

Upload your ZUGFeRD, Factur-X or XRechnung file – you get every violation back with rule ID, field, fix and XPath.

Validate online for free
Check invoice