A customer paid a deposit or retainer before the work was done — how do I record it, and how do I apply it to the invoice later?
Applies to: United States · Accrual basis books · Updated 2026-10-01
Record the money as a liability you owe the customer, not as sales, and tag it to that customer and, on job work, to that job. It becomes revenue only as you deliver. When you invoice the finished work, apply the held amount against that invoice and ask the customer only for the balance. If the job is cancelled, refund it and the liability clears. Tax timing is a separate question.
What is the money before you have done the work?
It is an obligation. Money received for work not yet performed is unearned revenue — "essentially a prepayment for goods or services that will be delivered at a later date" — and a retainer paid in advance is a standard example. Documentation for one widely used small-business accounting package puts it bluntly: the amount collected "will not be an income but a liability to the company".
So the first entry is a liability, not a sale: "Unearned revenue is a liability for the recipient of the payment, so the initial entry is a debit to the cash account and a credit to the unearned revenue account", usually classified as a current liability. Performance converts it: as the company earns the revenue, it reduces the unearned revenue balance with a debit and increases revenue with a credit, and revenue is recognised as the business performs — which may be at a single completion point or progressively as stages are delivered. One vendor help page puts the simple case as revenue being earned "when the product is delivered or the service is completed"; read that as the single-delivery illustration it is, not as a rule that every job is recognised only at the end. The progress-billing section below is the other case.
Do not book the deposit to income just because the cash is in the bank. If a business recognises it all at once, "revenues and profits would initially be overstated, and then understated for the additional periods during which the revenues and profits should have been recognized" — two distorted periods from one shortcut.
How do you record the deposit when it arrives?
Put it in a liability account of its own — commonly called Customer deposits or Unearned revenue — and keep it attributable to the specific customer. An undifferentiated total is unusable: you cannot release against one customer's invoice an amount you cannot tie to that customer.
Most small-business systems do this with a dedicated advance-payment or retainer document raised against the customer record, with the payment recorded against it. On job- or project-based work, raise it against the project too, so the amount is attached to the job as well as the customer: if you manage projects for customers, you can collect advance payment for those projects by raising retainer invoices.
Receipt of a $3,000 deposit on an $8,000 job:
| Account | Debit | Credit |
|---|---|---|
| Cash — operating bank | 3,000.00 | |
| Customer deposits — Job 114, M. Reyes | 3,000.00 |
No revenue. No accounts receivable. Nothing has been sold yet.
If you are a lawyer, or another professional whose licensing rules require advance fees to be held in a client trust account, those rules decide where the money is held and when it may move — follow them rather than this entry, which this guide does not cover.
How do you apply the deposit to the invoice so the customer is not billed twice?
When the work is done, invoice the full value of the work, then release the held amount against that invoice. The customer is asked only for the difference.
Continuing the $8,000 job, invoice on completion:
| Account | Debit | Credit |
|---|---|---|
| Accounts receivable — M. Reyes | 8,000.00 | |
| Revenue — design services | 8,000.00 |
Release the deposit against it:
| Account | Debit | Credit |
|---|---|---|
| Customer deposits — Job 114, M. Reyes | 3,000.00 | |
| Accounts receivable — M. Reyes | 3,000.00 |
The customer now owes $5,000, and the deposit liability is nil. When they pay:
| Account | Debit | Credit |
|---|---|---|
| Cash — operating bank | 5,000.00 | |
| Accounts receivable — M. Reyes | 5,000.00 |
Total revenue $8,000, total cash $8,000, both balances at zero. In a system with a retainer feature this release is the "apply to invoice" step, and the invoice balance shown is "the final amount to be paid after deducting advance payments".
The failure this prevents is invoicing the full $8,000, collecting it, and never touching the held $3,000 — the customer pays twice for the same work, and the liability keeps misstating what you owe.
What if the deposit covers several progress invoices?
Release it in slices. A $3,000 deposit on a $9,000 job billed in three $3,000 stages is released $1,000 at a time, so each stage invoice asks for $2,000:
| Stage invoice | Invoiced | Deposit released | Customer pays | Deposit still held |
|---|---|---|---|---|
| Stage 1 | 3,000.00 | 1,000.00 | 2,000.00 | 2,000.00 |
| Stage 2 | 3,000.00 | 1,000.00 | 2,000.00 | 1,000.00 |
| Stage 3 | 3,000.00 | 1,000.00 | 2,000.00 | 0.00 |
Each release is the same entry, for the slice released:
| Account | Debit | Credit |
|---|---|---|
| Customer deposits — Job 220 | 1,000.00 | |
| Accounts receivable — Job 220 | 1,000.00 |
At any point, the remaining held balance is the deposit liability for that job — $2,000 after stage 1, $1,000 after stage 2. Systems with a retainer feature support this directly: where retainer invoices have been created for a customer and payment recorded, you can apply them to that customer's outstanding invoices, partially or fully, split among different pending invoices, with a "retainer amount available" figure showing what remains.
What if the job is cancelled and you return the money?
Refund it. Paying the customer back discharges the obligation, and no revenue is recognised, because none was earned. Whether the money has to go back, and how much of it, is set by your agreement with the customer (see the next section); what follows is the bookkeeping. One accounting package's documentation walks through refunding the retainer when a project is cancelled — that describes how the software records the step, not what the law requires. Refund of the full $3,000:
| Account | Debit | Credit |
|---|---|---|
| Customer deposits — Job 114, M. Reyes | 3,000.00 | |
| Cash — operating bank | 3,000.00 |
The deposit liability is nil, the customer's account is nil, and nothing reached the income statement. There is no invoice to credit, because none was ever issued. Record the refund against the original advance-payment document rather than as a loose bank payment, so the two stay visibly linked.
When can you keep a deposit instead of returning it?
Only when the agreement with the customer says you can, and only to the extent it says so. Calling something a "non-refundable retainer" does not make it one. The accounting consequence is the part this guide can state: unless your agreement entitles you to keep the money, it stays owed to the customer, so it stays a liability and is refunded rather than taken to income. Software documentation describes the same shape operationally — that where the product is not delivered or the service is not completed the advance payment is returned to the customer — but that is a description of how one package handles a cancelled project, not a statement of what US contract or consumer law requires. No source in this guide establishes a general legal default. Treating a retained deposit as earned without a term entitling you to it overstates income.
Whether you are entitled to keep it is a question about your agreement, not about the word printed on the receipt — and this guide did not establish a general rule for it. Read the written agreement, and take advice on your own state's law where the amount matters. (A Washington excise-tax reporting rule uses a similar-sounding phrase about becoming "legally entitled to receive the consideration"; that rule governs which return period an amount falls in, not whether you may keep a customer's deposit, and it is not authority on that question.)
If the agreement does entitle you to keep part of the money — say $500 of the $3,000 on cancellation — the entry splits:
| Account | Debit | Credit |
|---|---|---|
| Customer deposits — Job 114, M. Reyes | 3,000.00 | |
| Cash — operating bank | 2,500.00 | |
| Revenue — forfeited deposits | 500.00 |
Keep the signed agreement, quote or engagement letter with the transaction — it is the evidence for the $500, and what a reviewer will ask for.
This split assumes the retained amount is not itself subject to sales tax. Do not assume that. In some states a portion of a deposit that you keep becomes a taxable receipt at the moment you keep it — the New York bulletin discussed in the sales-tax section below does exactly that for rented or leased property — so settle the treatment for your state before you post this entry.
We could not settle this from an authoritative source. No source in this guide states a general U.S. rule for when a deposit may be retained. That is governed by your contract and by state contract and consumer-protection law, and some states regulate deposits in particular trades. Get the term reviewed before you rely on it.
How do cash-basis books and the tax return differ?
On cash-basis books, receipt answers the timing question: under the cash method "you include in your gross income all items of income you actually or constructively received during the tax year", and income is constructively received "when an amount is credited to your account or made available to you without restriction". A cash-basis business shows the deposit as income when it arrives and carries no unearned-revenue liability for it.
Two things follow that regularly surprise accrual-basis businesses.
First, federal income tax does not simply follow your accrual books. "Generally, you report an advance payment for goods, services, or other items as income in the year you receive the payment". An accrual-method taxpayer may elect to postpone a qualifying advance payment to the next year but "cannot postpone including any payment beyond that tax year". Whether a particular refundable deposit is an "advance payment" within that rule is itself a determination — the definition carries exclusions — so the general rule is the starting point, not the answer. A deposit sitting in a liability account on your books may still be taxable income this year; confirm it with your tax preparer.
Second, state reporting can key to yet another moment, and to your reporting basis. Washington ties the excise-return period to when value proceeds or accrues: on the accrual basis, amounts actually received "do not constitute value accruing to the taxpayer in the period in which received if the value accrues to the taxpayer during another period", while on the cash-receipts basis value proceeds "at the time the taxpayer receives the payment, either actually or constructively".
Does sales tax apply when the deposit is received?
That is a separate determination from the revenue question, and it is set by the taxing jurisdiction — there is no single U.S. answer, and the two states cited here do not resolve it for a third.
New York, for example, treats some deposits as outside the taxable receipt: "If you charge a deposit on items that you rent, lease, or loan, the charge is not considered to be part of the taxable receipt" — but "[i]f you keep any portion of the deposit when the property is returned, that portion of the deposit is subject to sales tax at that time as part of the charge for the rental or lease of the item". Read that narrowly: the bulletin is addressing a refundable deposit on property that is rented, leased or loaned and later returned. It does not address a deposit taken toward the price of a job, which is the case this guide is about, so do not carry it across. It is here to show that states answer deposit questions differently, not to give you New York's answer for your situation. Washington's pinned rule is an excise-tax reporting-period rule rather than an answer to this question: it ties the period to when value proceeds or accrues, and the same passage gives separate and more specific rules for other cases — a sale of tangible personal property taking place when delivered in this state, and retail sales tax on a lease or rental arising as the rental payments fall due. It does not state when Washington sales tax attaches to an advance receipt for services, and this guide does not answer that.
Establish three things for each state where you have a sales-tax obligation: whether the advance receipt is itself a taxable receipt, whether tax attaches at receipt or only when the sale is invoiced or delivered, and how a retained deposit is treated. Ask that state's revenue department or a sales-tax adviser, and record the answer. A business that records deposits without answering this can under- or over-report tax on the same transaction.
How do you find deposits you are still holding that should have been released?
Review the liability by customer on a schedule — monthly is normal — looking for held amounts whose work has already been completed and invoiced. Nothing surfaces them automatically; the balance simply sits there, making the business look as though it owes money it has already earned.
Two checks. First, list unapplied advances by customer and job against invoices issued for the same job; most systems report this, as a retainer detail report summarising "the retainer invoices you created, unused retainers and the invoices to which they were applied for a selected date range", plus a prompt when an invoice is raised for a customer with unused retainers. Second, agree that list to the customer-deposit liability balance. If they differ, something was released against nothing, or an advance was never attached to a customer.
Is it a deposit or an overpayment on an existing invoice?
They are different things and clear by different routes. A deposit is money received before any invoice exists — a liability for work not yet done. An overpayment is money received against an invoice already issued, in excess of it. Booking an overpayment into the customer-deposit account leaves the invoice wrong; booking a deposit as an overpayment applies it to a sale that has not happened. Decide which one you have before you post it.
Sources
- Zoho Corporation — Functions in Retainer Invoices | Help | Zoho Books, Zoho Books US help, current help edition; no last-updated date shown on page (confirmed by fetch 2026-09-08)
- Washington State Department of Revenue (Washington Administrative Code) — WAC 458-20-197, When tax liability arises, Adopted WSR 07-17-111, filed 8/17/07, effective 9/17/2007 (confirmed by fetch 2026-09-08)
- AccountingTools, Inc. (Steven Bragg) — Unearned revenue definition, Last updated March 4, 2026 (confirmed by fetch 2026-09-08)
- Zoho Corporation — Retainer Invoices | Help | Zoho Books, Zoho Books US help, current help edition; no version or last-updated date shown on page (confirmed by fetch 2026-09-08)
- Internal Revenue Service — Publication 538, Accounting Periods and Methods, Publication 538
- New York State Department of Taxation and Finance — Tax Bulletin ST-860 (TB-ST-860), Taxable Receipt — How Discounts, Trade-Ins, and Additional Charges Affect Sales Tax, Tax Bulletin ST-860