Accounts payable (AP) represents the money a business owes to vendors or suppliers for goods and services purchased on credit, recorded as a current liability on the balance sheet. It is a vital short-term debt function typically 30 to 90 days that manages cash outflow, helps maintain supplier relationships, and ensures timely payments to avoid penalties.