Error codes

BR-12: Sum of invoice line net amount (BT-106) is missing

Severity: fatal ยท Syntax: CII, UBL

Official message

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

What this means

BT-106 must be present. UBL checks exists(cbc:LineExtensionAmount) on the document total. Whether the amount matches the lines is BR-CO-10.

Typical cause

The lines have amounts, the header total block does not.

How to fix it

Write LineExtensionAmount into LegalMonetaryTotal.

UBL

<cbc:LineExtensionAmount currencyID="EUR">100.00</cbc:LineExtensionAmount>

CII

<ram:LineTotalAmount>100.00</ram:LineTotalAmount>

Business term

BT-106

Related rules

Context and assertion

UBL cac:LegalMonetaryTotal

CII //ram:SpecifiedTradeSettlementHeaderMonetarySummation

UBL

exists(cbc:LineExtensionAmount)

CII

(ram:LineTotalAmount)

Check a file now, free of charge

curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate

Questions

What does BR-12 actually check?

BT-106 must be present. UBL checks exists(cbc:LineExtensionAmount) on the document total. Whether the amount matches the lines is BR-CO-10.

How do I fix BR-12?

Write LineExtensionAmount into LegalMonetaryTotal.

If BR-12 passes, is the invoice legally compliant?

No. This page helps you read this one Schematron assertion. A pass is not a statement about tax law, portal acceptance, or bank overlays.