{"action":"closed","issue":{"url":"https://api.github.com/repos/frappe/erpnext/issues/9415","repository_url":"https://api.github.com/repos/frappe/erpnext","labels_url":"https://api.github.com/repos/frappe/erpnext/issues/9415/labels{/name}","comments_url":"https://api.github.com/repos/frappe/erpnext/issues/9415/comments","events_url":"https://api.github.com/repos/frappe/erpnext/issues/9415/events","html_url":"https://github.com/frappe/erpnext/issues/9415","id":237538069,"number":9415,"title":"Incorrect payment accounts in purchase invoice","user":{"login":"mobentec","id":6663120,"avatar_url":"https://avatars2.githubusercontent.com/u/6663120?v=3","gravatar_id":"","url":"https://api.github.com/users/mobentec","html_url":"https://github.com/mobentec","followers_url":"https://api.github.com/users/mobentec/followers","following_url":"https://api.github.com/users/mobentec/following{/other_user}","gists_url":"https://api.github.com/users/mobentec/gists{/gist_id}","starred_url":"https://api.github.com/users/mobentec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mobentec/subscriptions","organizations_url":"https://api.github.com/users/mobentec/orgs","repos_url":"https://api.github.com/users/mobentec/repos","events_url":"https://api.github.com/users/mobentec/events{/privacy}","received_events_url":"https://api.github.com/users/mobentec/received_events","type":"User","site_admin":false},"labels":[{"id":467539099,"url":"https://api.github.com/repos/frappe/erpnext/labels/accounts","name":"accounts","color":"fbca04","default":false},{"id":594501200,"url":"https://api.github.com/repos/frappe/erpnext/labels/buying","name":"buying","color":"e99695","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-21T13:40:16Z","updated_at":"2017-06-28T11:09:08Z","closed_at":"2017-06-28T11:09:08Z","body":"We are entering in a bill for a purchase of raw goods.  We create a Purchase Invoice and select the \"Is Paid\" checkbox.\r\n\r\nUnder \"Payments\" subheading, we select mode of payment \"Credit Card\".\r\n\r\nFor Cash/Bank Account, we need to select our credit card (American Express account xxxx) which is a liabilities account, but ERPNext is only listing Asset accounts from within it's drop down.\r\n\r\nThe way we were able to get around this, is to uncheck \"Is paid\", and then make a Payment Entry.  \r\nWhen going through Payment Entry, it allows us to select the correct liabilities account (Amex Credit Card account).\r\n\r\n![2017-06-21 at 09-39-39](https://user-images.githubusercontent.com/6663120/27387053-99dbf054-5665-11e7-9c41-457e747b2d65.png)\r\n"}}
{"actor":{"display_login":"rohitwaghchaure"}}