{"action":"opened","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/9972","labels_url":"https://api.github.com/repos/odoo/odoo/issues/9972/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/9972/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/9972/events","html_url":"https://github.com/odoo/odoo/issues/9972","id":121018161,"number":9972,"title":"[9.0CE]Bug: Tax Cash Basis Journal: Wrong date of VAT entries","user":{"login":"treviser","id":1814941,"avatar_url":"https://avatars.githubusercontent.com/u/1814941?v=3","gravatar_id":"","url":"https://api.github.com/users/treviser","html_url":"https://github.com/treviser","followers_url":"https://api.github.com/users/treviser/followers","following_url":"https://api.github.com/users/treviser/following{/other_user}","gists_url":"https://api.github.com/users/treviser/gists{/gist_id}","starred_url":"https://api.github.com/users/treviser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/treviser/subscriptions","organizations_url":"https://api.github.com/users/treviser/orgs","repos_url":"https://api.github.com/users/treviser/repos","events_url":"https://api.github.com/users/treviser/events{/privacy}","received_events_url":"https://api.github.com/users/treviser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-08T14:29:35Z","updated_at":"2015-12-08T14:29:35Z","closed_at":null,"body":"When using cash-based VAT accounting, I observe the following:\r\n\r\nObserved behaviour:\r\nThe entries of posts in the Tax Cash Basis Journal do always have the entry date (system date) as posting date instead of the payment date. Therefore proper tax reporting is impossible.\r\n\r\nSteps to reproduce:\r\n- Set-up accounting with Cash Basis allowed\r\n- Set-up and assign a Tax Cash Basis Journal (Type: Miscellaneous, no default accounts)\r\n- Create corresponding Tax Definitions:\r\n![selection_135](https://cloud.githubusercontent.com/assets/1814941/11657608/2c56a670-9dbe-11e5-91db-04e87e681f03.png)\r\n- Create an invoice:\r\n![selection_126](https://cloud.githubusercontent.com/assets/1814941/11657759/3844e748-9dbf-11e5-9822-331d97354ed2.png)\r\n- Pay the invoice:\r\n![selection_132](https://cloud.githubusercontent.com/assets/1814941/11657803/79e4f760-9dbf-11e5-8347-4536dfaaf91b.png)\r\n\r\n![selection_133](https://cloud.githubusercontent.com/assets/1814941/11657835/a84c0d5a-9dbf-11e5-960b-b7232c0175f8.png)\r\n\r\n- Check the resulting journal entries:\r\n![selection_134](https://cloud.githubusercontent.com/assets/1814941/11657894/f81d7f08-9dbf-11e5-93f7-6b940869fe2d.png)\r\n\r\n\r\nExpected Behaviour:\r\nUse payment date for cash-based VAT journal entries.\r\n\r\n\r\n\r\n\r\n\r\n\r\n"}}