UBL-SR-07
Error (blocking) EN 16931 (UBL)
Official rule text
If there is a preceding invoice reference, the preceding invoice number shall be present
Seeing UBL-SR-07 in a rejection?
Run your file through the free validator to see every violation at once — or let NormDrift watch your reference invoices so the next ruleset release never surprises you.