What the field is for
The specification's description (above, in German) translates as: "The total amount of the invoice line. This is the amount without VAT, but including all allowances and charges applying to the invoice line, and other taxes." BT-131 is the net amount of an invoice line — without VAT, but after all allowances and charges of the line. Every line must have it (rule BR-24). The invoice totals and the VAT taxable amounts are built from the BT-131 of all lines.
How it is calculated
BT-131 = quantity (BT-129) × net price (BT-146) / base quantity (BT-149)
− line allowances (BT-136) + line charges (BT-141)
A missing base quantity counts as 1. The net price is already after a price discount (BT-147).
Which rules check the field
| Rule | What it requires | Level in XRechnung |
|---|---|---|
| BR-24 | every line has BT-131 | error |
| BR-DEC-23 | at most two decimals | error |
| PEPPOL-EN16931-R120 | BT-131 matches the formula above (tolerance 0.02) | warning |
| BR-CO-10 | sum of all BT-131 = sum of line amounts (BT-106) | error |
| BR-CO-13 | sum of all BT-131 − allowances + charges = total without VAT (BT-109) | error |
| BR-S-08 and the other BR-*-08 | sum of BT-131 per VAT category and rate = taxable amount (BT-116) | error |
So a wrong line amount by itself is mostly just a warning — but it often causes errors in the totals. The validator adds up the BT-131 as they are in the file.
Where the field is in the file
| Syntax | Element |
|---|---|
| CII | ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeSettlementLineMonetarySummation/ram:LineTotalAmount |
| UBL | cac:InvoiceLine/cbc:LineExtensionAmount (credit note: cac:CreditNoteLine) |
Common mistakes
- Gross instead of net: the shop takes over the line price with VAT.
- More than two decimals, e.g. from quantity × a four-decimal price → BR-DEC-23.
- Discount not deducted: the discount is on the line, but BT-131 is quantity × price.
- Lines rounded, totals from unrounded values: then BR-CO-10 is off by cents. More on this: Rounding.
Our report recalculates every line and shows which line causes a wrong total.
Example (CII)
<ram:SpecifiedLineTradeAgreement>
<ram:NetPriceProductTradePrice>
<ram:ChargeAmount>12.50</ram:ChargeAmount> <!-- BT-146 -->
</ram:NetPriceProductTradePrice>
</ram:SpecifiedLineTradeAgreement>
<ram:SpecifiedLineTradeDelivery>
<ram:BilledQuantity unitCode="H87">4</ram:BilledQuantity> <!-- BT-129 -->
</ram:SpecifiedLineTradeDelivery>
<ram:SpecifiedLineTradeSettlement>
...
<ram:SpecifiedTradeSettlementLineMonetarySummation>
<ram:LineTotalAmount>50.00</ram:LineTotalAmount> <!-- BT-131 = 4 × 12.50 -->
</ram:SpecifiedTradeSettlementLineMonetarySummation>
</ram:SpecifiedLineTradeSettlement>
Sources: KoSIT, XRechnung specification 3.0.2 (BT-131, BR-24, BR-CO-10, BR-CO-13, PEPPOL-EN16931-R120); validator configuration XRechnung 3.0.2.