ERP and accounting
Where a company keeps its books: customers, jobs, invoices and job costs. These builds feed the books from HubSpot or bring their figures back to it.
Keyed on the way in, reconciled on the way out
- HubSpot: Deals, agreements and job-cost fields, where the work is sold and approved.
- Keys and journal: The key of every write, the claim on every deal and the journal of each load.
- Integration service: Runs each write to the books and each read back from them.
- The ERP or accounting file: Customers, jobs, invoices and job costs.
- From HubSpot to Integration service: Signed deals and approvals. A deal the customer signed, an invoice a person approved, or an edited field. A stage change, or a person’s approval.
- From Integration service to The ERP or accounting file: Customers, jobs, invoices. Records written under a key taken from their source. A signed deal or an approval that passes every gate.
- From The ERP or accounting file to Integration service: Costs, status, history. Job costs and invoice status, and the history a migration moves once. Scheduled reads, or one journaled load.
- From Integration service to HubSpot: Figures on the deal. Job costs, sales by month and the books’ own ids, written to the deal. Each read from the books.
- From Integration service to Keys and journal: Keys, claims, journal. The key of every write, the claim on every deal and every loaded record. Every run.
- On Customers, jobs, invoices: Keyed to its source. Every customer, job and invoice is written under a key from its source, so a retry finds the record instead of making a second one.
- On Customers, jobs, invoices: Writes off until armed. A write path stays off until it is armed: flags arm one sync surface by surface, and one connector’s write path has never been armed.
- On Signed deals and approvals: A named person approves. Invoices wait for a person: finance reviews the drafts before they are sent, and an invoice posts only after a named approver signs off.
- On Costs, status, history: Checked against the books. Figures are checked against the books themselves: sales reconcile to the cent, and a dry run is scored against production’s own billing run.
- On Costs, status, history: Journaled, reversible loads. History moves once, through a journal of every write and a script that can undo it.
- Built by me
- Platforms I connect to
- Guards
- a Signed deals and approvals
- b Customers, jobs, invoices
- c Costs, status, history
- d Figures on the deal
- e Keys, claims, journal
-
Keyed to its source on b
Every customer, job and invoice is written under a key from its source, so a retry finds the record instead of making a second one.
Ran in Quote-to-cash billing platform, ERP job creation and ERP project automation.
-
Writes off until armed on b
A write path stays off until it is armed: flags arm one sync surface by surface, and one connector’s write path has never been armed.
Ran in Two-way ERP sync and Desktop accounting connector.
-
A named person approves on a
Invoices wait for a person: finance reviews the drafts before they are sent, and an invoice posts only after a named approver signs off.
Ran in Quote-to-cash billing platform and QuickBooks job costing.
-
Checked against the books on c
Figures are checked against the books themselves: sales reconcile to the cent, and a dry run is scored against production’s own billing run.
Ran in Desktop accounting connector and Quote-to-cash billing platform.
-
Journaled, reversible loads on c
History moves once, through a journal of every write and a script that can undo it.
Ran in Two-way ERP sync and Field-service rollout.
An ERP, or an accounting file, holds a company’s customers, jobs, invoices and job costs: the figures its finance team works from. HubSpot is where the same work was sold. The two have to agree on who the customer is, which job a sale became and what it cost, and an amount written twice is a bill sent twice.
Each of these systems makes that hard in its own way. One takes new jobs only as an XML import its public documents did not describe, behind API keys that expire every 24 hours. Another has no webhooks and replaces the whole record on every update. A desktop ledger has no cloud API at all. And one can answer a budget write with success and change nothing, so every write type there was proven in a sandbox by reading it back.
So I put the guards where money is written. On the billing platform, each invoice draft is keyed by its agreement and month, and the first live run settled 1,154 of 1,154 agreements with 0 duplicate invoice numbers. Job creation claims each deal before it imports, and rotates its 24-hour keys every 8 hours, three chances in each key’s life. On the ERP project automation, each customer is keyed on the whole contact id, a key that refuses on overflow instead of truncating, collision-free across 6,025 contacts.
I hold writes to the books until they can prove themselves. The two-way ERP sync reads each record before writing it back whole, then reads the write back. The desktop accounting connector reconciles sales to the cent across 3,709 deals, and its write path is built but held: by September, all 67,448 of its completed operations were reads. In the job-costing app, a model may word an invoice line, but every amount comes from code, and nothing posts until a named person approves it.
History moves once, through a ledger that can undo it. The field-service rollout moved ten years of history out of an ERP the client was retiring; its 2,002 work orders landed with 0 failed writes in a fenced pipeline, so no old ticket could start a live field job.
Builds
Every build that touches the books
-
Quote-to-cash billing platform
Date: Sep 2026
Fact: 1,154 of 1,154 live agreements settled in the first billing run
Client: For a services company
Systems: NetSuite, Snowflake, dbt, Hex and AWS
Status: In production
-
Two-way ERP sync
Date: Aug 2026
Fact: 11,598 deals linked to the ERP
Client: For a commercial roofing contractor
Systems: Dataforma
Status: In production
-
Desktop accounting connector
Date: Jun 2026
Fact: Sales recognition reconciled to the cent across 3,709 deals
Client: For a residential roofing and solar contractor
Systems: QuickBooks Desktop
Status: In production
-
Two-way field-service sync
Date: Feb 2026
Fact: 11,683 deals and 8,182 tickets in a two-way sync
Client: For a commercial roofing service contractor
Systems: CenterPoint Connect, Zapier, QuickBooks Online and Make.com
Status: In production
-
ERP job creation
Date: Early 2026
Fact: 24-hour API keys rotated every 8 hours
Client: For a commercial roofing contractor
Systems: Deltek ComputerEase
Status: In production
-
ERP project automation
Date: Oct 2026
Fact: Customer key collision-free across 6,025 contacts
Client: For a residential roofing and exteriors contractor
Systems: Acumatica
Status: In production
-
QuickBooks job costing
Date: Aug 2026
Fact: On day one of a 3-day hackathon, an invoice posted through the approval gate
Client: For contractors on HubSpot (a hackathon build)
Systems: QuickBooks Online, Stripe and Claude
Status: Active
-
Field-service rollout
Date: Jul 2026
Fact: 4 job types, with up to 15 gated statuses and 131 checklist fields
Client: For a commercial roofing contractor
Systems: Zuper and Dataforma
Status: In production
-
Per-trade deal budgets
Date: Feb 2026
Fact: Revenue, material and labor budgets across 11 trades
Client: For a residential roofing and exteriors contractor
Systems: SumoQuote and Zuper
Status: In production
Systems
-
Acumatica
ERP
A budget update can answer 200 and change nothing, so budgets are read before they are written.
Used in ERP project automation.
-
Dataforma
Roofing ERP
No webhooks, and every update replaces the whole record.
Used in Two-way ERP sync and Field-service rollout.
-
Deltek ComputerEase
Construction accounting
Jobs go in as an XML import; API keys expire every 24 hours.
Used in ERP job creation.
-
NetSuite and SuiteScript
ERP
Invoice drafts are keyed by agreement and month, and a SuiteScript RESTlet delivers them.
Used in Quote-to-cash billing platform.
-
-
QuickBooks Desktop, qbXML and SOAP
Accounting
No cloud API: the connector speaks the Web Connector’s SOAP protocol in qbXML.
Used in Desktop accounting connector.
-
QuickBooks Online
Accounting
Bills bring job costs onto the deal.
Used in QuickBooks job costing and Two-way field-service sync.
-
-
Stripe
Payments
Checkout, the billing portal and signed webhooks, in test mode only.
Used in QuickBooks job costing.