expense: simplify-debts toggle (action route)

flips the debt section between pairwise and simplified

group splitsheet expense/simplify-debts.spec.ts

πŸ‘₯ People

Alice @alice
sendsAlice runs /newsplit @bob @carol
πŸ‘₯ Group chat
Alice
/newsplit @bob @carol
Hello! I’m @splitsheetbot, here to help you split bills with friends. β€” show full message
Hello! I’m @splitsheetbot, here to help you split bills with friends.
I use something called a Splitsheetβ€”a dynamic message that keeps track of all expenses and debts. Below, you’ll find your first Splitsheet.

Here’s how to get started:
1. Join the Splitsheet by clicking the πŸ‘₯⁠βž• button (or reply with add @​username)
2. Reply to the Splitsheet with a description of your expense
3. Pin the Splitsheet for quick access

Examples of messages:
- groceries 50 (sender paid, and the cost is split evenly among all members)
- bought coffee for Emma 15 (sender paid, and only Emma owes)
- John bought concert tickets for me and Sarah, 40 each (John spent 80, and both Sarah and you owe)

How to edit expenses:
- Edit your own message
- Reply to your message with the changes
- Reply to your message requesting deletion

Adding expenses is free. One payment shows who owes whom, for the whole group, forever.

When you're ready to start a new Splitsheet, use the /newsplit command. You can mention members to add them immediately: /newsplit @​alice @​bob
If you have any questions or suggestions, feel free to contact @splitsheet_help_bot
🌐
πŸ“‹ Splitsheet

πŸ‘₯ Alice, @bob, @carol

Your expenses will appear here

↩️ Reply to add an expense. Or tap here
πŸ‘€βž•More β€’β€’β€’ β†—
πŸ›‘οΈ Admin log channel
πŸ“‹ #splitsheet_created
By: Alice
Sheet: 53afea6b-83ef-47ba-9256-82d0d0364645

πŸ‘€ #member_joined
Name: Alice
Sheet: 53afea6b-83ef-47ba-9256-82d0d0364645

πŸ‘€ #member_joined
Name: bob
Sheet: 53afea6b-83ef-47ba-9256-82d0d0364645

πŸ‘€ #member_joined
Name: carol
Sheet: 53afea6b-83ef-47ba-9256-82d0d0364645
repliesAlice replies to the splitsheet: β€œa”
πŸ‘₯ Group chat
Alice
/newsplit @bob @carol
Hello! I’m @splitsheetbot, here to help you split bills with friends. β€” show full message
Hello! I’m @splitsheetbot, here to help you split bills with friends.
I use something called a Splitsheetβ€”a dynamic message that keeps track of all expenses and debts. Below, you’ll find your first Splitsheet.

Here’s how to get started:
1. Join the Splitsheet by clicking the πŸ‘₯⁠βž• button (or reply with add @​username)
2. Reply to the Splitsheet with a description of your expense
3. Pin the Splitsheet for quick access

Examples of messages:
- groceries 50 (sender paid, and the cost is split evenly among all members)
- bought coffee for Emma 15 (sender paid, and only Emma owes)
- John bought concert tickets for me and Sarah, 40 each (John spent 80, and both Sarah and you owe)

How to edit expenses:
- Edit your own message
- Reply to your message with the changes
- Reply to your message requesting deletion

Adding expenses is free. One payment shows who owes whom, for the whole group, forever.

When you're ready to start a new Splitsheet, use the /newsplit command. You can mention members to add them immediately: /newsplit @​alice @​bob
If you have any questions or suggestions, feel free to contact @splitsheet_help_bot
🌐
πŸ“‹ Splitsheet

πŸ’° 30.00 β€’ πŸ‘₯ Alice, @bob, @carol

Jun 19, 2026
30 β€” Alice pays, split Bo… ― 30.00 β€’ Alice for @bob

πŸ’Έ Alice ← @bob 30

↩️ Reply to add an expense. Or tap here
πŸ‘€βž•More β€’β€’β€’ β†—
πŸ”“ Remove limits
Alice
πŸ“‹ Splitsheet πŸ’° 30.00 β€’ πŸ‘₯ Alice, @bob, @carol Jun 19, 2026 30 β€” Alice pays, s…
a
✍️
repliesAlice replies to the splitsheet: β€œb”
πŸ‘₯ Group chat
Alice
/newsplit @bob @carol
Hello! I’m @splitsheetbot, here to help you split bills with friends. β€” show full message
Hello! I’m @splitsheetbot, here to help you split bills with friends.
I use something called a Splitsheetβ€”a dynamic message that keeps track of all expenses and debts. Below, you’ll find your first Splitsheet.

Here’s how to get started:
1. Join the Splitsheet by clicking the πŸ‘₯⁠βž• button (or reply with add @​username)
2. Reply to the Splitsheet with a description of your expense
3. Pin the Splitsheet for quick access

Examples of messages:
- groceries 50 (sender paid, and the cost is split evenly among all members)
- bought coffee for Emma 15 (sender paid, and only Emma owes)
- John bought concert tickets for me and Sarah, 40 each (John spent 80, and both Sarah and you owe)

How to edit expenses:
- Edit your own message
- Reply to your message with the changes
- Reply to your message requesting deletion

Adding expenses is free. One payment shows who owes whom, for the whole group, forever.

When you're ready to start a new Splitsheet, use the /newsplit command. You can mention members to add them immediately: /newsplit @​alice @​bob
If you have any questions or suggestions, feel free to contact @splitsheet_help_bot
🌐
πŸ“‹ Splitsheet

πŸ’° 60.00 β€’ πŸ‘₯ Alice, @bob, @carol

Jun 19, 2026
30 β€” Alice pays, split Bo… ― 30.00 β€’ Alice for @bob
30 β€” Bob pays, split Caro… ― 30.00 β€’ @bob for @carol

πŸ’Έ Alice ← @bob 30
πŸ’Έ @bob ← @carol 30
β—‹ simplified Β· β—‰ full

↩️ Reply to add an expense. Or tap here
πŸ‘€βž•More β€’β€’β€’ β†—
πŸ”“ Remove limits
Alice
πŸ“‹ Splitsheet πŸ’° 60.00 β€’ πŸ‘₯ Alice, @bob, @carol Jun 19, 2026 30 β€” Alice pays, s…
a
✍️
Alice
πŸ“‹ Splitsheet πŸ’° 60.00 β€’ πŸ‘₯ Alice, @bob, @carol Jun 19, 2026 30 β€” Alice pays, s…
b
✍️
repliesAlice replies to the splitsheet: β€œc”
  • βœ“the sheet starts pairwise
  • βœ“the bubble marks full as active
  • βœ“a setSimplifyDebts:true event was appended
  • βœ“the sheet now reads as simplified
  • βœ“the bubble now marks simplified as active
  • βœ“the latest event flips back to pairwise
  • βœ“the sheet reads as pairwise again
πŸ‘₯ Group chat
Alice
/newsplit @bob @carol
Hello! I’m @splitsheetbot, here to help you split bills with friends. β€” show full message
Hello! I’m @splitsheetbot, here to help you split bills with friends.
I use something called a Splitsheetβ€”a dynamic message that keeps track of all expenses and debts. Below, you’ll find your first Splitsheet.

Here’s how to get started:
1. Join the Splitsheet by clicking the πŸ‘₯⁠βž• button (or reply with add @​username)
2. Reply to the Splitsheet with a description of your expense
3. Pin the Splitsheet for quick access

Examples of messages:
- groceries 50 (sender paid, and the cost is split evenly among all members)
- bought coffee for Emma 15 (sender paid, and only Emma owes)
- John bought concert tickets for me and Sarah, 40 each (John spent 80, and both Sarah and you owe)

How to edit expenses:
- Edit your own message
- Reply to your message with the changes
- Reply to your message requesting deletion

Adding expenses is free. One payment shows who owes whom, for the whole group, forever.

When you're ready to start a new Splitsheet, use the /newsplit command. You can mention members to add them immediately: /newsplit @​alice @​bob
If you have any questions or suggestions, feel free to contact @splitsheet_help_bot
🌐
πŸ“‹ Splitsheet

πŸ’° 90.00 β€’ πŸ‘₯ Alice, @bob, @carol

Jun 19, 2026
30 β€” Alice pays, split Bo… ― 30.00 β€’ Alice for @bob
30 β€” Bob pays, split Caro… ― 30.00 β€’ @bob for @carol
30 β€” Carol pays, split Al… ― 30.00 β€’ @carol for Alice

πŸ’Έ Alice ← @bob 30
πŸ’Έ @bob ← @carol 30
πŸ’Έ @carol ← Alice 30
β—‹ simplified Β· β—‰ full

↩️ Reply to add an expense. Or tap here
πŸ‘€βž•More β€’β€’β€’ β†—
πŸ”“ Remove limits
Alice
πŸ“‹ Splitsheet πŸ’° 90.00 β€’ πŸ‘₯ Alice, @bob, @carol Jun 19, 2026 30 β€” Alice pays, s…
a
✍️
Alice
πŸ“‹ Splitsheet πŸ’° 90.00 β€’ πŸ‘₯ Alice, @bob, @carol Jun 19, 2026 30 β€” Alice pays, s…
b
✍️
Alice
πŸ“‹ Splitsheet πŸ’° 90.00 β€’ πŸ‘₯ Alice, @bob, @carol Jun 19, 2026 30 β€” Alice pays, s…
c
✍️