How Web Developers Should Invoice: Milestones & Retainers
Web development isn't a single kind of work — it's a deposit for the build, milestone payments through the project, an hourly bill for the extra feature the client added mid-sprint, and a monthly retainer for maintenance after launch. One generic "Web development — $5,000" invoice line doesn't cut it. Clients delay payment on invoices they can't reconcile with what was agreed, and developers lose money on work that never got written down.
This guide shows how web developers should invoice across the whole client lifecycle: project builds, maintenance retainers, change requests, and pass-through costs — with real numbers in every example.
The invoicing models web developers actually use
Most developers rotate between five billing patterns. Knowing which one you're using for each piece of work matters, because each gets a different kind of invoice:
- Milestone (progress) invoices — the project total split across defined phases: deposit, design sign-off, development, launch. This is the default for fixed-price builds.
- Hourly invoices — time logged against tasks or sprints, billed weekly or monthly. Best for undefined scope, debugging, and ad-hoc fixes.
- Recurring retainer invoices — a fixed monthly amount for ongoing maintenance and a bucket of included hours. Billed at the start of the month, not the end.
- Deposit invoices — 30–50% paid before work begins (or the first milestone of a project), then credited against later invoices. See our full guide to how to invoice for a deposit.
- Additional-work / adjustment invoices — approved change requests billed separately, or credit/debit notes adjusting an earlier invoice.
A single client relationship often uses three of these at once: milestone invoices for the build, then a monthly retainer once the site is live. Keep each on its own invoice with its own numbering sequence — "INV-2026-014 (Build, Milestone 2)" alongside "INV-2026-015 (Retainer, October)" — so the client and their accounts department can reconcile without asking you questions.
What belongs on every web dev invoice
Before the dev-specific structure, get the basics right — these are the fields that decide whether an invoice gets paid on time or sits in a queue:
- Your name/business name, exactly as it appears on the contract.
- Client name and billing contact — get the accounts-payable contact at kickoff, not when you chase. Invoices sent to your day-to-day contact instead of AP routinely lose a week.
- Unique invoice number and dates — issue date and a specific due date written as a calendar date ("Due 14 November 2026"), not just "Net 14".
- Itemized line items — what was done, the quantity or milestone, the rate, the line total. "Checkout flow refactor — 14 hrs × $120" gets paid without a phone call; "Development work — $1,680" gets questioned.
- Subtotal, tax, and total — on separate lines, even when tax is zero. A "Tax: $0.00" line prevents follow-up emails about whether tax was forgotten.
- Payment terms and instructions — how to pay and where. If you accept cards or online payment, put the payment details on their own line where nobody can miss them.
For project work, add a project reference — the proposal number, statement of work, or PO number — so the client's finance team can match your invoice to their purchase record. (If the client issues purchase orders, our guide to how to invoice against a purchase order covers the details.)
How to structure milestone billing for a build
Milestone billing is the single best protection a freelance developer has: it ties payments to finished, observable stages instead of one big invoice at the end. The rule from the milestone billing guide: milestones must be named and tied to deliverables, not feelings — "Milestone 2 — development complete on staging, client review" not "50% done".
Here's a worked example for a $6,000 marketing-site build:
| Milestone | Trigger | Amount | Invoice | |---|---|---|---| | 1. Deposit | Contract signed, project starts | $1,800 (30%) | INV-1041 | | 2. Design sign-off | Homepage + templates approved | $1,800 (30%) | INV-1042 | | 3. Development complete | Site built on staging, client review | $1,200 (20%) | INV-1043 | | 4. Launch | Live site + admin training | $1,200 (20%) | INV-1044 |
Each invoice's line items name the milestone and what's delivered, e.g. "Milestone 3 — development complete: 8-page site built on staging per SOW §3, ready for client review — $1,200". Put the acceptance window in your contract ("client has 5 business days to review each milestone, after which it's deemed accepted") and reference it on the invoice — milestones that wait on a client who "hasn't reviewed it yet" can wait forever.
Send each milestone invoice the day the milestone is hit, on Net 14 terms. The worst outcome of a quiet client is one unpaid milestone, not an entire unpaid project.
Invoicing recurring hosting & maintenance retainers
Once the site is live, shift to a recurring retainer — the most stable income a freelance developer can build. Two pricing models dominate:
Fixed monthly retainer. A flat fee for a defined bucket of hours plus included services. Example line items for a $300/month retainer:
- "Monthly maintenance retainer — November 2026: 10 hours included (updates, backups, security patches, minor content changes) — $300"
- Add an overflow line when the client exceeds the bucket: "Additional hours beyond retainer — 4 hrs × $120 — $480"
Pay-as-you-go hourly. No monthly fee; hours tracked and billed at month-end. Simpler to sell, but lumpy income — and clients who pay in arrears sometimes treat maintenance as optional. If you go this route, invoice on the 1st of the month for the previous month's work, on Net 7–14 terms.
Whichever you choose, invoice the retainer at the start of the billing period — it's the difference between selling reserved capacity and donating it. A retainer billed after the month is just slow hourly. State the capacity and overflow rate in the agreement ("10 hrs/month, rollover none, overflow at $120/hr"), and use recurring invoicing software or a template to send it on the same date every month without thinking about it. Our retainer invoice guide walks through the full setup.
One common structure: sell maintenance as a tier — e.g. $150/month for updates and backups only, $300/month adding 5 support hours, $500/month adding 15 hours and priority response. Tiered retainers sell themselves on the invoice because the value is legible.
Change requests and scope creep: invoice them as labeled lines
Scope creep is where web developers lose the most unbilled money — the "quick" member-login feature, the extra template, the third round of revisions that wasn't in the contract. The fix is procedural: quote in writing first, build second, invoice third.
- Number your change requests: "CR-1 — member login + gated content, approved 12 October — $900". Numbered, named, with the approval date.
- Quote before building. Even a one-line email quote with a written "approved" reply is enough for most jobs. No approval, no build — clients track what you tolerate.
- Invoice change requests as separate labeled lines or a separate invoice, not buried inside the next milestone. Each CR references the approval: the money conversation stays calm because every charge traces to a yes.
Summarize hourly/ad-hoc work by feature, not raw time dumps: "Checkout flow refactor — 14 hrs × $120 — $1,680" beats a 40-line timesheet nobody reads. If you're billing sprints, state the sprint number and dates: "Sprint 7 (6–17 October) — 32 hrs × $120 — $3,840".
Passing through hosting, licenses, and third-party costs
Most builds carry costs that aren't your labor: hosting, premium plugins and themes, stock assets, API fees, SSL, CDN. Pass them through at cost, on their own invoice lines, named specifically:
- "Hosting pass-through — VPS, October 2026 (DigitalOcean) — $24.00"
- "Premium plugin license — ACF Pro, annual renewal — $49.00"
- "Stock photography — 12 assets (Shutterstock) — $36.00"
Two practices save headaches:
- Have the client buy licenses and hosting in their own name wherever possible — put their card on their own accounts. Then renewals happen automatically without you, and nobody argues about who owns what if the relationship ends. You invoice only the services you actually paid for.
- Mark pass-through costs clearly as "at cost" so the client knows there's no markup — or state a sourcing fee explicitly if there is. Surprise markups are a dispute factory.
Applying deposits to the final invoice
A 30–50% deposit on the first invoice means the later invoices must show the deposit credited — otherwise the client will suspect double-billing. On the final milestone invoice, show the full accounting:
``` Milestone 4 — launch: live deployment + admin training $1,200.00 Less: deposit paid 2 October 2026 (INV-1041) −$1,800.00 ───────── Subtotal −$600.00 ```
In this example the deposit exceeds the final milestone, which is normal — the client has simply prepaid. The final invoice total shows the running balance across the project, and if the project ends with a credit balance, note that it's refundable or applied to future maintenance. The deposit guide (how to invoice for a deposit) covers the deposit invoice itself in detail.
When a client withholds the final payment over "bugs"
Every web developer hits this: the site is live, the client owes the last milestone, and suddenly there's a list of "bugs" blocking payment. Practical steps, not legal advice:
- Stage the handover. Don't transfer full source files, admin credentials, or domain control until the final invoice clears — if your contract allows it (put this in the contract, not on the invoice). Delivering everything and hoping for payment is the losing position.
- Separate bugs from new work. Genuine defects in what you delivered get fixed; new features get quoted as change requests. Write this distinction in plain language in your contract: a short warranty period (e.g. 30 days) for bugs, then paid support.
- Use the acceptance window. If the contract says the client has 5 business days to review and they haven't responded, the milestone is deemed accepted — invoice it and reference the clause.
- Keep invoices firm but professional. Late fees on your invoices (see our guide to late fees on invoices) change how clients treat deadlines even when you rarely enforce them.
If a disagreement escalates, our invoice dispute guide covers the escalation path. For most projects, the staged handover plus a clear acceptance clause prevents the situation entirely.
Payment terms and tax notes for web developers
Terms: For milestone invoices, Net 14 is the sweet spot — firm enough for cash flow, relaxed enough that no reasonable client objects. Add the calendar due date next to the term ("Net 14 — due 14 November 2026"). For new clients on projects over roughly $1,500, make the deposit non-negotiable; for maintenance retainers, bill on the 1st of the month with a 7-day window. See our full payment terms guide for the complete menu.
Tax: Whether you add sales tax depends on where you and the client are. In the US, it varies by state — Connecticut taxes website design and development, while Utah exempts website design and development entirely, and Texas treats hosting as taxable (per Avalara's 2026 guidance). UK developers charge 20% VAT on services once VAT-registered; check your own country's rules for digital services. If a state or country requires tax on your services, show it as its own line; otherwise a "Tax: $0.00" line keeps the invoice transparent. Our US sales tax guide covers the state-by-state picture in more depth.
Build it, then bill it properly
You now know the structure: milestones tied to deliverables, deposits credited down the ledger, retainers billed at the start of the month, change requests as numbered lines, and pass-through costs at cost. The last step is the invoice itself.
Our free invoice generator builds a professional, itemized invoice in about a minute — line items, tax, due dates, and your payment terms included, ready to send as a PDF. One less reason for the client to delay.
Frequently asked questions
Should web developers charge a deposit?
Yes — 30–50% before work starts is the industry standard for project builds, and it's your single best protection against non-payment. Frame it as standard policy, not suspicion: it lets you commit calendar time and cover early costs. For maintenance retainers, charge the first month upfront. See our guide to how to invoice for a deposit.
Fixed price or hourly for maintenance work?
A fixed monthly retainer wins for both sides once the relationship is established: the client gets predictable costs, and you get predictable income. Use hourly billing for the first 1–2 months while you learn how much attention the site needs, then convert to a fixed retainer based on the average. See hourly vs project pricing for the full comparison.
How do I invoice for scope creep and change requests?
Quote the change in writing and get written approval before building — even a one-line email. Then invoice it as a numbered line item ("CR-2 — additional contact form, approved 18 October — $450") on its own invoice or as separate lines on the next milestone invoice. Never build first and bill later; work done without approval is nearly impossible to collect.
Do web developers have to charge sales tax?
In the US it depends on the state: some states (e.g. Connecticut) tax website design and development, others (e.g. Utah) exempt it, and some (e.g. Texas) tax hosting but not development — check the rules where your client is located. In the UK, charge 20% VAT on your services once VAT-registered. When in doubt, check your state/country's department of revenue rather than guessing.
What should I do if a client won't pay the final invoice?
First, confirm the milestone was actually accepted under your contract's acceptance window. Then invoice it with the clause referenced, add a firm but polite reminder schedule, and — for future projects — stage handovers so full source files and admin access transfer only after final payment clears. Our dispute guide covers escalation step by step.
How do I invoice for hosting and plugin licenses?
Ideally, the client buys hosting and licenses in their own name (their card on their account) so you never invoice them at all. For costs you do pay, list them at cost on their own lines with the service named — "Hosting pass-through — VPS, October 2026 — $24.00". If you add a sourcing fee, state it explicitly rather than hiding it in a markup.