Skip to content
In the news TRM Labs × Finray — audit-ready crypto transaction monitoring for banking
Finray

Architecture overview

How Corebanq Accounting is put together: a modular monolith in Go, grouped by what each part does. This page names the groups, the modules in each, the shared kernel, the adapters and the data each module keeps.

Scope
Groups, modules, shared kernel, adapters, module-owned data, quality gates
Audience
Technical buyers, accountants’ IT staff, integration engineers

One program, built from 59 modules

Corebanq Accounting is a modular monolith written in Go. A composition root, the app module, wires the modules into one process. Business modules are sorted into 5 groups. Below them sit a shared kernel with no business logic, and the adapters that reach the outside world.

59
Modules on the map
5
Groups of business modules
44
Business modules
5
Shared kernel packages
7
Adapters
29
Database schemas, one per module

Status. Every module on this map is built.


The layered module map

The composition root is on top. The groups are layers beneath it, and the shared kernel and adapters are at the base. With JavaScript on, pick a module in any list on this page to light up the kernel packages and adapters it uses on the map.

Layered module map of Corebanq Accounting Layered map of Corebanq Accounting. At the top is the composition root, app. Below it are 5 groups of business modules: Ledger and close, 11 modules; Money in and out, 13 modules; Documents and AI, 8 modules; People and access, 4 modules; Master data and settings, 8 modules. Under the groups sit the shared kernel (apicommon, contracts, format, money, platform) and the adapters (adapters, coreconn, fxfeed, glctl, importer, qrbill, rehearsal). The lists below the map name every module. Composition root app Ledger and close 11 modules Money in and out 13 modules Documents and AI 8 modules People and access 4 modules Master data and settings 8 modules Shared kernel apicommon contracts format money platform Adapters adapters coreconn fxfeed glctl importer qrbill rehearsal
The map shows layers, not every connection. The lists below name every module.


5 groups, 44 business modules

Each group holds the modules for one part of the accounting work. A module with no description here is listed by name only.

11 modules

Ledger and close

  • approvals Four-eyes decisions
  • boardreport Board reports
  • control Close controls and ties
  • cydayone
  • finma Regulatory reporting
  • gl Posting and GL account roots
  • migrationcheck Migration sign-off evidence
  • reportcenter Report publication and export
  • rules Versioned accounting rules
  • statements Financial statements
  • vat VAT returns
13 modules

Money in and out

  • bank Bank accounts and statements
  • bankrules Bank matching rules
  • budgets Budgets and forecasts
  • cashforecast Cash forecast
  • fx FX rates and conversion policies
  • invoicing Receivables documents
  • loans
  • matching Matching decisions
  • openitems Opening receivables and payables
  • payables Bills and supplier credits
  • payments Payment orders and execution
  • reconciliation Bank reconciliation
  • settlement Cash allocations
8 modules

Documents and AI

  • agentguard
  • aiintake AI intake proposals
  • assistant Grounded accounting assistant
  • docread Document extraction
  • docrender Deterministic PDF rendering, formula-injection guard
  • inbox Work intake and review
  • proposals Reviewable change proposals
  • reviewtasks Review work list
4 modules

People and access

  • identity Sign-in and company grants
  • notifications User notifications
  • payroll Employee root and payroll
  • privacyrequests Privacy requests
8 modules

Master data and settings

  • agreements
  • calendarcalc
  • obligations
  • packregistry Approved country-pack binding per company
  • paydate
  • reference Counterparty root
  • settings Company policies and reference configuration
  • settingsrules Settings resolver over rule storage

A shared kernel of 5 packages

The kernel holds no business logic.

apicommon

Shared HTTP contract types

contracts

Shared stable ports and IDs

format

Neutral rendering primitives

money

Exact amounts and rates

platform

Shared company and user infrastructure


7 adapters to the outside world

Adapters connect Corebanq Accounting to the outside world.

adapters

External transport primitives

coreconn

CoreBanq connector

fxfeed

External FX publishers

glctl

GL command-line operations

importer

Source files and external books

qrbill

Swiss QR payment format

rehearsal

Cutover rehearsal


Modules that store data own their schema

29 of the 59 modules store data, and each of them has its own database schema. The other 30 modules have no schema of their own.

Ledger and close (7)
  • approvals
  • control
  • gl
  • migrationcheck
  • reportcenter
  • rules
  • vat
Money in and out (10)
  • bank
  • bankrules
  • budgets
  • fx
  • invoicing
  • openitems
  • payables
  • payments
  • reconciliation
  • settlement
Documents and AI (5)
  • assistant
  • docread
  • inbox
  • proposals
  • reviewtasks
People and access (3)
  • notifications
  • payroll
  • privacyrequests
Master data and settings (2)
  • reference
  • settings
Adapters (1)
  • importer

Quality gates

Architecture tests check the dependencies between modules. Load tests are the second gate.

archtest

Architecture tests

loadtest

Load tests

See your own documents go through the journal.

Bring a QR-bill, a camt bank statement or a VAT period. We will walk through how documents are prepared, approved and posted, and how a VAT return is reviewed and exported.

Certificate of Registration NQA · UKAS Management Systems
ISO/IEC 27001:2022 Certificate of Registration issued by NQA to Finray Technologies Ltd, certificate number 215646, valid 21 October 2025 to 21 October 2028
Search
Type to search across Finray, products, company, and journal.

    Press Esc to close · ↵ to open the highlighted result.

    Book a briefing Step 1 of 3

    What you need

    Which platforms are in scope.

    For example a licence application, an audit or a ledger build-out.

    What happens after you book

    • A team member will respond within one business day with availability windows.
    • Corebanq runs as Cloud SaaS, Private SaaS or an Enterprise Licence.
    • After the briefing, the full Corebanq and XZiel API references are issued with test-environment access.
    • Due-diligence documents, such as a summary of the April 2026 independent penetration test, are available under NDA.