Skip to content
← Xenotech · Project 05 of 07

Reventours

A financial engine for a travel agency, with every payment reconciled in pesos and dollars.

Client
Reventours Monterrey
Sector
Tourism · Group tours
Platform
Next.js · Prisma · PlanetScale
Period
2026 — present
Status
In production
The system inside

From every tour to every payment

reventours · tours
Reventours screen: Tours
01

Tours

All tours in one place, with their departure, capacity and price in dollars.

  • Seats taken versus total capacity, at a glance
  • A cancellation frees up the spot
  • Stops, travelers and documents per tour
reventours · tipo de cambio
Reventours screen: Exchange rate
02

Exchange rate

Each day's exchange rate, used to convert payments made in pesos.

  • Daily record
  • Searchable history
  • Applied to income and penalties
A booking's payment plan

A payment plan that watches itself

Each booking generates its installments on the 5th and 18th. Once the grace period passes, the penalty is applied with no one's intervention.

A booking's payment plan
5Mar
18Mar
5Apr
18Apr
5May
18May
PaidWith penaltyUpcoming
The challenge

Where we started

Each tour lived in its own Excel workbook, with payments shared between families, credit balances and two currencies.

Before
With Reventours
One Excel workbook per tour
A single system for all tours
Penalties calculated by hand
Automatic penalty after the grace period
Payments split by eye
Exact allocation of every payment
Manual reconciliation
Reconciliation against the bank statement
The solution

What we built

01

Tours

Stops and capacity; a cancellation frees up the spot.

02

Bookings

By booking and by family group, with travelers and documents.

03

Payment plan

Installments on the 5th and 18th, with a cutoff 30 days before departure.

04

Penalties

Automatic after the grace period.

05

Income allocation

Many-to-many between payments and charges, with exact decimal arithmetic.

06

Credit balances

With their allocations and refunds.

07

Bank reconciliation

Against the bank's statements.

08

Two currencies

Pesos and dollars, with a daily exchange rate.

09

Tour leaders

Assignments, logistics and documents.

The journey
  1. Booking
  2. Payment plan
  3. Income
  4. Allocation
  5. Reconciliation
By the numbers
2 currencies
with a daily exchange rate
More than 25
domain entities
More than 20
screens
End to end
tests on every change
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.

Application
Next.js · React · shadcn/ui
Data
Prisma · MySQL on PlanetScale
Files
AWS S3
Testing
Playwright
“Income allocation always balances exactly: decimal arithmetic end to end.”
Next project
AbastoERP
View project