fatalEN 16931syntax binding ruleCIIBG-20BG-21
Each Specified Trade Allowance Charge (BG-20)(BG-21) shall contain a Charge Indicator.
An allowance or charge group has no charge indicator, so nobody can tell whether it adds or subtracts.
Set ChargeIndicator to true for a charge and false for an allowance.
CII — context //ram:SpecifiedTradeAllowanceCharge
(ram:ChargeIndicator)
Nothing is stored, and the whole invoice is checked, not just this rule. A PDF only works if it is Factur-X / ZUGFeRD — a PDF with the invoice XML inside it.