Prendo
Multi-tenant SaaS for Colombian compraventas (pawn shops with a store), in development: cash, inventory and contracts that add up.
This tool is not public. I can show you a demo with sample data. Ask for a demo
- Architecture decision records (ADRs) (Prendo repository, counted on 2026-11-25. A development fact, not a business result.)
- 38
- Test files (Prendo repository, counted on 2026-11-25: 461 pytest, 205 Vitest and 101 Playwright specs. A development fact.)
- 767
- Roadmap phases complete (Prendo repository, STATE.md of 2026-11-25. A development fact.)
- 9/16
Problem
A Colombian compraventa mixes two businesses that are measured differently. Pawn lending earns interest, and the capital that comes back is not profit. The store earns margin on a cost identified piece by piece. In the first version, built for a client, both businesses shared one cash register and one branch, stock was stored as a balance and several rules were duplicated, so the cash could go out of balance without anyone noticing. That version never reached production. The client asked for more features, and that led to rebuilding the product from scratch.
My role
I design and build Prendo end to end: domain, data model, API, interface and tests. I work with coding agents under rules: one spec per phase, decision records, tests written before the code and review gates before each phase closes.
Solution
- Per-company isolation: the design rule is forced row-level security on `company_id` in every business table, with one isolation test per table.
- Insert-only cash ledger, with derived balances, shifts with cash count and several accounts.
- Inventory whose stock is derived from the kardex rather than stored as a balance, with specific-identification costing.
- Money always in Decimal.
- Third parties, catalogs with dynamic attributes, inventory, cash, pawn contracts, sales with point of sale, credit notes and layaway: built according to its roadmap.
- Pending: purchases, manufacturing, reports and documents.
Results
- In development: it has not launched and has no clients using it.
- The third parties, catalogs, inventory, cash, contracts and sales modules are built and passed each phase's gates.
Technical decisions
Insert-only cash ledger
Every movement of money is a document that is inserted and never edited or deleted, and money is handled in Decimal. Balances are derived from the ledger, so the cash count can be audited down to the source document.
Stock derived from the kardex
Inventory is not stored as a balance: it is computed from the kardex movements. It rules out the stored balance, which in v1 could go out of balance silently.
Per-company isolation in the database
The design rule is forced row-level security per company on every business table and one isolation test per table. It is an active roadmap requirement, not a property already validated.
Tell me what you’re building. I reply within a day, in English or Spanish.