New

Odisey — our 30+ module microservice library is now live.

Explore Odisey
Back to Blog
EngineeringFebruary 15, 2025

Global Trade Marketplaces: The B2B Complexity Nobody Talks About

ExporterGo processes cross-border B2B trade across 40+ countries. Here's the regulatory and technical complexity we solved.

Salesvex Engineering

Engineering Team

9 min read

E
Listen to Article

B2B commerce platforms get written about in terms of scale: billions of GMV, millions of SKUs, thousands of suppliers. What rarely gets written about is the regulatory complexity that sits underneath those numbers — the part that, if you get it wrong, can halt every transaction on your platform overnight.

ExporterGo processes cross-border B2B trade across more than 40 countries. This is what we learned about building the infrastructure that makes it possible.

The Regulatory Layer Is Not Optional

In B2C e-commerce, a company can launch in a new country by adding local payment methods and translating the UI. In B2B cross-border trade, entering a new corridor — a new buyer-seller country pair — requires legal compliance work that takes weeks to months and touches nearly every system on the platform.

Consider a transaction between a manufacturer in Turkey and a buyer in Germany:

  • The transaction may require an export license depending on product category
  • It must comply with Turkish export control regulations AND EU import regulations
  • VAT treatment depends on buyer registration status in both jurisdictions
  • Payment must comply with Turkish Central Bank foreign exchange regulations
  • The invoice must meet both Turkish e-invoice requirements and German accounting standards
  • Customs documentation must be generated in the correct format for both countries

None of this is optional. Get any of it wrong and the transaction fails — or worse, succeeds but creates a regulatory liability for the buyer or seller.

We built a Compliance Graph — a service that, given a buyer country, seller country, product category, and transaction value, returns all applicable regulatory requirements and generates the necessary compliance documentation. The graph has 847 country-pair-category combinations encoded and grows with every new corridor we add.

The Document Generation Challenge

B2B cross-border trade runs on documents. Commercial invoices, packing lists, certificates of origin, export declarations, letters of credit, bills of lading. The specific format, required fields, and submission method for each document varies by country and by the parties involved.

We encode document templates as structured schemas with country-specific validation rules. When a transaction completes, the document generation service assembles all required documents from the transaction record, validates each against its country-specific schema, and packages them for delivery.

The challenge isn't generating the documents — it's knowing which documents are required. We maintain a requirement matrix: for every country-pair and product category, we specify which documents are mandatory, which are conditional (required only if the transaction value exceeds a threshold, or if the product falls in a regulated category), and which are optional.

This matrix took eight months to build across our first 12 country corridors. It's never finished — regulations change, new requirements are introduced, trade agreements modify existing rules. We have a dedicated compliance team whose primary job is keeping the matrix current.

Payment Complexity: Beyond Multi-Currency

Handling multiple currencies is a solved problem. Handling cross-border B2B payment complexity is not.

B2B payments involve longer settlement cycles, credit terms, and payment methods that don't exist in B2C. Net-30, net-60, and net-90 payment terms are standard in wholesale and manufacturing trade. Letters of credit — where a bank guarantees payment upon delivery — are common for high-value or high-risk transactions.

We built payment processing around a flexible payment term model rather than a single checkout flow.

Each order in ExporterGo has a payment structure definition: payment method, term length, milestone triggers, and currency. A transaction might specify 30% payment on order confirmation, 70% on delivery confirmation, with payment via wire transfer and a 45-day net term on the second installment.

The payment engine processes this structure, generates payment schedules, sends reminders, handles partial payments, and manages disputes — all within the same system that also handles simpler immediate-payment transactions.

One design decision that saved significant complexity: we treat credit terms as financial instruments, not as UI features. A net-60 term isn't a setting on an invoice — it's a receivable asset with a maturity date, stored and processed like any other financial obligation. This allows the same accounting and reporting infrastructure to handle all payment types consistently.

The Identity Problem in B2B

In B2C, verifying a customer means verifying a person. In B2B, verifying a customer means verifying a legal entity — and the complexity multiplies.

A company buying on ExporterGo might operate under different legal names in different jurisdictions, have subsidiaries making purchases on behalf of a parent, require purchase order approval workflows involving multiple individuals, and need tax exemption certificates filed differently in each country where they buy.

Our B2B identity model has three layers:

Legal Entity: The registered company — verified against government business registries, sanctions lists, and credit databases. This is the billing and compliance layer.

Account: The operational identity — the login, user management, and purchase history. One legal entity can have multiple accounts (different subsidiaries, different departments).

Authorization Profiles: Who within an account can do what. Purchase approval workflows, spending limits by category, restricted product categories — all configurable per account.

Linking these layers correctly is the difference between a smooth buyer experience and a support nightmare. A purchase order submitted by a buyer's procurement team in one country, approved by their finance team in another country, billed to the parent entity in a third country — this is routine in large enterprise B2B and requires all three layers to be correctly linked.

Pricing: The Complexity of B2B Negotiation

B2B pricing is not like B2C pricing. Most large buyers don't pay list price. They have negotiated rates, volume tiers, category-specific discounts, and contract pricing that may differ from the public catalog price.

ExporterGo implements a pricing contract model: each buyer-seller relationship can have a negotiated price schedule that overrides catalog pricing. When a buyer searches for products from a seller they have a contract with, they see their contract price, not the public price.

The contract model supports:

  • Fixed prices for specific SKUs
  • Percentage discounts off catalog price
  • Tiered pricing based on order volume
  • Time-limited promotional pricing within a contract
  • Currency lock-in at contract rate (buyer and seller agree to a fixed exchange rate for contract duration)

Currency lock-in was one of our most requested features from buyers and sellers in volatile currency corridors. A Turkish manufacturer and a European buyer can agree that all transactions under their contract will be denominated in EUR at today's rate, giving both parties cost predictability.

The Infrastructure Reality

Running a global trade platform means running 24 hours a day in every time zone, with trading partners on different regulatory and banking schedules. The Istanbul Stock Exchange closes at different hours than the Frankfurt Stock Exchange. Customs offices process declarations during business hours in their local time zone. Banking systems have maintenance windows.

Our operational model accounts for all of this:

  • Time-zone aware scheduling: Compliance submissions, payment processing, and customs filing are scheduled to hit the appropriate windows in each country
  • Graceful degradation by corridor: If a banking system in one country has an outage, only transactions involving that country are affected — other corridors continue normally
  • Regulatory monitoring: Automated monitoring of government announcement feeds for regulatory changes that could affect our compliance matrix

Current Scale

ExporterGo today:

  • 40+ active trade corridors
  • $2.1B in GMV processed (trailing 12 months)
  • 847 country-pair-category regulatory combinations
  • 23 document types generated automatically
  • Sub-second compliance determination for 94% of transactions
  • 0 regulatory compliance failures resulting in halted transactions
B2BGlobal TradeCompliance

Try Salesvex

Explore the Salesvex enterprise software platform for free.