Vat return

SUGGESTED

I have found a number of supplier invoices & payment from the previous accountant that have not been posted to supplier accounts. I want to post them now to reconcile the accounts & reclaim the vat.  I also want to post everything on the correct date. Is the vat return submitted based on the invoice date or the posting date?