API-first · Transactional · Self-hosted

The inventory ledger
your systems deserve

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.

POST /api/assignments/change
// 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
  }]
}
200 OK — atomic, across locations
{
  "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"

Built for real inventory problems

Not another spreadsheet wrapper. INVI handles the hard parts — concurrent access, atomic transactions, hierarchical locations, and full audit trails.

⚡

Atomic transactions

Set, transfer, and reconcile inventory in atomic batches. All-or-nothing by default — no half-applied changes, no oversells.

🌲

Hierarchical locations

Model your warehouse down to the bin level — or keep it abstract. Query entire subtrees at once: "total stock across all of Warehouse A."

🔀

Assignment kinds

Separate available, reserved, damaged, shipped — any purpose you need. Transfer between them atomically with FIFO ordering.

📋

Full audit trail

Every inventory change is recorded with before/after amounts, timestamps, and grouping IDs. Query history by location, item, or time range.

🔁

Idempotent operations

Retry-safe by design. Pass an idempotency key and get cached results on replay — critical for distributed systems and network failures.

📦

Cycle counting

Reconcile physical counts against system records. Auto-resolve shortages or flag discrepancies for manual review.

Up and running in minutes

INVI ships as a Docker image. Point it at PostgreSQL, apply migrations, and start making API calls.

Pull & set up

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.

Create items & locations

Define your inventory and location hierarchy via the REST API.

Track inventory

Set quantities, move and change inventory, query totals — all through simple JSON endpoints.

From ecommerce to manufacturing

INVI provides the inventory foundation. You build the business logic on top.

Ecommerce order acceptance

Reserve inventory atomically when orders arrive. No overselling, even under heavy concurrent load.

Multi-warehouse sync

One ledger across all locations. Query stock in any warehouse, region, or the entire network.

Lot & batch tracking

Tie inventory to batches using assignment IDs. Trace products for recalls and compliance.

Returns & reverse logistics

Move returned items through inspection, repair, and restock stages using assignment kinds.

Kitting & bundling

Track components and finished kits separately. Reduce component stock when bundles are assembled.

Perishable inventory

Use sort keys for FIFO/FEFO ordering. Oldest stock gets consumed first automatically.

Cycle counting

Reconcile physical counts with system records. Auto-resolve or flag discrepancies.

Consignment & VMI

Track vendor-owned inventory in your locations. Separate ownership using assignment kinds.

A foundation, not a suite

INVI is the core inventory component you build around. It integrates via REST API and stays out of your way.

✕ Not a UI — bring your own frontend
✕ Not a WMS — no pick/pack/ship workflows
✕ Not an OMS — no order management
✕ Not a FMS — no fulfillment orchestration

Start tracking inventory
in five minutes

Self-hosted. PostgreSQL. Docker. No vendor lock-in, no SaaS fees, your data stays with you.