A bankruptcy case management system with document generation

For a legal practice that runs personal bankruptcy procedures we built a case management system. A lawyer fills in the debtor's card stage by stage, and petitions, inquiries and motions are assembled from templates automatically — with the data filled in and creditor lists built.

Web apps · Automation

The project in brief

A system where everything about a case lives in one card and documents assemble themselves — no copying data by hand.

  1. 01

    What it is

    A web app with a case card split by procedure stage, reference directories and document generation from Word templates.

  2. 02

    Who it's for

    Lawyers and practice heads who run many cases at once.

  3. 03

    What it solves

    Removes manual filling of repetitive documents and keeps everything about a case in one place.

The client's problem

For every case lawyers prepared dozens of documents: a court petition, inquiries to agencies, motions. The same debtor and creditor data was retyped from document to document, and any typo in a name or amount cost time and nerves.

  • Manual filling

    The same data was typed into every document again.

  • Mistakes

    A typo in a name, amount or bank details meant redoing the document.

  • Scattered data

    Case details lived in folders, spreadsheets and email.

  • Many stages

    The procedure has several stages, each with its own set of documents.

The practice needed one case card from which documents assemble themselves, without mistakes.

The task

  1. 01

    Case card

    Debtor, family, job, debts.

  2. 02

    Stages

    Pre-court, court, procedure.

  3. 03

    Creditors

    A claims register with amounts.

  4. 04

    Directories

    Courts, agencies, creditors.

  5. 05

    Templates

    Your own Word templates.

  6. 06

    Documents

    Ready files in one click.

Templates had to stay ordinary Word documents that lawyers edit themselves, without a developer.

Solution

We designed and built a system where everything about a case is kept in one card split by procedure stage. Documents are assembled from Word templates: the system fills in the data, inflects names and builds the creditor lists itself.

01

A card by stage

Each stage of the procedure is a separate tab with its own fields and its own list of documents.

02

Templates without a developer

Lawyers upload ordinary Word documents with placeholders, and the system works out what data each one needs.

03

Filling hints

Each document shows whether it is ready and what data is missing — one click takes you to the right field.

04

Directories

Courts, tax offices, bailiffs, creditors and other bodies are picked from a list rather than typed again.

Features

  1. Case list

    Status tabs with counters, search by name and contract number, sorting and a “My cases” filter.

  2. Debtor card

    Passport, address, family, children, job and debts. Names are also stored in the inflected form that documents need.

  3. Claims register

    Creditors and their claims, split into principal, interest, fines, penalties and state fees.

  4. Document generation

    Word and Excel documents are assembled from templates with repeating blocks and numbering. They can be previewed right in the browser and downloaded.

Have a similar task?

Tell us what your project needs. Within one business day we'll reply, review the task for free and suggest an architecture, timeline and budget.

Discuss your project

Technical implementation

The backend runs on Symfony with MySQL, the interface on React. Documents are assembled on the server from Word and Excel templates.

A template language of its own

Placeholders, functions and repeating blocks right in Word: a template stays an ordinary document that is easy to edit.

Template analysis

The system works out which fields each document needs and shows what is missing.

Backend
PHPSymfony
Database
MySQL
Interface
ReactTypeScriptTailwind CSS
Documents
PhpWordPhpSpreadsheet
Infrastructure
DockerGitHub Actions

This stack lets the practice add new documents and stages without reworking the system.

Result

Lawyers no longer retype data from document to document: fill in the card once and get a ready set of documents for the court and agencies. All of the practice's cases are now in one system.

card for the whole case — from contract to claims register
1
manual copying of data between documents
0
of documents built from up-to-date case data
100%
to get a ready document
1 click

Tell us about your task

Describe what you need to build, automate or integrate — we reply within one business day and propose a solution. The review is free.

What happens next

  1. 1

    We reply within one business day

    If any details are missing, we'll clarify them in writing.

  2. 2

    We review the task

    If it helps, we'll have a short call at a time that suits you.

  3. 3

    You get an estimate

    Timeline, budget and a work plan — free, no strings attached. Then we work under a contract.

Prefer email? Write to sales@shefcode.tech

One way to reach you is enough: Telegram, email or phone.

PDF, DOC, XLS, PNG, JPG, ZIP — up to 10 MB

We usually reply within one business day.