KNOWLEDGE BASE
How to Build a Custom E-Commerce Infrastructure Fully Integrated with Logistics and Accounting Software?
Table of Contents — English
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
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.