Table of Contents
Why Integration Matters for Trade Platforms
A trade management platform (TMP) sits at the intersection of procurement, logistics, compliance, and finance. Its value explodes when it shares a single source of truth with the ERP — otherwise you get dual entry, drift, and reconciliation nightmares.
Key integration flows:
- Master Data: Suppliers, customers, items, BOMs, pricing, charts of accounts, tax codes
- Transactional: Purchase orders, goods receipts, invoices, payments, credit memos
- Operational: Shipments, containers, customs entries, warehouse receipts
- Analytical: Spend, landed cost, supplier performance, inventory positions
Pattern 1: REST API (Point-to-Point)
The most common modern approach. Direct HTTP calls between TMP and ERP.
How It Works
- TMP exposes OpenAPI 3.0 spec; ERP consumes (or vice versa)
- OAuth 2.0 / mTLS / API key authentication
- Webhooks for real-time push (PO created, GR posted, entry filed)
- Batch endpoints for bulk sync (initial load, nightly reconciliation)
Pros
- Native to modern ERP (S/4HANA, NetSuite, D365, Acumatica, Odoo)
- Low latency (< 200ms round-trip typical)
- Rich data structures (JSON), easy debugging, versioned contracts
Cons
- Point-to-point sprawl: N systems → N² integrations
- No built-in transformation, routing, or protocol mediation
- ERP API rate limits can throttle high-volume sync
Best For
Greenfield implementations, modern ERP stacks, real-time requirements, bi-directional sync.
Pattern 2: GraphQL (Flexible Query)
Emerging alternative for complex, variable data needs — especially when the TMP needs selective ERP data without over-fetching.
How It Works
- Single endpoint, schema-driven queries
- Client specifies exactly what fields needed
- Subscriptions for real-time updates
- Federation support for multi-ERP landscapes
Pros
- Eliminates over-fetching (mobile/portal use cases)
- Strong typing, introspection, backward-compatible evolution
- Single request = multiple ERP entities joined
Cons
- ERP GraphQL support limited (S/4HANA Cloud yes, others via add-ons)
- Complexity: N+1 query problem, authorization at field level
- Caching strategy harder than REST
Best For
Portal/mobile frontends, multi-ERP landscapes, complex master data queries with variable projections.
Pattern 3: EDI (X12 / EDIFACT)
The workhorse of supply chain integration since the 1980s. Still mandatory for many large retailers, OEMs, and logistics partners.
How It Works
- Standard transaction sets: 850 (PO), 855 (PO Ack), 856 (ASN), 810 (Invoice), 997 (FA), 820 (Remittance)
- Transport: AS2 (HTTPS), SFTP, VAN (Value Added Network)
- Translator/Map required: ERP internal format ↔ EDI standard
- Batch-oriented (typically hourly/daily), not real-time
Pros
- Universal standard — works with any partner regardless of ERP
- Legally recognized for commerce (UCC Article 2, UNCITRAL)
- Robust error handling (functional acknowledgments, chargebacks)
Cons
- High implementation cost: mapping, testing, partner onboarding (8-12 weeks per partner)
- Latency: batch cycles mean hours/days delay
- Specialized skill set; hard to find talent
Best For
High-volume transactional partners, mandated by customer/supplier, automotive/retail/CPG supply chains.
Pattern 4: iPaaS / Integration Platform (MuleSoft, Boomi, Celigo, Workato, Azure Logic Apps)
The "integration layer" approach. Decouples applications, centralizes logic.
How It Works
- Connectors (pre-built) for ERP, TMP, CRM, databases, file systems
- Visual flow designer: transform, route, enrich, error handle
- Managed runtime, monitoring, alerting, versioning
- Can expose APIs, consume webhooks, process EDI, run schedules
Pros
- Reduces point-to-point: N systems → N integrations to hub
- Pre-built ERP connectors accelerate time-to-value
- Non-technical users can maintain flows (low-code)
- Centralized observability & governance
Cons
- License cost: $50K-$500K+/year depending on volume/connectors
- Latency added: extra hop (50-200ms per flow step)
- Vendor lock-in; proprietary flow formats
Best For
Complex multi-system landscapes, heterogeneous protocols, need for central governance, limited internal integration dev resources.
Pattern 5: Event-Driven / Message Queue (Kafka, RabbitMQ, Azure Service Bus, AWS SQS/SNS)
Asynchronous, resilient, scalable. The backbone of modern event-driven architecture.
How It Works
- Systems publish domain events (OrderCreated, ShipmentDispatched, InvoicePosted)
- Consumers subscribe; process at their own pace
- Guaranteed delivery (at-least-once / exactly-once)
- Replay capability for rebuild/reprocessing
Pros
- Complete decoupling — producer doesn't know consumers
- Handles traffic spikes naturally (buffer in queue)
- Supports CQRS / Event Sourcing patterns
- Audit log by default (event store)
Cons
- Operational complexity: cluster management, monitoring, schema registry
- Eventual consistency — not for synchronous UI needs
- Requires event schema governance (Avro/Protobuf + Schema Registry)
Best For
High-volume event streams, microservices architectures, audit/replay requirements, multi-region deployments.
Comparison Matrix: Choosing the Right Pattern
| Criterion | REST API | GraphQL | EDI | iPaaS | Event-Driven |
|---|---|---|---|---|---|
| Latency | Low (sync) | Low (sync) | High (batch) | Medium | Low (async) |
| Implementation Effort | Medium | Medium-High | High | Low-Medium | High |
| Ongoing Maintenance | Medium | Medium | Low (stable) | Low (managed) | High |
| Transformation/Routing | Manual | Manual | Built-in (maps) | Visual (strong) | Manual/Streams |
| Partner Onboarding | Fast | Fast | Slow (weeks) | Fast (connectors) | Medium |
| Audit/Replay | Manual logs | Manual logs | Functional ACK | Built-in | Native (event store) |
| Cost (License/Infra) | Low | Low | Medium (VAN) | High | Medium |
Real-World Pattern: Hybrid Approach
Most enterprises don't pick one. A typical GlobalTradePro customer uses:
- REST API: Real-time PO push to ERP, GR pull, master data sync
- EDI (AS2): High-volume suppliers/customers who mandate it
- iPaaS (Celigo/Boomi): Finance sync (AP/AR), CRM bi-directional, legacy system bridging
- Event Bus (Kafka): Audit trail, analytics pipeline, cross-region replication
Core Data Flows: What Actually Moves
| Flow | Direction | Frequency | Pattern | Key Fields |
|---|---|---|---|---|
| Supplier Master | ERP → TMP | Near-real-time | REST / iPaaS | ID, name, address, tax ID, banking, certifications, risk tier |
| Item Master | ERP → TMP | Daily / on-change | REST / iPaaS | SKU, description, HS code, UoM, weight, dims, BOM ref |
| Purchase Order | TMP → ERP | Event-driven | REST / Event | PO header + lines, Incoterm, payment terms, attachments |
| PO Acknowledgment | ERP → TMP | Event-driven | REST / Event | Confirmed dates, qty, price changes, exceptions |
| Goods Receipt | ERP → TMP | Event-driven | REST / Event | GRN, qty received, quality status, lot/serial |
| Invoice / AP | ERP ↔ TMP | Near-real-time | REST / iPaaS | Invoice header + lines, PO reference, tax, payment terms |
| Shipment / Container | TMP → ERP | Event-driven | REST / Event | Container #, vessel, voyage, ETA, docs status |
| Customs Entry | TMP → ERP | Event-driven | REST / Event | Entry #, duty/tax paid, release status, PGA flags |
| Landed Cost | TMP → ERP | Per shipment | REST / iPaaS | Per-SKU allocated cost, variance vs. standard |
Integrate GlobalTradePro with Your ERP
Pre-built connectors for SAP S/4HANA, Oracle NetSuite, Microsoft D365, Infor, Epicor, Odoo, Acumatica + REST API, GraphQL, EDI, and iPaaS support.
View Integration Options