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.

Each entry balances independently. All debit and credit amounts below are integer EUR cents. Scroll horizontally for all columns; the table also accepts keyboard arrow keys.
EntryAccountDebit · centsCredit · centsInvented evidence
E0Bank500000DEMO-OPEN
E0Owner capital050000DEMO-OPEN
E1Service expense120000DEMO-INVOICE
E1Supplier payable012000DEMO-INVOICE
E2Supplier payable50000DEMO-PAYMENT-1
E2Bank05000DEMO-PAYMENT-1
E3Supplier payable70000DEMO-PAYMENT-2
E3Bank07000DEMO-PAYMENT-2
Total7400074000

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

Payments reduce the same payable; they do not create the expense a second time.
After entryInvoice · centsSettled to date · centsOutstanding · cents
E112000012000
E21200050007000
E312000120000

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

Read the actual outputs