A point of sale that keeps a vet clinic charging when the internet drops

clinly is a point of sale and records system for veterinary clinics in Mexico: a register for Windows, a web panel for the owner, and the cloud that keeps them in sync.

The register's sale screen: a consultation, a bag of dog food and two dewormer tablets, with a subtotal, VAT at 16% and a total of $1,029.00 next to the Charge button.
The register, mid-sale. Products go in by barcode scanner or by name; prices already include VAT, and the breakdown is worked out per line.

What it does for a clinic

  • It charges without internet

    Every sale is saved on the register's computer first and sent to the cloud when the connection comes back. Nothing is lost and nothing is counted twice.

  • The cash close adds up

    At the end of the shift the register shows the cash it expects, the difference against what was counted and the total for each payment method. The owner sees the same numbers online.

  • It speaks the clinic's language

    Consultations, vaccines and products go in the same sale, prices include VAT as customers in Mexico expect, and the ticket carries the tax breakdown.

The product

Screenshots are in Spanish, because clinly is built for clinics in Mexico. The data is made up.

How it's built

TypeScript end to end, in one monorepo.

  • Charges offline, never twice

    Sales wait on the register and go out when the internet returns.

    Electron · SQLite · idempotent outbox

    How an offline sale reaches the cloud The register charges and saves the sale, which waits in a local queue. Without internet it keeps charging. When the connection returns, the API takes each sale once, even if it is sent again, and the cloud database keeps each clinic's data apart. Register Local queue API Cloud database Charges and saves the sale on the spot The sale waits to be sent No internet: it keeps charging Takes each sale once, even if it’s resent Each clinic sees only its own data
  • Each clinic sees only its own data

    The database itself keeps clinics apart, even if the code slips.

    Postgres row-level security · isolation tests in CI

  • Totals match to the cent

    Money is kept in whole cents, and one shared function works out the taxes.

    Integer cents · VAT and IEPS · shared package

  • Updates itself

    New versions download in the background and install on close, never mid-sale.

    electron-builder · GitHub Releases

  • One API for the register and the panel

    The same rules live in one place.

    NestJS on Fastify · React · signed tokens

  • Safe deploys

    Nothing goes live unless the tests pass, and backups run every night.

    GitHub Actions · Render · Neon

Contact

Camilo Aguilar