Technical project · Financial data
FinancialRegister
A source-backed financial register: connecting documents, balanced entries and settlements to a carefully delimited public view.
From evidence to a financial record
The problem is keeping a financial statement attached to what supports it. An invoice, a payment, a forecast and a grant award describe different events. FinancialRegister gives each an identified place instead of turning one into evidence of another.
Source
An immutable source record carries an identifier, SHA-256 hash, locator and confidentiality class. The journal refers back to that evidence.
Entry and lines
The entry identifies its entity and date; its lines assign debits and credits to accounts in a stated currency. Amounts use integer minor units: 12,000 EUR cents represents EUR 120.00.
Review and reconciliation
A proposed entry, an internally reviewed posted entry and a bank reconciliation retain distinct states. Corrections and reversals preserve the trace of what changed.
The private application uses Python, SQL/SQLCipher and a TypeScript interface. It is separate from LivingRegister and BusinessRegister; stable identifiers connect related entities without copying transaction bodies into those registers. My work covers the financial data architecture and the implementation of recording, planning and publication workflows, with AI assistance.
A payment is linked to the obligation it settles. Bank-import staging, review and matching remain explicit. The same economic movement must not be counted twice merely because it appears both in an imported statement and in a journal entry.
A worked ledger in integer cents
Synthetic example — invented data, not ColivingLiguria accounts
One fictional entity, one currency (EUR), four entries. Start with EUR 500.00 of owner capital in the bank. Record a EUR 120.00 service invoice, then settle it with payments of EUR 50.00 and EUR 70.00. The example omits tax and VAT to isolate the record model.
| Entry | Account | Debit · cents | Credit · cents | Invented evidence |
|---|---|---|---|---|
| E0 | Bank | 50000 | 0 | DEMO-OPEN |
| E0 | Owner capital | 0 | 50000 | DEMO-OPEN |
| E1 | Service expense | 12000 | 0 | DEMO-INVOICE |
| E1 | Supplier payable | 0 | 12000 | DEMO-INVOICE |
| E2 | Supplier payable | 5000 | 0 | DEMO-PAYMENT-1 |
| E2 | Bank | 0 | 5000 | DEMO-PAYMENT-1 |
| E3 | Supplier payable | 7000 | 0 | DEMO-PAYMENT-2 |
| E3 | Bank | 0 | 7000 | DEMO-PAYMENT-2 |
| Total | 74000 | 74000 | ||
E0 records the opening capital; E1 records the invoice; E2 and E3 are its two settlements. Each DEMO identifier stands for an invented source, not a real document or hash.
Follow the outstanding amount
| After entry | Invoice · cents | Settled to date · cents | Outstanding · cents |
|---|---|---|---|
| E1 | 12000 | 0 | 12000 |
| E2 | 12000 | 5000 | 7000 |
| E3 | 12000 | 12000 | 0 |
At the end, the bank balance is EUR 380.00, the supplier payable is zero and the recorded service expense remains EUR 120.00. Capital is EUR 500.00. Total debits and credits are each 74,000 cents. The expense is recognised at E1; the cash leaves at E2 and E3. Those are different views of the same sequence.
Balancing demonstrates an arithmetic property of these entries. It does not establish that a real invoice is valid, a payment occurred or a tax treatment is correct. Those conclusions need their own sources and review.
Private records and reviewed public output
The operational register holds the detailed entries, source documents and reconciliation work. The public website receives a separately prepared, reconciled and approved projection with an explicit entity, period, currency and accounting basis. It does not query private ledger tables or publish bank descriptions and counterparties.
The public dashboard currently exposes approved-programme information, while some account aggregates remain unavailable. A missing or unapproved source stays unavailable; it is not replaced with zero. A grant awarded, eligible expenditure and cash received remain different quantities. A reviewed projection also needs its own date and scope.
The same source-bound approach supports document generation: selected structured data can feed reports without creating a second financial master. The investment reports below show actual published material; their proposals, awards and reported expenditure keep their stated status.
My contribution and current scope
Financial data architecture and AI-assisted implementation of record, planning and publication workflows.
Implemented; operational development continues. Technical tests and internally posted entries do not certify official accounting or general fiscal compliance. The public portfolio explains the architecture and links approved outputs; it does not expose the private application.
Methods
- Python
- SQL / SQLCipher
- TypeScript
- Vite
- Document generation