FastAPI / Excel Automation: Working Prototype
Construction valuation, progress-payment certification, and reporting, all governed around the Excel documents engineers already use.
01
Valora is a construction-management prototype for periodic progress-payment certification, known as hakediş in Turkish practice. It manages the relationship between Bills of Quantities, completed work, cumulative progress, financial deductions, and formally structured Excel documents across payment periods.
Rather than replacing Excel, Valora places a controlled web application around it: generating, versioning, validating, and archiving protected workbooks while keeping the working environment engineers already know.
02
Contractors are typically paid through periodic valuations based on completed quantities. Each period involving measured quantities against a Bill of Quantities, cumulative calculations, advance and retention deductions, VAT withholding, and formally structured approval documents. These workflows are usually managed through manually edited Excel files, which creates:
A single typing or formula error can propagate through an entire chain of dependent financial calculations.
03
How can a construction organisation introduce standardisation, traceability, and version control without forcing engineers to abandon familiar Excel-based workflows?
A completely new interface risks resistance and demands real behavioural change; leaving everything in Excel keeps familiarity but sacrifices governance. Valora's answer is a transitional strategy: keep Excel as the working document, but move generation, validation, history, and control into a central system around it.
04
Each period is a separate historical record. The next period is created from the completed previous one rather than overwriting it.
05
Valora programmatically generates a protected, formula-driven workbook per project and period: nine interconnected sheets, roughly 1,000 lines of generation logic, controlling formulas, cell protection, print areas, and metadata.
When a new period begins, Valora reads the completed previous workbook and carries cumulative quantities forward automatically (new previous quantity = previous period's previous + current), while the old period stays archived and unchanged, removing manual reconciliation between files.
Structured project/period codes are generated from configurable metadata; the system asks for explicit confirmation rather than silently renaming or overwriting records on conflict. Administrators, coordinators, site managers, and viewers each get different permissions. This is organisational governance expressed through software, not just an access-control feature.
The complete workbook converts to a print-ready, client-facing PDF set via headless LibreOffice and Poppler. A separate daily-report module standardises subcontractor, production, material, equipment, and labour reporting that would otherwise scatter across WhatsApp and paper.
06
07
08
Valora runs locally as a working prototype and has not been deployed as a production platform.
09
Valora began as a technical attempt to improve progress-payment documents; the deeper issue turned out to be organisational: who owns the process, how standards are maintained, which familiar routines should be preserved, and when incremental integration beats wholesale replacement.
Software functionality does not automatically become organisational capability. A technically complete system can still fail to create value if users reject its workflow, management doesn't support implementation, or project-specific routines conflict with corporate standards.
Valora is both a working prototype and an ongoing exploration of how construction organisations might move from fragmented files toward structured, governed digital processes.