{ "views": [ { "id": "past", "label": "Past", "visibility": "owner", "is_default": true, "read": { "table": "transaction", "where": { "status": "actual" }, "empty": { "line": "empty_views.money.past", "table": true } }, "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" }, "empty": { "line": "empty_views.money.future", "table": true } }, "sort": { "column": "occurred_on" }, "slip": { "title": "description", "subtitle": "tag", "trailing": null, "photo": null, "toggle": null, "caption": { "dates": [ "occurred_on", "due_date" ], "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" ] }, "empty": { "line": "empty_views.money.banks", "table": true } }, "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" ] }, "empty": { "line": "empty_views.money.cards", "table": true } }, "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": "title", "column": "account_id", "also": [ "period_start", "period_end" ], "line": "field.statement" }, { "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.receipt", "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.receipt", "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:d3020bbe260bf41f313f8116af2a6ee38a7c9ee0ff72794fa86448e88d0b42e6", "object": "tool-money" }, "card_stock": "tan", "fan_tile": { "stock": { "photo": "photo:900ea3faa25002c92c14d7cab8a434c42c6e1d2ee2c04b1f2ac52dadb381774f" }, "pictures": { "list": { "photo": "photo:22a070d4345c852300773da1c8e4bf3c119c910283ee8dcac70a32bedd3bb460" }, "more": { "photo": "photo:5f411cb446c37e9c735b697e35ef3876587ade0cd6122bc58f1dcc4748f66803" }, "new_list": { "photo": "photo:f102cbe8acfa13761a39bcc16c41b335ea1451f5839dc4947975f53161546adb" } }, "views": { "banks": { "photo": "photo:c6f88c7849eeb0ff5f97b5dacbb5add1e629e6d301de411e1be7d050d94adee6" }, "by_person": { "photo": "photo:3a0dd45b4ebaa8e3066a1f947ecfa23dfe6646c3b66279fbb6f496aec4c5653b" }, "cards": { "photo": "photo:76686b4923e601dfb094eba41e04febe4a152a473879e2fd17492ba996ca6fd4" }, "future": { "photo": "photo:de508db3c96139c94d9e9515aeac70aa07de57173f8623d7de7551507c915990" }, "owed": { "photo": "photo:791a3da4fa73503863c32c0f598e50869ee511ed356280f0d693edd7e2e92861" }, "past": { "photo": "photo:549859be8822783ef4cb452a99384f65bf14831870f020e7719d0324e3aec59d" }, "statements": { "photo": "photo:35c193c87fafa184b11a67cdbc451fc274c2184c72d36f41f08ff1ad9f782db5" }, "with_person": { "photo": "photo:858850aa59ad6a8dc36a9476a9129dc137798774be913b290b4c3f5fa92f1c66" } }, "acts": { "bin": { "photo": "photo:00366b4be34024b5be2445c51cf899805b5ea723cd70230e733cfd1abde13b75" }, "face": { "photo": "photo:8b8d1c9be6f5a16a68a8f53f7735ea2d7c51967ea20303062791765a3be9a3d8" }, "group": { "photo": "photo:38e0566600bdc38cce8b9fad073b502b80306ca746ae0c23112cb4d50bed3edd" }, "list_member_earlier": { "photo": "photo:73a39bbb727eae8d6c9c575fae7f2e650a0948623d96df34f5e5960125a26fe7" }, "list_member_later": { "photo": "photo:73a39bbb727eae8d6c9c575fae7f2e650a0948623d96df34f5e5960125a26fe7" }, "list_member_remove": { "photo": "photo:00366b4be34024b5be2445c51cf899805b5ea723cd70230e733cfd1abde13b75" }, "list_move_earlier": { "photo": "photo:73a39bbb727eae8d6c9c575fae7f2e650a0948623d96df34f5e5960125a26fe7" }, "list_move_later": { "photo": "photo:73a39bbb727eae8d6c9c575fae7f2e650a0948623d96df34f5e5960125a26fe7" }, "list_remove": { "photo": "photo:00366b4be34024b5be2445c51cf899805b5ea723cd70230e733cfd1abde13b75" }, "list_remove_picture": { "photo": "photo:8989b1e60c447740b901bcfb8cad47fa41044dfab73376600e8ee96b248fa7ee" }, "list_rename": { "photo": "photo:22a070d4345c852300773da1c8e4bf3c119c910283ee8dcac70a32bedd3bb460" }, "list_set_picture": { "photo": "photo:e080b86029608f42ed66f17cd9922aad1d50542ddd683c47b1f1480db6016d4f" }, "repeat": { "photo": "photo:73a39bbb727eae8d6c9c575fae7f2e650a0948623d96df34f5e5960125a26fe7" }, "status": { "photo": "photo:88f9731f3811c3901becddc90546db479fc5978139043768113d68375596fa40" }, "when": { "photo": "photo:6ceb675b06ffbe7dd9fe851515b7628db340687e0e79b11c988c666b62b27e7d" } }, "doors": { "bill": { "photo": "photo:de508db3c96139c94d9e9515aeac70aa07de57173f8623d7de7551507c915990" }, "money_in": { "photo": "photo:791a3da4fa73503863c32c0f598e50869ee511ed356280f0d693edd7e2e92861" }, "spend": { "photo": "photo:76686b4923e601dfb094eba41e04febe4a152a473879e2fd17492ba996ca6fd4" }, "statement": { "photo": "photo:35c193c87fafa184b11a67cdbc451fc274c2184c72d36f41f08ff1ad9f782db5" } } }, "tables": [ "money_account", "transaction", "statement", "statement_line", "money_owed", "vault_key" ], "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 }