fatalPeppol BIS Billing 3.0profileCIIUBL
For suppliers in the Netherlands, if the document is a creditnote, the document MUST contain an invoice reference (cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID)
A Dutch credit note has no reference to the invoice it corrects.
Add cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID with the original invoice number (BT-25). In the Netherlands a credit note without it cannot be matched and will be rejected.
CII — context /rsm:CrossIndustryInvoice/rsm:ExchangedDocument[some $code in tokenize('81 83 381 396 532', '\s') satisfies normalize-space(ram:TypeCode) = $code][$supplierCountryIsNL]
//ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:IssuerAssignedID
UBL — context cbc:CreditNoteTypeCode[$supplierCountryIsNL]
/*/cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID