fatalXRechnung 3.0.2 (Germany)profileUBL
Eine Sub Invoice Line (BG-DEX-01) muss genau eine "SUB INVOICE LINE VAT INFORMATION" (BG-DEX-06) enthalten.
A sub invoice line has no VAT information group.
Give every sub invoice line exactly one SUB INVOICE LINE VAT INFORMATION (BG-DEX-06) with its category code and rate.
UBL — context —
not(exists(//cac:SubInvoiceLine/cac:Item[ count ( cac:ClassifiedTaxCategory) != 1]))
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.