Modelling a bank account and its transactions

From my point of view, the most interesting aspects of this model would be error scenarios that can occur in normal banking operations, e.g.

  • unknown account number / IBAN
  • Account not covered / overdrawn
  • Account closed or blocked
  • double deposit

and how these things are checked against the single source of truth.
The Happy Path should be relatively straight forward I guess.

I think you misunderstood the model. This coding sample is for an accounting system in a small business, not a commercial banking system. However, you could probably put a commercial banking model upstream from this, or even as a plugin, but that is a separate BC.

Hi guys,

I tried to create an eventmodel based on the .NET Transacto implementation as far as I understood the code. Would appreciate any feedback.

https://miro.com/app/board/o9J_lmfCtMc=/?invite_link_id=170392643798

best regards
Thomas