Imerex ERPNext Accounting, ZATCA Phase 2 & Cargo Integration — Case Study

Overview

Imerex / Imerex Cargo

Imerex is a cargo, freight forwarding, and delivery service provider operating in Saudi Arabia. Public listings describe Imerex Forwarders as a service provider for air cargo, sea cargo, door-to-door service, free pickup, and cargo handling services in Riyadh, Saudi Arabia. The Imerex Delivery app listing also describes the service as a delivery solution in Saudi Arabia with shipment tracking support.
Client:

Imerex / Imerex Cargo

Location:

Riyadh, Saudi Arabia

Industry:

Cargo / Freight Forwarding / Logistics / Delivery Services

Duration:

August 29, 2024 – May 30, 2026

Type:

ERPNext Accounting, ZATCA Phase 2 & Cargo Integration

Imerex ERPNext Accounting, ZATCA Phase 2 & Cargo Integration — Case Study 5

01

The Challenge

Imerex needed ERPNext support for accounting, cargo transactions, ZATCA Phase 2 compliance, and high-volume invoice/report handling.

The client faced issues across accounting, inventory, ZATCA submissions, report exports, and cargo-related ERP transactions. The WhatsApp support history also showed that site database usage exceeded limits due to a large number of transactions, requiring future server upgrade consideration.

Key challenges included:

  • COGS-related accounting entry issues.
  • Credit Note and Sales Invoice status issues.
  • Discount accounting and payload mapping problems.
  • Payment posting and invoice cancellation issues.
  • ZATCA submission and QR code compliance requirements.
  • Large General Ledger exports and Trial Balance reporting limitations.
  • Purchase Invoice behavior issues caused by script handling.
  • Stock Ledger reporting requirements.
  • Cargo system integration and transaction synchronization.
  • Server/database usage concerns due to high transaction volume.
Imerex ERPNext Accounting, ZATCA Phase 2 & Cargo Integration — Case Study 4
Imerex ERPNext Accounting, ZATCA Phase 2 & Cargo Integration — Case Study 3

Our Solution

StandardTouch supported and customized ERPNext for Imerex by resolving accounting, inventory, integration, reporting, and compliance-related issues.

  • Implemented and supported ZATCA Phase 2 e-invoicing.
  • Supported cargo system integration and invoice API flow.
  • Resolved invoice and credit note handling issues.
  • Guided discount payload structure and configured discount account mapping.
  • Corrected backend invoice statuses and database-level issues where required.
  • Debugged COGS, stock entry, and non-stock item behavior.
  • Supported General Ledger export handling for large reports.
  • Created and supported custom reports, including Stock Ledger With Mode of Payment.
  • Updated Purchase Invoice scripts so items were not cleared incorrectly during invoice creation.
  • Added a payment/sales validation error trap to prevent transactions where payment exceeded sales.
  • Monitored server/database usage and advised on future upgrade considerations.
  • Provided monthly maintenance and ongoing production support through WhatsApp, Google Meet, and issue-based coordination.

02

Tech Stack

ERPNext
Frappe Framework
Frappe Cloud
Python
JavaScript
ERPNext Accounting
ERPNext Inventory
ZATCA Phase 2 Integration
Cargo API Integration
Custom Reports
Custom Scripts
Google Meet

Services

ERPNext implementation
accounting module configuration
ZATCA Phase 2 integration
cargo system integration
invoice API support
credit note issue resolution
payment posting support
discount accounting configuration
QR code/ZATCA support
COGS debugging
inventory and stock entry issue resolution
General Ledger export support
Trial Balance support
Journal Entry troubleshooting
Stock Ledger customization
custom report development
Purchase Invoice script modification
backend invoice status updates
database-level corrections
server/database usage monitoring
monthly maintenance
ongoing production support
Imerex ERPNext Accounting, ZATCA Phase 2 & Cargo Integration — Case Study 2

Live Preview

The Impact

Quantifiable Results

COGS Issue

Incorrect accounting behavior → Corrected after ERPNext app updates

Accounting Entries

Inconsistent entries → Client confirmed accounting entries were correct

Discount Handling

Discount issue unresolved → Discount account and payload handling resolved

Purchase Invoice Script

Items clearing incorrectly → Script fixed and confirmed working

Payment Validation

Payment could exceed sales value → Error trap added and confirmed okay

Stock Ledger Reporting

Standard report limitation → Custom Stock Ledger With Mode of Payment report created

Report Visibility

Report date visibility issue → Improved after testing

Production Support

Implementation support → Continued monthly maintenance and issue resolution through May 2026

Explore More Projects