Skip to content
Back to the work
Business management SaaS2025

Quote generator aligned with local law

A quote commits whoever sends it. The platform builds it as you type, with the tax, the currency and the wording required in the country where the business operates, so nobody has to keep it all in their head.

Quote generator aligned with local law
Owner
Confidential client
Sector
Business management SaaS
Duration
Long engagement
Year
2025

Context

Plenty of quotes are still built in a word processor, starting from the last one sent. A rate stays at last year’s value, a required line goes missing, a total does not follow the discount agreed verbally. The prospect says nothing: they compare, and they sign the cleanest quote.

Challenge

The same platform had to serve businesses that do not fall under the same law. A tax, a currency, a numbering format and statutory wording cannot be hard-coded once the next client answers to different rules, and one business may sell abroad.

Our approach

Each country’s rules live in a configuration kept apart from the code: applicable rates, wording to display, currency, rounding, and the dates between which each version holds. The calculation itself knows no country: it applies the configuration matching the business and the date of the quote. Opening a new country means writing its configuration and its test cases, never reopening the engine. Every configuration is checked against quotes recalculated by hand: the moment a total drifts, the suite fails before anything ships.

Result

The quote updates as it is filled in, goes out as a PDF or by email, and becomes an invoice with nothing retyped.

Technical stack

  • Next.js
  • TypeScript
  • Supabase
  • PostgreSQL
  • RLS
  • Multi-pays tax rules kept out of the code
  • RLS per-tenant isolation
WhatsAppopens in a new tab