INVI is an API-first transactional inventory ledger. One source of truth for what you have, where it is, how much exists, and why it's allocated.
// Customer orders 5 PS5 consoles — reserve them across all warehouses { "commands": [{ "rootLocation": "~/Warehouses", "itemPrimaryId": "PS5-DIGITAL-EDITION", "sourceKind": "available", "destinationKind": "reserved", "destinationPrimaryId": "ORD-4810", "totalAmount": 5 }] }
{
"changes": [
// Berlin: 3 units moved from available to reserved
{
"locationPath": "~/Warehouses/Berlin/Hall-B/Aisle-4/Rack-12",
"kind": "available",
"previousAmount": 10,
"amount": 7
},
{
"locationPath": "~/Warehouses/Berlin/Hall-B/Aisle-4/Rack-12",
"kind": "reserved",
"primaryId": "ORD-4810",
"previousAmount": 0,
"amount": 3
},
// Rotterdam: remaining 2 units
{
"locationPath": "~/Warehouses/Rotterdam/Hall-A/Aisle-1/Rack-7",
"kind": "available",
"previousAmount": 4,
"amount": 2
},
{
"locationPath": "~/Warehouses/Rotterdam/Hall-A/Aisle-1/Rack-7",
"kind": "reserved",
"primaryId": "ORD-4810",
"previousAmount": 0,
"amount": 2
}
],
"errors": []
}
// Want all 5 from Berlin only? Set rootLocation to "~/Warehouses/Berlin"Not another spreadsheet wrapper. INVI handles the hard parts — concurrent access, atomic transactions, hierarchical locations, and full audit trails.
Set, transfer, and reconcile inventory in atomic batches. All-or-nothing by default — no half-applied changes, no oversells.
Model your warehouse down to the bin level — or keep it abstract. Query entire subtrees at once: "total stock across all of Warehouse A."
Separate available, reserved, damaged, shipped — any purpose you need. Transfer between them atomically with FIFO ordering.
Every inventory change is recorded with before/after amounts, timestamps, and grouping IDs. Query history by location, item, or time range.
Retry-safe by design. Pass an idempotency key and get cached results on replay — critical for distributed systems and network failures.
Reconcile physical counts against system records. Auto-resolve shortages or flag discrepancies for manual review.
INVI ships as a Docker image. Point it at PostgreSQL, apply migrations, and start making API calls.
Run docker compose up with the provided compose file. INVI + PostgreSQL start together. Then POST to /api/admin/upgrade to apply migrations — no CLI tools needed.
Define your inventory and location hierarchy via the REST API.
Set quantities, move and change inventory, query totals — all through simple JSON endpoints.
INVI provides the inventory foundation. You build the business logic on top.
Reserve inventory atomically when orders arrive. No overselling, even under heavy concurrent load.
One ledger across all locations. Query stock in any warehouse, region, or the entire network.
Tie inventory to batches using assignment IDs. Trace products for recalls and compliance.
Move returned items through inspection, repair, and restock stages using assignment kinds.
Track components and finished kits separately. Reduce component stock when bundles are assembled.
Use sort keys for FIFO/FEFO ordering. Oldest stock gets consumed first automatically.
Reconcile physical counts with system records. Auto-resolve or flag discrepancies.
Track vendor-owned inventory in your locations. Separate ownership using assignment kinds.
INVI is the core inventory component you build around. It integrates via REST API and stays out of your way.
Self-hosted. PostgreSQL. Docker. No vendor lock-in, no SaaS fees, your data stays with you.