FX-SCH-A-000210
Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151).
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-CO-04] Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151).
Context
//ram:IncludedSupplyChainTradeLineItem
Test
(ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax[upper-case(ram:TypeCode) = 'VAT']/ram:CategoryCode)
Checked with Factur-X / ZUGFeRD BASIC