Dental Smart Costs
A SaaS for analytical cost control in a dental clinic: e-invoice ingestion, AI-assisted dispatching of cost lines into clinical branches, pricing engine, and reporting.
Context
On this page
Product focus#
The platform ingests electronic invoices in the Italian FatturaPA format and dispatches each cost line into the correct clinical branch through a mix of rules and AI. It learns from manual reclassifications, exposes a pricing engine for hourly cost, break-even, and recommended prices, and ships a scheduled accountant export.
Architecture#
- Backend in NestJS 11 with TypeORM on MSSQL, Passport plus JWT for auth, Swagger documentation, XML parsing for FatturaPA payloads.
- AI layer on the Vercel AI SDK with provider-pluggable models (OpenAI, Anthropic, Google), structured output via Zod schemas.
- Frontend in Next.js 16 on the App Router with React 19, Tailwind, shadcn/ui, Zustand for auth state, and Playwright for end-to-end tests.
Engineering approach#
Each change traces back to a documented requirement, AI outputs are validated through structured schemas before persistence, and learning loops feed back into the dispatching rules instead of being treated as one-shot inferences.
Skills
- TypeScript
- NestJS
- TypeORM
- MSSQL
- Next.js
- Vercel AI SDK
- Tailwind
- shadcn/ui
- Playwright