fatalEN 16931syntax binding ruleUBLBG-19
An Invoice shall contain maximum one Payment Mandate (BG-19).
More than one payment mandate group (BG-19).
Keep a single direct debit mandate.
UBL — context /ubl:Invoice | /cn:CreditNote
count(cac:PaymentMeans/cac:PaymentMandate) <= 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.