No more than one note is allowed on document level, unless both the buyer and seller are German organizations.
PEPPOL-EN16931-R002pxs-taxdata:TaxData/pxs-taxdata:ReportedTransaction/pxs-taxdata:ReportedDocumentcount(cbc:Note) <= 1 or ($supplierCountryIsDE and $customerCountryIsDE)