This means the accounts payable balance would increase if there is a credit entry. However, the accounts payable balance would decrease if there is a…