{"action":"created","issue":{"url":"https://api.github.com/repos/simonmichael/hledger/issues/556","repository_url":"https://api.github.com/repos/simonmichael/hledger","labels_url":"https://api.github.com/repos/simonmichael/hledger/issues/556/labels{/name}","comments_url":"https://api.github.com/repos/simonmichael/hledger/issues/556/comments","events_url":"https://api.github.com/repos/simonmichael/hledger/issues/556/events","html_url":"https://github.com/simonmichael/hledger/issues/556","id":231214301,"node_id":"MDU6SXNzdWUyMzEyMTQzMDE=","number":556,"title":"Balance assertions could be tagged to include only cleared postings","user":{"login":"Ekleog","id":411447,"node_id":"MDQ6VXNlcjQxMTQ0Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/411447?v=4","gravatar_id":"","url":"https://api.github.com/users/Ekleog","html_url":"https://github.com/Ekleog","followers_url":"https://api.github.com/users/Ekleog/followers","following_url":"https://api.github.com/users/Ekleog/following{/other_user}","gists_url":"https://api.github.com/users/Ekleog/gists{/gist_id}","starred_url":"https://api.github.com/users/Ekleog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ekleog/subscriptions","organizations_url":"https://api.github.com/users/Ekleog/orgs","repos_url":"https://api.github.com/users/Ekleog/repos","events_url":"https://api.github.com/users/Ekleog/events{/privacy}","received_events_url":"https://api.github.com/users/Ekleog/received_events","type":"User","site_admin":false},"labels":[{"id":35075262,"node_id":"MDU6TGFiZWwzNTA3NTI2Mg==","url":"https://api.github.com/repos/simonmichael/hledger/labels/A%20WISH","name":"A WISH","color":"f9d0c4","default":false},{"id":97125749,"node_id":"MDU6TGFiZWw5NzEyNTc0OQ==","url":"https://api.github.com/repos/simonmichael/hledger/labels/journal","name":"journal","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2017-05-25T01:17:28Z","updated_at":"2018-06-14T22:28:02Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"This is a feature idea that I think may be interesting for easier reconciliation: having balance assertions that match only on the sum of cleared postings.\r\n\r\nThis way, files like this one\r\n```\r\n2099-01-01 partially valid transaction\r\n  * assets:a  1\r\n  assets:b  -1\r\n\r\n2099-01-02 * assertion from bank records\r\n  assets:a  0 =* 1\r\n  assets:b  0 =* 0\r\n```\r\nwould pass balance assertions without having to fiddle with transaction 1's posting 2's date (which would pollute register output).\r\n\r\n(obviously, exact syntax is TBD, I would have loved to just use whether the posting on which the assertion is made is cleared or not, but that would break existing ledgers, so a separate syntax has to be picked)\r\n\r\nWhat do you think about it?\r\n\r\n<bountysource-plugin>\r\n\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/45548250-balance-assertions-could-be-tagged-to-include-only-cleared-postings?utm_campaign=plugin&utm_content=tracker%2F536505&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F536505&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/simonmichael/hledger/issues/comments/397457445","html_url":"https://github.com/simonmichael/hledger/issues/556#issuecomment-397457445","issue_url":"https://api.github.com/repos/simonmichael/hledger/issues/556","id":397457445,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzQ1NzQ0NQ==","user":{"login":"simonmichael","id":10144,"node_id":"MDQ6VXNlcjEwMTQ0","avatar_url":"https://avatars3.githubusercontent.com/u/10144?v=4","gravatar_id":"","url":"https://api.github.com/users/simonmichael","html_url":"https://github.com/simonmichael","followers_url":"https://api.github.com/users/simonmichael/followers","following_url":"https://api.github.com/users/simonmichael/following{/other_user}","gists_url":"https://api.github.com/users/simonmichael/gists{/gist_id}","starred_url":"https://api.github.com/users/simonmichael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonmichael/subscriptions","organizations_url":"https://api.github.com/users/simonmichael/orgs","repos_url":"https://api.github.com/users/simonmichael/repos","events_url":"https://api.github.com/users/simonmichael/events{/privacy}","received_events_url":"https://api.github.com/users/simonmichael/received_events","type":"User","site_admin":false},"created_at":"2018-06-14T22:28:02Z","updated_at":"2018-06-14T22:28:02Z","author_association":"OWNER","body":"My current practice is to put `; date_:` and later change it to `; date:6/14`."}}
{"actor":{"display_login":"simonmichael"}}