{ "views": [ { "id": "past", "label": "Past", "visibility": "owner", "is_default": true, "read": { "table": "transaction", "where": { "status": "actual" } }, "sort": { "column": "occurred_on", "descending": true }, "slip": { "title": "description", "subtitle": "tag", "trailing": null, "photo": null, "toggle": null, "caption": { "dates": [ "occurred_on" ], "date_form": "relative" }, "figure": "amount_minor" }, "tile": { "face": "slip-list" }, "face": "cards" }, { "id": "future", "label": "Future", "visibility": "owner", "is_default": false, "read": { "table": "transaction", "where": { "status": "expected" } }, "sort": { "column": "occurred_on" }, "slip": { "title": "description", "subtitle": "tag", "trailing": null, "photo": null, "toggle": null, "caption": { "dates": [ "due_date", "occurred_on" ], "date_form": "relative" }, "figure": "amount_minor" }, "face": "cards" }, { "id": "banks", "label": "Bank accounts", "visibility": "owner", "is_default": false, "read": { "table": "money_account", "where": { "kind": [ "bank", "cash", "wallet" ] } }, "slip": { "title": "name", "subtitle": [ "institution", "number_mask" ], "trailing": null, "photo": null, "toggle": null, "figure": "balance_minor" }, "face": "cards" }, { "id": "cards", "label": "Cards", "visibility": "owner", "is_default": false, "read": { "table": "money_account", "where": { "kind": [ "credit_card", "loan" ] } }, "slip": { "title": "name", "subtitle": [ "institution", "number_mask" ], "trailing": null, "photo": null, "toggle": null, "figure": "balance_minor" }, "face": "cards" }, { "id": "statements", "label": "Statements", "visibility": "owner", "is_default": false, "read": { "table": "statement" }, "sort": { "column": "period_end", "descending": true }, "slip": { "title": "account_id", "subtitle": [ "period_start", "period_end" ], "trailing": null, "photo": null, "toggle": null, "status": "read_status" }, "face": "cards", "card": { "face": "plain", "fields": [ { "slot": "account", "column": "account_id" }, { "slot": "date", "column": "period_end" }, { "slot": "facts", "column": "period_start", "also": [ "opening_balance_minor", "closing_balance_minor", "line_count" ] } ] } }, { "id": "owed", "label": "Owed", "visibility": "owner", "is_default": false, "read": { "table": "money_owed" }, "face": "cards", "card": { "face": "transaction", "fields": [ { "slot": "people", "column": "counterparty_person_id", "max": 1 }, { "slot": "title", "column": "description" }, { "slot": "amount", "column": "amount_minor" }, { "slot": "state", "column": "direction", "only": [ "out", "in" ] }, { "slot": "date", "column": "occurred_on" } ] } }, { "id": "with_person", "label": "Money", "visibility": "owner", "is_default": false, "read": { "table": "money_owed" }, "partition": "counterparty_person_id", "face": "cards", "card": { "face": "transaction", "fields": [ { "slot": "title", "column": "description" }, { "slot": "amount", "column": "amount_minor" }, { "slot": "state", "column": "direction", "only": [ "out", "in" ] }, { "slot": "date", "column": "occurred_on" }, { "slot": "facts", "column": "balance_after" } ] } }, { "id": "by_person", "label": "By person", "visibility": "owner", "is_default": false, "read": { "table": "money_owed" }, "face": "cards", "card": { "face": "group", "fields": [ { "slot": "people", "column": "counterparty_person_id" }, { "slot": "title", "column": "description" }, { "slot": "amount", "column": "amount_minor" }, { "slot": "date", "column": "occurred_on" } ] } } ], "id": "money", "name": "Money", "purpose": "What has moved, what is coming, your accounts and what is owed between you and others.", "picture": { "photo": "photo:8dcc818171791b390006092d0c40c1bed9e261c7ce0b3693defa53ced27823d6", "object": "tool-money" }, "card_stock": "tan", "tables": [ "money_account", "transaction", "statement", "statement_line", "money_owed" ], "instructions": "Money draws the owner's money records; it never writes them. Past is the money that has moved (transactions with status actual), newest first. Future is what is expected, soonest due first. Bank accounts are the bank, cash and wallet accounts, and Cards the credit card and loan accounts, each with its balance. Statements are the bank and card statements read from filed documents, latest period first, with whether each was read. Owed is the money that moved between the owner and other people, grouped by person with the total between them; a person's own page shows their part of it. Money's records are written by the money engine and by statement reading: use record_transaction, update_transaction, read_statement and the other money tools, never this tool's lists, to change them.", "automations": [], "author": { "device": "cotton", "name": "Cotton" }, "signature": null }