ml-connector
QuickBooks DesktopTrueCommerce

QuickBooks Desktop and TrueCommerce integration

QuickBooks Desktop runs accounting and procurement for small to mid-sized businesses on Windows, while TrueCommerce handles EDI and supply chain connectivity to trading partners. Connecting the two keeps procurement and vendor records in sync across both systems. Purchase orders created in QuickBooks Desktop flow to TrueCommerce for transmission to suppliers via EDI, while purchase order acknowledgments and advance ship notices come back from TrueCommerce and post into QuickBooks Desktop as receipts and vendor invoices. ml-connector manages the polling, file formats, and version control so your accounting and supply chain stay in agreement.

How QuickBooks Desktop works

QuickBooks Desktop is a Windows-installed accounting application that exposes vendors, bills, purchase orders, invoices, items, accounts, and employees through SOAP-based QBXML over HTTPS. Integration requires a customer-hosted QBWC (QuickBooks Web Connector) agent that polls your SOAP endpoint on a configurable interval. Authentication uses a session-token handshake where QBWC provides credentials and receives a session GUID for subsequent calls. QuickBooks must remain open on the Windows machine, and queries detect changes via ModifiedDateRangeFilter. Payroll data requires a separate QuickBooks Payroll subscription.

How TrueCommerce works

TrueCommerce is a managed EDI and supply chain Value-Added Network that connects businesses to trading partners via X12 and EDIFACT standards, SFTP file exchange, and REST APIs. Credentials are provisioned by TrueCommerce during account setup, typically an SFTP username and password to integrationftp.truecommerce.com, or an API key for managed Exchange API connectivity. The platform operates on a polling model with scheduled import/export jobs running hourly or daily, and supports EDI functional acknowledgments (997) for deduplication via ISA control numbers. File naming and paths are customer-specific and configured during onboarding.

What moves between them

Purchase orders created in QuickBooks Desktop are read via QBWC polling and forwarded to TrueCommerce for EDI transmission to suppliers. Purchase order acknowledgments and advance ship notices arrive at TrueCommerce from trading partners, are retrieved from its SFTP folder, parsed into EDI format, and written back into QuickBooks Desktop as items received and vendor invoices. The flow is primarily from QuickBooks Desktop outbound to suppliers via TrueCommerce, and from TrueCommerce inbound to QuickBooks Desktop. The cadence is tied to your polling interval and QuickBooks Desktop availability.

How ml-connector handles it

ml-connector maintains a persistent SOAP session with QuickBooks Desktop via the QBWC polling model, requesting modified vendors, purchase orders, and bills on each poll. Before writing changes back, it retrieves the current EditSequence version counter to prevent concurrent-edit conflicts. Outbound purchase orders are formatted into TrueCommerce-compatible file layouts and written to the SFTP folder at integrationftp.truecommerce.com. Inbound EDI documents such as purchase order acknowledgments (855) and advance ship notices (856) are retrieved from TrueCommerce SFTP, parsed to extract line-item detail and ASN dates, and written into QuickBooks Desktop as item receipts and vendor invoice records. QBXML has a 60-second request timeout, so large purchase order or receipt batches are paginated. EditSequence counters prevent stale updates; each write re-fetches the current version. Every transaction is logged with full direction, field mappings, and error details for audit and replay.

A real-world example

A regional distributor uses QuickBooks Desktop to manage accounts payable and inventory, and connects to suppliers via TrueCommerce EDI. Before the integration, the procurement team manually re-keyed purchase orders from QuickBooks Desktop into TrueCommerce portal forms, and transcribed incoming EDI acknowledgments and receipts back into QuickBooks Desktop. With QuickBooks Desktop and TrueCommerce connected, each new purchase order in QuickBooks Desktop automatically flows to suppliers via EDI, and receipt and invoice documents from suppliers come back through TrueCommerce and post into QuickBooks Desktop. The manual re-entry step is eliminated, supplier acknowledgments appear in the accounts payable register on time, and the distributor avoids duplicate orders and missed receipts.

What you can do

  • Sync purchase orders from QuickBooks Desktop to TrueCommerce for EDI transmission to suppliers, with automatic order numbering and line-item detail.
  • Retrieve purchase order acknowledgments and advance ship notices from TrueCommerce EDI documents and write them into QuickBooks Desktop as item receipts.
  • Manage QBWC session authentication via credential handshake and maintain EditSequence version counters on every update to prevent conflicts.
  • Handle QBXML pagination for large batches and respect the 60-second timeout by splitting requests into manageable queries.
  • Provide a complete audit trail on every purchase order, receipt, and vendor record with timestamps, field mappings, and error replay capability.

Questions

How does ml-connector handle the QBWC polling model if QuickBooks Desktop must remain open and running?
ml-connector acts as the remote SOAP endpoint that QBWC polls on your specified interval. Your customer's QBWC agent, configured with your ml-connector endpoint URL, runs on the Windows machine alongside QuickBooks Desktop and calls your service periodically to request changes. ml-connector returns QBXML queries for the agent to execute against the open QuickBooks file. The customer remains responsible for keeping QuickBooks Desktop open and logged into the company file.
What happens if a purchase order is edited in QuickBooks Desktop after ml-connector has already sent it to TrueCommerce?
ml-connector retrieves the current EditSequence version counter before writing any update back into QuickBooks Desktop. If the record has been modified since the last sync, the EditSequence will not match, and the write is rejected. ml-connector logs this conflict, flags it in the audit trail, and requires manual review or a re-fetch and re-apply of the change. This prevents stale data from overwriting newer changes.
How are vendor and line-item details preserved when a purchase order moves from QuickBooks Desktop through TrueCommerce EDI to a supplier?
ml-connector reads the full purchase order structure from QuickBooks Desktop, including vendor name, items, quantities, unit prices, and delivery dates. It maps those fields to the TrueCommerce file format (typically X12 850 purchase order EDI structure), preserving vendor references and line-item detail. When acknowledgments and receipts return from suppliers via TrueCommerce EDI, ml-connector parses them and maps them back to QuickBooks Desktop item IDs and quantity received fields.

Related integrations

Connect QuickBooks Desktop and TrueCommerce

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

Get started