FX-SCH-A-000050

Each VAT breakdown (BG-23) shall have a VAT category rate (BT-119), except if the Invoice is not subject to VAT.

error: the document is invalid

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.

Message

[BR-48] Each VAT breakdown (BG-23) shall have a VAT category rate (BT-119), except if the Invoice is not subject to VAT.

Context
//ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax
Test
(ram:RateApplicablePercent) or (ram:CategoryCode = 'O')

Checked with Factur-X / ZUGFeRD BASIC