# Pametni Advokat

> Practice management for Serbian law offices — cases, clients, deadlines, documents and billing in one system, with AI that assists while the lawyer decides.

Canonical: https://www.deusengineering.com/en/work/pametni-advokat · Language: en · Last updated: 2026-10-19

| | |
|---|---|
| Audience | Law offices and attorneys in Serbia |
| Platform | Web application (SaaS) |
| Language | Serbian |
| Built and maintained by | DEUS Engineering |
| Status | In production at pametniadvokat.rs |
| Technology | React, Vite, Supabase (PostgreSQL, Auth, Storage), Vercel, OpenAI API |
| Links | [pametniadvokat.rs](https://www.pametniadvokat.rs) |

## Cases, deadlines and documents live in five different tools.

Cases in Excel, deadlines in a diary, documents in folders and billing in a separate spreadsheet work — until the office grows. Then the same information lives in five places, and time goes into searching instead of legal work.

## One system. The whole office.

The case is at the centre: client, deadlines, documents, tariff, invoices, team and AI all attach to it — entered once, visible wherever it is needed.

- Cases: Client, opposing party, court, case number, value in dispute, deadlines, documents and notes on one screen — numbered per office and area.
- Clients: Natural and legal persons, each with all of their cases in one place.
- Deadlines: Hearings, deadlines and meetings in the office calendar, linked to the case and the responsible person.
- Documents: Private storage attached to the case, with no public links to files.
- Team: Lawyer and secretary roles, each within their own permissions; deleting records is reserved for the lawyer.
- Tariff & invoices: Fees under the bar tariff with a trace of every correction; invoices linked to payments and the balance, and the database blocks overpayment and deleting invoices with payments.

## Fast. Clear. Nothing superfluous.

Lawyer and secretary work in the same system, each in their own role. The case history shows what changed, when and by whom.

## An assistant that speeds work up — and never decides.

It prepares overviews, checklists and drafts from the office’s own data. Every suggestion is reviewed; nothing is written or sent on its own.

- Daily overview: What needs doing today, drawn from cases, deadlines and hearings.
- Hearing preparation: What is in the file, what is missing and what to check before the next hearing.
- Missing data: Gaps and likely entry errors across cases, flagged for correction.
- Drafts: Draft messages, letters and notes — a starting point the lawyer edits.
- Document import: Entries proposed from an uploaded document, as cards the lawyer confirms.

The assistant gives no legal advice and does not calculate the tariff — fees come from the tariff tables. Legal judgment and responsibility stay with the lawyer.

## Concrete controls, stated precisely.

Every control listed here exists in the product today; what is planned is called a plan.

- Isolation per office: PostgreSQL Row Level Security keeps each office’s clients, cases, documents and invoices invisible to every other office — even outside the app.
- Accounts and roles: A personal sign-in for every user; a deactivated account loses access immediately, checked in the database itself.
- Private documents: No public links: downloads go through a server-side function after account, office and role checks.
- AI with minimal data: In the assistant, emails, phone numbers, JMBG and account numbers in common formats are masked before text reaches the AI service, which is called from the server.
- Checks on every change: Every change runs lint, type checks, tests and a build; a high-severity vulnerable dependency fails CI, with weekly dependency updates and code and secret scanning.

## What was built

- A case register numbered per office and case area (P, VP, KR, IZ, KT, UG), clients as natural or legal persons, and a calendar of hearings and deadlines linked to each case
- Fee calculation under the Serbian bar tariff with an audit trail of manual corrections, and invoices with payments and remaining balance — the database rejects overpayment and keeps invoices with payments from being deleted
- Private document storage without public links: uploads are checked for type, content and size (up to 10 MB), and downloads pass through a server-side function after account, office and role checks
- An AI assistant and AI document import, switched on per office with explicit consent and per user, with daily and monthly quotas

## Engineering highlights

- Isolation in the database: PostgreSQL Row Level Security on business tables separates every office’s data, and the rules hold even when the database is reached outside the app. A deactivated account loses access immediately.
- AI that prepares, never decides: The assistant works only with data the user may already see. Emails, phone numbers, JMBG and account numbers in common formats are masked before text is sent, and the AI service is called from the server with response storage turned off.
- Engineered for change: Every change runs lint, type checks, tests and a build; a high-severity vulnerable dependency fails CI, with weekly dependency updates and code and secret scanning.

## Built end to end, in-house.

Pametni Advokat is DEUS Engineering’s own product, developed and maintained in-house: product definition, interface, data model and access rules, AI integration and operations — with feedback from the lawyers who use it. The same process and standards apply to client work.

- Product definition
- Interface design
- Architecture & data model
- Security design
- Engineering & AI integration
- Maintenance & operations

## About Pametni Advokat.

### Who is Pametni Advokat for?

Solo attorneys, small offices and offices with teams in Serbia. It is built for domestic practice: case areas, case numbering and the bar tariff.

### What can it do?

Cases and clients, hearings and deadlines, private documents, fee calculation under the bar tariff, invoices and payments, and an AI assistant with AI document import — for lawyer and secretary roles.

### Does the AI make legal decisions?

No. It prepares overviews, checklists and drafts from case data. It gives no legal advice and writes, deletes or sends nothing without the lawyer’s decision.

### How is client data protected?

Each office’s data is isolated in the database with PostgreSQL Row Level Security, documents are stored privately without public links, and AI processing runs only with the office’s consent, with personal identifiers masked in the assistant.

### How can I see it?

Visit pametniadvokat.rs to try the demo, or watch the short presentation on this page.

## Building a platform like this?

Tell us about your domain, your users and your data. We’ll tell you how we’d approach it.

Or write directly: contact@deusengineering.com · [Contact](https://www.deusengineering.com/en/contact)
