Matthew Jeter M. Ziemba

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.

9 builds and 7 systems

Keyed on the way in, reconciled on the way out

Keys and journalIntegration serviceVercel, or code in HubSpotThe ERP or accounting fileSigned deals and approvalsHubSpotCustomers, jobs, invoicesCosts, status, historyFigures on the dealKeys, claims, journalKeyed to its sourceWrites off until armedA named person approvesChecked against the booksJournaled, reversible loads JournalIntegrationThe booksaHubSpotbcde
  1. HubSpot: Deals, agreements and job-cost fields, where the work is sold and approved.
  2. Keys and journal: The key of every write, the claim on every deal and the journal of each load.
  3. Integration service: Runs each write to the books and each read back from them.
  4. The ERP or accounting file: Customers, jobs, invoices and job costs.
  5. 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.
  6. 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.
  7. 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.
  8. 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.
  9. 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.
  10. 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.
  11. 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.
  12. 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.
  13. 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.
  14. 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
Drawn from Quote-to-cash billing platform, Two-way ERP sync, ERP job creation, Desktop accounting connector, ERP project automation, QuickBooks job costing 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

  1. 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

  2. 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

  3. 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

  4. 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

  5. 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

  6. 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

  7. 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

  8. 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

  9. 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