Check this knowledge base article for a detailed explanation. Basically the "Due Date From" fields on your posting period setup need to be extended. If you are adding things into the system with payment terms that extend into the new year you will have this problem.
You may have to create the new periods for next year if they aren't created yet.
Thanks, Peter