System Design Atlas

Tax returns and assessment

01 / 10Worked example

Purpose and boundary

What does the assessment API manage for the return, and which evidence originates outside?

The basic assumptions define this example's responsibility. We follow tax return E-37, rule revision R-37 and draft assessment notice B-37. These stable identifiers connect the technical views. An amendment arrives while approval is pending. The fictional administrative workflow uses an invented calculation model linking return year, rule revision and draft notice.

Starting point An amended tax return arrives while a draft assessment notice is open for approval.

Assumptions for the example case

A fictional administrative workflow using an invented calculation model to bind return year, rule revision and draft assessment notice. The model uses an allowance of 100000 cents; only the excess is charged at 10 % and rounded to whole cents using round-half-up. All figures and test targets are illustrative assumptions.

Responsibilities and external boundary

Context · Bounded tax-assessment workflow

Tax filerInformation and supporting documents
Delivery serviceAcknowledge technical transmission
Tax assessment APIApproval binds exactly one return revision and one rule revision from the same model year.
Delivery processingtransmitted released document hash
Erklärende Person → Veranlagungs-APITax return and evidence
Veranlagungs-API → Erklärende PersonReview status or request for further evidence
Zustellverarbeitung → ZustelldienstDocument hash and receipt

Approval binds exactly one return revision and one rule revision from the same model year.

An amended return arrives while a draft assessment awaits approval. Actors remain outside, the assessment API inside; the delivery service has its own external boundary.

The specific design scope

Example situation
An amended tax return arrives while a draft assessment notice is open for approval.
Scope
A fictional administrative workflow with an invented calculation model linking the tax return year, rule revision and draft assessment notice.
Excluded tasks
Real tax calculations, deadline advice, legal remedies, legally effective notification and actual automated tax assessment.

The rule year and tax return remain explicitly linked

The rule year and tax return remain explicitly linked

The rule year and tax return remain explicitly linked.

An amended tax return arrives while a draft assessment notice is open for approval.

The fictional workflow uses an invented calculation model linking return year, rule revision and draft assessment notice. Your test defines the input and expected result.

Alternative considered
Extending the design to real tax calculation, deadline advice, legal remedies, legally effective notification or automated assessment requires additional domain contracts.
Trade-off
The initial scope covers the invented workflow linking return year, rule revision and draft assessment notice.
Reassess
Real tax calculations, deadline advice, legal remedies, legally effective notification or automated assessment require a new scope decision.

Try it yourself

Assign responsibility for the return, delivery service and final decision. Name a task outside the boundary.

A hint for your attempt

Use the business guarantee and the explicitly limited scope.

Compare with a possible solution
Primary responsibility
The assessment API manages the return. Caseworkers own domain processing; platform operations provides the technical service.
External boundary
The delivery service is an external source of evidence. Real tax calculation, deadline advice, legal remedies, legally effective notification and actual automated assessment remain outside this example.

Apply to your project

Which evidence about a tax return would originate outside the application in your project?

Next: the calculation model and rounding are identified as fictional.