I'm trying to post expenses in 2021 that are being paid in 2022
Like for business expenses or medical or anything? If you paid them in 2022 they will be 2022 expenses. Or are you paying a credit card bill in 2022 that was charged in 2021?
Do you have a separate credit card account set up? Then you enter the charges when you bought the item so it will be in the right year.
I saw your pm. So what is the problem? If you are entering the individual charges in the credit card account you just enter the date on them.
Just in case you are doing it the wrong way,
The proper way is to set up a credit card ACCOUNT and enter the charges into it when the purchase is made and assigning it to a category. The transactions need to be entered with the date you charged it, not the date you pay the credit card bill.
Then when you pay the bill you TRANSFER the payment from your checking account to the credit card account. Then when you download the payment from the bank you match it to the one you already entered. Then your credit card account should match what you actually owe at any time.
When you enter the payment in your checking account you put the credit card account name in for the category using square brackets around the name to indicate it is a transfer...like this… [credit card] or newer versions have a Transfer column.
I used to do it the wrong way for years! Then I wised up and now enter them properly. I would split my credit card payment into all the categories on one transaction in my checking account. And since I always pay more than the bill I would need to figure the difference and put it to another category. But then I needed to have them entered on the date the charges actually happened. So I finally set up a credit card account. It makes it much easier to enter and balance!
Here's a list of some reasons why you should do it this way…..
You don't have to wait to make the payment and split it out
You won't run out of split lines (I used to use Q2004 and there was only 30)
You can use both the payee and memo fields for more description
You don't have to figure out the difference if you pay a different amount
Then your Credit Card Account will exactly match your statement
Charges get entered with the right date (better at year end for taxes)
You can enter all charges to date, not just what's on the bill - then you can see what you still owe
You won't forget what a charge was for if you enter it right away from the receipt
And if there are multiple categories purchased on a single credit card charge, you can split that one credit card charge to detail the items purchased each with their own category and memo/note.1