Project Project

HD Photo Hub → Zoho BooksSync

Live Payment-to-Invoice Integration and Revenue Backfill

← Back to Projects
HD Photo Hub REST APIZoho Flow + DelugeZoho Books APIPythonClaude Code

Overview

Payment to Zoho Books in one flow: HD Photo Hub webhook → Zoho Flow → Deluge function → customer, invoice and payment in Books.
Payment to Zoho Books in one flow: HD Photo Hub webhook → Zoho Flow → Deluge function → customer, invoice and payment in Books.

An integration for LEKKER Studios (Lekker HD Pics, real estate photography in New Jersey) that connects the booking and payment platform, HD Photo Hub, to the accounting system, Zoho Books. Every paid order now becomes a customer, an invoice and a payment in Books automatically, and 16 months of history were reconciled and backfilled first.

Problem Solved

The two systems had never been connected. Books held 588 hand-typed invoices that lagged orders by a median of 12 days, the native CRM connector had stalled, and about half the revenue never reached the books.

Solution

Audited both systems from their APIs and pulled all 1,568 orders and 1,123 sites (the pull script rewritten from 18 to 267 records a minute). Backfilled 292 customers and 422 invoices through staged CSVs. Built the live sync as a two-node Zoho Flow: an HD Photo Hub payment webhook triggers a Deluge function that fetches the order and site, finds or creates the Books customer by email, creates invoice HDPH-<order id> (the guard against duplicate webhook fires) and records the payment. A tax gate holds taxed orders until the accountant confirms the rate. Ten SOPs cover health checks, changes, testing, imports, reconciliation and ten real failure cases.

Tech Stack

  • HD Photo Hub REST API: Orders, sites, payments and the payment webhook
  • Zoho Flow + Deluge: Webhook trigger and the sync function
  • Zoho Books API: Customers, invoices with fixed numbering, payments, tax flags
  • Python: Parallel pulls, reconciliation, CSV staging and dedupe
  • Claude Code: Audit scripts, function drafting and the ten SOPs

Key Features

  • 292 customers backfilled (Books went from 5,238 to 5,530 contacts)
  • 422 invoices imported worth $222,122.05, an exact match to the approved order set
  • 1,568 orders reconciled against Books with zero orphans
  • Payment to Books in under one second instead of a median 12 days
  • Sales tax mismatch found (6.75% charged vs the 6.625% NJ rate) and flagged to the accountant
  • $11,977.24 of outstanding receivables surfaced; 79 dormant repeat clients worth $227,790.80 identified

Impact

The books now match the booking platform to the cent, new revenue posts itself in real time, and the owner’s team runs the sync from the SOPs without a developer. Live since 14 August 2026; backfill completed 8 September 2026.

Book a Free 30-Min Discovery Call

Want something like this for your business? The discovery call is free and takes 30 minutes.