---
title: "Accounts payable: Definition, formula and example"
description: "What accounts payable is, whether it's an asset or a liability, debit or credit, the AP formula, and one dated example with journal entries that ties out."
url: https://emptyspaces.ai/glossary/accounts-payable
language: en
---

[Home](https://emptyspaces.ai/) [Glossary](https://emptyspaces.ai/glossary) Accounts payable

# What is accounts payable? Definition, formula, and example

Updated November 17, 2026[Accounts payable and procure-to-pay](https://emptyspaces.ai/glossary#browse)

Definition

Accounts payable (AP) is the money a company owes suppliers for goods or services received on credit, recorded as a current liability until paid. A bill enters accounts payable when you record the supplier's invoice and leaves it when you pay, usually within 30 to 90 days. AP is also the name of the team that processes those bills.

Account type

Current liability

Normal balance

Credit

Financial statement

Balance sheet

Opposite of

Accounts receivable

## Is accounts payable an asset or a liability?

Accounts payable is a liability, not an asset, because it's money you owe. It sits under current liabilities on the balance sheet, often labeled trade payables (trade creditors in the UK), since supplier bills are normally due within a year.

It isn't an expense either, so it doesn't appear on the income statement. The expense or inventory is recorded when you receive the goods or service, and paying the bill creates no new expense. Accounts payable is rarely long term: supplier balances due after more than a year are usually documented as notes payable.

## Is accounts payable a debit or a credit, and where does it go on the balance sheet?

Accounts payable has a normal credit balance: a credit increases it when you record a bill, and a debit decreases it when you pay, return goods, or take a discount. It usually appears near the top of current liabilities.

48.4% of current liabilities

Apple's Form 10-K for the fiscal year ended September 26, 2026, filed with the SEC, reports accounts payable of $82,252 million, 48.4% of its $169,915 million in total current liabilities.

## Accounts payable formula

Accounts payable has no ratio of its own; its formula is a roll-forward of the balance. AP turnover and days payable outstanding use that balance to measure how fast you pay.

Ending AP = Beginning AP + bills recorded − credit memos − payments − discounts taken ± adjustments

In a T-account, bills are credits; payments, credit memos, and discounts are debits. Adjustments include foreign-currency revaluation and corrections. Leave out costs received but not yet billed; they roll forward separately as GRNI or accrued expenses.

## Accounts payable example

A wholesale distributor buys $10,000 of inventory on October 2, 2026, on 2/10 net 30 terms, returns $1,000 of damaged goods, and pays within 10 days to take the discount.

The entries use the gross method and a perpetual inventory system. All amounts are illustrative.

| Date | Account | Debit | Credit |
| ------------ | ------------------------ | ------ | ------ |
| Oct 2, 2026 | Inventory | 10,000 | |
| | Accounts payable | | 10,000 |
| Oct 6, 2026 | Accounts payable | 1,000 | |
| | Inventory | | 1,000 |
| Oct 12, 2026 | Accounts payable | 9,000 | |
| | Cash | | 8,820 |
| | Inventory | | 180 |
| Oct 30, 2026 | Inventory | 4,000 | |
| | GRNI (accrued liability) | | 4,000 |
| Total | | 24,000 | 24,000 |

The credit memo cuts the bill to $9,000. October 12 is the 10th day, so you take 2% off the $9,000 and send $8,820. On October 30, a second supplier delivers $4,000 of goods with no invoice, so that goes to GRNI.

| AP roll-forward, October 2026 (all suppliers) | Amount |
| ------------------------------------------------------------------------- | -------- |
| Beginning AP, October 1 | $25,000 |
| Add: bills recorded (this $10,000 bill plus $30,000 from other suppliers) | 40,000 |
| Less: credit memos | (1,000) |
| Less: cash payments (this $8,820 plus $22,000 to other suppliers) | (30,820) |
| Less: discounts taken | (180) |
| Ending AP, October 31 | $33,000 |
| AP aging report total | $33,000 |
| General ledger AP control account | $33,000 |
| Difference | $0 |

On the October 31 balance sheet, supplier liabilities total $37,000: $33,000 of accounts payable plus $4,000 of GRNI.

## Accounts payable journal entries

To record accounts payable, debit the expense or inventory account and credit accounts payable when you enter a supplier bill, then debit accounts payable when you pay, return goods, or take a discount.

- **Credit memo:** Debit accounts payable; credit the account the bill was charged to
- **Discount under the gross method:** Credit inventory for the discount, or purchase discounts under a periodic system
- **Net method:** Record the bill net of the discount and expense any discount you miss

In QuickBooks Online, Bills credit A/P and Pay bills debits it; in NetSuite, vendor bills and bill payments do the same, and the A/P Aging Summary report shows what's still owed.

## What is accounts payable confused with?

Accounts payable is most often confused with accounts receivable, accrued expenses, GRNI, and notes payable. Only accounts payable is an invoiced amount you owe a supplier.

| Term | What it is | How it differs from accounts payable |
| ---------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- |
| Accounts receivable (AR) | Money customers owe a company for goods or services delivered on credit, recorded as a current asset until collected | An asset with a debit balance, on the seller's books |
| Accrued expenses | Expenses incurred in a period but not yet paid or invoiced, recorded as a liability so costs land in the period they belong | An estimate booked before any invoice arrives |
| GRNI (goods received not invoiced) | Accrued liability for goods or services received but not yet invoiced by the supplier, recorded so expenses and inventory land in the right period | Moves into accounts payable once the invoice is recorded |
| Notes payable | Written promises to repay borrowed money, usually with interest and a maturity date | Usually comes from borrowing, carries interest, and can be long term |

Is accounts payable:

Unpaid supplier invoices for inventory, software, utilities, rent billed by a landlord, freight, contractors, and professional services

Is not accounts payable:

Wages, taxes owed, loans, credit card balances, customer deposits (deferred revenue), and costs not yet invoiced

**Quick test:** if a supplier has invoiced you for something you've received and you haven't paid it yet, it's accounts payable.

## Accounts payable vs accounts receivable

Accounts payable is what you owe suppliers, and accounts receivable is what customers owe you. The same invoice is accounts payable on the buyer's books and accounts receivable on the seller's.

In the example, the supplier debits accounts receivable and credits revenue for $10,000. Bills you receive go to AP; invoices you send go to AR.

## Accounts payable vs accrued expenses and GRNI

Accounts payable holds invoiced amounts; accrued expenses and GRNI hold costs you've incurred but haven't been billed for. The liability generally starts when you receive the goods or service, not when the invoice arrives.

When the second supplier's invoice arrives on November 4, 2026, debit GRNI $4,000 and credit accounts payable $4,000. Total liabilities don't change; only the line does. Accruals without a purchase order are often reversed on the first day of the next month with [reversing entries](https://emptyspaces.ai/resources/blog/reversing-entries).

## Accounts payable vs notes payable

Notes payable are formal, usually interest-bearing loans with a maturity date, while accounts payable is usually interest-free trade credit from suppliers. A note's portion due after 12 months is noncurrent, and an interest-bearing note accrues interest each month.

## Accounts payable at month end

At month end, you prove accounts payable is complete and ties to the general ledger, as part of the [month-end close](https://emptyspaces.ai/resources/blog/month-end-close).

1. **Cutoff:** Book each bill in the period the goods or services arrived
2. **Unrecorded liabilities:** Check next month's early invoices and payments for this month's costs
3. **Accruals:** Accrue GRNI and other costs received but not yet invoiced; in SAP, open goods receipts sit in the GR/IR clearing account
4. **Tie-out:** Match the AP aging total to the control account and explain every difference

For FP&A, a rising AP balance adds to operating cash flow and a falling one uses cash: Apple's fiscal 2026 cash flow statement shows a $12,171 million inflow from higher accounts payable. Our [Close Agent](https://emptyspaces.ai/product/close) prepares AP accruals and the AP subledger tie-out as close tasks, and nothing posts until a named approver signs off.

## Common accounts payable mistakes

The most common accounts payable mistakes are timing errors, accruals mixed into AP, and unexplained supplier debit balances.

- **Booking costs on the invoice date:** The cost belongs to the period you received the goods or services
- **Posting accruals to the AP control account:** The aging report then can't tie to the ledger
- **Leaving debit balances in AP:** A credit memo received after the bill is paid, or a duplicate payment, needs a refund, an offset, or a reclass to receivables
- **Expensing future-period invoices:** An annual software invoice billed upfront is a [prepaid expense](https://emptyspaces.ai/resources/blog/prepaid-expenses): debit prepaid expenses, credit accounts payable, then expense it monthly
- **Paying outside the AP workflow:** In QuickBooks Online, paying a bill with a check or expense instead of Pay bills leaves the bill open and can count the cost twice
- **Missing early payment discounts:** Skipping a 2/10 net 30 discount costs about 37% a year (2/98 × 365/20)

## Related terms

[ GRNI (goods received not invoiced) Accrued liability for goods or services received but not yet invoiced by the supplier, recorded so expenses and inventory land in the right period. ](https://emptyspaces.ai/glossary/grni)

Accounts payable subledger Detailed record of each supplier invoice, payment, and credit that supports the accounts payable balance in the general ledger.

AP aging report Report listing unpaid supplier invoices grouped by age past the invoice or due date, such as current, 30, 60, and 90 days.

[ Days payable outstanding (DPO) Average days a company takes to pay suppliers: average accounts payable divided by cost of goods sold, times days in the period. ](https://emptyspaces.ai/glossary/days-payable-outstanding) [ Three-way match Control that compares the purchase order, goods receipt, and supplier invoice before payment, confirming what was ordered, received, and billed all agree. ](https://emptyspaces.ai/glossary/three-way-match)

Early payment discount (2/10 net 30) Discount for paying early; 2/10 net 30 means a 2% reduction if paid within 10 days, otherwise the full amount is due in 30.

Full guides: [Accrued expenses](https://emptyspaces.ai/resources/blog/accrued-expenses), [AP and AR reconciliation](https://emptyspaces.ai/resources/blog/ap-ar-reconciliation), [Month-end journal entries](https://emptyspaces.ai/resources/blog/month-end-journal-entries), and [Month-end close checklist](https://emptyspaces.ai/resources/blog/month-end-close-checklist).

Tie AP to the ledger every month without the spreadsheet.

Our Close Agent prepares AP accruals and the subledger tie-out. Your team approves before anything posts.

[Book a working session](https://emptyspaces.ai/contact-us)

No implementation commitment.

[All 721 glossary terms](https://emptyspaces.ai/glossary)
