If you want to get all the billing documents for the sales documents, you can use the table VBFA. Put the preceeding document number as the sales order and then execute in SE16n to get the billing document number. These are very simple queries, please search the forum before posting such...