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. 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.
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.
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.