Expenses
Shared cost logging, splitting, and per-user balance accounting
Concepts
Expense
interface Expense {
id: AgentId;
date: number; // Unix epoch ms
amount: number;
currency: string; // normalized: lowercase, singular, a–z only
description: string;
paidBy: AgentId;
splitWith: AgentId[];
picture?: string | null; // optional Telegram file_id for a receipt
}
type AgentId = string | number;Balance
Credit matrix
Operations
Creation and editing
Function
Purpose
Balance computation
Function
Purpose
How a split works
Integration with REA
Storage layout
MCP tool surface
See also
Last updated
Was this helpful?