DE-R-026

If "Invoice type code" (BT-3) contains the code 384 (Corrected invoice), "PRECEDING INVOICE REFERENCE" (BG-3) should be provided at least once.

About

ID
DE-R-026
Flag
warning
Context
pxs-taxdata:TaxData/pxs-taxdata:ReportedTransaction/pxs-taxdata:ReportedDocument/pxs-taxdata:ReportedDocument[$supplierCountryIsDE and $customerCountryIsDE]
Test
((not(pxs-taxdata:DocumentTypeCode = 384) or (cac:BillingReference/cac:InvoiceDocumentReference)))