Skip to content

12 Glossary

One glossary; SPEC.md §9 links here. The terms FeeCheck uses in its own sense — not general technical vocabulary — in alphabetical order.

Term Meaning
API gateway FeeCheck's own gateway, a deployable of its own and the only public entry, with the sign-in (5.2.5, ADR-0010 (docs/adr/adr-0010-api-gateway-and-api-contract.md)). Not the platform's gateway-service
AssetCo entity In FeeCheck's fee model, the asset manager: the contract partner beside the distribution partner (data model (docs/model/feecheck/data-model.md) §4.1); see Payee, payer
Attribute One item a business model defines, identified by its attribute path, as a field of the extraction target schema (8.19.5) — in FeeCheck's model an agreed term of the fee agreement such as a rate, a calculation base or a validity period
Backend The one product deployable (5.2.1); on Google Cloud the Cloud Run service feecheck
Business case ≙ Dossier in the entity model (8.19.1): bundles a partner's cases, and through them its documents and reviews
Candidate One value the model offers for a field, with the passage it was read from; a field may have several
Case The FeeCheck case, a CMMN case: one per business document — a main document and its attachments —, ≙ Case in the entity model (8.19.1), identified by a GUID assigned when its first PDF is received, carried through the stage Contract intake once and then through its child cases (6.1); the Case of spec 15
Case state Where a case stands for the person and the screen — its business state, FeeCheck's own record beside the case engine's plan items (6.1.1). Spec 339 (docs/specs/339-case-api.md) names the words the intake screen shows
CaseFileItem A result the case holds — the contract PDF, the rendition, the extraction result, the contract record, the findings (6.1)
Citation check The parser's test that a candidate's passage occurs in the document and contains the value; the source of the extraction's verdict (8.7)
CMMN Case Management Model and Notation, the OMG standard the case model (spec 15 (docs/specs/15-workflow-module.md)) and chapter 6 follow (8.18)
Component A business capability as a package below the application's root package, with its own onion rings; each component is one Spring Modulith module (8.15, 8.16)
Confidence See the three vocabularies below
Contract party Any party a business document names: the two contract partners, the party and the counterparty, and others such as a custodian. A business model names the partners in its own terms
Contract record The canonical record of one contract that the extraction's mapping produces, a CaseFileItem; recording it reaches the milestone Contract recorded (6.2)
Counterparty The other contract partner, seen from the party
Deviation A finding where the contract value and the master-data value disagree, with its type and justification (6.3)
Distribution partner In FeeCheck's fee model, the vendor: a bank or distributor selling the funds (data model (docs/model/feecheck/data-model.md) §4.1); see Payee, payer
Domain event A Spring Modulith event on the event backbone, named in the past tense when it reports a fact: a stage request the case sends, the reply a stage module answers with, or a fact into or out of a case or between modules (8.16.3). One task following another inside a case is not one: that is the engine's Sentry
Eval set The versioned set of test contracts with target values; a build input
Event backbone Spring Modulith's events as the one way modules, the case engine and other deployables exchange domain events, with an outbox (8.16.3, 7.1.5)
Evidence The passage — the line or sentence of the document — a value was read from, copied verbatim, at most 300 characters; a GROUNDED value carries it and the page it starts on (spec 8 (docs/specs/8-intake-into-extraction.md); 8.7). It is the "page number and text excerpt" of REQ-Q1 and SPEC.md §2/§9
Fabricated value A value the model reports that does not appear in the source text; a defect regardless of plausibility
Fee Remuneration of a distribution partner agreed in a contract; a trail fee (ongoing, portfolio-based) is one kind
Fee calculation and invoicing system Calculates fees and creates the invoice; the platform it belongs to also provides a gateway (gateway-service) and a streaming service, neither of which FeeCheck uses (3.1.1)
Finding The result of reconciling one attribute: a match, or a deviation
gateway-service The existing gateway of the fee calculation and invoicing system's platform; FeeCheck's own API gateway is its only public entry (ADR-0010 (docs/adr/adr-0010-api-gateway-and-api-contract.md))
Intake Making a received document readable and checking that it may be processed — the stage Document preparation (6.2) and the intake module that does its work (5.2.1)
Job The unit on the Pub/Sub queue of the async intake: Convert document runs as a conversion job whose ID is the case ID (6.2.1); on the event backbone its place is taken by a stage request. An external worker job is the case engine's (6.1.2)
Master-data snapshot The versioned state of the fee master data a finding was derived from
Master-data system System of record for contract, partner and product master data (legacy application server); read-only for FeeCheck
MCP Model Context Protocol; how AI integrations reach FeeCheck's results through its own MCP server (ADR-0011 (docs/adr/adr-0011-mcp-server-placement.md))
Milestone A checkpoint of the case: Converted, Contract recorded, Released
Module A Spring Modulith module of the backend — one per component (8.16). Not a verification pack, which ADR-0001 calls a verification module
Operator The company that builds and supplies FeeCheck; its technology stack and development workflow are binding (C2)
Outbox Spring Modulith's event publication registry: each event stored in the transaction of the change it reports and delivered after the commit (8.16.3, 8.3)
Party The contract partner on whose side FeeCheck is used — "we"; its master data is what the document is reconciled against
Payee, payer For each payment a business document agrees on, who receives it and who owes it; the same contract partner can be the payee of one fee and the payer of another. In FeeCheck's fee model, a distribution partner receives a distribution fee and an asset manager receives a management fee (FeeCheck's catalogue (docs/model/feecheck/catalogue/feecheck.yaml)); in an invoice model the seller is the payee and the buyer the payer
Reconciliation Comparing a document's extracted values attribute by attribute with the master data and the reference sources, producing findings; in FeeCheck the child case Fee reconciliation (6.3)
Released finding A finding a person has accepted; only released findings leave the system
Rendition A contract converted to markdown page by page, with an anchor per page; the intake's output and the extraction's input (6.2.1)
Review ≙ ReviewCase in the entity model (8.19.3): the case opened by one triggering document that carries its findings from extraction through human release; what FR-3 and FR-4 call "a contract" once it is being reconciled or reviewed
Sentry The CMMN entry or exit criterion of a plan item — a task, a stage or a milestone: it fires when another plan item completes or a milestone occurs, or on a domain event an event listener received, with an optional condition (8.18)
Settlement system Generic term where the master-data system and the fee calculation and invoicing system are both meant
Source document ≙ SourceDocument in the entity model (8.19.2): the intake record for one submitted PDF, the case's main document or an attachment; a resubmission of the same document is recognised by its content hash, not by a second record
Stage A part of a case that holds tasks and may hold stages: Contract intake with Document preparation and Data capture, Invoice intake (6.1)
Stage request, reply A stage request is the domain event the case sends to have a stage module do one piece of work; the reply is the fact or rejection the module answers with (6.1.2)
Step A technical interaction inside one task's implementation, as in the step tables of 6.2.1; never a CMMN element
Strangler cut The point at which the target state is served instead of the legacy state; for FeeCheck the master data adapter towards the master-data system, the strangler facade of KF-2 (1.1.3)
Structured output A model response constrained to a fixed schema and validated against it before use
Target architecture The settlement system's target architecture, into which FeeCheck is embedded as a Spring AI building block
Task A unit of work in a stage, always with its CMMN type: ProcessTask, HumanTask (completed by a person), DecisionTask (a deterministic rule), CaseTask (starts a child case) or send event task (sends a stage request or publishes a fact) (8.18)
Verification core The part of FeeCheck that checks every kind of document the same way, beside the verification packs that decide what is checked (8.10)
Verification pack Versioned configuration that decides what is checked for one kind of document — attribute model, tolerances, rubric (8.10); ADR-0001 calls it a verification module
Web app FeeCheck's own frontend, served by the backend; its review screens are the "review frontend" of KF-4 (5.2.3)
C1… / QS-n / OQ-n / TD-n / G-n / KF-n / RISK-n / REQ-Qn, SEC-Qn, ARC-Qn / CC-n Constraint (2), quality scenario (10.2), open question (open.md), technical debt (11.3), guardrail (8.2), core function (1.1.3), risk (11.1), quality goal (10.1), component criterion (docs/specs/README.md (docs/specs/README.md)); every prefix is registered in docs/specs/README.md (docs/specs/README.md)
FR-n / NFR-n / A-n Functional requirement, non-functional requirement and assumption of SPEC.md (SPEC.md) (§5, §6, §8); a spec's own criteria (W-n in spec 15 (docs/specs/15-workflow-module.md), JB-n in spec 263 (docs/specs/263-intake-job.md), …) are registered in docs/specs/README.md (docs/specs/README.md)

Three vocabularies for confidence. They answer different questions and are not to be mapped onto each other by name:

Vocabulary Values Question it answers Where
The extraction's verdict GROUNDED, UNSUPPORTED, AMBIGUOUS, NOT_FOUND Is this extracted value backed by the document? the extraction's domain ring (8.7)
ConfidenceBand HIGH, MEDIUM, LOW How certain is a reconciliation result, against thresholds in the policy? Kept for the reconciliation side only, never produced by the extraction; its carrier entity and thresholds are open 8.19.5
VerificationStatus CONFIRMED, CONTRADICTED, NOT_FOUND, UNAVAILABLE, NO_REFERENCE, INCONCLUSIVE What does a reference source say about the value? 8.19.5

NOT_FOUND means two different things: in the extraction's verdict the document has no value; in VerificationStatus the reference source does not know the subject. The data model review settles the names (TD-12).