fatalPeppol BIS Billing 3.0profileCIIUBL
Only one invoiced object is allowed pr line
More than one invoiced object reference on a single invoice line.
Keep one invoiced object reference (BT-128) per line.
CII — context ram:IncludedSupplyChainTradeLineItem
count(ram:SpecifiedLineTradeSettlement/ram:AdditionalReferencedDocument[ram:TypeCode='130']) <=1
UBL — context cac:InvoiceLine | cac:CreditNoteLine
(count(cac:DocumentReference) <= 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.