You post them to the accounts they are supposed to be coded to and retrieve them to the period based on the date of the transaction. If the year is open in Ledger they will post to the correct year. If not, they will be written to an error batch and you can decide what to do with them.

There are two "Show me..." videos on processing the year end and a check list document that can be helpful in the process.
_________________________
Andrew Bates