{"action":"created","issue":{"url":"https://api.github.com/repos/RepairShopr/PCRT-Exporter/issues/1","labels_url":"https://api.github.com/repos/RepairShopr/PCRT-Exporter/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/RepairShopr/PCRT-Exporter/issues/1/comments","events_url":"https://api.github.com/repos/RepairShopr/PCRT-Exporter/issues/1/events","html_url":"https://github.com/RepairShopr/PCRT-Exporter/pull/1","id":85598461,"number":1,"title":"export invoices - first commit","user":{"login":"shashi-we","id":3795413,"avatar_url":"https://avatars.githubusercontent.com/u/3795413?v=3","gravatar_id":"","url":"https://api.github.com/users/shashi-we","html_url":"https://github.com/shashi-we","followers_url":"https://api.github.com/users/shashi-we/followers","following_url":"https://api.github.com/users/shashi-we/following{/other_user}","gists_url":"https://api.github.com/users/shashi-we/gists{/gist_id}","starred_url":"https://api.github.com/users/shashi-we/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shashi-we/subscriptions","organizations_url":"https://api.github.com/users/shashi-we/orgs","repos_url":"https://api.github.com/users/shashi-we/repos","events_url":"https://api.github.com/users/shashi-we/events{/privacy}","received_events_url":"https://api.github.com/users/shashi-we/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-05T18:23:00Z","updated_at":"2015-06-09T06:49:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RepairShopr/PCRT-Exporter/pulls/1","html_url":"https://github.com/RepairShopr/PCRT-Exporter/pull/1","diff_url":"https://github.com/RepairShopr/PCRT-Exporter/pull/1.diff","patch_url":"https://github.com/RepairShopr/PCRT-Exporter/pull/1.patch"},"body":"Hello Troy,\r\n\r\nThis PR includes the invoice export. There is something wrong with line items, invoices are being generated but without line items. I am looking more into it. \r\n\r\nThere is also some changes to add RS's customer_id into PCRT's database.\r\n\r\nAlso, please let me know the end point for assets api.\r\n\r\nThanks,\r\nSurendra"},"comment":{"url":"https://api.github.com/repos/RepairShopr/PCRT-Exporter/issues/comments/110250084","html_url":"https://github.com/RepairShopr/PCRT-Exporter/pull/1#issuecomment-110250084","issue_url":"https://api.github.com/repos/RepairShopr/PCRT-Exporter/issues/1","id":110250084,"user":{"login":"shashi-we","id":3795413,"avatar_url":"https://avatars.githubusercontent.com/u/3795413?v=3","gravatar_id":"","url":"https://api.github.com/users/shashi-we","html_url":"https://github.com/shashi-we","followers_url":"https://api.github.com/users/shashi-we/followers","following_url":"https://api.github.com/users/shashi-we/following{/other_user}","gists_url":"https://api.github.com/users/shashi-we/gists{/gist_id}","starred_url":"https://api.github.com/users/shashi-we/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shashi-we/subscriptions","organizations_url":"https://api.github.com/users/shashi-we/orgs","repos_url":"https://api.github.com/users/shashi-we/repos","events_url":"https://api.github.com/users/shashi-we/events{/privacy}","received_events_url":"https://api.github.com/users/shashi-we/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T06:49:04Z","updated_at":"2015-06-09T06:49:04Z","body":"Hello Troy,\r\n\r\nI fixed the line item issue. I think it was because of validations on 'quantity' and 'cost' attributes. Both these fields are not available in PCRT database, so I just use 'quantity' => 1 and 'cost' => 0.0 as default. Also, there is no any field like taxable in invoice api calling. Hence there is some difference in final proce of PCRT and RS.\r\n\r\nThanks,\r\nSurendra"}}