ml-connector
Zoho BooksIBM Sterling

Zoho Books and IBM Sterling integration

Zoho Books records purchase orders and vendor invoices. IBM Sterling routes those orders as EDI documents to your supplier network. Connecting the two automates the flow from accounting approval into EDI submission, eliminating manual export and re-entry. Supply chain partners receive orders faster, and Zoho stays the source of truth for your AP data.

How Zoho Books works

Zoho Books exposes contacts, invoices, bills, purchase orders, and journal entries through a REST API with region-specific base URLs (US, EU, India, Australia, Japan, Canada, China, Saudi Arabia). Authentication uses OAuth2 Authorization Code flow with user-delegated refresh tokens; access tokens expire after 1 hour. Every call requires an organization_id query parameter to route to the correct tenant. Zoho Books supports outgoing webhooks for invoices, bills, purchase orders, and contacts, with HMAC signature verification, or polling via offset-based list endpoints with pagination. Rate limits are 100 requests per minute and daily limits vary by plan; exceeding returns HTTP 429.

How IBM Sterling works

IBM Sterling B2B Integrator is a customer-managed or hybrid-cloud platform (not SaaS) that manages EDI and non-EDI electronic transactions with trading partners. It exposes a REST API via an embedded WebSphere Liberty Profile server at a customer-configured host and port. Authentication uses HTTP Basic Auth or OAuth2 Client Credentials; mTLS may be required. The platform polls for new mailbox messages and extracts payloads via dedicated endpoints. Financial documents such as POs and invoices arrive as EDI payloads inside mailbox messages, not as queryable REST resources. The platform translates between ANSI X12, EDIFACT, and file-based protocols (SFTP, FTP, AS2, FTPS).

What moves between them

Purchase orders and vendor invoices flow from Zoho Books to IBM Sterling. When a purchase order is created or updated in Zoho Books, ml-connector reads the PO details including line items, vendor contact, and cost codes, transforms the data into ANSI X12 EDI format (850 for purchase orders, 810 for invoices), and submits the EDI document into IBM Sterling's mailbox. Mapping ensures Zoho contacts match IBM Sterling trading partner records. The flow is one-way from Zoho to IBM Sterling; invoices in Zoho Books can also be pushed as 810 EDI documents to notify suppliers of payment terms and amounts.

How ml-connector handles it

ml-connector stores Zoho OAuth2 credentials (client_id, client_secret, refresh token) and organization_id encrypted, and proactively refreshes the access token before expiry at the 55-minute mark to avoid 401 errors. On the Zoho side, it consumes webhook events for purchase orders and invoices where enabled, or polls the list endpoints if webhooks are not configured; it respects the 100-request-per-minute rate limit and backs off on HTTP 429. On the IBM Sterling side, ml-connector connects to the customer-managed host and port, authenticates with HTTP Basic Auth or OAuth2 (using the customer's local token endpoint), and submits transformed EDI documents to the mailbox REST endpoints. Line-item mapping aligns Zoho item codes to IBM Sterling trading partner item catalogs, and Zoho cost codes map to IBM Sterling GL codes for the outbound shipment. ml-connector tracks document IDs to prevent re-submission and maintains an audit log of every translation and submission.

A real-world example

A mid-sized appliance distributor manages vendor purchase orders and invoices in Zoho Books across three regional offices. Suppliers expect orders to arrive as ANSI X12 EDI 850 documents via a B2B gateway. Before the integration, the procurement team exported Zoho purchase orders weekly, converted them to EDI manually using a separate tool, and uploaded them to IBM Sterling for transmission. With Zoho Books and IBM Sterling connected, each new purchase order is automatically translated to EDI and delivered to the supplier within minutes of approval in Zoho. The supplier receives a cleaner order on time, and the procurement team no longer maintains a separate EDI toolchain.

What you can do

  • Automatically translate Zoho Books purchase orders into ANSI X12 EDI 850 documents and submit them to IBM Sterling mailboxes.
  • Sync Zoho vendor contacts and item catalogs with IBM Sterling trading partner records and item mappings.
  • Route purchase orders to the correct IBM Sterling instance (customer-managed host and port) via HTTP Basic Auth or OAuth2.
  • Handle Zoho OAuth2 token refresh before expiry and rate-limit backoff (100 requests per minute) to avoid throttling errors.
  • Maintain a full audit trail of every order translated, submitted, and acknowledged in both Zoho and IBM Sterling.

Questions

Does the integration support both Zoho webhooks and polling?
Yes. If Zoho webhooks are configured in your account via Settings > Automation > Webhooks, ml-connector consumes those push events in real time for faster submission to IBM Sterling. If webhooks are not available or preferred, ml-connector can poll the Zoho Books list endpoints on a schedule to detect new purchase orders and invoices. Both methods respect Zoho's 100-requests-per-minute rate limit.
How does ml-connector handle IBM Sterling's on-premises architecture?
IBM Sterling is customer-managed or hybrid-cloud, not a public SaaS service. You provide the host and port for your B2Bi instance, and ml-connector authenticates with HTTP Basic Auth or OAuth2 Client Credentials against your local installation. Depending on your infrastructure, you may need to allow network access from ml-connector to your IBM Sterling instance via VPN, IP allowlist, or DMZ exposure.
What EDI standards and documents does the integration support?
ml-connector translates Zoho Books purchase orders into ANSI X12 EDI 850 documents (purchase order), and Zoho invoices into EDI 810 documents (invoice/bill). IBM Sterling also supports EDIFACT and TRADACOMS, and file-based protocols such as SFTP, FTP, AS2, and FTPS for trading partner transmission. Mapping configuration determines which trading partners receive orders in which format.

Related integrations

Connect Zoho Books and IBM Sterling

Free to use. Add your credentials, ping your real systems, and see if we fit.

Get started