Architecture

A layered system you can reason about, audit, and trust.

Complifly is middleware. Each concern lives in its own layer with a stable contract, so you can change an ERP adapter or a NIC schema without touching the orchestration core.

ERP Adapter Layer

Pluggable adapters for D365 FO, Business Central, SAP and REST sources. ERP quirks are isolated behind a stable internal document contract.

Mapping Engine

No-code, versioned transforms convert ERP documents into NIC payloads. Mappings are validated against sample data before promotion.

Lifecycle Orchestration

State machines for IRN and EWB drive generation, extension, cancellation, multi-vehicle and CEWB — with idempotent, deterministic retries.

GSP / NIC Gateway

All government communication flows through the GSP to the IRP and EWB systems, with signed payloads and acknowledgement capture.

Immutable Audit Layer

Every state change is an append-only event. Any document's exact history can be reconstructed and replayed for audit.

Cross-cutting

Identity, tenancy, and trust run through every layer.

Identity & RBAC

Organization (PAN) = tenant; GSTIN entities beneath. Role-based with optional per-GSTIN scoping and maker-checker (SoD).

Data protection

PAN/GSTIN encrypted at rest with blind-index lookups; API keys hashed; secrets in a vault. India data residency, DPDP-aligned.

Bring your invoice-to-movement compliance under one auditable system.

See how Complifly orchestrates IRN and EWB lifecycles against NIC — with maker-checker control and immutable audit at every step.