How does accounts payable work in practice?
Every supplier invoice you receive on credit adds to accounts payable the moment it is recorded, not when it is paid. Every payment reduces it. The balance at any point is simply the total of unpaid supplier invoices.
Kept properly, it tells you two useful things: how much cash is committed before you can spend anything else, and whether you are paying people on time. Kept badly, invoices are paid twice, missed altogether, or discovered in a drawer at the year end.
The process is unglamorous: record the invoice when it arrives, check it against what was ordered, schedule the payment for the due date, and match the payment to the invoice when it leaves the bank. Software that reads invoices from an inbox does most of that on its own.