Skip to content
← Xenotech · Project 03 of 07

MMEXC

From the material request on site to bank statement reconciliation, in a single auditable flow.

Client
Construction company
Sector
Construction
Platform
Symfony · API Platform · Next.js
Period
2025 — present
Status
In active development
The challenge

Where we started

Requisitions, bids and bank transactions were spread between the job sites and the office, with no clear trail of who approved what or which project each expense belonged to.

The state machines are protected with database locks and architecture tests: no approval skips a level.
The system inside

The finances of every job site

mmexc · estados de cuenta
MMEXC screen: Bank statements
01

Bank statements

A dashboard by month, bank and currency showing which statements have already been uploaded.

  • PDF or CSV upload from two banks
  • Accounts in pesos and in dollars
  • A Python reader extracts each transaction
mmexc · resumen de movimientos
MMEXC screen: Transaction summary
02

Transaction summary

The month-end close on one screen: balances, income, expenses and VAT.

  • Monthly VAT calculation
  • Synchronization with bank statements
  • Breakdown by account and by currency
mmexc · tipos de cambio
MMEXC screen: Exchange rate
03

Exchange rate

Each day's exchange rate, taken from the official source.

  • Automatic daily record
  • Source: Banxico and Diario Oficial
  • Applied to dollar transactions
From the site to the purchase order

Three signatures before every purchase

A purchase request moves up through the assistant site manager, the site manager and administration. Every transition is audited and no level can be skipped.

From the site to the purchase order
01Assistant site manager
02Site manager
03Administration
The solution

What we built

01

Purchase requests

Seven states and chained approval: assistant site manager, site manager and administration, with an audit trail per transition.

02

Bids

For materials, services and contractors, with rules per role.

03

Purchase orders

Numbered, linked to the winning bid.

04

Suppliers

Bank accounts, contacts and files.

05

Projects and fleet

Projects with their users, clients, units, vehicles and vehicle services.

06

Bank statements

PDF or CSV upload from two banks; a Python reader extracts each transaction.

07

Allocation and VAT

Bulk allocation of transactions to projects, monthly VAT calculation and Excel export.

08

Exchange rate

Automatic, from Banxico and the Diario Oficial.

The journey
  1. Request
  2. Assistant site manager
  3. Site manager
  4. Administration
  5. Bid
  6. Purchase order
By the numbers
More than 90
API operations
More than 2,500
automated tests
More than 35
screens
More than 30
domain entities
How it's built

SDD and harness engineering

Every feature starts as a specification signed off by the client, becomes tests before any code is written, and is implemented by AI agents inside that harness. An independent verifier and a person approve every delivery.

Backend
PHP 8 · Symfony 7 · API Platform 4
Interface
Next.js · Tailwind
PDF reading
Python · pdfplumber
Operations
Docker · AWS
Next project
Duol
View project