Please wait...
projx digital

KNOWLEDGE BASE

How to Build a Custom E-Commerce Infrastructure Fully Integrated with Logistics and Accounting Software?

Why Should Integration Be Designed from the Start, Not Later?

The most common mistake in e-commerce projects is the "let’s build the site first and add integrations later" approach. But logistics and accounting integration is deeply connected to the site’s data model and workflow design. Adding it later is both costly and risky.

The Order Lifecycle and Integration Map

An e-commerce order is a chain of events that triggers different systems. Every link in this chain must work automatically and reliably:

  • Customer places an order → The e-commerce system records the order
  • Payment confirmation → The payment gateway (iyzico, Stripe) triggers a webhook
  • Order confirmation → The logistics system creates a shipping request
  • Shipment registration → The tracking number is sent to the customer
  • Shipment dispatch → The accounting system records the invoice
  • Delivery confirmation → The order status is updated to "completed"
  • Return request → Reverse operation across all systems

Logistics Integration: Connecting with Shipping Companies

API integrations with common shipping companies (Yurtiçi, MNG, PTT, Aras, Sürat in Turkey) automate the shipping request, tracking number, and label generation as soon as an order is created.

Logistics Integration Scope

  • Shipping request API: Automatic shipment creation on order confirmation
  • Tracking query: Real-time tracking status for the customer
  • Label printing: Direct shipping-label generation in the warehouse
  • Return management: Reverse logistics workflow
  • Multi-carrier selection: Automatic carrier choice by weight/size/destination

Accounting Integration: Financial Automation

Each order generates one or more records in the accounting system. Eliminating manual entry lowers both the risk of error and the labor cost.

Accounting Integration Scope

  • Automatic invoicing: Triggering an e-invoice/e-archive on order confirmation
  • Current account management: Customer-based receivable/payable records
  • Return accounting: Credit note and return-invoice automation
  • VAT and tax calculation: Automatic tax for different product categories
  • ERP synchronization: Two-way with systems such as Logo, Netsis, SAP, Mikro

AI Perspective: 2026–2030

AI-powered integration platforms (iPaaS) offer the ability to configure API connections without writing code. But in enterprise e-commerce projects, the complexity of the business logic pushes the limits of no-code solutions, making a fully controlled custom integration the strong choice.

FREQUENTLY ASKED QUESTIONS

If there is no API, middleware or screen scraping can be a temporary solution, but it is fragile. In the long term, migrating to a system that offers an API or requesting API access from the provider is recommended.

It can be done via a GİB integration company (Paraşüt, Logo, Mikro, etc.) or through direct GİB API integration. UBL-TR format compliance and technical certification are required.

Through a developed abstraction layer, theoretically an unlimited number of shipping companies can be supported. Starting with 2–3 companies and expanding during the growth period is recommended.

A retry mechanism, a dead-letter queue, and an alert system for the operations team make integration failure manageable. For critical integrations, the circuit breaker pattern is applied.

International payment (Stripe, PayPal), international shipping (DHL, UPS API), multi-currency, and multi-tax-regime management are required.

Key Takeaways

  • Integration is not a feature added later to an e-commerce project, but an architecture designed from the start.
  • An order-lifecycle map clarifies every integration point.
  • Logistics integration automates the shipping request; accounting integration automates the invoicing process.
  • Error handling and a retry mechanism ensure integration reliability in a production environment.
  • GİB e-invoice integration is a legal requirement in Turkey and requires technical certification.
Content Owner: Projx Digital
ASK A QUESTION NOW
projx digital