when a company owes debts to its suppliers or other parties these are accounts payable accounts payable are the opposite of accounts receivable to illustrate company a cleans company b s carpets and sends a bill for the services 
company b owes them money so it records the invoice in its accounts payable column company a is waiting to receive the money so it records the bill in its accounts receivable column 