FX-SCH-A-000051
Value added tax point date (BT-7) and Value added tax point date code (BT-8) are mutually exclusive.
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-03] Value added tax point date (BT-7) and Value added tax point date code (BT-8) are mutually exclusive.
Context
//ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax
Test
((ram:TaxPointDate) and not (ram:DueDateTypeCode)) or (not (ram:TaxPointDate) and (ram:DueDateTypeCode)) or (not (ram:TaxPointDate) and not (ram:DueDateTypeCode))
Checked with Factur-X / ZUGFeRD BASIC