To enter a credit memo into Accounts Payable, enter it like a regular invoice, but put a negative sign in front of the invoice total.