Petty Cash Management
Petty cash, purchase requests and invoicing for the accounting team of 13 hotels
- company:
- GEH Suites
- period:
- Feb 2025 — Jun 2026
- Django
- Django REST Framework
- PostgreSQL
- Redis
- Astro
- React
- TypeScript
- Tailwind CSS
- Docker
- Bitrix24 API
// client context
The real users were the chain's accounting team plus the administrators and cashiers of 13 hotels. Each hotel handled its petty cash and administrative expenses manually, with no centralized traceability or consolidated reports, and the accounting team reconciled supplier invoices by hand: reading them from email, registering them in the CRM and attaching the supporting documents one by one.
// what I built
I designed and modeled the database, built the API with Django REST Framework, defined the layered backend architecture, developed the frontend with Astro/React, and automated invoice ingestion with an RPA bot. I also built Federico, an AI accounting assistant (OpenCLAW) that analyzed purchase patterns and generated accounting and petty cash reports.
// architecture
Simplified view of the real system, rebuilt from internal technical documentation — without exposing proprietary code.
// technical decisions
Services as the single source of business logic
DRF views only translate HTTP; all balance calculations, validation and cash allocation live in an independent service layer, which kept the system testable while scaling to 13 hotels.
Routing to multiple databases
I split petty cash, purchase requests and processed invoices into three separate PostgreSQL databases with a dedicated router, so the growth of one module wouldn't degrade the performance of the others.
RPA to automate invoicing
A bot reads invoices from email, records them in the CRM (Bitrix24) and attaches the supporting documents automatically, cutting the accounting team's operational time by 40%.
// impact
- Hotels managed
- 13
- Time reduction (RPA)
- -40%
- Databases
- 3
- Access roles
- 5
PostgreSQL routed by domain
admin · manager · cashier · accountant · purchasing
// what happened next
The system went live across the chain's 13 hotels and became the daily tool of the accounting team and each hotel's administrators and cashiers. The invoicing RPA bot cut the accounting team's operational time by 40%, and Federico, the AI accounting assistant, was built on top of the same data.