Role: System
Objective: Calculate and deduct taxes when interests are being paid out to the account.
Reason: Due to regulation, all interest gains must be taxed.
Functional requirements:
This applies to all types of accounts (main, unlocked, locked).
All types of accounts have the same tax rate.
All taxes are sent to a special internal account.
The tax rate is 20 %.
Acceptance criteria:
When a customer is paid the interest, there is an automatically created transaction deducting it from the same account where it was received.