Bookkeeping

Double-Entry Bookkeeping and AP

How double-entry bookkeeping principles apply to accounts payable transactions, what entries are created at each stage of the AP process, and why the system is self-balancing.

Double-entry bookkeeping is the accounting system where every financial transaction is recorded in at least two accounts: one account is debited and one is credited, with the total debits always equalling the total credits. This principle applies to every accounts payable transaction -- from the moment an invoice is received to the moment it is paid. Understanding the underlying double-entry mechanics of AP transactions helps AP teams code invoices correctly and understand why the AP ledger must always agree with the general ledger.

The double-entry system creates a self-checking mechanism: if debits and credits do not balance, an error has occurred somewhere in the process. In modern accounting software (Xero, MYOB, QuickBooks), the software enforces double-entry automatically -- users enter the transaction details, and the system generates the debit and credit entries. But understanding what entries are being created, and why, is important for diagnosing errors and reconciling AP discrepancies.

The AP journal entries at each stage

When a supplier invoice is received and recorded in the AP system, two entries are created: debit to the expense account (or asset account for capital purchases), and credit to accounts payable (a liability account). The debit recognises the cost; the credit recognises the obligation to pay. The accounts payable credit increases the AP balance on the balance sheet, reflecting the outstanding liability to the supplier.

When the invoice is paid, the entries are: debit to accounts payable (reducing the liability), and credit to bank (reducing the cash balance). The payment extinguishes the liability recorded when the invoice was entered. The net effect across both sets of entries: expense has been recognised, cash has been paid, and the AP balance is back to zero for that transaction.

When a credit note is received: debit to accounts payable (reducing the outstanding liability), and credit to the expense account (reversing part of the original expense). The credit note reduces both the amount owed and the recorded cost for the period.

The AP ledger and the general ledger

The accounts payable ledger (or sub-ledger) records the detailed transactions for each individual supplier -- every invoice, credit note, and payment is tracked by supplier. The general ledger contains a single accounts payable control account that shows the total AP balance across all suppliers. The sum of all individual supplier balances in the AP sub-ledger should always equal the balance in the AP control account in the general ledger.

When this agreement breaks down -- when the AP sub-ledger and the GL control account do not agree -- it indicates that a transaction has been recorded in one place but not the other. This is a reconciling item that must be investigated and corrected before financial statements are prepared. Common causes include journal entries posted directly to the GL control account (bypassing the sub-ledger), payments processed in the bank reconciliation without clearing through the AP system, or technical import errors when transactions move between systems.

Related terms

See it in action

AP Automation

Learn more
Back to full glossary