03 / 25SaaS / Multi-tenant ERP
Mi Negocio
Visit the siteDirectory + back office

Multi-tenant SaaS: a directory of ~130,000 businesses plus an ERP with Bolivian fiscal invoicing
The project
The agency's own SaaS product: one platform with two faces over a single database. A public directory/marketplace of ~130,000 real Bolivian businesses (search, map, favourites, cart) and a multi-tenant "Mi Negocio" back office where each small business claims its listing and runs a full commercial ERP (catalogue, inventory, purchasing, sales/POS, bookings and fiscal e-invoicing).
The Challenge
Giving a Bolivian small business both a digital presence and operational tooling in a single subscription product required a multi-tenant back office with strict per-tenant isolation, Bolivian fiscal compliance (SIAT/SIN), advanced inventory and semantic search across ~130,000 businesses — all under the principle that the backend leads and the frontend follows.
What We Built
We designed and built end to end a modular monolith in .NET 10 (15 domain modules, four-layer Clean Architecture, DDD, CQRS with a custom pipeline, GraphQL-first) with global-filter multi-tenancy and a transactional Outbox pattern, plus an Angular 22 SSR frontend. We built a hybrid search engine (Spanish FTS + RRF + Gemini query rewriting) and designed and validated a vector search engine (pgvector + Gemini + HNSW), which became the basis of a FLISOL 2026 talk. We ran the full DevOps cycle on Cloud Run + Supabase.
- Directory of ~130,000 Bolivian businesses with map and search
- SIAT/SIN e-invoicing with a hash-chained fiscal log
- pgvector + Gemini vector search (3072-d, HNSW); 130K backfill for ~$5
- Hybrid lexical ⊕ vector engine fused with RRF
- 15 domain modules, ~3,638 backend .cs / ~3,134 frontend .ts files
- Speaker at FLISOL 2026 on vector search architecture
Stack



Have something similar in mind?
Tell us what you need: we look at it together and propose a way forward in writing, in English or Spanish.
[email protected]