System 01 · FinTech & Logistics

B2B Multi-Batch Inventory & EU VAT Invoicing

Rust Axum PostgreSQL 16 Vue 3 EU VAT / VIES

Business Problem

Food, pharma, and wholesale distributors in the European Union need strict expiry-aware stock accounting and automated destination-based VAT compliance — not a generic CRUD warehouse template with data leakage risks.

System Architecture

Lightweight Rust (Axum) API running on port 8001, isolated PostgreSQL schema partitioning, and static Vue 3 SPA. Consumes under 40MB idle RAM, designed for low-cost VPS hosting or edge container clusters.

Engineering Highlights

First-Expired-First-Out (FEFO) automated allocation path, append-only immutable financial movement ledger, cryptographic role-header RBAC (Auditor / Warehouse / Finance), and mock EU VIES validation with compliant PDF invoice generation.

Tangible Business ROI

Eliminates expired write-offs, minimizes accounting reconciliation overhead, and guarantees audit trail integrity that European finance leads and compliance officers trust.

← Return to All Systems