System Design Atlas

Insurance claims with documents and payouts

02 / 10Worked example

Business rules and operational targets

How do the amount and distinct approver identities determine the required approval?

The system boundary establishes this domain rule: every payout refers to one approved decision with its document version, amount and recipient. The same approved entitlement is paid at most once; new evidence does not overwrite an existing decision. An operational target describes a measurable property and initially remains a test assumption.

Starting point Claims handlers decide coverage against an explicit document version.

Assumptions for the example case

Fictitious example design: a simple property claim under one policy; manual coverage decision based on a fixed document version; one full payout in EUR; reasoned rejection and a later reassessment as a separate process. Figures and quality targets are illustrative test assumptions. Automatic claim rejection by AI, fraud investigation, partial payments and comprehensive statutory deadline calculation are outside scope.

Rules governing the result

Four gates before the payout

D-3Three supporting documents examined
E-31Reason + 45,000 cents
Approvalless than 50,000 cents: one person
Z-31Exactly one order

Response lost: retain auszahlung_offen; new evidence does not overwrite E-31 or Z-31.

Document version, coverage decision, approvals and recipient must support the same payout command.

A decision increases from 49,999 to 50,000 cents. At the inclusive threshold, require two distinct approvers. Boundary tests prevent unintended payout under outdated approval.

Business requirements (functional)

Further reading
Invariant
Each payout refers to exactly one approved decision with its document version, amount and recipient. The same approved entitlement is paid at most once; new evidence does not overwrite an existing decision.
Boundary test
Approval amounts of 49,999, 50,000 and 50,001 cents: the first amount requires one authorised person; the other two amounts each require two distinct authorised people. All figures are illustrative internal case rules, not legal requirements.
Unresolved outcome
The payment service pays 45,000 cents, but its response is lost. The claim remains auszahlung_offen; payment operations queries Z-31. A new document version cannot retroactively erase this already-started effect.

Quality goals (non-functional)

Further reading
Local acceptance
Illustrative target: 95% of local management commands complete within 800 ms under a peak profile of 20 notifications/s for 300 s = 6,000 notifications. Measure external execution and media transfers separately.
Traceability
Every rejected or open operation shows its reason, latest evidenced state and responsible role. Check this in a sample after the failure from step 7.

Bind approvals to the amount

Bind approvals to the amount

Require two distinct approvals at or above the threshold.

A decision grows from 49,999 to 50,000 cents.

Boundary tests prevent unintended payout under an outdated approval state.

Alternative considered
Checking role names alone cannot detect approval by the same person twice.
Trade-off
Larger amounts need a second person.
Reassess
The internal approval policy changes.

Terms in this step

Bind approvals to the amount
Boundary tests prevent unintended payout under an outdated approval state.

Try it yourself

Compare 49,999 and 50,000 cents with two approvals from the same person. Determine whether payout may be approved.

A hint for your attempt

Use the specific entities and conditions from this step. The two solution parts distinguish the decision from its evidenced outcome.

Compare with a possible solution
First part of the solution
49,999 cents requires one authorised approval under the illustrative rule.
Second part of the solution
50,000 cents requires two distinct authorised people. Two confirmations by the same identity do not satisfy the rule.

Apply to your project

Which corresponding assumption would you check first in your project when the internal approval policy changes?

Step 3 examines: Calculate file volume separately.