Hi,
Try the below :
Pass the Preceding Document number - VBELV ( Delivery Number ) into the VBFA table and check if any entry is there for Follow-on doc -VBELN ( Invoice Number ).
Are you able to generate any other invoice numbers for other delivery documents or you still get the empty invoice numbers.
Regards,
SRK