{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/pulls/1","id":66273209,"html_url":"https://github.com/kurabi-hc/quickbooks-ruby/pull/1","diff_url":"https://github.com/kurabi-hc/quickbooks-ruby/pull/1.diff","patch_url":"https://github.com/kurabi-hc/quickbooks-ruby/pull/1.patch","issue_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/issues/1","number":1,"state":"closed","locked":false,"title":"Entity on a DepositLineDetail should be of type BaseReference","user":{"login":"kurabi-hc","id":15199810,"avatar_url":"https://avatars.githubusercontent.com/u/15199810?v=3","gravatar_id":"","url":"https://api.github.com/users/kurabi-hc","html_url":"https://github.com/kurabi-hc","followers_url":"https://api.github.com/users/kurabi-hc/followers","following_url":"https://api.github.com/users/kurabi-hc/following{/other_user}","gists_url":"https://api.github.com/users/kurabi-hc/gists{/gist_id}","starred_url":"https://api.github.com/users/kurabi-hc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kurabi-hc/subscriptions","organizations_url":"https://api.github.com/users/kurabi-hc/orgs","repos_url":"https://api.github.com/users/kurabi-hc/repos","events_url":"https://api.github.com/users/kurabi-hc/events{/privacy}","received_events_url":"https://api.github.com/users/kurabi-hc/received_events","type":"User","site_admin":false},"body":"As per the Intuit developer docs. An entity is basically a BaseReference.\r\n\r\nLink to [docs](https://developer.intuit.com/docs/api/accounting/Deposit) and [screenshot](https://www.dropbox.com/s/mbp2raoujzinmzw/Screenshot%202016-04-11%2013.48.03.png?dl=0) attached. I also verified this and it works.","created_at":"2016-04-13T06:50:20Z","updated_at":"2016-04-13T06:54:04Z","closed_at":"2016-04-13T06:54:04Z","merged_at":"2016-04-13T06:54:04Z","merge_commit_sha":"ad16ef13e51b0c1c3ce05b276a01b0bc2b4f2242","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/pulls/1/commits","review_comments_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/pulls/1/comments","review_comment_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/issues/1/comments","statuses_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/statuses/c98011695a2d4645f558c77f1d9b7863c20ae436","head":{"label":"kurabi-hc:entity-bug","ref":"entity-bug","sha":"c98011695a2d4645f558c77f1d9b7863c20ae436","user":{"login":"kurabi-hc","id":15199810,"avatar_url":"https://avatars.githubusercontent.com/u/15199810?v=3","gravatar_id":"","url":"https://api.github.com/users/kurabi-hc","html_url":"https://github.com/kurabi-hc","followers_url":"https://api.github.com/users/kurabi-hc/followers","following_url":"https://api.github.com/users/kurabi-hc/following{/other_user}","gists_url":"https://api.github.com/users/kurabi-hc/gists{/gist_id}","starred_url":"https://api.github.com/users/kurabi-hc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kurabi-hc/subscriptions","organizations_url":"https://api.github.com/users/kurabi-hc/orgs","repos_url":"https://api.github.com/users/kurabi-hc/repos","events_url":"https://api.github.com/users/kurabi-hc/events{/privacy}","received_events_url":"https://api.github.com/users/kurabi-hc/received_events","type":"User","site_admin":false},"repo":{"id":56127351,"name":"quickbooks-ruby","full_name":"kurabi-hc/quickbooks-ruby","owner":{"login":"kurabi-hc","id":15199810,"avatar_url":"https://avatars.githubusercontent.com/u/15199810?v=3","gravatar_id":"","url":"https://api.github.com/users/kurabi-hc","html_url":"https://github.com/kurabi-hc","followers_url":"https://api.github.com/users/kurabi-hc/followers","following_url":"https://api.github.com/users/kurabi-hc/following{/other_user}","gists_url":"https://api.github.com/users/kurabi-hc/gists{/gist_id}","starred_url":"https://api.github.com/users/kurabi-hc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kurabi-hc/subscriptions","organizations_url":"https://api.github.com/users/kurabi-hc/orgs","repos_url":"https://api.github.com/users/kurabi-hc/repos","events_url":"https://api.github.com/users/kurabi-hc/events{/privacy}","received_events_url":"https://api.github.com/users/kurabi-hc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kurabi-hc/quickbooks-ruby","description":"Quickbooks Online REST API V3  - Ruby","fork":true,"url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby","forks_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/forks","keys_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/teams","hooks_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/hooks","issue_events_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/events","assignees_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/tags","blobs_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/languages","stargazers_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/stargazers","contributors_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/contributors","subscribers_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/subscribers","subscription_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/subscription","commits_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/merges","archive_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/downloads","issues_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/labels{/name}","releases_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/deployments","created_at":"2016-04-13T06:37:49Z","updated_at":"2016-04-13T06:37:50Z","pushed_at":"2016-04-13T06:54:04Z","git_url":"git://github.com/kurabi-hc/quickbooks-ruby.git","ssh_url":"git@github.com:kurabi-hc/quickbooks-ruby.git","clone_url":"https://github.com/kurabi-hc/quickbooks-ruby.git","svn_url":"https://github.com/kurabi-hc/quickbooks-ruby","homepage":"","size":953,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kurabi-hc:master","ref":"master","sha":"3cb78f7209d44ba9be14f765b4d81563af8f4810","user":{"login":"kurabi-hc","id":15199810,"avatar_url":"https://avatars.githubusercontent.com/u/15199810?v=3","gravatar_id":"","url":"https://api.github.com/users/kurabi-hc","html_url":"https://github.com/kurabi-hc","followers_url":"https://api.github.com/users/kurabi-hc/followers","following_url":"https://api.github.com/users/kurabi-hc/following{/other_user}","gists_url":"https://api.github.com/users/kurabi-hc/gists{/gist_id}","starred_url":"https://api.github.com/users/kurabi-hc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kurabi-hc/subscriptions","organizations_url":"https://api.github.com/users/kurabi-hc/orgs","repos_url":"https://api.github.com/users/kurabi-hc/repos","events_url":"https://api.github.com/users/kurabi-hc/events{/privacy}","received_events_url":"https://api.github.com/users/kurabi-hc/received_events","type":"User","site_admin":false},"repo":{"id":56127351,"name":"quickbooks-ruby","full_name":"kurabi-hc/quickbooks-ruby","owner":{"login":"kurabi-hc","id":15199810,"avatar_url":"https://avatars.githubusercontent.com/u/15199810?v=3","gravatar_id":"","url":"https://api.github.com/users/kurabi-hc","html_url":"https://github.com/kurabi-hc","followers_url":"https://api.github.com/users/kurabi-hc/followers","following_url":"https://api.github.com/users/kurabi-hc/following{/other_user}","gists_url":"https://api.github.com/users/kurabi-hc/gists{/gist_id}","starred_url":"https://api.github.com/users/kurabi-hc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kurabi-hc/subscriptions","organizations_url":"https://api.github.com/users/kurabi-hc/orgs","repos_url":"https://api.github.com/users/kurabi-hc/repos","events_url":"https://api.github.com/users/kurabi-hc/events{/privacy}","received_events_url":"https://api.github.com/users/kurabi-hc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kurabi-hc/quickbooks-ruby","description":"Quickbooks Online REST API V3  - Ruby","fork":true,"url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby","forks_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/forks","keys_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/teams","hooks_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/hooks","issue_events_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/events","assignees_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/tags","blobs_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/languages","stargazers_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/stargazers","contributors_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/contributors","subscribers_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/subscribers","subscription_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/subscription","commits_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/merges","archive_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/downloads","issues_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/labels{/name}","releases_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/deployments","created_at":"2016-04-13T06:37:49Z","updated_at":"2016-04-13T06:37:50Z","pushed_at":"2016-04-13T06:54:04Z","git_url":"git://github.com/kurabi-hc/quickbooks-ruby.git","ssh_url":"git@github.com:kurabi-hc/quickbooks-ruby.git","clone_url":"https://github.com/kurabi-hc/quickbooks-ruby.git","svn_url":"https://github.com/kurabi-hc/quickbooks-ruby","homepage":"","size":953,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/pulls/1"},"html":{"href":"https://github.com/kurabi-hc/quickbooks-ruby/pull/1"},"issue":{"href":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/issues/1"},"comments":{"href":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/kurabi-hc/quickbooks-ruby/statuses/c98011695a2d4645f558c77f1d9b7863c20ae436"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"kurabi-hc","id":15199810,"avatar_url":"https://avatars.githubusercontent.com/u/15199810?v=3","gravatar_id":"","url":"https://api.github.com/users/kurabi-hc","html_url":"https://github.com/kurabi-hc","followers_url":"https://api.github.com/users/kurabi-hc/followers","following_url":"https://api.github.com/users/kurabi-hc/following{/other_user}","gists_url":"https://api.github.com/users/kurabi-hc/gists{/gist_id}","starred_url":"https://api.github.com/users/kurabi-hc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kurabi-hc/subscriptions","organizations_url":"https://api.github.com/users/kurabi-hc/orgs","repos_url":"https://api.github.com/users/kurabi-hc/repos","events_url":"https://api.github.com/users/kurabi-hc/events{/privacy}","received_events_url":"https://api.github.com/users/kurabi-hc/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}