Client project · User acceptance testing

Fixed Asset Management System

I built backend services and Flutter workflows for a client replacing spreadsheets and a legacy asset register. The system tracks individual assets, calculates depreciation under two sets of accounting rules, and imports procurement records from Excel. Client testing covered 956 records.

See the import pipeline diagram
My role
Freelance Software Developer — backend, Flutter & client UAT
Period
May 2025 — July 2026
Source code
Private repository
956
records covered in client acceptance testing
~20 sec
separate import benchmark: about 1,000 procurement records and 40 related master records
22
reviewed report formats
Java 17Spring Boot 3PostgreSQLFlutterDockerJUnit

Results

  • The system tracks individual assets from purchase through allocation, verification, sale, and disposal.
  • Client user acceptance testing covered 956 records. A separate import benchmark processed about 1,000 procurement records and 40 related master records in about 20 seconds. My own scale testing reached 10,000 records.
  • Standardized 22 financial and audit reports including Fixed Asset Register, Asset Movement Register, Depreciation Schedule, and Disposal Register.

Problem

Accountants needed one register for procurement, custody, depreciation, physical verification, and disposal. Each asset needed a traceable history even when multiple identical units were bought on one invoice.

The same register also needed separate depreciation schedules under India’s Companies Act and Income Tax Act.

Engineering decisions

Separate ownership from custody

A purchased asset can remain unallocated, be returned, or move between employees without rewriting the purchase that established ownership.

Make the database the numbering authority

Voucher numbers must remain unique when separate workstations create records at the same time. Replaced process-local locking and read-then-update allocation with a PostgreSQL atomic upsert keyed by entity type and prefix, allowing independent ASSET, VENDOR, and PURCHASE sequences without a JVM-wide lock.

Let import absorb dependency complexity

The workbook stays familiar to accountants while the application validates formats, resolves existing masters, creates missing dependencies in order, and batches purchase creation.

System flow

  1. Flutter desktop app
  2. REST controllers
  3. Service-layer rules
  4. PostgreSQL records
  5. Reports & audit history

Engineering diagrams

Asset lifecycle model from purchase header and line item to individual label historiesOpen full resolution ↗
Individual labels connect ownership, custody, depreciation, verification, and disposal without overwriting history.
Excel import dependency resolution pipelineOpen full resolution ↗
The interface remains a workbook while the application handles validation, master-data ordering, reconciliation, and controlled creation.
Depreciation preview verification and posting control flowOpen full resolution ↗
Preview and Excel verification make the calculation inspectable before an approved result becomes financial history.

Technical details

Read the bulk import engineering post on DEV ↗
Additional engineering decisions

Track physical units, not only quantities

A purchase header groups the invoice, line items carry asset economics, and labels identify each physical unit so identical assets can develop different histories.

Allocation, depreciation, verification, sale, and scrap operate at label level.

Preview before posting

Calculation, human verification, and financial mutation are separate stages. Multi-year previews remain sequential without forcing users to post each year manually.

The product exposes preview, Excel export, per-label histories, and controlled posting.

Make Spring Boot authoritative

Flutter requests and presents calculations; the backend resolves rules, lifecycle state, and posted history so results do not depend on a particular client build.

Financial calculation and persistence moved from the Flutter client into Spring Boot services.

Architecture and trade-offs

The architecture turns a spreadsheet-based asset register into connected financial and physical histories. A layered Spring Boot backend owns accounting rules and lifecycle writes; Flutter gives operators forms, previews, and correction workflows; PostgreSQL stores the relationships shared by procurement, custody, depreciation, verification, and disposal. Each boundary answers a business question: what was purchased, where is it now, how is it valued, and what changed?

Client boundary: Flutter, Riverpod, and GoRouter

Screens present forms, import feedback, registers, and reports. Riverpod manages asynchronous state, GoRouter handles navigation, and HTTP service classes isolate API calls from widgets. The backend URL is configured at runtime, allowing the same client to connect to the selected installation.

Request boundary: REST and Spring Security

Controllers accept requests and return workflow outcomes. JWT authentication and role checks protect API operations; company context supports data scoping. Company identity is also part of import lookup keys where needed, so a master-data name alone does not identify a record across companies.

Model financial ownership separately from physical custody

An invoice for ten identical laptops is one purchase, but each laptop can move to a different employee and develop its own verification and disposal history. Purchase headers hold invoice details, items carry quantities and economics, and labels identify physical units. Spring Boot services coordinate lifecycle operations around those identities, allowing custody to change while retaining the purchase that established financial ownership.

Persistence boundary: JPA and PostgreSQL

Spring Data repositories and JPA entities map the domain to PostgreSQL. Transactional service calls group a purchase and its related items. An AOP audit layer records entity changes, giving operators a change history alongside the asset lifecycle and financial records.

Resolve spreadsheet names into an accounting dependency graph

Accountants should be able to import their register without manually creating every prerequisite. The service resolves a block before its sub-block, resolves depreciation rules by name and method, and then finds or creates the asset definition with those references. Import-scoped maps reuse company-specific vendors, assets, and rule lookups across entries. This preserves the relationships needed by downstream calculations while reducing repeated database work.

Align consistency and failure recovery with the purchase

Each submitted purchase runs through a transactional service call, grouping its header and related items. The bulk controller collects independent outcomes so one failed purchase does not undo valid purchases elsewhere in the upload. Within a large purchase, Hibernate flushes and clears after every 20 asset items and reacquires the parent, controlling retained managed state while keeping the purchase as the transaction boundary. The interface maps outcomes back to the workbook so operators know which entries need correction.

Deployment boundary: a Windows installation

An Inno Setup installer packages the Flutter desktop build, backend JAR, and bundled Java runtime. NSSM runs the backend as a Windows service with restart behavior and persistent logs. Application settings and writable credentials live in separate locations so upgrades can replace configuration templates without overwriting secrets.

A single Spring Boot backend and relational database keep related accounting operations within one service and transaction model. Domain services centralize the rules, label identity connects physical history to financial records, and the import pipeline constructs that model from familiar spreadsheet input. Client testing covered 956 records, and personal testing reached 10,000 records. The resulting architecture supports register migration and the continuing asset lifecycle through the same domain relationships.

Project timeline

Map real accounting rules and operational workflows

Conducted stakeholder interviews with accounting operators to map the complete asset lifecycle—distinguishing initial purchase capitalization from employee custody and physical unit identity.

Separate ownership, custody, and unit identity

Established a clear relational domain where purchase records establish financial ownership, allocation tracks department/custody, and unique barcode/QR labels follow physical assets across their lifespan.

Dual-book statutory depreciation & preview controls

Architected Spring Boot calculation services supporting parallel Companies Act and Income Tax Act schedules with sequential multi-year preview, Excel verification, and immutable posting.

High-throughput batch import pipeline

Engineered an Excel import processor with automated dependency resolution that validates formats, resolves existing masters, and creates structured procurement entries in batches.

Structured testing, validation, and delivery

Worked with the client to check depreciation calculations, asset movement, and physical verification during user acceptance testing.

Implementation notes

Domain Refactoring & Service Extraction

Evolved large initial monolithic controllers into focused service layers for procurement, allocation, depreciation, and disposal, ensuring high testability and clean domain boundaries.

Performance for Enterprise Datasets

Resolved import dependencies in order, bounded batch processing, indexed queries, and used virtualized tables for large registers.

Structured UAT & Defect Resolution

Categorized user feedback into defect fixes, validation regressions, usability enhancements, and accounting rule refinements with systematic tracking and verification across releases.

Private project records
  • Domain lifecycle state machine and data model
  • Spring Boot REST backend architecture and service specifications
  • Statutory depreciation calculation engine (Companies Act & Income Tax Act)
  • High-performance batch import pipeline with automated dependency resolution
  • Physical asset verification workflow with barcode/scanner integration
  • Unit and integration test suite

AI use. I used AI for parts of the application code, tests, and scripts. I owned client discovery, architecture, code review, debugging, and release validation.