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.
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.
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
approvalsFour-eyes decisions
boardreportBoard reports
controlClose controls and ties
cydayone
finmaRegulatory reporting
glPosting and GL account roots
migrationcheckMigration sign-off evidence
reportcenterReport publication and export
rulesVersioned accounting rules
statementsFinancial statements
vatVAT returns
13 modules
Money in and out
bankBank accounts and statements
bankrulesBank matching rules
budgetsBudgets and forecasts
cashforecastCash forecast
fxFX rates and conversion policies
invoicingReceivables documents
loans
matchingMatching decisions
openitemsOpening receivables and payables
payablesBills and supplier credits
paymentsPayment orders and execution
reconciliationBank reconciliation
settlementCash allocations
8 modules
Documents and AI
agentguard
aiintakeAI intake proposals
assistantGrounded accounting assistant
docreadDocument extraction
docrenderDeterministic PDF rendering, formula-injection guard
inboxWork intake and review
proposalsReviewable change proposals
reviewtasksReview work list
4 modules
People and access
identitySign-in and company grants
notificationsUser notifications
payrollEmployee root and payroll
privacyrequestsPrivacy requests
8 modules
Master data and settings
agreements
calendarcalc
obligations
packregistryApproved country-pack binding per company
paydate
referenceCounterparty root
settingsCompany policies and reference configuration
settingsrulesSettings 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.
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.