Accounts Payable/end of financial period

Read this thread it may be of some help: