ml-connector
Sage IntacctIBM Sterling

Sage Intacct and IBM Sterling integration

Sage Intacct runs your accounting and ERP. IBM Sterling handles B2B document exchange and EDI routing to trading partners. Connecting the two keeps your vendor data and payment documentation synchronized across both systems. Vendors created in Sage Intacct are available for IBM Sterling trading partner setup, and AP bills staged in Sage Intacct route to IBM Sterling for EDI translation and partner delivery. ml-connector handles the different transports and the session refresh cycle so the sync happens reliably on a schedule you control.

How Sage Intacct works

Sage Intacct exposes vendors, AP bills, AP payments, GL accounts, and dimensions through a single XML gateway endpoint at https://api.intacct.com/ia/xml/xmlgw.phtml. All requests use XML over HTTPS POST. Authentication is session-based via senderId, senderPassword, companyId, userId, and userPassword. The initial getAPISession call exchanges partner and user credentials for a sessionid that caches for 50 minutes and refreshes automatically on next call. Sage Intacct does not push webhooks, so all data flows are polling-driven or manual. HTTP 200 responses may contain application-level errors inside the XML body, requiring parsing for errormessage tags and status codes.

How IBM Sterling works

IBM Sterling B2B Integrator is an on-premises or customer-managed cloud instance that manages the full lifecycle of EDI and non-EDI transactions. It exposes trading partners, mailbox messages, documents, workflows, schedules, and routing rules through a REST API at https://<b2bi-host>:<liberty-port>/B2BAPIs/svc/ where host and port are customer-configured. Authentication uses HTTP Basic Authentication (username and password over HTTPS) or OAuth 2.0 Client Credentials grant with a local token endpoint. IBM Sterling does not support outbound webhooks, so all data detection is polling-based via GET requests to the mailbox endpoint. Documents flow as payloads inside the platform, not as queryable REST resources, and are extracted via dedicated endpoints.

What moves between them

Vendor and bill records move from Sage Intacct into IBM Sterling. Sage Intacct vendors are polled on a schedule and posted into IBM Sterling as trading partner references, so EDI routing rules can target them. AP bills are extracted from Sage Intacct, formatted for EDI standards (ANSI X12 810 invoices or 850 purchase orders), and delivered to IBM Sterling mailboxes for translation and trading partner distribution. The sync is unidirectional, pull-only, on a cadence tied to your accounting period or payment cycle.

How ml-connector handles it

ml-connector maintains separate sessions for Sage Intacct (keyed on senderId, companyId, and userId) and refreshes the sessionid every 50 minutes before expiry, checking for errormessage tags in every HTTP 200 response. On the IBM Sterling side, it targets the customer-provided host and port, authenticates with the configured account (non-admin user required), and polls GET /B2BAPIs/svc/mailboxMessages/ every 1-5 minutes to detect new documents. Vendors are mapped to IBM Sterling trading partners, and AP bills are transformed into the EDI format required by each partner's routing rules (typically 810 invoice or 850 PO). Retried operations use Sage Intacct's uniqueid flag for server-side deduplication, preventing duplicate posting. Every record carries a full audit trail, and failed postings are queued for replay.

A real-world example

A mid-sized food distributor runs Sage Intacct for accounting and Intacct for vendor management, and uses IBM Sterling to distribute invoices and purchase orders to 200+ suppliers via EDI (ANSI X12). Before the integration, the accounting team exported vendor lists from Sage Intacct and manually entered them into IBM Sterling's trading partner configuration, then exported AP bills and re-formatted them into EDI 810 for posting to Sterling. Month-end took two extra days as the team chased discrepancies between the two systems and re-keyed vendor address changes. With Sage Intacct and IBM Sterling connected, vendors flow automatically into IBM Sterling, AP bills are translated and routed on a daily schedule, and manual data entry steps are eliminated. The accounting team now spends month-end on analysis instead of re-keying.

What you can do

  • Poll Sage Intacct vendors on a schedule and post them into IBM Sterling as trading partner records.
  • Extract AP bills from Sage Intacct and route them to IBM Sterling for EDI translation and trading partner delivery.
  • Manage Sage Intacct XML session refresh and error handling so the 50-minute session timeout does not interrupt the sync.
  • Poll IBM Sterling mailboxes on a customer-configured schedule and extract EDI documents for downstream processing.
  • Maintain a full audit trail of every vendor, bill, and routing record with replay capability for failed postings.

Questions

Which direction do records move between Sage Intacct and IBM Sterling?
Vendors and AP bills move from Sage Intacct into IBM Sterling. Vendors are posted as trading partner references, and bills are translated into EDI format (typically 810 invoices or 850 purchase orders) for routing to suppliers. The flow is one-directional, pull-only, on a schedule you control.
How does ml-connector handle Sage Intacct's 50-minute session timeout?
ml-connector caches the sessionid after the initial getAPISession call and refreshes it before the 50-minute expiry window on the next operation. Session state is keyed on senderId, companyId, and userId, so multiple companies or users are isolated in-process. Refreshes are transparent to the flow runner.
What is required to connect to a customer's IBM Sterling instance?
IBM Sterling is on-premises or customer-managed cloud only, so the customer must provide the B2Bi host, port, and network access (VPN or DMZ). The credential must be a non-admin user account. ml-connector polls the REST API every 1-5 minutes and extracts documents via dedicated endpoints, requiring no outbound webhooks from IBM Sterling.

Related integrations

Connect Sage Intacct and IBM Sterling

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

Get started