warningPeppol BIS Billing 3.0profileUBLBG-3BT-3
If "Invoice type code" (BT-3) contains the code 384 (Corrected invoice), "PRECEDING INVOICE REFERENCE" (BG-3) should be provided at least once.
The invoice type code is 384 (corrected invoice) but no preceding invoice reference (BG-3) is given, so nobody can tell what is being corrected.
Add BG-3 with the original invoice number in BT-25 (and ideally its date in BT-26).
UBL — context (/ubl-invoice:Invoice | /ubl-creditnote:CreditNote)[$supplierCountryIsDE and $customerCountryIsDE]
((not(cbc:InvoiceTypeCode = 384 or cbc:CreditNoteTypeCode = 384) or (cac:BillingReference/cac:InvoiceDocumentReference)))