What is Accounts Payable? A Beancount-Friendly Guide for Tracking Vendor Bills in Plain Text
Accounts payable (AP) is the money your business owes to its suppliers for goods or services you’ve already received but haven't paid for yet. In the world of accounting, AP is classified as a current liability on your balance sheet—an amount typically due within the next year, and often within 30 to 60 days.
This concept is central to accrual accounting, where you record the expense and the corresponding liability the moment a bill arrives, not when you actually send the cash. This guide will show you how to manage the entire AP workflow cleanly and efficiently using the plain-text accounting tool, Beancount.
Quick Summary
Before we dive into the details, let's cover the essentials:
- Accounts Payable (AP) represents your short-term debts to vendors. You'll find it under the
Liabilitiessection of your balance sheet. - Accrual vs. Cash: AP is a concept that exists only if you keep your books on an accrual basis. Beancount fully supports accrual workflows, and its web interface, Fava, will display your liabilities correctly.
- AP vs. AR: It's simple: Payables are what you owe, while Receivables (AR) are what others owe you.
Where AP Lives in Beancount (and Fava)
To start tracking AP, you first need to declare an account for it in your ledger. A standard convention is:
Liabilities:AccountsPayable
You can optionally create subaccounts for major vendors (e.g., Liabilities:AccountsPayable:ForestPaintSupply).
In Fava, this account will appear on your Balance Sheet under Liabilities. You can click on it to drill down and see a list of all open and paid items, giving you a clear view of your obligations. You can even see this in action in Fava's public example ledger, which includes a Liabilities:AccountsPayable account.