fatalPeppol BIS Billing 3.0profileCIIUBL
No more than one note is allowed on document level, unless both the buyer and seller are German organizations.
More than one document-level note (BT-22) is present. Peppol allows only one, unless both parties are German.
Merge the notes into a single BT-22, separating them with line breaks.
CII — context rsm:ExchangedDocument
count(ram:IncludedNote) <= 1 and not(ram:IncludedNote/ram:SubjectCode)
UBL — context ubl-creditnote:CreditNote | ubl-invoice:Invoice
count(cbc:Note) <= 1 or ($supplierCountryIsDE and $customerCountryIsDE)