Invoicing and payment should be two different moves:
M1: (D) Expense/Stock <--> (C) Payable when invoice arrives
M2: (D) Payables <--> (C) Bank when paying the invoice
In Brazil, M1 date should match invoice date. M2 should match the bank statement. Dates must always within the fiscal period. Once you close the period, moves within it should be made only exceptionally.
Invoicing and payment should be two different moves:
M1: (D) Expense/Stock <--> (C) Payable when invoice arrives
M2: (D) Payables <--> (C) Bank when paying the invoice
In Brazil, M1 date should match invoice date. M2 should match the bank statement. Dates must always within the fiscal period. Once you close the period, moves within it should be made only exceptionally.