Connecting Harvest to BigQuery
Harvest tracks billable time, which makes it the one system that knows what a client actually cost you to serve — and therefore whether the campaign that won them was worth running. BigQuery has no attribution model, no deduplication rules and no opinion about your data — which makes it the only destination on this site where every number is exactly as good as the query that produced it. The join between them succeeds or fails on one thing: whether whatever join key you decide on reaches the Harvest invoice before the conversion happens, because BigQuery can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Harvest to BigQuery: effective hourly rate by acquisition source
Load Harvest clients, projects, time entries, invoices and payments into BigQuery on a schedule, joined to CRM acquisition source through a maintained Harvest-client-to-CRM-account mapping. Aggregate to client by month and compute effective hourly rate as payments over hours, keeping billable and non-billable separate. Reload a trailing window of time entries, deduplicating on ID and updated timestamp.
This is the pairing Harvest data is best suited to. Load clients, projects, time entries, invoices and invoice payments from the Harvest API on a schedule, and join them to a CRM table that records how each client was acquired: first-touch channel, campaign, and the click identifiers captured at the first inquiry. The join key is nothing Harvest knows about marketing; it is a mapping from Harvest client ID to CRM account ID that someone has to maintain.
Get the grain right. Hours belong to projects and dates, payments belong to invoices, and neither knows the campaign. Aggregate to client by month, join acquisition source, then compute effective hourly rate as payments received divided by hours logged. Keep billable and non-billable hours separate, because a channel that brings clients needing endless unbillable support looks fine on billable rate alone. Store currency per invoice and convert explicitly if you bill clients in more than one currency.
Watch late logging. Time is often entered days after the work and edited afterwards, so reload a trailing window of time entries each run instead of appending only new ones, and deduplicate on the time entry ID using its updated timestamp. Otherwise last month's rate shifts every time someone corrects a timesheet and the warehouse never notices.
Harvest → BigQuery · what breaks
Why this join usually fails — Harvest → BigQuery
- 01
Whatever join key you decide on never reaches Harvest
Time is logged by staff against projects days after the work, and the client relationship began months earlier.
- 02
Revenue reported without the cost of delivering it
A campaign producing large but low-margin clients looks like your best performer on revenue and your worst on profit. Harvest is the only place that can tell the difference and it almost never reaches the ad report.
- 03
The warehouse quietly disagreeing with every platform
This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.
- 04
Nothing reconciles afterwards
BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.
Harvest → BigQuery · the fix
What working looks like — Harvest → BigQuery
Whatever join key you decide on on every invoice
Conversions arriving in BigQuery
The row lands in a table you own, joinable to every other table you own, with no window and no expiry.
Reconciled against the source
Harvest → BigQuery · architecture
How Harvest and BigQuery actually connect
- 1
Harvest holds the truth
Revenue without cost is half the picture in a services business. A client billed twenty thousand pounds who consumed three hundred hours is a different outcome from one billed the same for eighty.
- 2
BigQuery needs a click to match
BigQuery needs a schema and consistent types. The failure mode is not rejection, it is silent divergence: a column that arrives as a string in one load and an integer in the next, or a timestamp in the wrong zone, which produces answers that look plausible and are not.
- 3
The identifier is the bridge
Whatever join key you decide on, captured at the visit and carried into the Harvest invoice.
- 4
The event source decides reliability
Send paid invoices at the amount received, and report effective hourly rate by acquisition source alongside.
- 5
Deduplication at the destination
Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.
Harvest → BigQuery · normal or broken
Working vs. broken, side by side — Harvest → BigQuery
Normal, not a fault
Whatever join key you decide on present on the invoice
Sent from the Harvest invoice payment
Deduplicated correctly
Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.
Reconciles with the source
Actually broken
Whatever join key you decide on missing on most records
Time is logged by staff against projects days after the work, and the client relationship began months earlier.
Sent from the browser
A campaign producing large but low-margin clients looks like your best performer on revenue and your worst on profit. Harvest is the only place that can tell the difference and it almost never reaches the ad report.
Counted twice, or not at all
This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.
Nobody has reconciled it
Harvest → BigQuery · diagnose
Diagnostic order — Harvest → BigQuery
- 01
Count invoices carrying whatever join key you decide on
- 02
Follow one real conversion end to end
- 03
Compare effective hourly rate by acquisition source
It is a single join between invoices and tracked hours, and it frequently reverses the ranking of your channels.
- 04
Reconcile warehouse order counts against each platform for one closed window
The gaps localize the problem: a gap against all platforms is a collection issue, a gap against one is that platform's window or matching.
- 05
Read the match rate, not the success message
BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.
Harvest → BigQuery · prove
How it gets proven — Harvest → BigQuery
Source of truth
Harvest invoices paid, set against the tracked hours that produced them.
- Whatever join key you decide on confirmed present on a live invoice.
- Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
- Paid invoices and tracked hours reconciled by client against imported conversions.
Harvest → BigQuery · free audit
What we check in the free audit
- Count invoices carrying whatever join key you decide on
- Follow one real conversion end to end
- Compare effective hourly rate by acquisition source
- Reconcile warehouse order counts against each platform for one closed window
- Read the match rate, not the success message
Checked against
Harvest invoices paid, set against the tracked hours that produced them.
Free30 minutesNo obligation
Harvest → BigQuery · when not to buy
When you don't need this — Harvest → BigQuery
- Measure identifier coverage yourself first — pull your last hundred invoices and count how many carry whatever join key you decide on.
- If you bill fixed-fee and do not track delivery time, the margin question cannot be answered here and revenue alone is what you have.
- If you have one store and one ad platform, a warehouse is infrastructure you will maintain for a reconciliation you could do in a spreadsheet.
Harvest → BigQuery · what we deliver
What gets built — Harvest → BigQuery
Identifier capture into Harvest
Store the identifier on the client record so both the invoice and the hours resolve to the acquisition source.
Event source: the Harvest invoice payment
Send paid invoices at the amount received, and report effective hourly rate by acquisition source alongside.
Dispatch to BigQuery
Streaming inserts or scheduled batch loads from your order system, with the raw event retained alongside whatever you derive from it.
Reversals where they exist
Credit notes reverse.
Written guarantee
95%+ tracking accuracy
Measured against Harvest invoices paid, set against the tracked hours that produced them.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Harvest → BigQuery questions, answered
Pull from the Harvest API v2 on a schedule, or use a connector if your ELT tool supports Harvest, and load clients, time entries, invoices and payments as separate tables. Re-pull a trailing window of time entries, since they get edited after the fact.
Join Harvest payments and hours per client to the acquisition source stored in your CRM, then divide payments by hours for an effective hourly rate per channel. Without a client-to-CRM mapping there is nothing to join on.
Almost always because whatever join key you decide on never reached the Harvest invoice. Time is logged by staff against projects days after the work, and the client relationship began months earlier. Measure coverage before debugging the dispatch.
There is no vendor identifier here. You choose the key — order ID, user ID, click identifier, hashed email — and you live with the consequences. That is the whole appeal and the whole risk: nothing is standardised for you and nothing is silently wrong in a vendor's favour either.
The Harvest invoice payment. Send paid invoices at the amount received, and report effective hourly rate by acquisition source alongside.
BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.
More on Harvest → BigQuery
- Stripe → BigQueryConnecting Stripe to BigQuery
- PayPal → BigQueryConnecting PayPal to BigQuery
- Shopify → BigQueryConnecting Shopify to BigQuery
RELATED GUIDES
Where Harvest → BigQuery fits in the rest of your tracking
- Xero → BigQueryConnecting Xero to BigQuery
- FreshBooks → BigQueryConnecting FreshBooks to BigQuery
- Wave → BigQueryConnecting Wave to BigQuery
- Harvest → SnowflakeConnecting Harvest to Snowflake
- Harvest → SegmentConnecting Harvest to Segment
- BookkeepingConversion tracking for bookkeeping firms, valued on the retainer not the enquiry
- QuickBooks → BigQueryConnecting QuickBooks to BigQuery
- BILL → BigQueryConnecting BILL to BigQuery
Free · 30 min
Get Harvest and BigQuery joined properly
Free30 minutesNo obligation
