Error codes

BR-41: Each Invoice line allowance (BG-27) shall have an Invoice line allowance amount

Severity: fatal ยท Syntax: CII, UBL

Official message

Each Invoice line allowance (BG-27) shall have an Invoice line allowance amount (BT-136).

What this means

The official message is: Each Invoice line allowance (BG-27) shall have an Invoice line allowance amount (BT-136). This page does not add a further obligation.

Typical cause

The assertion in the context above failed for this file.

How to fix it

Adjust the file so the assertion succeeds, then validate it again. This page helps you read the rule.

Business term

BG-27, BT-136

Related rules

Context and assertion

UBL //cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()] | //cac:CreditNoteLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()]

CII //ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:ChargeIndicator[udt:Indicator = 'false']

UBL

exists(cbc:Amount)

CII

(../ram:ActualAmount)

Check a file now, free of charge

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