Accounts receivable vs sales ledger: the ledgers explained, with control accounts and a £ worked example
Manoj Tutika · Published 16 November 2026 · Last checked 16 November 2026
Working on this yourself? Talk to Mark, our co-founder. We’re here to solve it with you.
What is the difference between accounts receivable and the sales ledger?
The sales ledger is the detailed record of credit sales, kept per customer. Each customer has a running account of invoices raised, credit notes issued and payments received. The accounts receivable figure is the total of all those customer balances. It appears as one line in the general ledger and as a current asset on the balance sheet.
IRIS puts it neatly: the sales ledger is the tool, and accounts receivable is the outcome it produces. In everyday speech the two terms are used interchangeably, and so are their older UK names, the debtors ledger and trade debtors.
The same pattern applies on the supplier side. The purchase ledger holds the detail per supplier, and accounts payable (trade creditors) is the total.
How do the sales ledger, purchase ledger and general ledger fit together?
The general ledger is the main accounting record. Xero describes it as the record that holds every financial transaction the business makes, organised by account. Sales, cost of sales, wages, rent, the bank, VAT and fixed assets all sit there.
The sales and purchase ledgers are sub-ledgers. They hold detail the general ledger does not need line by line. Their totals feed the general ledger through control accounts: one for receivables, one for payables. That keeps the general ledger readable while the detail stays available for credit control and supplier payments.
| Ledger | What it holds | Organised by | Total appears as | Used for |
|---|---|---|---|---|
| Sales ledger | Customer invoices, credit notes, receipts | Customer | Accounts receivable, a current asset | Credit control, statements, debtor days |
| Purchase ledger | Supplier bills, supplier credit notes, payments | Supplier | Accounts payable, a current liability | Payment runs, supplier statement reconciliation |
| General ledger | Every account in the business | Account in the chart of accounts | Profit and loss and balance sheet | Management accounts, VAT, year-end accounts |
| Control accounts | The totals of the two sub-ledgers | One account each in the general ledger | Trade debtors and trade creditors lines | Proving the sub-ledgers are complete |
How does a sales ledger control account work? A £ worked example
Take a business with three credit customers for October. All invoices include VAT at 20%.
| Customer | Opening balance | Invoices raised | Credit notes | Receipts | Closing balance |
|---|---|---|---|---|---|
| Acme Ltd | 2,400 | 6,000 | 0 | 2,400 | 6,000 |
| Brook & Co | 0 | 3,600 | 600 | 1,800 | 1,200 |
| Cole Retail | 1,200 | 2,400 | 0 | 1,200 | 2,400 |
| Total | 3,600 | 12,000 | 600 | 5,400 | 9,600 |
The sales ledger control account in the general ledger sees the same movements in total.
- Opening balance of £3,600.
- Invoices of £12,000 are debited to the control account. On the other side, £10,000 is credited to sales and £2,000 to output VAT.
- The credit note of £600 is credited to the control account, with £500 debited to sales and £100 to output VAT. How to raise and allocate one is in credit notes in Xero.
- Receipts of £5,400 are credited to the control account and debited to the bank.
- Closing balance of £3,600 + £12,000 − £600 − £5,400 = £9,600.
The control account shows £9,600 and the customer balances add up to £9,600. The sub-ledger is complete.
Now suppose someone posts a £300 bank receipt straight to the control account without allocating it to a customer. The control account drops to £9,300 while the customer balances still total £9,600. The aged receivables report and the balance sheet disagree by £300, and Brook & Co may get a reminder for money it has already paid. That is why the reconciliation of control account to sub-ledger is a standard step in every month-end close.
The purchase ledger works the same way in reverse. If you owe two suppliers £4,800 and £1,200, the purchase ledger control account shows a credit balance of £6,000, and the aged payables report should show £6,000 too.
Where do the sales and purchase ledgers live in Xero and Exact Online?
Xero
In Xero you never open a screen called "sales ledger". The ledger is built from your documents.
- Customer invoices and credit notes are under Sales, and supplier bills under Purchases, in Xero's current top navigation. Older Xero layouts showed these under Business.
- The Aged Receivables Summary report shows the sales ledger balance per customer, and the Aged Payables Summary shows the purchase ledger per supplier. Both are under Reporting (Reports in older layouts), with Detail versions that list each open invoice and bill. How to run and read it is in the aged receivables report in Xero.
- The Accounts Receivable and Accounts Payable accounts in the chart of accounts are the control accounts. Compare their balances on the balance sheet with the totals of the two aged reports at the same date.
Exact Online
In Exact Online, customers and suppliers are relations, and receivables and payables are tracked as outstanding items per relation, with an ageing analysis that spreads each balance over age bands. The receivables and payables general ledger accounts act as the control accounts. Exact's own API reference lists the same structure: separate receivables and payables lists, and ageing lists per customer and supplier. Menu names differ by edition and language, so we describe the screens rather than give a path.
Why does it matter which ledger an entry goes to?
Most ledger problems are posting problems. A receipt booked to the bank and a sales account instead of allocated to the invoice leaves the customer looking overdue and overstates sales. A supplier credit note entered as a journal never reaches the purchase ledger, so the payment run pays the full bill. A duplicate bill inflates payables until a supplier statement shows the difference.
Each of these is easy to find when the sub-ledgers are reconciled to the control accounts every month, and expensive to find at year end. In Xero that check is part of the month-end close checklist.
What do Thred's agents do with the ledgers?
Thred is a team of AI agents that handle daily work for finance teams and accounting firms, on your existing accounting software, under rules your team sets.
The Collector manages your receivables. It works from the sales ledger: who owes what, how old it is, and what was promised. The Payer manages your payables, checking new bills for duplicates and changed bank details before they reach a payment run. The Bookkeeper keeps the record up to date, matching each bank line to the open invoice or bill it settles, including partial and batch payments, so receipts land on the customer and not in a suspense account. The Connector finds context in your connected tools, such as the remittance email that explains which invoices a payment covers.
On Exact Online the agents read and write directly: sales and purchase entries, relations, journal entries and payment matching, with every write shown as an approval card until you set a rule. The Bookkeeping Quality agent scans each administration for suspense balances, duplicates and unallocated items, which are the usual reasons a control account and its sub-ledger disagree. Agents for Xero and Moneybird work on those ledgers too. See bank reconciliation, step by step or Thred Ledger.
Frequently asked questions
Is the sales ledger the same as accounts receivable?
Almost, but not quite. The sales ledger is the detailed record per customer: invoices, credit notes and payments. Accounts receivable is the total those customer balances add up to, shown as one line in the general ledger and as a current asset on the balance sheet. People often use the two terms interchangeably.
What is a purchase ledger?
The purchase ledger records everything you buy on credit, per supplier: bills, supplier credit notes and payments. The total of all supplier balances is accounts payable, which appears as a current liability on the balance sheet.
What is the difference between the general ledger and the purchase ledger?
The general ledger holds every account in the business, from sales and wages to VAT and the bank. The purchase ledger is a sub-ledger that holds the detail per supplier. Its total feeds a single account in the general ledger, the accounts payable or trade creditors control account.
What is a sales ledger control account?
It is the account in the general ledger that holds the total of all customer balances. Every invoice, receipt and credit note posted to the sales ledger also moves the control account, so at any date the control account should equal the total of the aged receivables report. A difference means something was posted in one place and not the other.
Where do I find the sales ledger in Xero?
In Xero, customer invoices are under Sales, and the Aged Receivables Summary report under Reporting shows what each customer owes. Supplier bills are under Purchases, with the Aged Payables Summary for the purchase ledger. The Accounts Receivable and Accounts Payable accounts in the chart of accounts are the control accounts.
Why does my aged receivables report not match the balance sheet?
Common causes are a payment or journal posted directly to the control account, unallocated receipts or credit notes, opening balances imported differently from the customer detail, or reports run at different dates. Reconcile the two every month as part of the close.
Sources
- IRIS, Sales ledger glossary
- Xero UK, What is a general ledger?
- 1st Formations, Navigating Xero: the key areas to know
- 1st Formations, What your aged receivables report tells you
- Exact Online, REST API resources (financial receivables and payables)
Read next
- Bank reconciliation: how to do it step by step, and how to automate it
- Purchase ledger automation for Xero: from supplier bill to payment
- Credit control automation: reminders, follow-ups and payment promises
- Supplier statement reconciliation, step by step with a worked example
- Journal entry
- Aged debtors in Xero: how to run the Aged Receivables report, read it and use it for credit control
- Credit notes in Xero: create, allocate to an invoice, refund, and supplier credit notes, with the VAT effect
- Month-end close checklist for Xero: the steps, checks and who does what
Where Thred comes in
Thred’s own general ledger, built for agents. Every transaction is booked as it happens, under your rules, and traceable back to its source.
