Who We Help · Marketing Agencies · Bookkeeping
Marketing agency bookkeeping: real margin behind retainers and media spend
The fastest way to ruin agency books is to record client media spend as your own revenue. Agency bookkeeping starts by separating fee income from pass-through dollars, then recognizes retainers and projects in the month the work actually happens — so margin per client is a fact, not a feeling. We run this monthly for Canadian agencies billing on both sides of the border.
By the AnalytIQ Accounting team · Last reviewed: August 12, 2026
Media spend: gross or net decides your whole P&L
The first question in agency bookkeeping is whether you buy media as principal or manage it as your client's agent — and the answer decides whether ad spend is your cost of sales or never touches your income statement at all. Getting it wrong in either direction misstates revenue, margins, and HST.
| Question | You buy media as principal | You manage client-funded spend |
|---|---|---|
| Who holds the platform account | Your agency, on your payment method | The client, or their card on file |
| Revenue in your books | The full billing, with media as a direct cost | Your management fee only |
| Where the ad spend sits | Cost of sales on the P&L | A pass-through clearing account, reconciled to zero |
| HST for Canadian clients | Charged on the full billing | Charged on the fee |
An agency that books pass-through media as revenue looks bigger than it is — until a lender, a buyer, or a CRA auditor normalizes the numbers. Note also that Google and Meta now bill Canadian advertisers with GST/HST on top, and those ITCs belong to whoever actually incurred the spend; we make sure they land on the right side of the clearing account.
Retainers and projects: revenue when it is earned, not when it is invoiced
A retainer is earned in the month you deliver it, a prepaid quarter is a liability until you do, and a project billed 50% up front is not half earned on day one. We keep a running deferred revenue schedule for prepayments and recognize project income as milestones actually ship, so a slow delivery month cannot hide behind aggressive invoicing.
The mirror image is WIP — campaigns built but not yet billed. A month-end WIP entry gives heavy production months the revenue they earned and stops the P&L from whipsawing between billing cycles. For agencies this is also the honest basis for pricing: if a retainer account consumes double the hours it did last quarter, the books should be the first place that shows it.
Freelancer costs, allocated to the client they served
Agencies run on freelancer networks, and account profitability usually dies in one undifferentiated contractor expense line. We tag every freelancer invoice to the client and project it served — QuickBooks Online projects or classes, with time data from Harvest or a similar tracker — so each account carries its true delivery cost, not a blended average.
The compliance layer rides along: unincorporated Canadian freelancers may need T4A slips for fees paid, which requires clean vendor records all year, not a January scramble. Paying US-based freelancers raises W-9 and W-8 questions, and US client revenue is generally zero-rated for GST/HST — both sides of that border story are covered in our cross-border tax guide for agencies.
The agency month-end: five closes that keep the numbers honest
Each month we reconcile receivables and flag aging retainer invoices, roll the deferred revenue schedule forward, clear the media pass-through account to zero, post the WIP entry, and produce margin by client — fee revenue minus freelancers and allocated delivery cost. That last report is the one owners actually use: it shows which accounts fund the agency and which ones quietly consume it.
Because everything is tagged at entry, the close is fast and the year-end is quiet: HST reconciled monthly, T4A data ready, and financials a bank or acquirer can read without adjustment. Our bookkeeping services page explains how this monthly rhythm works across every client we serve.
Common questions.
Should client ad spend appear as agency revenue?
Only if you buy media as principal — your platform account, your payment risk, your markup. If clients fund their own spend, it belongs in a clearing account, and your management fee is the revenue.
How do you handle retainers paid in advance?
Prepaid amounts sit in deferred revenue and are recognized in the month the work is delivered. The schedule rolls forward at every close, so revenue reflects delivery rather than invoicing timing.
Can you show profitability by client?
Yes. Freelancer invoices and tracked time are tagged to the account they served, so monthly reporting shows fee revenue and true delivery cost per client instead of one blended margin.
Related reading
Know your real margin on every account.
Book a consultation and get a plain answer on exactly what applies to you.