If you need to charge the payable to more than one expense account, use the 2-Step Method for Payables. This method will allow you to expense more than one account per transaction.
If you need to charge the payable to only one expense account, record the credit card transaction.