Accounts payable vs accounts receivable: the difference, journal entries, DSO and DPO, with a worked example
David van Duijn · Published 11 February 2026 · Last checked 24 November 2026

Working on this yourself? Talk to Mark, our co-founder. He helps finance teams go AI-native, and accounting firms put the latest AI to work safely and predictably.
What is the difference between accounts payable and accounts receivable?
Accounts payable (AP) is money your business owes to suppliers for goods and services it has received on credit. Accounts receivable (AR) is money customers owe your business for goods and services it has delivered on credit. One is a bill you have not paid yet, the other is an invoice you have not been paid for yet.
They are two views of the same kind of transaction. When your business sends an invoice, it is a receivable for you and a payable for your customer. Getting both sides right every day is routine work that Thred's agents do in Xero, Exact Online or Moneybird, as the last section shows.
| Aspect | Accounts payable | Accounts receivable |
|---|---|---|
| What it is | What you owe suppliers | What customers owe you |
| Balance sheet | Current liability | Current asset |
| Normal balance | Credit | Debit |
| Created by | A supplier bill you record | A sales invoice you issue |
| Reduced by | Paying the supplier, or a supplier credit note | A customer payment, a credit note or a write-off |
| Detail kept in | Purchase ledger, one account per supplier | Sales ledger, one account per customer |
| UK statutory accounts line | Trade creditors | Trade debtors |
| Main measure | Days payable outstanding (DPO) | Days sales outstanding (DSO) |
| Process it belongs to | Procure to pay | Order to cash |
| What goes wrong | Paying twice, or paying a fraudster | Not getting paid on time, or at all |
Is accounts receivable an asset?
Yes. Accounts receivable is an asset because it is a right to receive cash that the business already earned. It is a current asset, since customer invoices normally fall due within weeks.
In UK company accounts it sits under current assets as trade debtors, and the Companies Act formats require any part that falls due after more than one year to be shown separately. In US filings, SEC Regulation S-X lists accounts and notes receivable among current assets, with the allowance for doubtful accounts shown separately. That allowance matters: receivables are reported at the amount you expect to collect, not the face value of every invoice.
Is accounts payable a liability?
Yes, a current liability. In UK accounts it appears as trade creditors under creditors falling due within one year, and in US filings as accounts and notes payable. Accounts payable is not an expense. The expense is recognised when you record the bill; the payable is just the unpaid amount sitting on the balance sheet until you pay it.
Payables are also different from accrued expenses. A payable has a supplier bill behind it. An accrual is a cost you have incurred but not yet been billed for, such as electricity used in March that the supplier invoices in April. See accrued expenses for that side.
How do control accounts and sub-ledgers work for AP and AR?
Most businesses keep one accounts receivable account and one accounts payable account in the general ledger. These are control accounts. Behind each sits a sub-ledger with the detail: the sales ledger for customers and the purchase ledger for suppliers. The total of all customer balances must equal the AR control account, and the total of all supplier balances must equal the AP control account.
In accounting software you rarely post to these accounts directly. Issuing an invoice raises AR, entering a bill raises AP, and allocating a payment brings them down. Our guide to accounts receivable vs the sales ledger walks through a control account reconciliation in detail.
What are the journal entries for accounts payable and accounts receivable?
The clearest way to see both sides is one invoice booked in two companies. Oakfield Supplies sells packaging to Birch Bakery on 30-day terms. Sales tax and VAT are left out so the example works in any country.
| Date and event | Oakfield (seller) books | Birch (buyer) books |
|---|---|---|
| 3 March, invoice INV-1042 for $7,200 | Debit accounts receivable $7,200, credit sales revenue $7,200 | Debit packaging costs $7,200, credit accounts payable $7,200 |
| 10 March, credit note CN-88 for $300 of damaged boxes | Debit sales returns $300, credit accounts receivable $300 | Debit accounts payable $300, credit packaging costs $300 |
| 28 March, Birch pays $4,000 | Debit cash $4,000, credit accounts receivable $4,000 | Debit accounts payable $4,000, credit cash $4,000 |
| 31 March, balance left open | Accounts receivable from Birch $2,900 (debit) | Accounts payable to Oakfield $2,900 (credit) |
Each line balances on its own, and the two books agree: $7,200 less $300 less $4,000 leaves $2,900 on both sides. If Birch's purchase ledger showed $3,200 at month end, it would mean the credit note never reached Birch's books, and its next payment run would overpay. A supplier statement from Oakfield is how Birch would catch that.
The credit note works the same way on both sides; when to use one rather than a refund is covered in credit note vs refund.
Which documents create payables and receivables?
- A sales invoice creates a receivable. Its number, due date and terms decide when it becomes overdue.
- A supplier bill (the supplier's invoice, entered by you) creates a payable. Many teams check it against the purchase order and the goods received note first, the three-way match.
- A credit note reduces either side. A sales credit note lowers what a customer owes you, and a supplier credit note lowers what you owe.
- A remittance advice tells the seller which invoices a payment covers, so the receipt can be allocated correctly.
- A customer or supplier statement lists every open item, and is the quickest way for both parties to agree a balance.
Which KPIs measure accounts payable and accounts receivable?
Days sales outstanding (DSO) shows how long customers take to pay you. Days payable outstanding (DPO) shows how long you take to pay suppliers. Together with inventory days they make up the cash conversion cycle, and with the rest of your current assets and liabilities they set your working capital. The figures below are for one quarter of 90 days.
| Measure | Formula | Example | Result |
|---|---|---|---|
| DSO | Accounts receivable ÷ credit sales × days | $48,000 ÷ $144,000 × 90 | 30 days |
| DPO | Accounts payable ÷ credit purchases × days | $36,000 ÷ $81,000 × 90 | 40 days |
| Inventory days | Inventory ÷ cost of goods sold × days | $20,000 ÷ $60,000 × 90 | 30 days |
| Cash conversion cycle | Inventory days + DSO − DPO | 30 + 30 − 40 | 20 days |
| Working capital | Current assets − current liabilities | $83,000 − $50,000 | $33,000 |
Current assets here are receivables of $48,000, inventory of $20,000 and cash of $15,000. Current liabilities are payables of $36,000, accrued expenses of $9,000 and taxes owed of $5,000. Some analysts divide payables by cost of goods sold instead of purchases; pick one method and keep it, because the trend matters more than the exact number.
A lower DSO and a higher DPO both free up cash, but stretching suppliers too far costs goodwill and early payment discounts. For the receivables side, try our DSO calculator and the guide on how to calculate and reduce DSO. The UK term for DSO is debtor days.
Who handles AP and AR in a small finance team?
In a business with one bookkeeper, the same person usually does both, and the owner approves payments. As the team grows the work splits, mainly so that no one person can both create a supplier and pay it.
| Task | Small business | Finance team of three to five |
|---|---|---|
| Issue sales invoices | Bookkeeper or owner | AR or billing clerk |
| Chase overdue customers | Owner, often late | Credit controller |
| Enter and code supplier bills | Bookkeeper | AP clerk |
| Approve bills | Owner | Budget holder, then finance lead |
| Release payments | Owner in the bank | Finance lead, with a second approver |
| Reconcile control accounts | Accountant at year end | Controller every month |
Bill approval routes are their own topic; in Xero see bill approval workflows, and for the whole purchase side read AP automation in Xero.
What are the most common AP and AR mistakes?
- Booking a customer receipt to the bank and a revenue account instead of allocating it to the invoice. Sales are overstated and the customer still looks overdue.
- Entering bills only when you pay them. Payables, and the expenses behind them, are then missing from every month-end balance sheet.
- Paying the same bill twice because it arrived by email and by post with slightly different references.
- Ignoring credit balances. A customer who overpaid is owed money, so that balance is really a payable.
- Netting what a customer owes you against what you owe the same company without an agreement or a clear contra entry.
- Leaving invoices that will never be paid in receivables instead of making an allowance or writing them off.
- Changing a supplier's bank details on the strength of an email, the classic route for payment fraud.
How does Thred handle payables and receivables for you?
Thred gives a finance team AI agents that do this daily work in the accounting software it already uses. A typical Monday request is "What do we owe this week, which customers are more than 30 days late, and does anything look wrong?"
The Payer reads the open bills, checks new ones for duplicates and for bank details that differ from the supplier's history, and prepares a list of what falls due by date for your approval. It never releases a payment; you do that in your bank. The Collector reads the open invoices, drafts a reminder for each late customer that names the invoice and the amount, and records any payment date a customer promises in reply. The Bookkeeper matches incoming and outgoing payments to the invoice or bill they settle, including part payments like Birch's $4,000. In Xero it prepares the payment and Xero offers it as the match on the bank line.
By default every write, whether a bill, a reminder or a payment match, is shown to you for approval first. When you let an agent do a kind of work on its own, it does that work within your rules and logs every step it takes. Thred runs on Exact Online, Xero and Moneybird today; for other and older ledgers, talk to us about your setup.
Try it on your own open items
Pick one supplier you pay every month and one customer who always pays late, and bring them to a demo with Mark Holleman, co-founder of Thred. He connects Thred to your own ledger, so you see The Payer and The Collector work through your real bills and invoices. Expect a hands-on session with your own suppliers and customers, since there is no self-serve trial. Book a demo.
Frequently asked questions
Is accounts receivable an asset or a liability?
An asset. Accounts receivable is cash customers owe you for work already delivered, so it is a current asset on the balance sheet, reported at the amount you expect to collect after any allowance for doubtful accounts. Accounts payable is the matching liability in the customer's books.
Is accounts payable a debit or a credit?
Accounts payable normally has a credit balance. Recording a supplier bill credits it, and paying the supplier or receiving a supplier credit note debits it. Accounts receivable works the other way round, with a normal debit balance.
What is the difference between AP and AR in simple terms?
AP is the bills you still have to pay. AR is the invoices your customers still have to pay you. AP leaves your bank account later, AR comes into it later, and both show up on the balance sheet until the cash moves.
Are trade creditors the same as accounts payable?
Yes, in practice. Trade creditors is the UK statutory accounts term for amounts owed to suppliers, and trade debtors is the term for amounts customers owe. US filings and most software use accounts payable and accounts receivable.
Can a customer balance be a payable?
Yes. If a customer pays twice or pays more than the invoice, the sales ledger shows a credit balance for that customer. You owe them that money, so it should be refunded or applied to a later invoice, and at a balance sheet date it is really a liability.
Can Thred manage my accounts payable and accounts receivable?
Yes, on Xero, Exact Online and Moneybird. The Payer checks and lines up supplier bills for your approval, The Collector chases late customers with reminders you approve, and The Bookkeeper matches payments to the right invoice or bill. Payments themselves are released by you in your bank.
Sources
- legislation.gov.uk, The Large and Medium-sized Companies and Groups (Accounts and Reports) Regulations 2008, Schedule 1, balance sheet formats (checked 24 November 2026)
- Cornell Law School LII, 17 CFR 210.5-02 (SEC Regulation S-X), balance sheet captions (checked 24 November 2026)
Read next
- Accounts receivable vs sales ledger: the ledgers explained, with control accounts and a £ worked example
- Xero AP automation: accounts payable tools, the bill-to-payment flow and what AI agents take over
- DSO: how to calculate days sales outstanding, the count-back method, and how to reduce it
- Days sales outstanding (DSO)
- Credit note vs refund: the difference, when you need one or both, and the journal entries
- Bill approval in Xero: how to set up a draft, submit and approve workflow with the right user roles
