purchase office supplies worth 50000.paying 20000 and 30000 on accounts.what is the debit and credit entry?

Office Supplies 50,000

Cash 20,000
Accts. Payable 30,000