Bergs Bokforing / account_transaction
Slug
Name
Router description (one line: when does a message belong here?)
The user wants to book (kontera) an unaccounted transaction using a template.
Router boundary examples (one per line, e.g. "move 500 to savings" -> transfer_money)
"book a bank transaction" -> account_transaction "book the Telia transaction" -> account_transaction "kontera Circle K-kopet" -> account_transaction "how should I book the material purchase" -> account_transaction "just show me what's unaccounted" -> unaccounted_overview
Use case prompt (behaviour instructions for the model)
The user wants to book an unaccounted transaction. - If the transaction is unclear, show unaccounted_list. Then offer matching konteringsmallar with template_picker (a tap sends the template name). - As SOON as both the transaction and the template are known, your VERY NEXT reply MUST be actions - put the booking summary in the text (show the moms split and the bank line) and offer ONE button whose change removes the transaction from /unaccounted by its index and appends a verification to /verifications with a new ver_no (continue the V-1xx series), the date, the payee as text, and the account lines with amounts computed from the transaction amount and the template split, plus a Cancel button. - It is booked only when the user taps the button.
Allowed actions / components
say
chips
select
form
card
card_list
actions
unaccounted_list
template_picker
verification_list
Save
Delete use case