The answer is very correct but I believe nomenclature has changed since this was answered so I wanted to make it easier for a newbie like me.
1- Create an expense for the purchase with an actual cash value. This can be an estimate but be as close as you can if the actual value is not available.
2- Create a CC credit from the vendor (the CC Company) for the amount charged.
I also was able to do something related to this by accident. I purchased 3 items for $300. I paid for $60 of this with the dividend (or points or w/e you have), and $240 of this expense with the CC. We know that if we add the expense at $300 (which would have to be manually added because that amount will not show up n the bank statement) we would not be able to match the transaction from the bank statement because the expense is more than the amount spent on the statement. BUT what I found was that if we add the expense in the statement (in this case is $240) then we can go to the expense in the vendor table and change the amount to the actual expense without the match disappearing. There will be a warning message and you will need to add the CC credit to make the reports correct. I thought this was pretty cool and actually pretty simple so it's worth sharing.