Error codes

BR-31: Each Document level allowance (BG-20) shall have a Document level allowance amou

Severity: fatal · Syntax: CII, UBL

Official message

Each Document level allowance (BG-20) shall have a Document level allowance amount (BT-92).

What this means

The official message is: Each Document level allowance (BG-20) shall have a Document level allowance amount (BT-92). 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-20, BT-92

Related rules

Context and assertion

UBL /ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = false()] | /cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = false()]

CII //ram:ApplicableHeaderTradeSettlement/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