Faktura

BR-36

fatalEN 16931EN 16931 business ruleCIIUBLBG-21BT-99

Each Document level charge (BG-21) shall have a Document level charge amount (BT-99).

Why it fails

A document level charge (BG-21) has no amount (BT-99).

How to fix it

Add BT-99 (UBL AllowanceCharge[ChargeIndicator=true]/cbc:Amount), as a positive number.

What the validator checks

CII — context $Document_level_charges

(../ram:ActualAmount)

UBL — context cac:AllowanceCharge[cbc:ChargeIndicator = true()]

exists(cbc:Amount)

Related rules

Part of BR — EN 16931 core business rules.

Validate an invoice against this rule →