LeafhavenDocs
System Architecture

Canonical Product Architecture & Exporter Trade UX

Canonical PDP (/commodity/[slug]), Container Packing Advisor, Dual-Track Sample/FCL Conversion, and Exporter OS

Canonical Product Architecture & Exporter Trade UX

Core Philosophy: International commodity trade is fraught with immense friction—Incoterms 2020 ambiguities, maritime freight calculation errors, laboratory compliance hurdles, and high financial stakes ($30,000+ per container). B2BExpo abstracts this extreme backend complexity into a serene, reliable, and transparent front-end experience. The user enjoys simple, decisive clarity while the underlying engine orchestrates rigorous trade mechanics.


1. The B2B Trade UX Challenge & B2BExpo Paradigm

The Fatal Flaws of Legacy Export Portals

  1. The B2C Copycat Trap: Forcing bulk commodity buyers (who buy 20 to 100 metric tons) into an e-commerce shopping cart, creating friction and destroying institutional trust.
  2. The Cluttered ERP Trap: Forcing buyers into unstyled, intimidating 40-field quote requests with zero real-time pricing guidance, no volumetric CBM calculation, and opaque shipping estimates.
  3. The Sample Deadlock: Foreign institutional roasters and importers refuse to sign container contracts without laboratory testing, yet exporters struggle with sample fulfillment, customs declarations, and air freight tracking.

The B2BExpo Dual-Track Architecture

B2BExpo resolves this dilemma with Parallel Conversion Tracks:

                         [ Global Buyer on Canonical PDP ]
                                         │
                 ┌───────────────────────┴───────────────────────┐
                 ▼                                               ▼
     [ Track A: Fast Trust ]                       [ Track B: Institutional Scale ]
     Sample Uji Lab ($150 Air Express)             Full Container RFQ (FCL / Ocean Freight)
     • 500g certified vacuum batch                 • 18 - 54 Metric Tons (20ft / 40ft HC)
     • DHL / FedEx tracking AWB                    • Incoterms 2020 (FOB Priok, CIF Hamburg)
     • 100% Voucher Rebate on FCL Order            • 30/70 Escrow Milestone Schedule
                 │                                               │
                 └───────────────────────┬───────────────────────┘
                                         ▼
                         [ Twenty CRM Outbox Event ]
                     (Auto-creates Company, Lead & Deal)

2. Canonical PDP Specifications (/commodity/[slug])

The Canonical Product Detail Page (/commodity/sumatra-mandheling-g1) is engineered around four core trade sections:

A. Real-Time Pricing & Specifications Bar

  • FOB Spot Reference: Real-time indicative price per metric ton (e.g., $1,850/MT FOB Tanjung Priok).
  • MOQ & Capacity: Minimum order quantity clearly established (18 MT = 1x 20ft FCL) with monthly supply capacity (e.g., 250 MT/month).
  • Harmonized System (HS) Code: Pre-verified international customs classification (e.g., HS 0901.11 for unroasted Arabica coffee).
  • Delivery Lead Time: Turnaround timeline from order confirmation and Phytosanitary inspection to port loading (14–21 days).

B. Verified Quality & Compliance Passport

Institutional commodity buyers require verifiable proof of quality before issuing purchase orders:

  • Laboratory Certificate of Analysis (COA): Independent lab metrics displayed with clear badges (Moisture: 12.1%, Defect Grade 1: Max 11/300g, Screen Size 16-18: 91%).
  • EUDR Deforestation Traceability: EU Deforestation Regulation compliance with GPS polygon data and geolocation coordinates.
  • Regulatory Clearances: Phytosanitary Inspection, FDA Food Facility Prior Notice, Halal, and Organic certifications available for 1-click inspection.

C. Container Packing Advisor (Real-Time CBM / MT Math)

Commodities have distinct physical densities. Jute bags of coffee beans differ dramatically from coconut briquettes or desiccated coconut. The Container Packing Advisor prevents under-utilized freight:

Parameter20ft Standard FCL40ft High Cube (HC)
Max Volumetric Capacity~33.2 CBM~76.2 CBM
Max Payload Weight~21.5 Metric Tons~26.5 Metric Tons
Coffee Bean Pallet Capacity10 Pallets (300 bags @ 60kg = 18 MT)20 Pallets (440 bags @ 60kg = 26.4 MT)
Floor Loading Capacity320 bags (19.2 MT)450 bags (27.0 MT)
Volume Utilization~92% Optimal~98% Optimal

The PDP calculates volume saturation in real-time, giving buyers immediate confidence that their freight investment is fully maximized.


3. Dual-Track Conversion Mechanics

Track A: Commercial Sample Checkout (/sample/checkout)

  1. Fixed Evaluation Price: Standardized at $150 USD covering 500g–1kg vacuum-sealed batch, laboratory COA report, export phytosanitary clearance, and DHL/FedEx Express international air courier.
  2. Instant Credit Card / Stripe Checkout: Zero sales call friction. Buyer inputs shipping address and receives immediate payment confirmation.
  3. Automated Container Rebate Voucher:
    • The engine generates a unique rebate code (e.g., VOUCHER-SAMPLE-SUMATRA-8419).
    • If the buyer converts to a full container (FCL) contract within 90 days, the full $150 sample fee is credited against their final commercial invoice.
  4. CRM Sync: Registers contact and company in Twenty CRM with status Sample Dispatched.

Track B: Institutional Container RFQ Modal

  1. Interactive Container Builder:
    • Container Size: 20ft Standard FCL (18–21 MT) or 40ft High Cube (26–54 MT).
    • IncoTerm 2020: FOB Tanjung Priok, CFR, or CIF Port of Destination.
    • Payment Terms: 30% Down Payment / 70% against Bill of Lading (B/L) copy, or Irrevocable Confirmed L/C at Sight.
  2. Real-Time Financial Estimation:
    • Automatic calculation of subtotal, sea freight buffer, and escrow stage distribution (30% initial escrow lock: $16,650, 70% shipping milestone: $38,850).
  3. One-Click Proforma & CRM Opportunity Creation:
    • Dispatches a GraphQL mutation to Twenty CRM creating an Opportunity linked to the buyer's Company with deal stage RFQ Submitted.

4. Exporter OS Console (/seller)

The Exporter OS console provides Indonesian suppliers with institutional-grade management tools without ERP clutter:

  • 1-Click Lot Wizard: Exporters register harvest batches, specify moisture and defect percentages, and auto-generate compliance barcodes.
  • Sample Order Tracker: Real-time view of air express shipments, recipient roasters, and DHL/FedEx tracking statuses.
  • Twenty CRM Outbox Telemetry: Real-time view of the Transactional Outbox, demonstrating lead synchronization, opportunity values, and CRM webhook health.
  • Container Allocation Manager: Real-time tracking of active FOB/CIF orders across Tanjung Priok, Tanjung Perak, and Belawan ports.