{"info":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","description":"<html><head></head><body><h1 id=\"quick-start\">Quick Start</h1>\n<p>The column on the right hand side has a curl call that demonstrates the required Headers and general format of requests to the FreshBooks API.</p>\n<p>Requests are authenticated using OAuth2 Bearer tokens which you receive in exchange for a code we issue after a logged-in user performs an authorization grant request. You can create an OAuth application and get a <code>client_id</code> and <code>secret</code> at the <a href=\"https://my.freshbooks.com/#/developer\">developer page</a>.</p>\n<p>The FreshBooks API is an interface for accessing your FreshBooks data using JSON. The API makes it easy to create web and desktop applications that integrate with your account. Possible uses for it include automatically creating and sending invoices when users sign up on your website, pulling lists of client information, copying data to 3rd party services, and more...</p>\n<p>Check out our Scenarios and API Reference sections to see what to expect, and when you're ready, sign up for a FreshBooks account if you don't have one, and proceed to the <a href=\"https://my.freshbooks.com/#/developer\">developer page</a> to create an application and start development.</p>\n<p>Oh, and we're not trying to be secretive about the URL of the developer page, it's: <a href=\"https://www.my.freshbooks.com/#/developer\">https://www.my.freshbooks.com/#/developer</a></p>\n<h2 id=\"creating-your-application-on-freshbooks\">Creating your application on FreshBooks</h2>\n<p>Create an account by visiting our <a href=\"https://www.freshbooks.com/pages/developer-signup?ref=13287&amp;utm_source=Partners&amp;utm_medium=DevCommunity&amp;utm_campaign=Dev%20Signup%20-%20API%20docs&amp;utm_term=Dev%20Signup%20-%20API%20docs\">sign up page</a>. If you already have a FreshBooks account, log in by visiting our <a href=\"https://www.freshbooks.com/developers\">log in page.</a> You can reach out to our support team to have your account put on our partner plan.</p>\n<ol>\n<li>Now visit the <a href=\"https://my.freshbooks.com/#/developer\">developer page</a> and create a <a href=\"https://my.freshbooks.com/#/developer/new\">new app</a>.</li>\n<li>Make sure to include the name of the application and redirect URI in the application form.<br> The name of the application has to be unique as it will be used to display on the FreshBooks app store and on a FreshBooks user’s <a href=\"https://my.freshbooks.com/#/integrations\">integrations</a> page once they have connected with your application. The redirect URI should be an endpoint in your application that will receive the authorization code and will use it to retrieve the bearer token and refresh token. These will be necessary to make authenticated calls to the FreshBooks API. To get more information on our authentication process visit our <a href=\"https://www.freshbooks.com/api/authentication\">Oauth documentation</a>.</li>\n<li>Save your application.</li>\n</ol>\n<h2 id=\"required-headers\">Required Headers</h2>\n<p>There are two required headers:</p>\n<ol>\n<li><code>Content-Type: application/json</code></li>\n<li><code>Authorization: Bearer</code></li>\n</ol>\n<h1 id=\"getting-help\">Getting Help</h1>\n<p>If there’s no one around to help, we’ve got your back. Shoot us an email at <a href=\"mailto:api@freshbooks.com\">api@freshbooks.com</a> and tell us what you’re aiming to accomplish, what you’ve done so far, and what went wrong. Maybe we can find the missing piece of the puzzle together.</p>\n<h1 id=\"identity-model\">Identity Model</h1>\n<p>FreshBooks users are uniquely identified by their email across our entire product. One user may act on several Businesses in different ways, so if&nbsp;<strong><a href=\"mailto:leafy@example.com\">leafy@example.com</a></strong>&nbsp;is an Administrator of one account and gets added as a Client on another, they will have some access to both. They could then open a second business of their own, or be added as an employee of another person’s business—we live complicated lives! Our Identity model is how we keep track of it.</p>\n<h2 id=\"account-ids--business-ids\">Account IDs &amp; Business IDs</h2>\n<p>You can find ids for the Businesses and Accounts a user can interact with by making a call to the Identity Info endpoint (or&nbsp;<code>/me</code>). An example of its response is in the code pane on the right. The key we care about most is&nbsp;<code>business_memberships</code>.</p>\n<p>All of the business objects listed in the&nbsp;<code>business_memberships</code>&nbsp;will have an&nbsp;<code>accountId</code>&nbsp;as well as a role on that business (see Roles below). Those business objects also each have an <code>id</code> which is the&nbsp;<code>business_id</code>. Be careful not to mistake the business’s id for the id of the&nbsp;<code>business_membership</code>&nbsp;object itself.</p>\n<p>For example, in the Identity Info (<code>/me</code>) response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">\"business_memberships\": [\n{\n    \"id\": 111,\n    \"role\": \"owner\",\n    \"business\": {\n        \"id\": 240340,\n        \"business_uuid\": \"046cc001-0002-e93e-1db1-1186b2983879\",\n        \"name\": \"Awesome Business Inc.\",\n        \"account_id\": \"ABC123\",\n        \"date_format\": \"dd/mm/yyyy\",\n        \"active\": true\n    }\n}\n\n</code></pre>\n<p>You can see that the user is an <code>owner</code> on this business which has a <code>business_id</code> of <code>230340</code> and an <code>account_id</code> of <code>ABC123</code>.</p>\n<h2 id=\"acting-on-a-specific-account\">Acting on a Specific Account</h2>\n<p>For historical reasons, FreshBooks has shifted from an account concept to a business concept, but many resources still make use of accountIds.</p>\n<p>Calls to the <code>/accounting</code> endpoints take this form:</p>\n<ul>\n<li><code>/accounting/account/{accountId}/invoices/invoices</code></li>\n</ul>\n<p>Calls to most non-accounting resources, such as the <code>/timetracking/</code> and <code>/projects/</code> endpoints usually require a <code>business_id</code>, for example:</p>\n<ul>\n<li><code>/timetracking/business/{business_id}/time_entries</code></li>\n</ul>\n<p><em>All FreshBooks users</em>&nbsp;have an&nbsp;<strong>Identity</strong>&nbsp;and a&nbsp;<strong>Business</strong>&nbsp;resource and thus a&nbsp;<strong>business_id</strong>.&nbsp;<em>Most users</em>&nbsp;have accounts, which represent their own FreshBooks account, but not all. For instance, when a Client receives an invoice, views it, and saves it, they will exist as an Identity in our system with a client Role on a&nbsp;<strong>Business</strong>, but they do not have an&nbsp;<strong>Account</strong>&nbsp;of their own. If you know your integration will never need to deal with someone who is just a Client and doesn’t have their own Account, you can ignore this. If you aren’t sure of that, you must gracefully handle the case where you cannot find an account for a user.</p>\n<h2 id=\"roles\">Roles</h2>\n<p>Over time the logical role names that FreshBooks utilizes have diverged slightly from the names they are given in the FreshBooks application. Below are the relationships.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>API Role</th>\n<th>FreshBooks UI Role Name</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>owner <strong>or</strong> admin</td>\n<td>Owner</td>\n<td>The primary Identity of a FreshBooks business. This shows as <code>owner</code> in the <code>business_memberships</code> of the identity response, and <code>admin</code> in the older, deprecated <code>roles</code> array of the response.</td>\n</tr>\n<tr>\n<td>business_partner</td>\n<td>Admin</td>\n<td>An additional Identity with full access to the FreshBooks business.</td>\n</tr>\n<tr>\n<td>business_manager</td>\n<td>Manager</td>\n<td>Identity without access to full financial reports and information.</td>\n</tr>\n<tr>\n<td>business_employee</td>\n<td>Employee</td>\n<td>Identity with access limited to their own expenses, projects, and time tracking.</td>\n</tr>\n<tr>\n<td>business_accountant</td>\n<td>Accountant</td>\n<td>Identity with access limited to accounting items such as report and expense categorization</td>\n</tr>\n<tr>\n<td>contractor</td>\n<td>Contractor</td>\n<td>An Identity with their own Business that can track time and invoice this business.</td>\n</tr>\n<tr>\n<td>client</td>\n<td>Client</td>\n<td>Identity that has received an invoice from this Business and saved it to their own.</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"concepts-and-ideas\">CONCEPTS AND IDEAS</h1>\n<h2 id=\"adding-a-logo-to-your-invoice\">Adding a Logo to your Invoice</h2>\n<p>In order for you to add a logo to your FreshBooks invoice, you will need to do it in two steps.</p>\n<ol>\n<li>Upload your logo to your FreshBooks account using the Uploader endpoint</li>\n<li>Apply your logo to your invoice</li>\n</ol>\n<h2 id=\"uploading-your-logo\">Uploading your Logo</h2>\n<p>Using the Uploader endpoint, add your .png or .jpg file. Your response will contain a <code>jwt</code> value. Take that value and add it to your GET call for your new invoice.</p>\n<p>You can now use the POST Single Invoice (or Update Invoice) endpoint to apply your logo to an invoice. You will need to add your <code>jwt</code> token under presentation at <code>img_src_logo</code>.</p>\n<p><strong>Note: The presentation payload also allows you to set colours based on hex code, change the style of your invoice and a few other customizable options.</strong></p>\n<h2 id=\"adding-a-receipt-to-your-expense\">Adding a Receipt to your Expense</h2>\n<p>This process is similar to adding a logo to an invoice. You will first need to upload the expense image via the uploader endpoint (See the Postman call for the Uploader). You will then receive back a response with the <code>jwt</code> key and it's associated value.</p>\n<p>You will use then add this value in your POST body to add this newly uploaded receipt to an expense. For an example, check out the Expenses folder below.</p>\n<h2 id=\"adding-a-payment-gateway-to-your-invoice\">Adding a Payment Gateway to your Invoice</h2>\n<p>To add a payment gateway to your invoice you will first need to make sure that you have gone through the \"Know Your Client\" process in FreshBooks. This will ensure that you comply to the Terms of Service with either/both of our payment processors, Stripe and FreshBooks Payments. This process will require you to sign up for an account, fill in your business and banking details, tell them what type of business you're managing and how often you would like to have funds deposited into your bank account.</p>\n<p>Once you have gone through the KYC process, you can then toggle online payments on an invoice by making a POST call to the payment_options endpoint for the gateway of your choice. For an example of this, look under invoices and choose the POST call for \"Enable Payment Options On Invoice\".</p>\n<h2 id=\"getting-a-shareable-link-to-your-invoice\">Getting a Shareable Link to your Invoice</h2>\n<p>To create a shareable link for your invoice, you need to add an <code>share_link?share_method=share_link</code> parameter to the end of your GET call for the invoice you are looking to share. You will need to make sure the invoice has already been marked as sent. If you want to mark an invoice as sent you can simply follow the steps under invoices (Hint: adding <code>\"status\"</code> as <code>2</code> to the body of your PUT call should do the trick.)</p>\n<h2 id=\"getting-all-the-includes-parameters\">Getting all the Includes Parameters</h2>\n<p>Our Includes parameters allow for additional payloads to be added to your existing call, but are hidden unless explicitly called for.</p>\n<p>All the Includes parameters associated with your calls can be found in one of the LIST examples posted below. For example, if you want to see the associated Includes parameters for an invoice, simply click on the <code>List Invoices</code>. You will see a list of available Includes a description related to each of them.</p>\n<h1 id=\"error-codes\">Error Codes</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Number</strong></th>\n<th><strong>Error Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>409</td>\n<td>Conflict</td>\n<td>The resource being modified is being modified by another request.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>FreshAlchemyUnexpected</td>\n<td>The ORM encountered an unexpected error.</td>\n</tr>\n<tr>\n<td>1001</td>\n<td>RequiredField</td>\n<td>A required field is missing</td>\n</tr>\n<tr>\n<td>1003</td>\n<td>AccessDenied</td>\n<td>You do not have access to perform the action requested.</td>\n</tr>\n<tr>\n<td>1004</td>\n<td>InvalidValue</td>\n<td>A Value passed was not of the right type or range.</td>\n</tr>\n<tr>\n<td>1005</td>\n<td>ParseError</td>\n<td>The server was unable to parse your request, possibly due to a syntactical error in the request format.</td>\n</tr>\n<tr>\n<td>1006</td>\n<td>MappingError</td>\n<td></td>\n</tr>\n<tr>\n<td>1039</td>\n<td>ValuesBackwardsError</td>\n<td></td>\n</tr>\n<tr>\n<td>1042</td>\n<td>InactiveAccountError</td>\n<td>The account referred to in the request is inactive.</td>\n</tr>\n<tr>\n<td>1007</td>\n<td>DateRangeBackwardsError</td>\n<td>A supplied date range must have the earlier date first.</td>\n</tr>\n<tr>\n<td>1008</td>\n<td>DateRangeRequiredError</td>\n<td>A field in the request that requires a date range was not supplied one.</td>\n</tr>\n<tr>\n<td>1009</td>\n<td>DuplicateGroupByClause</td>\n<td>The request caused an attempt to group by a column that is already used for a group by in a query.</td>\n</tr>\n<tr>\n<td>1010</td>\n<td>UnknownGroupByClause</td>\n<td>The request caused an attempt to group by an unknown column in a query.</td>\n</tr>\n<tr>\n<td>1011</td>\n<td>DeletedResource</td>\n<td>The resource referred to in the request is deleted.</td>\n</tr>\n<tr>\n<td>1012</td>\n<td>UnknownResource</td>\n<td>The resource referred to in the request cannot be found.</td>\n</tr>\n<tr>\n<td>1013</td>\n<td>InvalidPerPage</td>\n<td>The 'per_page' argument in the request was not a positive integer.</td>\n</tr>\n<tr>\n<td>1014</td>\n<td>InvalidPage</td>\n<td>The 'page' argument in the request was not a positive integer.</td>\n</tr>\n<tr>\n<td>1015</td>\n<td>MappingErrorNumber</td>\n<td></td>\n</tr>\n<tr>\n<td>1016</td>\n<td>MappingErrorDateTime</td>\n<td></td>\n</tr>\n<tr>\n<td>1033</td>\n<td>MappingErrorDate</td>\n<td></td>\n</tr>\n<tr>\n<td>1031</td>\n<td>MappingErrorBoolean</td>\n<td></td>\n</tr>\n<tr>\n<td>1017</td>\n<td>MaxLengthExceeded</td>\n<td>The request, or a line in the request, was too long.</td>\n</tr>\n<tr>\n<td>1018</td>\n<td>InvalidPercentValue</td>\n<td>Percent values should be strings formatted as decimals.</td>\n</tr>\n<tr>\n<td>1019</td>\n<td>ItemDuplicateTax</td>\n<td>A tax being added to an item seems to already exist.</td>\n</tr>\n<tr>\n<td>1020</td>\n<td>FileUploadFailed</td>\n<td></td>\n</tr>\n<tr>\n<td>1021</td>\n<td>FileDownloadFailed</td>\n<td></td>\n</tr>\n<tr>\n<td>1022</td>\n<td>FileDeleteFailed</td>\n<td></td>\n</tr>\n<tr>\n<td>1023</td>\n<td>FilterErrorDate</td>\n<td></td>\n</tr>\n<tr>\n<td>1024</td>\n<td>FilterErrorNumber</td>\n<td></td>\n</tr>\n<tr>\n<td>1032</td>\n<td>FilterErrorBoolean</td>\n<td></td>\n</tr>\n<tr>\n<td>1034</td>\n<td>FilterErrorList</td>\n<td></td>\n</tr>\n<tr>\n<td>1025</td>\n<td>InvalidNegativeValue</td>\n<td>A value in the request that was negative should not be.</td>\n</tr>\n<tr>\n<td>1026</td>\n<td>DuplicateTax</td>\n<td>The tax in the request already exists.</td>\n</tr>\n<tr>\n<td>1027</td>\n<td>InvalidCharacter</td>\n<td></td>\n</tr>\n<tr>\n<td>1028</td>\n<td>InvalidLessThanOneValue</td>\n<td></td>\n</tr>\n<tr>\n<td>1029</td>\n<td>InvalidDuplicateValue</td>\n<td></td>\n</tr>\n<tr>\n<td>1030</td>\n<td>InvalidRangeValue</td>\n<td></td>\n</tr>\n<tr>\n<td>1035</td>\n<td>InvalidMappingType</td>\n<td></td>\n</tr>\n<tr>\n<td>1036</td>\n<td>UnicodeOutOfRange</td>\n<td></td>\n</tr>\n<tr>\n<td>1037</td>\n<td>FilterErrorScalar</td>\n<td></td>\n</tr>\n<tr>\n<td>1038</td>\n<td>WriteAccessDenied</td>\n<td></td>\n</tr>\n<tr>\n<td>1040</td>\n<td>InvalidTotal</td>\n<td></td>\n</tr>\n<tr>\n<td>1100</td>\n<td>SystemVisitException</td>\n<td></td>\n</tr>\n<tr>\n<td>1101</td>\n<td>SystemAlreadyVisited</td>\n<td></td>\n</tr>\n<tr>\n<td>1102</td>\n<td>MaximumContractorChainLengthReached</td>\n<td></td>\n</tr>\n<tr>\n<td>1103</td>\n<td>LateReminderPositionNotSupported</td>\n<td></td>\n</tr>\n<tr>\n<td>1104</td>\n<td>OldVisStateAttributeCouldNotBeSet</td>\n<td></td>\n</tr>\n<tr>\n<td>1105</td>\n<td>CannotUpdateIpAddress</td>\n<td></td>\n</tr>\n<tr>\n<td>1106</td>\n<td>CannotUpdateLandingUrl</td>\n<td></td>\n</tr>\n<tr>\n<td>1107</td>\n<td>CannotUpdateReferringUrl</td>\n<td></td>\n</tr>\n<tr>\n<td>1108</td>\n<td>CannotUpdateReferralid</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Quick Start","slug":"quick-start"},{"content":"Getting Help","slug":"getting-help"},{"content":"Identity Model","slug":"identity-model"},{"content":"CONCEPTS AND IDEAS","slug":"concepts-and-ideas"},{"content":"Error Codes","slug":"error-codes"}],"owner":"3322108","collectionId":"52737e2b-88b3-1754-66ae-f212fc19faae","publishedId":"S1ERwwza","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"0075DD"},"publishDate":"2023-03-21T21:27:23.000Z"},"item":[{"name":"Authorization","item":[{"name":"Identity Info Call","event":[{"listen":"test","script":{"id":"b1d9f4fe-91be-4810-be9e-c9044d535f23","exec":["let jsonData = JSON.parse(responseBody);","pm.environment.set(\"accountId\", jsonData.response.roles[0].accountid);","pm.environment.set(\"business_uuid\", jsonData.response.business_memberships[0].business.business_uuid);","pm.environment.set(\"businessId\", jsonData.response.profession.business_id);",""],"type":"text/javascript"}}],"id":"f101fd59-861a-4b8d-93bd-ccf4ce3b106b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/auth/api/v1/users/me","description":"<p>This is an important endpoint and likely the first authenticated request you'll want to make to the FreshBooks API. </p>\n<p>Since you will need to tell us which account you're referring to and other identifiers, you can use this /me endpoint to get your accountId, businessId, identityId and a plethora of information about your FreshBooks account(s).  </p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["auth","api","v1","users","me"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"d3715025-f276-442a-b288-e9c27ae43fa1","name":"Identity Info Call","originalRequest":{"method":"GET","header":[],"url":"https://api.freshbooks.com/auth/api/v1/users/me"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"ETag","value":"W/\"b2adeb13ce0a58bd5a71f53ad9f08221\""},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"014650ef-7287-413d-b939-df524aca9e7c"},{"key":"X-Runtime","value":"0.218088"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSBAUHUFQTGhEhCQ0WQg1UDl1KG39aAV0NVBZSEAEZZQAFCBdGQwETERlcUkgXWVlETBUOF0g9UQZdVkBbRwxcEhNNA0xUGgdPVFIBAQNVUlQAAAZXVgEAAk5LUk4SVA1XWgoMVAdUAQUJWQVVUhRq"},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1557343937"},{"key":"Retry-After","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 08 May 2018 19:31:17 GMT"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 08 May 2019 19:31:17 GMT"},{"key":"Age","value":"0"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17330-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"id\": 37256,\n        \"profile\": {\n            \"setup_complete\": true,\n            \"first_name\": \"Marshall\",\n            \"last_name\": \"Johnston\",\n            \"phone_number\": null,\n            \"address\": null,\n            \"professions\": [\n                {\n                    \"id\": 58182,\n                    \"business_id\": null,\n                    \"title\": null,\n                    \"company\": \"Executive Recruiter\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 67186,\n                    \"business_id\": null,\n                    \"title\": \"Other Accounting and Finance\",\n                    \"company\": \"Executive Recruiter\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 678903,\n                    \"business_id\": null,\n                    \"title\": \"House Cleaning\",\n                    \"company\": \"Executive Recruiter\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 678904,\n                    \"business_id\": null,\n                    \"title\": \"Window Cleaning\",\n                    \"company\": \"Executive Recruiter\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 678905,\n                    \"business_id\": null,\n                    \"title\": \"Cleaning Services\",\n                    \"company\": \"Executive Recruiter\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 702335,\n                    \"business_id\": null,\n                    \"title\": \"Software as a Service\",\n                    \"company\": \"Executive Recruiter\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 702775,\n                    \"business_id\": null,\n                    \"title\": \"Construction\",\n                    \"company\": \"Executive Recruiter\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 770535,\n                    \"business_id\": null,\n                    \"title\": \"Restaurant\",\n                    \"company\": \"Executive Recruiter\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 818391,\n                    \"business_id\": null,\n                    \"title\": \"Hospitality\",\n                    \"company\": \"Executive Recruiter\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 893211,\n                    \"business_id\": null,\n                    \"title\": \"Catering Services\",\n                    \"company\": \"Executive Recruiter\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 902347,\n                    \"business_id\": null,\n                    \"title\": \"Digital Marketing Services\",\n                    \"company\": \"Executive Recruiter\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 1068601,\n                    \"business_id\": 813619,\n                    \"title\": \"Catering Services\",\n                    \"company\": \"Encore Catering\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 1086673,\n                    \"business_id\": 825065,\n                    \"title\": \"Event Management\",\n                    \"company\": \"Some Awards\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 1134147,\n                    \"business_id\": 855397,\n                    \"title\": \"Catering Services\",\n                    \"company\": \"Barbarido's\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 1200673,\n                    \"business_id\": 909393,\n                    \"title\": \"Accommodation\",\n                    \"company\": \"Marshall's Demo\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 1250531,\n                    \"business_id\": 954179,\n                    \"title\": \"Management Consulting\",\n                    \"company\": \"Baltimore FD \",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 1582769,\n                    \"business_id\": 1246821,\n                    \"title\": \"Health Care\",\n                    \"company\": \"Tanzania\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 1587535,\n                    \"business_id\": 1250903,\n                    \"title\": \"Catering Services\",\n                    \"company\": \"Bebe Catering\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 1658015,\n                    \"business_id\": 1313109,\n                    \"title\": \"Consulting\",\n                    \"company\": \"Field Drillers Inc. \",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 2052070,\n                    \"business_id\": 1654536,\n                    \"title\": \"Auto Glass Installation\",\n                    \"company\": \"Paul's Auto Body\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 2236630,\n                    \"business_id\": 1803032,\n                    \"title\": \"Pool Services\",\n                    \"company\": \"Trees\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 2427152,\n                    \"business_id\": 1962882,\n                    \"title\": \"Consulting\",\n                    \"company\": \"Marshall Johnston\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 2454866,\n                    \"business_id\": 1986556,\n                    \"title\": \"ABA Therapy\",\n                    \"company\": \"Caroline's Corral\",\n                    \"designation\": null\n                }\n            ]\n        },\n        \"first_name\": \"Marshall\",\n        \"last_name\": \"Johnston\",\n        \"email\": \"api.freshbooks@gmail.com\",\n        \"language\": \"en\",\n        \"confirmed_at\": \"2016-01-21T18:18:54Z\",\n        \"created_at\": \"2016-01-21T18:18:38Z\",\n        \"unconfirmed_email\": null,\n        \"setup_complete\": true,\n        \"phone_numbers\": [\n            {\n                \"title\": \"\",\n                \"phone_number\": null\n            }\n        ],\n        \"addresses\": [\n            null\n        ],\n        \"profession\": {\n            \"id\": 58182,\n            \"business_id\": null,\n            \"title\": null,\n            \"company\": \"Executive Recruiter\",\n            \"designation\": null\n        },\n        \"links\": {\n            \"me\": \"/service/auth/api/v1/users?id=37256\",\n            \"roles\": \"/service/auth/api/v1/users/role/37256\"\n        },\n        \"permissions\": {\n            \"rAlTo\": {\n                \"advanced_accounting.access\": true,\n                \"advanced_payments.access\": true,\n                \"auto_bank_import.access\": true,\n                \"autobill.limit\": -1,\n                \"bank_import.access\": true,\n                \"client.limit\": 1000,\n                \"document.limit\": 2,\n                \"edit_subject_line.access\": true,\n                \"late_fee.access\": true,\n                \"late_reminder.access\": true,\n                \"payments_fees_report.access\": true,\n                \"recurring_revenue_report.access\": true,\n                \"remove_branding.access\": true,\n                \"staff.limit\": 2,\n                \"business_accountant.limit\": 10,\n                \"onboarding_checklist.access\": true,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true\n            },\n            \"E86QZ\": {\n                \"advanced_accounting.access\": true,\n                \"advanced_payments.access\": true,\n                \"auto_bank_import.access\": true,\n                \"autobill.limit\": -1,\n                \"bank_import.access\": true,\n                \"business_accountant.limit\": 10,\n                \"client.limit\": 1000,\n                \"document.limit\": 2,\n                \"edit_subject_line.access\": true,\n                \"late_fee.access\": true,\n                \"late_reminder.access\": true,\n                \"payments_fees_report.access\": true,\n                \"quickbooks_integration.access\": true,\n                \"recurring_revenue_report.access\": true,\n                \"remove_branding.access\": true,\n                \"staff.limit\": 12,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"rich_proposals.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"attachments.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"retainers.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true,\n                \"inline_expense_edit.access\": true,\n                \"helios_virtual_terminal_advertising.beta.access\": true\n            },\n            \"RmpKp\": {\n                \"client.limit\": -1,\n                \"staff.limit\": -1,\n                \"attachments.access\": true,\n                \"advanced_accounting.access\": true,\n                \"business_accountant.limit\": 10,\n                \"proposals_candidate.access\": true,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"rich_proposals.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true,\n                \"inline_expense_edit.access\": true,\n                \"helios_virtual_terminal_advertising.beta.access\": true\n            },\n            \"J9hAK\": {\n                \"advanced_accounting.access\": true,\n                \"auto_bank_import.access\": true,\n                \"autobill.limit\": -1,\n                \"bank_import.access\": true,\n                \"client.limit\": 1000,\n                \"document.limit\": 2,\n                \"edit_subject_line.access\": true,\n                \"late_fee.access\": true,\n                \"late_reminder.access\": true,\n                \"recurring_revenue_report.access\": true,\n                \"remove_branding.access\": true,\n                \"business_accountant.limit\": 10,\n                \"onboarding_checklist.access\": true,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true,\n                \"helios_virtual_terminal_advertising.beta.access\": true\n            },\n            \"gr1ndR\": {\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"advanced_accounting.access\": true,\n                \"business_accountant.limit\": 10,\n                \"proposals_candidate.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"esignatures.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true\n            },\n            \"apwodA\": {\n                \"advanced_accounting.access\": true,\n                \"advanced_payments.access\": true,\n                \"auto_bank_import.access\": true,\n                \"autobill.limit\": -1,\n                \"bank_import.access\": true,\n                \"client.limit\": 4000,\n                \"document.limit\": 2,\n                \"edit_subject_line.access\": true,\n                \"late_fee.access\": true,\n                \"late_reminder.access\": true,\n                \"payments_fees_report.access\": true,\n                \"quickbooks_integration.access\": true,\n                \"recurring_revenue_report.access\": true,\n                \"remove_branding.access\": true,\n                \"staff.limit\": 2,\n                \"business_accountant.limit\": 10,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"rich_proposals.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"esignatures.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"helios_sync_throttle.beta.access\": true\n            },\n            \"XgGiT\": {\n                \"client.limit\": -1,\n                \"staff.limit\": -1,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true\n            },\n            \"7lwxR\": {\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"advanced_accounting.access\": true,\n                \"business_accountant.limit\": 10,\n                \"proposals_candidate.access\": true,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true\n            },\n            \"4WMVg\": {\n                \"client.limit\": -1,\n                \"late_fee.access\": true,\n                \"late_reminder.access\": true,\n                \"staff.limit\": -1,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true,\n                \"helios_virtual_terminal_advertising.beta.access\": true\n            },\n            \"x34yX\": {\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true\n            },\n            \"e1rYq\": {\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true\n            },\n            \"3ErwB\": {\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true\n            },\n            \"8NppA\": {\n                \"advanced_accounting.access\": true,\n                \"advanced_payments.access\": true,\n                \"auto_bank_import.access\": true,\n                \"autobill.limit\": -1,\n                \"bank_import.access\": true,\n                \"business_accountant.limit\": 10,\n                \"client.limit\": 1000,\n                \"document.limit\": 2,\n                \"edit_subject_line.access\": true,\n                \"late_fee.access\": true,\n                \"late_reminder.access\": true,\n                \"payments_fees_report.access\": true,\n                \"recurring_revenue_report.access\": true,\n                \"remove_branding.access\": true,\n                \"staff.limit\": 2,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"rich_proposals.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true,\n                \"inline_expense_edit.access\": true,\n                \"helios_virtual_terminal_advertising.beta.access\": true\n            },\n            \"j1412\": {\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"esignatures.access\": true\n            },\n            \"BRAVo\": {\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"esignatures.access\": true,\n                \"auto_bank_import.access\": true\n            },\n            \"M1oaR\": {\n                \"client.limit\": -1,\n                \"late_fee.access\": true,\n                \"late_reminder.access\": true,\n                \"staff.limit\": -1,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"esignatures.access\": true,\n                \"auto_bank_import.access\": true\n            },\n            \"E4MaY\": {\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"esignatures.access\": true,\n                \"auto_bank_import.access\": true\n            },\n            \"M1GeK\": {\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"esignatures.access\": true,\n                \"auto_bank_import.access\": true\n            },\n            \"7Po26\": {\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"advanced_accounting.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"esignatures.access\": true,\n                \"auto_bank_import.access\": true\n            },\n            \"ZaZdo\": {\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"advanced_accounting.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"esignatures.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"helios_sync_throttle.beta.access\": true\n            },\n            \"pPLMZ\": {\n                \"advanced_accounting.access\": true,\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"business_accountant.limit\": 10,\n                \"proposals_candidate.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"esignatures.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true\n            },\n            \"EeCnZ\": {\n                \"advanced_accounting.access\": true,\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"esignatures.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true\n            },\n            \"pe4MW\": {\n                \"advanced_accounting.access\": true,\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"esignatures.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true\n            },\n            \"oN6yL\": {\n                \"advanced_accounting.access\": true,\n                \"advanced_payments.access\": true,\n                \"auto_bank_import.access\": true,\n                \"autobill.limit\": -1,\n                \"bank_import.access\": true,\n                \"client.limit\": 1000,\n                \"document.limit\": 2,\n                \"edit_subject_line.access\": true,\n                \"late_fee.access\": true,\n                \"late_reminder.access\": true,\n                \"remove_branding.access\": true,\n                \"staff.limit\": 3,\n                \"business_accountant.limit\": 10,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"rich_proposals.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true,\n                \"inline_expense_edit.access\": true,\n                \"helios_virtual_terminal_advertising.beta.access\": true\n            },\n            \"dowO0g\": {\n                \"advanced_accounting.access\": true,\n                \"advanced_payments.access\": true,\n                \"auto_bank_import.access\": true,\n                \"autobill.limit\": -1,\n                \"bank_import.access\": true,\n                \"business_accountant.limit\": 10,\n                \"client.limit\": 1000,\n                \"document.limit\": 2,\n                \"edit_subject_line.access\": true,\n                \"late_fee.access\": true,\n                \"late_reminder.access\": true,\n                \"payments_fees_report.access\": true,\n                \"recurring_revenue_report.access\": true,\n                \"remove_branding.access\": true,\n                \"staff.limit\": 2,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true,\n                \"inline_expense_edit.access\": true,\n                \"helios_virtual_terminal_advertising.beta.access\": true\n            },\n            \"yA0R2P\": {\n                \"advanced_accounting.access\": true,\n                \"attachments.access\": true,\n                \"business_accountant.limit\": 10,\n                \"client.limit\": -1,\n                \"proposals_candidate.access\": true,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true\n            },\n            \"LJZ1p3\": {\n                \"advanced_accounting.access\": true,\n                \"attachments.access\": true,\n                \"business_accountant.limit\": 10,\n                \"client.limit\": -1,\n                \"proposals_candidate.access\": true,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true,\n                \"inline_expense_edit.access\": true,\n                \"helios_virtual_terminal_advertising.beta.access\": true\n            },\n            \"wkMd2g\": {\n                \"advanced_accounting.access\": true,\n                \"attachments.access\": true,\n                \"business_accountant.limit\": 10,\n                \"client.limit\": -1,\n                \"proposals_candidate.access\": true,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true,\n                \"inline_expense_edit.access\": true,\n                \"helios_virtual_terminal_advertising.beta.access\": true\n            },\n            \"3x42x2\": {\n                \"advanced_accounting.access\": true,\n                \"attachments.access\": true,\n                \"business_accountant.limit\": 10,\n                \"client.limit\": -1,\n                \"proposals_candidate.access\": true,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true,\n                \"inline_expense_edit.access\": true,\n                \"helios_virtual_terminal_advertising.beta.access\": true\n            },\n            \"lWn0vG\": {\n                \"advanced_accounting.access\": true,\n                \"attachments.access\": true,\n                \"business_accountant.limit\": 10,\n                \"client.limit\": -1,\n                \"proposals_candidate.access\": true,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true,\n                \"helios_virtual_terminal_advertising.beta.access\": true\n            }\n        },\n        \"groups\": [\n            {\n                \"id\": 1967,\n                \"group_id\": 633,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 1968,\n                \"group_id\": 634,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 193155,\n                \"group_id\": 78460,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 966552,\n                \"group_id\": 56153,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 36312,\n                \"active\": true\n            },\n            {\n                \"id\": 1543573,\n                \"group_id\": 792990,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 36312,\n                \"active\": true\n            },\n            {\n                \"id\": 1918970,\n                \"group_id\": 1127872,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2114592,\n                \"group_id\": 1308603,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2141881,\n                \"group_id\": 1332745,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2141913,\n                \"group_id\": 1332775,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2156423,\n                \"group_id\": 1346356,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2156547,\n                \"group_id\": 1346480,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2157276,\n                \"group_id\": 1347190,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2168935,\n                \"group_id\": 1358272,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2192234,\n                \"group_id\": 1380180,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2192248,\n                \"group_id\": 1380191,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2192266,\n                \"group_id\": 1380195,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2192463,\n                \"group_id\": 1380246,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2222920,\n                \"group_id\": 1407623,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 497510,\n                \"active\": true\n            },\n            {\n                \"id\": 2234009,\n                \"group_id\": 1417581,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2260191,\n                \"group_id\": 1441554,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 514480,\n                \"active\": true\n            },\n            {\n                \"id\": 2262129,\n                \"group_id\": 1443426,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 514821,\n                \"active\": true\n            },\n            {\n                \"id\": 2262144,\n                \"group_id\": 1443440,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 514821,\n                \"active\": true\n            },\n            {\n                \"id\": 2262150,\n                \"group_id\": 1443446,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 514821,\n                \"active\": true\n            },\n            {\n                \"id\": 2274722,\n                \"group_id\": 1454635,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2506133,\n                \"group_id\": 1657416,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2542007,\n                \"group_id\": 1216849,\n                \"role\": \"business_partner\",\n                \"identity_id\": 37256,\n                \"business_id\": 416850,\n                \"active\": true\n            },\n            {\n                \"id\": 2542009,\n                \"group_id\": 1689219,\n                \"role\": \"business_partner\",\n                \"identity_id\": 37256,\n                \"business_id\": 416850,\n                \"active\": true\n            },\n            {\n                \"id\": 2629614,\n                \"group_id\": 1764389,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 571231,\n                \"active\": true\n            },\n            {\n                \"id\": 2721471,\n                \"group_id\": 1841410,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 595416,\n                \"active\": true\n            },\n            {\n                \"id\": 2762225,\n                \"group_id\": 1873770,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 608077,\n                \"active\": true\n            },\n            {\n                \"id\": 2860148,\n                \"group_id\": 1240045,\n                \"role\": \"business_employee\",\n                \"identity_id\": 37256,\n                \"business_id\": 425898,\n                \"active\": true\n            },\n            {\n                \"id\": 2885859,\n                \"group_id\": 1984013,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2885865,\n                \"group_id\": 1984018,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2936109,\n                \"group_id\": 2029459,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 425898,\n                \"active\": true\n            },\n            {\n                \"id\": 2987810,\n                \"group_id\": 2078022,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3045577,\n                \"group_id\": 2132385,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 677357,\n                \"active\": true\n            },\n            {\n                \"id\": 3045917,\n                \"group_id\": 2132721,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 677357,\n                \"active\": true\n            },\n            {\n                \"id\": 3090170,\n                \"group_id\": 2174786,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 685582,\n                \"active\": true\n            },\n            {\n                \"id\": 3090389,\n                \"group_id\": 2078064,\n                \"role\": \"business_partner\",\n                \"identity_id\": 37256,\n                \"business_id\": 661907,\n                \"active\": true\n            },\n            {\n                \"id\": 3090519,\n                \"group_id\": 2175115,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 685582,\n                \"active\": true\n            },\n            {\n                \"id\": 3126739,\n                \"group_id\": 2208000,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3296645,\n                \"group_id\": 2356217,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 425898,\n                \"active\": true\n            },\n            {\n                \"id\": 3302553,\n                \"group_id\": 2361523,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 661907,\n                \"active\": true\n            },\n            {\n                \"id\": 3317919,\n                \"group_id\": 2375849,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 425898,\n                \"active\": true\n            },\n            {\n                \"id\": 3379781,\n                \"group_id\": 2429471,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 425898,\n                \"active\": true\n            },\n            {\n                \"id\": 3452251,\n                \"group_id\": 2482343,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3497857,\n                \"group_id\": 2522977,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 813619,\n                \"active\": true\n            },\n            {\n                \"id\": 3511533,\n                \"group_id\": 2512601,\n                \"role\": \"business_partner\",\n                \"identity_id\": 37256,\n                \"business_id\": 808743,\n                \"active\": true\n            },\n            {\n                \"id\": 3511535,\n                \"group_id\": 2512661,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 808743,\n                \"active\": true\n            },\n            {\n                \"id\": 3521561,\n                \"group_id\": 2543985,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 825065,\n                \"active\": true\n            },\n            {\n                \"id\": 3521587,\n                \"group_id\": 2544005,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 825065,\n                \"active\": true\n            },\n            {\n                \"id\": 3549881,\n                \"group_id\": 2563183,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3558265,\n                \"group_id\": 2567483,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3600089,\n                \"group_id\": 2603609,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 425898,\n                \"active\": true\n            },\n            {\n                \"id\": 3600127,\n                \"group_id\": 2603647,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 855397,\n                \"active\": true\n            },\n            {\n                \"id\": 3663479,\n                \"group_id\": 2658605,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 425898,\n                \"active\": true\n            },\n            {\n                \"id\": 3666257,\n                \"group_id\": 2660359,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3673357,\n                \"group_id\": 2665759,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 661907,\n                \"active\": true\n            },\n            {\n                \"id\": 3713221,\n                \"group_id\": 2695983,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3713231,\n                \"group_id\": 2695991,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3713285,\n                \"group_id\": 2696043,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3767059,\n                \"group_id\": 2724855,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3767085,\n                \"group_id\": 2724881,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3767125,\n                \"group_id\": 2724919,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 909393,\n                \"active\": true\n            },\n            {\n                \"id\": 3786939,\n                \"group_id\": 2739387,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3795701,\n                \"group_id\": 2746983,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3843903,\n                \"group_id\": 2788307,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 425898,\n                \"active\": true\n            },\n            {\n                \"id\": 3873747,\n                \"group_id\": 2814103,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 954179,\n                \"active\": true\n            },\n            {\n                \"id\": 3882989,\n                \"group_id\": 2822315,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 954179,\n                \"active\": true\n            },\n            {\n                \"id\": 3883021,\n                \"group_id\": 2822343,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 954179,\n                \"active\": true\n            },\n            {\n                \"id\": 3968689,\n                \"group_id\": 2895155,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 452001,\n                \"active\": true\n            },\n            {\n                \"id\": 3968751,\n                \"group_id\": 2895215,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 452001,\n                \"active\": true\n            },\n            {\n                \"id\": 4090165,\n                \"group_id\": 3001003,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 4237723,\n                \"group_id\": 3063119,\n                \"role\": \"business_employee\",\n                \"identity_id\": 37256,\n                \"business_id\": 1057557,\n                \"active\": true\n            },\n            {\n                \"id\": 4237725,\n                \"group_id\": 3100077,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 1057557,\n                \"active\": true\n            },\n            {\n                \"id\": 4247387,\n                \"group_id\": 3132913,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 1057557,\n                \"active\": true\n            },\n            {\n                \"id\": 4294517,\n                \"group_id\": 3172349,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 4301745,\n                \"group_id\": 3148707,\n                \"role\": \"business_partner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1099865,\n                \"active\": true\n            },\n            {\n                \"id\": 4338615,\n                \"group_id\": 3208833,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 4351319,\n                \"group_id\": 3219007,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 1057557,\n                \"active\": true\n            },\n            {\n                \"id\": 4452935,\n                \"group_id\": 3303489,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 4595775,\n                \"group_id\": 3425997,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1246821,\n                \"active\": true\n            },\n            {\n                \"id\": 4595785,\n                \"group_id\": 3426007,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1246821,\n                \"active\": true\n            },\n            {\n                \"id\": 4595793,\n                \"group_id\": 3426015,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1246821,\n                \"active\": true\n            },\n            {\n                \"id\": 4608649,\n                \"group_id\": 3436901,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1250903,\n                \"active\": true\n            },\n            {\n                \"id\": 4777839,\n                \"group_id\": 3583639,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 1057557,\n                \"active\": true\n            },\n            {\n                \"id\": 4808823,\n                \"group_id\": 3610711,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1313109,\n                \"active\": true\n            },\n            {\n                \"id\": 4808867,\n                \"group_id\": 3610749,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1313109,\n                \"active\": true\n            },\n            {\n                \"id\": 4808879,\n                \"group_id\": 3610757,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1313109,\n                \"active\": true\n            },\n            {\n                \"id\": 4952689,\n                \"group_id\": 3735237,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 5075911,\n                \"group_id\": 3840605,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 5644650,\n                \"group_id\": 4306410,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1654536,\n                \"active\": true\n            },\n            {\n                \"id\": 5846162,\n                \"group_id\": 4474476,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 5857762,\n                \"group_id\": 4484876,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 5865014,\n                \"group_id\": 4489970,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 5893762,\n                \"group_id\": 4515298,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 6029562,\n                \"group_id\": 4625244,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1803032,\n                \"active\": true\n            },\n            {\n                \"id\": 6094496,\n                \"group_id\": 4679496,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 6095326,\n                \"group_id\": 4680186,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 6133242,\n                \"group_id\": 4707850,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 6137044,\n                \"group_id\": 4710934,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 6197200,\n                \"group_id\": 4760726,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 6270530,\n                \"group_id\": 4811212,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 6386150,\n                \"group_id\": 4895364,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 6439728,\n                \"group_id\": 4937264,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1962882,\n                \"active\": true\n            },\n            {\n                \"id\": 6446238,\n                \"group_id\": 4942664,\n                \"role\": \"business_partner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1966214,\n                \"active\": true\n            },\n            {\n                \"id\": 6456062,\n                \"group_id\": 4951004,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1966214,\n                \"active\": true\n            },\n            {\n                \"id\": 6456064,\n                \"group_id\": 4951006,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1966214,\n                \"active\": true\n            },\n            {\n                \"id\": 6456070,\n                \"group_id\": 4951012,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1966214,\n                \"active\": true\n            },\n            {\n                \"id\": 6456078,\n                \"group_id\": 4951020,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1966214,\n                \"active\": true\n            },\n            {\n                \"id\": 6487858,\n                \"group_id\": 4977548,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1986556,\n                \"active\": true\n            },\n            {\n                \"id\": 6487912,\n                \"group_id\": 4977602,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1986590,\n                \"active\": true\n            },\n            {\n                \"id\": 6488028,\n                \"group_id\": 4977692,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1986590,\n                \"active\": true\n            },\n            {\n                \"id\": 6488068,\n                \"group_id\": 4977720,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1986590,\n                \"active\": true\n            },\n            {\n                \"id\": 6488090,\n                \"group_id\": 4977738,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1966214,\n                \"active\": true\n            },\n            {\n                \"id\": 6538632,\n                \"group_id\": 5016490,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 6539348,\n                \"group_id\": 5016820,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            }\n        ],\n        \"subscription_statuses\": {\n            \"rALYo\": \"active\",\n            \"E86Qp\": \"active\",\n            \"RnPKp\": \"active\",\n            \"J7nAK\": \"active\",\n            \"gjndR\": \"active\",\n            \"apw1A\": \"active\",\n            \"0XaOw\": \"cancelled\",\n            \"7lwxr\": \"cancelled\",\n            \"4VMVg\": \"active\",\n            \"x33xX\": \"cancelled\",\n            \"e1yRq\": \"cancelled\",\n            \"3eRwB\": \"cancelled\",\n            \"8nPPA\": \"active\",\n            \"j1322\": \"cancelled\",\n            \"B3AVo\": \"trial_expired\",\n            \"M1OaR\": \"cancelled\",\n            \"E3MAY\": \"cancelled\",\n            \"M1GeK\": \"cancelled\",\n            \"7PO26\": \"cancelled\",\n            \"ZAZdo\": \"cancelled\",\n            \"0PJMZ\": \"active_trial\",\n            \"Ee0nZ\": \"cancelled\",\n            \"pe6MW\": \"cancelled\",\n            \"oM6yL\": \"active\",\n            \"dowQ0g\": \"active\",\n            \"yA0R2P\": \"cancelled\",\n            \"LJZ1p4\": \"active_trial\",\n            \"wkMd2g\": \"active_trial\",\n            \"3x62x2\": \"active_trial\",\n            \"lwy0vG\": \"active_trial\"\n        },\n        \"integrations\": {},\n        \"business_memberships\": [\n            {\n                \"id\": 1967,\n                \"role\": \"owner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiIyMTAxMTkzIiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.g2bdKjluvezQKSYQ7uUZJu7Gjt21YImy5VYd3zshGsA\",\n                \"business\": {\n                    \"id\": 27,\n                    \"name\": \"Coconut Marketing\",\n                    \"account_id\": \"E86Qp\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 2253622,\n                        \"street\": \"15 N Echo Ave.\",\n                        \"city\": \"Toronto\",\n                        \"province\": \"Ontario\",\n                        \"country\": \"Canada\",\n                        \"postal_code\": \"92840\"\n                    },\n                    \"phone_number\": {\n                        \"id\": 76482,\n                        \"phone_number\": \"416-436-8583\"\n                    },\n                    \"business_clients\": [\n                        {\n                            \"id\": 27619,\n                            \"business_id\": 27,\n                            \"account_id\": \"owGZ6\",\n                            \"userid\": 316723,\n                            \"client_business\": {\n                                \"business_id\": 27\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 20019,\n                                \"account_id\": \"owGZ6\"\n                            }\n                        },\n                        {\n                            \"id\": 3839,\n                            \"business_id\": 27,\n                            \"account_id\": \"Ex8B1\",\n                            \"userid\": 270493,\n                            \"client_business\": {\n                                \"business_id\": 27\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 20109,\n                                \"account_id\": \"Ex8B1\"\n                            }\n                        },\n                        {\n                            \"id\": 3840,\n                            \"business_id\": 27,\n                            \"account_id\": \"kyRVK\",\n                            \"userid\": 23360,\n                            \"client_business\": {\n                                \"business_id\": 27\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 47224,\n                                \"account_id\": \"kyRVK\"\n                            }\n                        }\n                    ]\n                }\n            },\n            {\n                \"id\": 966552,\n                \"role\": \"manager\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": null,\n                \"business\": {\n                    \"id\": 36312,\n                    \"name\": \"Matthew's Sticker Stadium\",\n                    \"account_id\": \"RnPKp\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 51679,\n                        \"street\": \"1655 Dupont Street\",\n                        \"city\": \"Toronto\",\n                        \"province\": \"Ontario\",\n                        \"country\": \"Canada\",\n                        \"postal_code\": \"M5R0B5\"\n                    },\n                    \"phone_number\": {\n                        \"id\": 161510,\n                        \"phone_number\": \"1-866-303-4114\"\n                    },\n                    \"business_clients\": []\n                }\n            },\n            {\n                \"id\": 2262129,\n                \"role\": \"owner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiIzMDkxNDY4IiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.WsMUqte6GLdp3LT5q5ECquJdB77NM_Zg8YVRuAo966Y\",\n                \"business\": {\n                    \"id\": 514821,\n                    \"name\": \"Coconut Advertising - Hubspot\",\n                    \"account_id\": \"4VMVg\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 2407852,\n                        \"street\": \"\",\n                        \"city\": \"\",\n                        \"province\": \"\",\n                        \"country\": \"Canada\",\n                        \"postal_code\": \"\"\n                    },\n                    \"phone_number\": null,\n                    \"business_clients\": []\n                }\n            },\n            {\n                \"id\": 2542007,\n                \"role\": \"business_partner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiIzMDA2OTc1IiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.7_iwHndI39jj9xLX01HsFQ2RgvTbyQFa6iQXuXrKqzc\",\n                \"business\": {\n                    \"id\": 416850,\n                    \"name\": \"Marshall Johnston\",\n                    \"account_id\": \"gjndR\",\n                    \"date_format\": \"dd/mm/yyyy\",\n                    \"address\": {\n                        \"id\": 693054,\n                        \"street\": \"1655 Dupont Street\",\n                        \"city\": \"Toronto\",\n                        \"province\": \"Ontario\",\n                        \"country\": \"Canada\",\n                        \"postal_code\": \"M5P2X8\"\n                    },\n                    \"phone_number\": {\n                        \"id\": 146034,\n                        \"phone_number\": \"866-734-9224\"\n                    },\n                    \"business_clients\": [\n                        {\n                            \"id\": 117202,\n                            \"business_id\": 416850,\n                            \"account_id\": \"apw1A\",\n                            \"userid\": 229211,\n                            \"client_business\": {\n                                \"business_id\": 416850\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 425898,\n                                \"account_id\": \"apw1A\"\n                            }\n                        },\n                        {\n                            \"id\": 114674,\n                            \"business_id\": 416850,\n                            \"account_id\": \"8nPPA\",\n                            \"userid\": 20720,\n                            \"client_business\": {\n                                \"business_id\": 416850\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 677357,\n                                \"account_id\": \"8nPPA\"\n                            }\n                        },\n                        {\n                            \"id\": 285383,\n                            \"business_id\": 416850,\n                            \"account_id\": \"peaNk\",\n                            \"userid\": 2397,\n                            \"client_business\": {\n                                \"business_id\": 416850\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 1280095,\n                                \"account_id\": \"peaNk\"\n                            }\n                        }\n                    ]\n                }\n            },\n            {\n                \"id\": 2860148,\n                \"role\": \"business_employee\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": null,\n                \"business\": {\n                    \"id\": 425898,\n                    \"name\": \"FreshBooks\",\n                    \"account_id\": \"apw1A\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 685202,\n                        \"street\": \"1655 Dupont Street Suite 250\",\n                        \"city\": \"Toronto\",\n                        \"province\": \"Ontario\",\n                        \"country\": \"Canada\",\n                        \"postal_code\": \"M6P 3T1\"\n                    },\n                    \"phone_number\": {\n                        \"id\": 149414,\n                        \"phone_number\": \"1-888-705-1295\"\n                    },\n                    \"business_clients\": [\n                        {\n                            \"id\": 108865,\n                            \"business_id\": 425898,\n                            \"account_id\": \"a1Y0k\",\n                            \"userid\": 1515,\n                            \"client_business\": {\n                                \"business_id\": 425898\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 647222,\n                                \"account_id\": \"a1Y0k\"\n                            }\n                        },\n                        {\n                            \"id\": 131449,\n                            \"business_id\": 425898,\n                            \"account_id\": \"kqxBE\",\n                            \"userid\": 82835,\n                            \"client_business\": {\n                                \"business_id\": 425898\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 702119,\n                                \"account_id\": \"kqxBE\"\n                            }\n                        },\n                        {\n                            \"id\": 136065,\n                            \"business_id\": 425898,\n                            \"account_id\": \"6WX3P\",\n                            \"userid\": 73,\n                            \"client_business\": {\n                                \"business_id\": 425898\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 767501,\n                                \"account_id\": \"6WX3P\"\n                            }\n                        },\n                        {\n                            \"id\": 136741,\n                            \"business_id\": 425898,\n                            \"account_id\": \"AVBnO\",\n                            \"userid\": 1157,\n                            \"client_business\": {\n                                \"business_id\": 425898\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 770241,\n                                \"account_id\": \"AVBnO\"\n                            }\n                        },\n                        {\n                            \"id\": 159781,\n                            \"business_id\": 425898,\n                            \"account_id\": \"0lW1W\",\n                            \"userid\": 60921,\n                            \"client_business\": {\n                                \"business_id\": 425898\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 823675,\n                                \"account_id\": \"0lW1W\"\n                            }\n                        }\n                    ]\n                }\n            },\n            {\n                \"id\": 3045577,\n                \"role\": \"owner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiIzMjI5MDI4IiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.x3bAIqnHW1t-WVdoDOMj8DfQdHsIdVEHyU7ptGks6_U\",\n                \"business\": {\n                    \"id\": 677357,\n                    \"name\": \"Trillium (FreshBooks) Catering\",\n                    \"account_id\": \"8nPPA\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 671351,\n                        \"street\": \"2 Gladstone Ave.\",\n                        \"city\": \"Toronto\",\n                        \"province\": \"Ontario\",\n                        \"country\": \"Canada\",\n                        \"postal_code\": \"M6J 0B2\"\n                    },\n                    \"phone_number\": {\n                        \"id\": 237559,\n                        \"phone_number\": \"416-436-8583\"\n                    },\n                    \"business_clients\": []\n                }\n            },\n            {\n                \"id\": 3090389,\n                \"role\": \"business_partner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiI3Njc4MzQiLCJjcmVhdGVkX2F0IjoiMjAxOS0wNS0wOFQxOTozMToxNyswMDowMCJ9.9K7RPNnwenNwZiGcOdIyB-jSGtrwaPAQypMR0RgFr_M\",\n                \"business\": {\n                    \"id\": 661907,\n                    \"name\": \"Strawberry Jam Marketing\",\n                    \"account_id\": \"rALYo\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 654317,\n                        \"street\": \"\",\n                        \"city\": \"\",\n                        \"province\": \"New York\",\n                        \"country\": \"United States\",\n                        \"postal_code\": \"\"\n                    },\n                    \"phone_number\": null,\n                    \"business_clients\": [\n                        {\n                            \"id\": 129977,\n                            \"business_id\": 661907,\n                            \"account_id\": \"XYEoL\",\n                            \"userid\": 78603,\n                            \"client_business\": {\n                                \"business_id\": 661907\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 742411,\n                                \"account_id\": \"XYEoL\"\n                            }\n                        }\n                    ]\n                }\n            },\n            {\n                \"id\": 3497857,\n                \"role\": \"owner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiIzMzM1NjA3IiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.Bg--PBJxoDap7G0DmfFP92TYbgX6E2KKTmxeQuoKvOU\",\n                \"business\": {\n                    \"id\": 813619,\n                    \"name\": \"Encore Catering\",\n                    \"account_id\": \"M1OaR\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 851427,\n                        \"street\": null,\n                        \"city\": null,\n                        \"province\": null,\n                        \"country\": \"Canada\",\n                        \"postal_code\": null\n                    },\n                    \"phone_number\": null,\n                    \"business_clients\": []\n                }\n            },\n            {\n                \"id\": 3511533,\n                \"role\": \"business_partner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiIzMzMxOTY1IiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.XHKg_84_MDCJ3ofDkMMBquDUNr6MH16jtWAwUpwEOUI\",\n                \"business\": {\n                    \"id\": 808743,\n                    \"name\": \"Retailors Group\",\n                    \"account_id\": \"B3AVo\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 844509,\n                        \"street\": \"113A - 2255 Dundas St W\",\n                        \"city\": \"Mississauga\",\n                        \"province\": \"Ontario\",\n                        \"country\": \"Canada\",\n                        \"postal_code\": \"L5K 1R6\"\n                    },\n                    \"phone_number\": {\n                        \"id\": 292605,\n                        \"phone_number\": \"4162687241\"\n                    },\n                    \"business_clients\": []\n                }\n            },\n            {\n                \"id\": 4237723,\n                \"role\": \"business_employee\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": null,\n                \"business\": {\n                    \"id\": 1057557,\n                    \"name\": \"NetClick Marketing and Advertising\",\n                    \"account_id\": \"0PJMZ\",\n                    \"date_format\": \"dd/mm/yyyy\",\n                    \"address\": {\n                        \"id\": 1182443,\n                        \"street\": \"007 Bond Street\",\n                        \"city\": \"Toronto\",\n                        \"province\": \"Ontario\",\n                        \"country\": \"Canada\",\n                        \"postal_code\": \"A1B2C3\"\n                    },\n                    \"phone_number\": {\n                        \"id\": 413933,\n                        \"phone_number\": \"8887349224\"\n                    },\n                    \"business_clients\": [\n                        {\n                            \"id\": 231291,\n                            \"business_id\": 1057557,\n                            \"account_id\": \"6Z7L4\",\n                            \"userid\": 540267,\n                            \"client_business\": {\n                                \"business_id\": 1057557\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 757,\n                                \"account_id\": \"6Z7L4\"\n                            }\n                        },\n                        {\n                            \"id\": 227033,\n                            \"business_id\": 1057557,\n                            \"account_id\": \"VQAAG\",\n                            \"userid\": 266483,\n                            \"client_business\": {\n                                \"business_id\": 1057557\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 332432,\n                                \"account_id\": \"VQAAG\"\n                            }\n                        }\n                    ]\n                }\n            },\n            {\n                \"id\": 4301745,\n                \"role\": \"business_partner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiIyNjA1MDg4IiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.OALFxNhq3MC52b9-zxcyZZiTqOHoqlhVwJKZfsGGv1M\",\n                \"business\": {\n                    \"id\": 1099865,\n                    \"name\": \"FreshBooks\",\n                    \"account_id\": \"J7nAK\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 1239887,\n                        \"street\": \"1655 Dupont St. Suite 250\",\n                        \"city\": \"Toronto\",\n                        \"province\": \"Ontario\",\n                        \"country\": \"Canada\",\n                        \"postal_code\": \"M6P 3T1\"\n                    },\n                    \"phone_number\": {\n                        \"id\": 434493,\n                        \"phone_number\": \"416 780-2701\"\n                    },\n                    \"business_clients\": []\n                }\n            },\n            {\n                \"id\": 4808823,\n                \"role\": \"owner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiIzNzI3NDgxIiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.wM47sYbse2c_ziHIwzvOzhJs4Ta55fBULUTzj2zxijw\",\n                \"business\": {\n                    \"id\": 1313109,\n                    \"name\": \"Ontario Chiropractic Association\",\n                    \"account_id\": \"oM6yL\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 1533803,\n                        \"street\": \"20 Victoria St. \",\n                        \"city\": \"Toronto\",\n                        \"province\": \"Ontario\",\n                        \"country\": \"Canada\",\n                        \"postal_code\": \"M6j 0B2\"\n                    },\n                    \"phone_number\": {\n                        \"id\": 553251,\n                        \"phone_number\": \"4164368583\"\n                    },\n                    \"business_clients\": [\n                        {\n                            \"id\": 293559,\n                            \"business_id\": 1313109,\n                            \"account_id\": \"26JzY\",\n                            \"userid\": 436623,\n                            \"client_business\": {\n                                \"business_id\": 1313109\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 19101,\n                                \"account_id\": \"26JzY\"\n                            }\n                        },\n                        {\n                            \"id\": 293571,\n                            \"business_id\": 1313109,\n                            \"account_id\": \"VQAAG\",\n                            \"userid\": 294161,\n                            \"client_business\": {\n                                \"business_id\": 1313109\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 332432,\n                                \"account_id\": \"VQAAG\"\n                            }\n                        },\n                        {\n                            \"id\": 293569,\n                            \"business_id\": 1313109,\n                            \"account_id\": \"05xly\",\n                            \"userid\": 269979,\n                            \"client_business\": {\n                                \"business_id\": 1313109\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 611912,\n                                \"account_id\": \"05xly\"\n                            }\n                        },\n                        {\n                            \"id\": 293567,\n                            \"business_id\": 1313109,\n                            \"account_id\": \"Y433O\",\n                            \"userid\": 196165,\n                            \"client_business\": {\n                                \"business_id\": 1313109\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 1003057,\n                                \"account_id\": \"Y433O\"\n                            }\n                        }\n                    ]\n                }\n            },\n            {\n                \"id\": 5644650,\n                \"role\": \"owner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiIzOTk3MjE2IiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.dWOgLwXuBQtd5IiknW4TObUuufHMXKEdXasuJ3HnfiM\",\n                \"business\": {\n                    \"id\": 1654536,\n                    \"name\": \"Valesso Cardlock\",\n                    \"account_id\": \"dowQ0g\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 2018418,\n                        \"street\": \"1224 Birmingham Rd. \",\n                        \"city\": \"Mobile\",\n                        \"province\": \"Alabama\",\n                        \"country\": \"United States\",\n                        \"postal_code\": \"36525\"\n                    },\n                    \"phone_number\": {\n                        \"id\": 767436,\n                        \"phone_number\": \"223-745-9783\"\n                    },\n                    \"business_clients\": []\n                }\n            },\n            {\n                \"id\": 6439728,\n                \"role\": \"owner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiI0MjMzODkwIiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.fC0KR7TF3Bdo3lr9FRQ2m0axb_IF3u4pkJsluf2fLtc\",\n                \"business\": {\n                    \"id\": 1962882,\n                    \"name\": \"Marshall Johnston\",\n                    \"account_id\": \"LJZ1p4\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 2416464,\n                        \"street\": \"2 Gladstone Ave.\",\n                        \"city\": \"Toronto\",\n                        \"province\": \"Ontario\",\n                        \"country\": \"Canada\",\n                        \"postal_code\": \"M6J0B2\"\n                    },\n                    \"phone_number\": {\n                        \"id\": 944268,\n                        \"phone_number\": \"416-436-8583\"\n                    },\n                    \"business_clients\": []\n                }\n            },\n            {\n                \"id\": 6446238,\n                \"role\": \"business_partner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiI0MjM2NDEwIiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.YmpVLa262YNgC5YbEW0LLLPYywJJ8BF_Dzc61JykL-0\",\n                \"business\": {\n                    \"id\": 1966214,\n                    \"name\": \"Postman Sandbox\",\n                    \"account_id\": \"wkMd2g\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 2421054,\n                        \"street\": null,\n                        \"city\": null,\n                        \"province\": null,\n                        \"country\": \"Canada\",\n                        \"postal_code\": null\n                    },\n                    \"phone_number\": null,\n                    \"business_clients\": []\n                }\n            },\n            {\n                \"id\": 6487858,\n                \"role\": \"owner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiI0MjUxNTQwIiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.S7OjD1kSh38EqHswdO2ow-QyFIx32HPG_N_dfAZj0qU\",\n                \"business\": {\n                    \"id\": 1986556,\n                    \"name\": \"Caroline's Corral\",\n                    \"account_id\": \"3x62x2\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 2448954,\n                        \"street\": null,\n                        \"city\": null,\n                        \"province\": null,\n                        \"country\": \"Canada\",\n                        \"postal_code\": null\n                    },\n                    \"phone_number\": null,\n                    \"business_clients\": []\n                }\n            },\n            {\n                \"id\": 6487912,\n                \"role\": \"owner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiI0MjUxNTY2IiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.lFv_X5eynZ_fCgVQYezU_EViJBnNlfbU-nLxcw7ruJg\",\n                \"business\": {\n                    \"id\": 1986590,\n                    \"name\": \"Kevin's Corral\",\n                    \"account_id\": \"lwy0vG\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 2448988,\n                        \"street\": null,\n                        \"city\": null,\n                        \"province\": null,\n                        \"country\": \"Canada\",\n                        \"postal_code\": null\n                    },\n                    \"phone_number\": null,\n                    \"business_clients\": []\n                }\n            }\n        ],\n        \"identity_origin\": null,\n        \"roles\": [\n            {\n                \"id\": 32411,\n                \"role\": \"admin\",\n                \"systemid\": 2101193,\n                \"userid\": 1,\n                \"created_at\": \"2016-01-21T18:18:39Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/32411\"\n                },\n                \"accountid\": \"E86Qp\"\n            },\n            {\n                \"id\": 71277,\n                \"role\": \"client\",\n                \"systemid\": 2262093,\n                \"userid\": 270493,\n                \"created_at\": \"2016-09-22T18:28:55Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/71277\"\n                },\n                \"accountid\": \"Ex8B1\"\n            },\n            {\n                \"id\": 71282,\n                \"role\": \"client\",\n                \"systemid\": 2618413,\n                \"userid\": 23360,\n                \"created_at\": \"2016-09-22T18:33:13Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/71282\"\n                },\n                \"accountid\": \"kyRVK\"\n            },\n            {\n                \"id\": 196335,\n                \"role\": \"staff\",\n                \"systemid\": 2537204,\n                \"userid\": 235430,\n                \"created_at\": \"2017-01-27T15:40:33Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/196335\"\n                },\n                \"accountid\": \"RnPKp\"\n            },\n            {\n                \"id\": 313786,\n                \"role\": \"client\",\n                \"systemid\": 2259081,\n                \"userid\": 316723,\n                \"created_at\": \"2017-04-14T16:10:55Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/313786\"\n                },\n                \"accountid\": \"owGZ6\"\n            },\n            {\n                \"id\": 556901,\n                \"role\": \"admin\",\n                \"systemid\": 3076347,\n                \"userid\": 1,\n                \"created_at\": \"2017-10-13T13:30:22Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/556901\"\n                },\n                \"accountid\": \"0XaOw\"\n            },\n            {\n                \"id\": 575202,\n                \"role\": \"admin\",\n                \"systemid\": 3091183,\n                \"userid\": 1,\n                \"created_at\": \"2017-10-30T16:06:19Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/575202\"\n                },\n                \"accountid\": \"7lwxr\"\n            },\n            {\n                \"id\": 575566,\n                \"role\": \"admin\",\n                \"systemid\": 3091468,\n                \"userid\": 1,\n                \"created_at\": \"2017-10-30T19:48:44Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/575566\"\n                },\n                \"accountid\": \"4VMVg\"\n            },\n            {\n                \"id\": 624370,\n                \"role\": \"business_partner\",\n                \"systemid\": 3006975,\n                \"userid\": 202432,\n                \"created_at\": \"2017-12-07T19:39:30Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/624370\"\n                },\n                \"accountid\": \"gjndR\"\n            },\n            {\n                \"id\": 636097,\n                \"role\": \"admin\",\n                \"systemid\": 3138164,\n                \"userid\": 1,\n                \"created_at\": \"2017-12-15T19:05:41Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/636097\"\n                },\n                \"accountid\": \"x33xX\"\n            },\n            {\n                \"id\": 662351,\n                \"role\": \"admin\",\n                \"systemid\": 3158909,\n                \"userid\": 1,\n                \"created_at\": \"2018-01-09T15:54:08Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/662351\"\n                },\n                \"accountid\": \"e1yRq\"\n            },\n            {\n                \"id\": 676036,\n                \"role\": \"admin\",\n                \"systemid\": 3169984,\n                \"userid\": 1,\n                \"created_at\": \"2018-01-17T16:24:24Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/676036\"\n                },\n                \"accountid\": \"3eRwB\"\n            },\n            {\n                \"id\": 677794,\n                \"role\": \"client\",\n                \"systemid\": 2557515,\n                \"userid\": 338717,\n                \"created_at\": \"2018-01-18T15:21:26Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/677794\"\n                },\n                \"accountid\": \"X744K\"\n            },\n            {\n                \"id\": 690736,\n                \"role\": \"business_employee\",\n                \"systemid\": 3014062,\n                \"userid\": 230198,\n                \"created_at\": \"2018-01-25T15:13:08Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/690736\"\n                },\n                \"accountid\": \"apw1A\"\n            },\n            {\n                \"id\": 750173,\n                \"role\": \"admin\",\n                \"systemid\": 3229028,\n                \"userid\": 1,\n                \"created_at\": \"2018-02-23T18:00:31Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/750173\"\n                },\n                \"accountid\": \"8nPPA\"\n            },\n            {\n                \"id\": 758981,\n                \"role\": \"admin\",\n                \"systemid\": 3235461,\n                \"userid\": 1,\n                \"created_at\": \"2018-02-28T15:54:51Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/758981\"\n                },\n                \"accountid\": \"j1322\"\n            },\n            {\n                \"id\": 759025,\n                \"role\": \"business_partner\",\n                \"systemid\": 767834,\n                \"userid\": 580126,\n                \"created_at\": \"2018-02-28T16:16:26Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/759025\"\n                },\n                \"accountid\": \"rALYo\"\n            },\n            {\n                \"id\": 895989,\n                \"role\": \"admin\",\n                \"systemid\": 3335607,\n                \"userid\": 1,\n                \"created_at\": \"2018-04-11T18:24:58Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/895989\"\n                },\n                \"accountid\": \"M1OaR\"\n            },\n            {\n                \"id\": 902859,\n                \"role\": \"business_partner\",\n                \"systemid\": 3331965,\n                \"userid\": 34217,\n                \"created_at\": \"2018-04-13T14:28:06Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/902859\"\n                },\n                \"accountid\": \"B3AVo\"\n            },\n            {\n                \"id\": 908131,\n                \"role\": \"admin\",\n                \"systemid\": 3344949,\n                \"userid\": 1,\n                \"created_at\": \"2018-04-15T15:38:50Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/908131\"\n                },\n                \"accountid\": \"E3MAY\"\n            },\n            {\n                \"id\": 940691,\n                \"role\": \"admin\",\n                \"systemid\": 3367995,\n                \"userid\": 1,\n                \"created_at\": \"2018-04-25T15:26:47Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/940691\"\n                },\n                \"accountid\": \"M1GeK\"\n            },\n            {\n                \"id\": 998423,\n                \"role\": \"admin\",\n                \"systemid\": 3408183,\n                \"userid\": 1,\n                \"created_at\": \"2018-05-14T17:52:53Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/998423\"\n                },\n                \"accountid\": \"7PO26\"\n            },\n            {\n                \"id\": 1046339,\n                \"role\": \"admin\",\n                \"systemid\": 3445027,\n                \"userid\": 1,\n                \"created_at\": \"2018-05-30T17:06:15Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1046339\"\n                },\n                \"accountid\": \"ZAZdo\"\n            },\n            {\n                \"id\": 1189037,\n                \"role\": \"business_employee\",\n                \"systemid\": 3530091,\n                \"userid\": 73757,\n                \"created_at\": \"2018-07-16T14:04:13Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1189037\"\n                },\n                \"accountid\": \"0PJMZ\"\n            },\n            {\n                \"id\": 1220739,\n                \"role\": \"business_partner\",\n                \"systemid\": 2605088,\n                \"userid\": 307345,\n                \"created_at\": \"2018-07-26T14:17:56Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1220739\"\n                },\n                \"accountid\": \"J7nAK\"\n            },\n            {\n                \"id\": 1356857,\n                \"role\": \"admin\",\n                \"systemid\": 3677205,\n                \"userid\": 1,\n                \"created_at\": \"2018-09-06T14:23:42Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1356857\"\n                },\n                \"accountid\": \"Ee0nZ\"\n            },\n            {\n                \"id\": 1361235,\n                \"role\": \"admin\",\n                \"systemid\": 3680199,\n                \"userid\": 1,\n                \"created_at\": \"2018-09-07T14:49:28Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1361235\"\n                },\n                \"accountid\": \"pe6MW\"\n            },\n            {\n                \"id\": 1427159,\n                \"role\": \"admin\",\n                \"systemid\": 3727481,\n                \"userid\": 1,\n                \"created_at\": \"2018-09-27T18:14:12Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1427159\"\n                },\n                \"accountid\": \"oM6yL\"\n            },\n            {\n                \"id\": 1427269,\n                \"role\": \"client\",\n                \"systemid\": 2226270,\n                \"userid\": 436623,\n                \"created_at\": \"2018-09-27T18:33:31Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1427269\"\n                },\n                \"accountid\": \"26JzY\"\n            },\n            {\n                \"id\": 1427293,\n                \"role\": \"client\",\n                \"systemid\": 3484587,\n                \"userid\": 196165,\n                \"created_at\": \"2018-09-27T18:36:25Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1427293\"\n                },\n                \"accountid\": \"Y433O\"\n            },\n            {\n                \"id\": 1427305,\n                \"role\": \"client\",\n                \"systemid\": 3172891,\n                \"userid\": 269979,\n                \"created_at\": \"2018-09-27T18:38:28Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1427305\"\n                },\n                \"accountid\": \"05xly\"\n            },\n            {\n                \"id\": 1427311,\n                \"role\": \"client\",\n                \"systemid\": 2931919,\n                \"userid\": 294161,\n                \"created_at\": \"2018-09-27T18:39:35Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1427311\"\n                },\n                \"accountid\": \"VQAAG\"\n            },\n            {\n                \"id\": 1789450,\n                \"role\": \"admin\",\n                \"systemid\": 3997216,\n                \"userid\": 1,\n                \"created_at\": \"2019-01-15T19:42:19Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1789450\"\n                },\n                \"accountid\": \"dowQ0g\"\n            },\n            {\n                \"id\": 1949044,\n                \"role\": \"admin\",\n                \"systemid\": 4113412,\n                \"userid\": 1,\n                \"created_at\": \"2019-02-28T20:19:28Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1949044\"\n                },\n                \"accountid\": \"yA0R2P\"\n            },\n            {\n                \"id\": 2120722,\n                \"role\": \"admin\",\n                \"systemid\": 4233890,\n                \"userid\": 1,\n                \"created_at\": \"2019-04-17T14:08:30Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/2120722\"\n                },\n                \"accountid\": \"LJZ1p4\"\n            },\n            {\n                \"id\": 2124362,\n                \"role\": \"business_partner\",\n                \"systemid\": 4236410,\n                \"userid\": 31004,\n                \"created_at\": \"2019-04-18T13:38:19Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/2124362\"\n                },\n                \"accountid\": \"wkMd2g\"\n            },\n            {\n                \"id\": 2146098,\n                \"role\": \"admin\",\n                \"systemid\": 4251540,\n                \"userid\": 1,\n                \"created_at\": \"2019-04-25T16:42:38Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/2146098\"\n                },\n                \"accountid\": \"3x62x2\"\n            },\n            {\n                \"id\": 2146130,\n                \"role\": \"admin\",\n                \"systemid\": 4251566,\n                \"userid\": 1,\n                \"created_at\": \"2019-04-25T16:51:20Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/2146130\"\n                },\n                \"accountid\": \"lwy0vG\"\n            }\n        ]\n    }\n}"}],"_postman_id":"f101fd59-861a-4b8d-93bd-ccf4ce3b106b"},{"name":"Register as a new user","id":"84456397-e160-4937-b511-63a171de0137","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"api.freshbooks@gmail.com\",\n    \"company_name\": null,\n    \"email\": \"api.freshbooks@gmail.com\",\n    \"password\": \"jjjjjjjjjjjjjjjjjjj\",\n    \"country\": \"Canada\",\n    \"currencyCode\": \"CAD\",\n    \"access_token\": null,\n    \"direct_buy\": false,\n    \"skip_system\": false,\n    \"skip_business\": false,\n    \"send_confirmation_notification\": true,\n    \"capacity\": null,\n    \"provisioner\": \"magnum\",\n    \"referring_url\": null,\n    \"landing_url\": null,\n    \"referralid\": null,\n    \"web_promo\": null,\n    \"visitor_id\": null,\n    \"optimizely_user_id\": \"oeu1556551964423r0.989078205100306\",\n    \"optimizely_buckets\": null\n}"},"url":"https://api.freshbooks.com/auth/api/v1/smux/registrations","urlObject":{"protocol":"https","path":["auth","api","v1","smux","registrations"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"84456397-e160-4937-b511-63a171de0137"},{"name":"List User","id":"361be905-589a-4959-9d99-b17196d5dcac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/auth/api/v1/users/me","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["auth","api","v1","users","me"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"51a190f4-d52c-43f4-86c7-9bbd162b5860","name":"List User","originalRequest":{"method":"GET","header":[],"url":"https://api.freshbooks.com/auth/api/v1/users/me"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"ETag","value":"W/\"5a3c6f0461b4fa7cb898d33d88331c2f\""},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"b4160cbe-d5b3-4623-9ccb-fc2a3621303c"},{"key":"X-Runtime","value":"0.070275"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSBAUHUFQTGhEhCQ0WQg1UDl1KG0dAAEsSHwxWTBdeWBZIEFVGSDsIBlJfQw8QWFNAQEpTTABOCEwIDwUDBVMMUARSBlJXAgZZSk4JHxJSVgAEBAdWAgEAVgNVUVsHQGU="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:46:56 GMT"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:46:56 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"id\": 1882548,\n        \"profile\": {\n            \"setup_complete\": true,\n            \"first_name\": \"Ryan\",\n            \"last_name\": \"Marr\",\n            \"phone_number\": null,\n            \"address\": null,\n            \"professions\": [\n                {\n                    \"id\": 2257832,\n                    \"business_id\": 1821078,\n                    \"title\": \"Plumbing\",\n                    \"company\": \"Ryan's Plumbing\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 2258140,\n                    \"business_id\": 1821282,\n                    \"title\": \"Roofing\",\n                    \"company\": \"Ryan's Roofing\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 2291854,\n                    \"business_id\": 1849316,\n                    \"title\": \"Horse Racing\",\n                    \"company\": \"Archer R15\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 2431260,\n                    \"business_id\": 1966214,\n                    \"title\": \"Computer Hardware\",\n                    \"company\": \"Postman Sandbox\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 2450414,\n                    \"business_id\": 1982362,\n                    \"title\": \"Business Consulting\",\n                    \"company\": \"Ryan Marr\",\n                    \"designation\": null\n                }\n            ]\n        },\n        \"first_name\": \"Ryan\",\n        \"last_name\": \"Marr\",\n        \"email\": \"rmarr@freshbooks.com\",\n        \"language\": \"en\",\n        \"confirmed_at\": \"2019-03-05T19:06:41Z\",\n        \"created_at\": \"2019-03-05T19:06:17Z\",\n        \"unconfirmed_email\": null,\n        \"setup_complete\": true,\n        \"phone_numbers\": [\n            {\n                \"title\": \"\",\n                \"phone_number\": null\n            }\n        ],\n        \"addresses\": [\n            null\n        ],\n        \"profession\": {\n            \"id\": 2257832,\n            \"business_id\": 1821078,\n            \"title\": \"Plumbing\",\n            \"company\": \"Ryan's Plumbing\",\n            \"designation\": null\n        },\n        \"links\": {\n            \"me\": \"/service/auth/api/v1/users?id=1882548\",\n            \"roles\": \"/service/auth/api/v1/users/role/1882548\"\n        },\n        \"permissions\": {\n            \"G2MB3M\": {\n                \"advanced_accounting.access\": true,\n                \"attachments.access\": true,\n                \"business_accountant.limit\": 10,\n                \"client.limit\": -1,\n                \"proposals_candidate.access\": true,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"premium_contractor_role.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true\n            },\n            \"wk6N3K\": {\n                \"advanced_accounting.access\": true,\n                \"attachments.access\": true,\n                \"business_accountant.limit\": 10,\n                \"client.limit\": -1,\n                \"proposals_candidate.access\": true,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true\n            },\n            \"85lLQg\": {\n                \"advanced_accounting.access\": true,\n                \"attachments.access\": true,\n                \"business_accountant.limit\": 10,\n                \"client.limit\": -1,\n                \"proposals_candidate.access\": true,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true,\n                \"helios_virtual_terminal_advertising.beta.access\": true\n            },\n            \"wkMd2g\": {\n                \"advanced_accounting.access\": true,\n                \"attachments.access\": true,\n                \"business_accountant.limit\": 10,\n                \"client.limit\": -1,\n                \"proposals_candidate.access\": true,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true\n            },\n            \"5o0MVd\": {\n                \"advanced_accounting.access\": true,\n                \"attachments.access\": true,\n                \"business_accountant.limit\": 10,\n                \"client.limit\": -1,\n                \"proposals_candidate.access\": true,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true\n            }\n        },\n        \"groups\": [\n            {\n                \"id\": 6074868,\n                \"group_id\": 4663288,\n                \"role\": \"owner\",\n                \"identity_id\": 1882548,\n                \"business_id\": 1821078,\n                \"active\": true\n            },\n            {\n                \"id\": 6075290,\n                \"group_id\": 4663628,\n                \"role\": \"owner\",\n                \"identity_id\": 1882548,\n                \"business_id\": 1821282,\n                \"active\": true\n            },\n            {\n                \"id\": 6087318,\n                \"group_id\": 4673734,\n                \"role\": \"owner\",\n                \"identity_id\": 1882548,\n                \"business_id\": 1821078,\n                \"active\": true\n            },\n            {\n                \"id\": 6142970,\n                \"group_id\": 4715160,\n                \"role\": \"owner\",\n                \"identity_id\": 1882548,\n                \"business_id\": 1849316,\n                \"active\": true\n            },\n            {\n                \"id\": 6248862,\n                \"group_id\": 4793508,\n                \"role\": \"owner\",\n                \"identity_id\": 1882548,\n                \"business_id\": 1821078,\n                \"active\": true\n            },\n            {\n                \"id\": 6339198,\n                \"group_id\": 4862942,\n                \"role\": \"owner\",\n                \"identity_id\": 1882548,\n                \"business_id\": 1821078,\n                \"active\": true\n            },\n            {\n                \"id\": 6342218,\n                \"group_id\": 4864422,\n                \"role\": \"owner\",\n                \"identity_id\": 1882548,\n                \"business_id\": 1821078,\n                \"active\": true\n            },\n            {\n                \"id\": 6348110,\n                \"group_id\": 4868154,\n                \"role\": \"owner\",\n                \"identity_id\": 1882548,\n                \"business_id\": 1821078,\n                \"active\": true\n            },\n            {\n                \"id\": 6446130,\n                \"group_id\": 4942664,\n                \"role\": \"owner\",\n                \"identity_id\": 1882548,\n                \"business_id\": 1966214,\n                \"active\": true\n            },\n            {\n                \"id\": 6446258,\n                \"group_id\": 4942784,\n                \"role\": \"owner\",\n                \"identity_id\": 1882548,\n                \"business_id\": 1966214,\n                \"active\": true\n            },\n            {\n                \"id\": 6479606,\n                \"group_id\": 4970918,\n                \"role\": \"owner\",\n                \"identity_id\": 1882548,\n                \"business_id\": 1982362,\n                \"active\": true\n            },\n            {\n                \"id\": 6481340,\n                \"group_id\": 4972416,\n                \"role\": \"owner\",\n                \"identity_id\": 1882548,\n                \"business_id\": 1966214,\n                \"active\": true\n            }\n        ],\n        \"subscription_statuses\": {\n            \"G2MB3M\": \"active_trial\",\n            \"wk6N3K\": \"active_trial\",\n            \"85lLQg\": \"active_trial\",\n            \"wkMd2g\": \"active_trial\",\n            \"5o0MVd\": \"active_trial\"\n        },\n        \"integrations\": {},\n        \"business_memberships\": [\n            {\n                \"id\": 6074868,\n                \"role\": \"owner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIxODgyNTQ4IiwiZmFzdHRyYWNrX3N5c3RlbV9pZCI6IjQxMjczMzYiLCJjcmVhdGVkX2F0IjoiMjAxOS0wNC0yNFQxODo0Njo1NiswMDowMCJ9.4qBILqGYGNXTHp5wBbZwFkFOA76j7z-vEbwoIQNvZ9g\",\n                \"business\": {\n                    \"id\": 1821078,\n                    \"name\": \"Ryan's Plumbing\",\n                    \"account_id\": \"G2MB3M\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 2406196,\n                        \"street\": \"190 Maria St\",\n                        \"city\": \"Toronto\",\n                        \"province\": \"Ontario\",\n                        \"country\": \"Canada\",\n                        \"postal_code\": \"M6P1W4\"\n                    },\n                    \"phone_number\": {\n                        \"id\": 854650,\n                        \"phone_number\": \"647-233-4592\"\n                    },\n                    \"business_clients\": [\n                        {\n                            \"id\": 423076,\n                            \"business_id\": 1821078,\n                            \"account_id\": \"wkk4zg\",\n                            \"userid\": 188186,\n                            \"client_business\": {\n                                \"business_id\": 1821078\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 1520004,\n                                \"account_id\": \"wkk4zg\"\n                            }\n                        }\n                    ]\n                }\n            },\n            {\n                \"id\": 6075290,\n                \"role\": \"owner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIxODgyNTQ4IiwiZmFzdHRyYWNrX3N5c3RlbV9pZCI6IjQxMjc0OTgiLCJjcmVhdGVkX2F0IjoiMjAxOS0wNC0yNFQxODo0Njo1NiswMDowMCJ9.QrpweK0-SIaZ4XbcZ1NuBID3lQBied6vIvmEAM_FfEw\",\n                \"business\": {\n                    \"id\": 1821282,\n                    \"name\": \"Ryan's Roofing\",\n                    \"account_id\": \"wk6N3K\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 2218132,\n                        \"street\": null,\n                        \"city\": null,\n                        \"province\": null,\n                        \"country\": \"Canada\",\n                        \"postal_code\": null\n                    },\n                    \"phone_number\": null,\n                    \"business_clients\": []\n                }\n            },\n            {\n                \"id\": 6142970,\n                \"role\": \"owner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIxODgyNTQ4IiwiZmFzdHRyYWNrX3N5c3RlbV9pZCI6IjQxNDkzNzIiLCJjcmVhdGVkX2F0IjoiMjAxOS0wNC0yNFQxODo0Njo1NiswMDowMCJ9.rp929zsTTmI_KpUimzcHQAUCm1SZwJTpNFSDvgUKMe0\",\n                \"business\": {\n                    \"id\": 1849316,\n                    \"name\": \"Archer R15\",\n                    \"account_id\": \"85lLQg\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 2256978,\n                        \"street\": null,\n                        \"city\": null,\n                        \"province\": null,\n                        \"country\": \"Canada\",\n                        \"postal_code\": null\n                    },\n                    \"phone_number\": null,\n                    \"business_clients\": []\n                }\n            },\n            {\n                \"id\": 6446130,\n                \"role\": \"owner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIxODgyNTQ4IiwiZmFzdHRyYWNrX3N5c3RlbV9pZCI6IjQyMzY0MTAiLCJjcmVhdGVkX2F0IjoiMjAxOS0wNC0yNFQxODo0Njo1NiswMDowMCJ9.jT0yzokcfI9WJ_hydiS8EM5doyrcBcxf5gncqbMTkW4\",\n                \"business\": {\n                    \"id\": 1966214,\n                    \"name\": \"Postman Sandbox\",\n                    \"account_id\": \"wkMd2g\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 2421054,\n                        \"street\": null,\n                        \"city\": null,\n                        \"province\": null,\n                        \"country\": \"Canada\",\n                        \"postal_code\": null\n                    },\n                    \"phone_number\": null,\n                    \"business_clients\": []\n                }\n            },\n            {\n                \"id\": 6479606,\n                \"role\": \"owner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIxODgyNTQ4IiwiZmFzdHRyYWNrX3N5c3RlbV9pZCI6IjQyNDg1MDYiLCJjcmVhdGVkX2F0IjoiMjAxOS0wNC0yNFQxODo0Njo1NiswMDowMCJ9.fNJ-ZNyOgSVDHSPSVxjw8OIhdzw0fD3jezKQuKzYj-0\",\n                \"business\": {\n                    \"id\": 1982362,\n                    \"name\": \"Ryan Marr\",\n                    \"account_id\": \"5o0MVd\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 2443174,\n                        \"street\": null,\n                        \"city\": null,\n                        \"province\": null,\n                        \"country\": \"Canada\",\n                        \"postal_code\": null\n                    },\n                    \"phone_number\": null,\n                    \"business_clients\": []\n                }\n            }\n        ],\n        \"identity_origin\": \"magnum\",\n        \"roles\": [\n            {\n                \"id\": 1968208,\n                \"role\": \"admin\",\n                \"systemid\": 4127336,\n                \"userid\": 1,\n                \"created_at\": \"2019-03-05T19:06:18Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1968208\"\n                },\n                \"accountid\": \"G2MB3M\"\n            },\n            {\n                \"id\": 1968426,\n                \"role\": \"admin\",\n                \"systemid\": 4127498,\n                \"userid\": 1,\n                \"created_at\": \"2019-03-05T19:42:02Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1968426\"\n                },\n                \"accountid\": \"wk6N3K\"\n            },\n            {\n                \"id\": 1976906,\n                \"role\": \"client\",\n                \"systemid\": 3892154,\n                \"userid\": 188186,\n                \"created_at\": \"2019-03-07T16:34:39Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1976906\"\n                },\n                \"accountid\": \"wkk4zg\"\n            },\n            {\n                \"id\": 1998562,\n                \"role\": \"admin\",\n                \"systemid\": 4149372,\n                \"userid\": 1,\n                \"created_at\": \"2019-03-13T16:23:54Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1998562\"\n                },\n                \"accountid\": \"85lLQg\"\n            },\n            {\n                \"id\": 2124288,\n                \"role\": \"admin\",\n                \"systemid\": 4236410,\n                \"userid\": 1,\n                \"created_at\": \"2019-04-18T13:14:52Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/2124288\"\n                },\n                \"accountid\": \"wkMd2g\"\n            },\n            {\n                \"id\": 2141588,\n                \"role\": \"admin\",\n                \"systemid\": 4248506,\n                \"userid\": 1,\n                \"created_at\": \"2019-04-24T14:51:29Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/2141588\"\n                },\n                \"accountid\": \"5o0MVd\"\n            }\n        ]\n    }\n}"}],"_postman_id":"361be905-589a-4959-9d99-b17196d5dcac"},{"name":"Revoke Refresh Token","id":"2e33123f-9b67-4c73-aa25-a926934fd0f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"client_id\": \"{{clientid}}\",\n    \"client_secret\": \"{{client secret}}\",\n    \"token\": \"{{refresh token}}\"\n}"},"url":"https://api.freshbooks.com/auth/oauth/revoke","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["auth","oauth","revoke"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2e33123f-9b67-4c73-aa25-a926934fd0f0"}],"id":"a15b6cef-9f82-4ffe-ba1d-75d5cef31e96","_postman_id":"a15b6cef-9f82-4ffe-ba1d-75d5cef31e96","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Clients","item":[{"name":"Credits","item":[{"name":"List Credits ","event":[{"listen":"test","script":{"id":"ed20ac68-9d11-40ae-a8b9-1c2b6134dca4","exec":["let jsonData = JSON.parse(responseBody);","pm.environment.set(\"creditId\", jsonData.response.result.credit_notes[0].id)"],"type":"text/javascript"}}],"id":"56044f7e-7367-4ad2-8e09-570505e6c53e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/credit_notes/credit_notes","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","credit_notes","credit_notes"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"98c72229-e772-4636-afb9-91ab6deae898","name":"List Credits ","originalRequest":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/credit_notes/credit_notes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 11 Sep 2020 14:41:18 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gHQ1NXCxI8DF8WXRECW0ZXVwxND14VVhFGGgdNVk0KBARWVFcCAANXUAUOClVSVU4dUxRAWl1SVAFdDVUEUFFTAQADAkRPXlJcFwQ/"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self'"},{"key":"X-Content-Security-Policy","value":"default-src 'self'"},{"key":"Strict-Transport-Security","value":"max-age=31556926; includeSubDomains; preload"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"596"},{"key":"X-RateLimit-Reset","value":"1599835339"},{"key":"Retry-After","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"credit_notes\": [\n                {\n                    \"accounting_systemid\": \"E86Qp\",\n                    \"amount\": {\n                        \"amount\": \"150.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"city\": \"\",\n                    \"clientid\": 599843,\n                    \"code\": \"\",\n                    \"country\": \"\",\n                    \"create_date\": \"2020-07-31\",\n                    \"credit_number\": \"0000069\",\n                    \"credit_type\": \"goodwill\",\n                    \"creditid\": 30947,\n                    \"currency_code\": \"CAD\",\n                    \"current_organization\": \"Squarespace\",\n                    \"description\": \"Goodwill Credit\",\n                    \"display_status\": \"created\",\n                    \"dispute_status\": null,\n                    \"ext_archive\": 0,\n                    \"fname\": \"\",\n                    \"id\": 30947,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"\",\n                    \"notes\": \"Free $150 voucher\",\n                    \"organization\": \"Squarespace\",\n                    \"paid\": {\n                        \"amount\": \"150.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"payment_status\": \"paid\",\n                    \"province\": \"\",\n                    \"sentid\": 1,\n                    \"status\": \"created\",\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"Will be applied to future invoice\",\n                    \"vat_name\": \"\",\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"E86Qp\",\n                    \"amount\": {\n                        \"amount\": \"150.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"city\": \"\",\n                    \"clientid\": 599843,\n                    \"code\": \"\",\n                    \"country\": \"\",\n                    \"create_date\": \"2020-07-31\",\n                    \"credit_number\": \"0000064\",\n                    \"credit_type\": \"goodwill\",\n                    \"creditid\": 30943,\n                    \"currency_code\": \"CAD\",\n                    \"current_organization\": \"Squarespace\",\n                    \"description\": \"Goodwill Credit\",\n                    \"display_status\": \"created\",\n                    \"dispute_status\": null,\n                    \"ext_archive\": 0,\n                    \"fname\": \"\",\n                    \"id\": 30943,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"\",\n                    \"notes\": \"Free $150 voucher\",\n                    \"organization\": \"Squarespace\",\n                    \"paid\": {\n                        \"amount\": \"150.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"payment_status\": \"paid\",\n                    \"province\": \"\",\n                    \"sentid\": 1,\n                    \"status\": \"created\",\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"Will be applied to future invoice\",\n                    \"vat_name\": \"\",\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"E86Qp\",\n                    \"amount\": {\n                        \"amount\": \"1000.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"city\": \"\",\n                    \"clientid\": 592895,\n                    \"code\": \"\",\n                    \"country\": \"Poland\",\n                    \"create_date\": \"2020-09-02\",\n                    \"credit_number\": \"0000036\",\n                    \"credit_type\": \"overpayment\",\n                    \"creditid\": 30789,\n                    \"currency_code\": \"CAD\",\n                    \"current_organization\": \"ABC Healthcare\",\n                    \"description\": \"Overpayment: invoice #TH - 0124\",\n                    \"display_status\": \"created\",\n                    \"dispute_status\": null,\n                    \"ext_archive\": 0,\n                    \"fname\": \"ABC\",\n                    \"id\": 30789,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"Healthcare\",\n                    \"notes\": \"Overpayment: invoice #TH - 0124\",\n                    \"organization\": \"ABC Healthcare\",\n                    \"paid\": {\n                        \"amount\": \"1000.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"payment_status\": \"paid\",\n                    \"province\": \"\",\n                    \"sentid\": 1,\n                    \"status\": \"created\",\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"\",\n                    \"vat_name\": \"VAT Number\",\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"E86Qp\",\n                    \"amount\": {\n                        \"amount\": \"300.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"city\": \"\",\n                    \"clientid\": 568667,\n                    \"code\": \"\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2020-08-12\",\n                    \"credit_number\": \"0000035\",\n                    \"credit_type\": \"overpayment\",\n                    \"creditid\": 30583,\n                    \"currency_code\": \"CAD\",\n                    \"current_organization\": \"Bob Smith\",\n                    \"description\": \"Overpayment: invoice #TH - 0076\",\n                    \"display_status\": \"created\",\n                    \"dispute_status\": null,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Bob\",\n                    \"id\": 30583,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"Smith\",\n                    \"notes\": \"Overpayment: invoice #TH - 0076\",\n                    \"organization\": \"Bob Smith\",\n                    \"paid\": {\n                        \"amount\": \"300.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"payment_status\": \"paid\",\n                    \"province\": \"\",\n                    \"sentid\": 1,\n                    \"status\": \"created\",\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"\",\n                    \"vat_name\": \"\",\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"E86Qp\",\n                    \"amount\": {\n                        \"amount\": \"100.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"city\": \"Phoenix\",\n                    \"clientid\": 548489,\n                    \"code\": \"\",\n                    \"country\": \"United States\",\n                    \"create_date\": \"2020-08-06\",\n                    \"credit_number\": \"0000034\",\n                    \"credit_type\": \"prepayment\",\n                    \"creditid\": 30445,\n                    \"currency_code\": \"CAD\",\n                    \"current_organization\": \"ADS\",\n                    \"description\": \"\",\n                    \"display_status\": \"created\",\n                    \"dispute_status\": null,\n                    \"ext_archive\": 0,\n                    \"fname\": \"John\",\n                    \"id\": 30445,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"Doe\",\n                    \"notes\": \"\",\n                    \"organization\": \"ADS\",\n                    \"paid\": {\n                        \"amount\": \"100.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"payment_status\": \"paid\",\n                    \"province\": \"Arizona\",\n                    \"sentid\": 557989,\n                    \"status\": \"created\",\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": null,\n                    \"vat_name\": null,\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"E86Qp\",\n                    \"amount\": {\n                        \"amount\": \"300.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"city\": \"\",\n                    \"clientid\": 592185,\n                    \"code\": \"\",\n                    \"country\": \"\",\n                    \"create_date\": \"2020-07-28\",\n                    \"credit_number\": \"0000033\",\n                    \"credit_type\": \"prepayment\",\n                    \"creditid\": 30327,\n                    \"currency_code\": \"CAD\",\n                    \"current_organization\": \"test test\",\n                    \"description\": \"\",\n                    \"display_status\": \"created\",\n                    \"dispute_status\": null,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Chris\",\n                    \"id\": 30327,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"Clavio\",\n                    \"notes\": \"\",\n                    \"organization\": \"Chris Clavio\",\n                    \"paid\": {\n                        \"amount\": \"300.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"payment_status\": \"paid\",\n                    \"province\": \"\",\n                    \"sentid\": 563389,\n                    \"status\": \"created\",\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": null,\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"E86Qp\",\n                    \"amount\": {\n                        \"amount\": \"9000.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"city\": \"Toronto\",\n                    \"clientid\": 494562,\n                    \"code\": \"M4K 2G5\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2020-07-27\",\n                    \"credit_number\": \"0000032\",\n                    \"credit_type\": \"goodwill\",\n                    \"creditid\": 30289,\n                    \"currency_code\": \"CAD\",\n                    \"current_organization\": \"Plot #45\",\n                    \"description\": \"\",\n                    \"display_status\": \"created\",\n                    \"dispute_status\": null,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Tom\",\n                    \"id\": 30289,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"Hanks\",\n                    \"notes\": \"\",\n                    \"organization\": \"Plot #45\",\n                    \"paid\": {\n                        \"amount\": \"9000.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"payment_status\": \"paid\",\n                    \"province\": \"Ontario\",\n                    \"sentid\": 557989,\n                    \"status\": \"created\",\n                    \"street\": \"Oak St\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": null,\n                    \"vat_name\": null,\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"E86Qp\",\n                    \"amount\": {\n                        \"amount\": \"55.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"city\": \"\",\n                    \"clientid\": 590529,\n                    \"code\": \"\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2020-07-17\",\n                    \"credit_number\": \"0000031\",\n                    \"credit_type\": \"overpayment\",\n                    \"creditid\": 30177,\n                    \"currency_code\": \"CAD\",\n                    \"current_organization\": \"Dom's Outhouses\",\n                    \"description\": \"Overpayment: invoice #20050850, prepayment credit\",\n                    \"display_status\": \"created\",\n                    \"dispute_status\": null,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Dominic\",\n                    \"id\": 30177,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"Schiavo\",\n                    \"notes\": \"Overpayment: invoice #20050850, prepayment credit\",\n                    \"organization\": \"Dom's Outhouses\",\n                    \"paid\": {\n                        \"amount\": \"55.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"payment_status\": \"paid\",\n                    \"province\": \"\",\n                    \"sentid\": 1,\n                    \"status\": \"created\",\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"\",\n                    \"vat_name\": \"\",\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"E86Qp\",\n                    \"amount\": {\n                        \"amount\": \"112.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"city\": \"\",\n                    \"clientid\": 590529,\n                    \"code\": \"\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2020-07-17\",\n                    \"credit_number\": \"0000030\",\n                    \"credit_type\": \"overpayment\",\n                    \"creditid\": 30167,\n                    \"currency_code\": \"CAD\",\n                    \"current_organization\": \"Dom's Outhouses\",\n                    \"description\": \"Overpayment: invoice #20050849\",\n                    \"display_status\": \"created\",\n                    \"dispute_status\": null,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Dominic\",\n                    \"id\": 30167,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"Schiavo\",\n                    \"notes\": \"Overpayment: invoice #20050849\",\n                    \"organization\": \"Dom's Outhouses\",\n                    \"paid\": {\n                        \"amount\": \"112.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"payment_status\": \"paid\",\n                    \"province\": \"\",\n                    \"sentid\": 1,\n                    \"status\": \"created\",\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"\",\n                    \"vat_name\": \"\",\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"E86Qp\",\n                    \"amount\": {\n                        \"amount\": \"112.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"city\": \"\",\n                    \"clientid\": 590529,\n                    \"code\": \"\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2020-07-17\",\n                    \"credit_number\": \"0000029\",\n                    \"credit_type\": \"overpayment\",\n                    \"creditid\": 30165,\n                    \"currency_code\": \"CAD\",\n                    \"current_organization\": \"Dom's Outhouses\",\n                    \"description\": \"Overpayment: invoice #20050849\",\n                    \"display_status\": \"created\",\n                    \"dispute_status\": null,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Dominic\",\n                    \"id\": 30165,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"Schiavo\",\n                    \"notes\": \"Overpayment: invoice #20050849\",\n                    \"organization\": \"Dom's Outhouses\",\n                    \"paid\": {\n                        \"amount\": \"112.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"payment_status\": \"paid\",\n                    \"province\": \"\",\n                    \"sentid\": 1,\n                    \"status\": \"created\",\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"\",\n                    \"vat_name\": \"\",\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"E86Qp\",\n                    \"amount\": {\n                        \"amount\": \"112.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"city\": \"\",\n                    \"clientid\": 590529,\n                    \"code\": \"\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2020-07-17\",\n                    \"credit_number\": \"0000028\",\n                    \"credit_type\": \"prepayment\",\n                    \"creditid\": 30163,\n                    \"currency_code\": \"CAD\",\n                    \"current_organization\": \"Dom's Outhouses\",\n                    \"description\": \"vwfwg\",\n                    \"display_status\": \"created\",\n                    \"dispute_status\": null,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Dominic\",\n                    \"id\": 30163,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"Schiavo\",\n                    \"notes\": \"\",\n                    \"organization\": \"Dom's Outhouses\",\n                    \"paid\": {\n                        \"amount\": \"112.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"payment_status\": \"paid\",\n                    \"province\": \"\",\n                    \"sentid\": 1,\n                    \"status\": \"created\",\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": null,\n                    \"vat_name\": null,\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"E86Qp\",\n                    \"amount\": {\n                        \"amount\": \"500.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"city\": \"\",\n                    \"clientid\": 589351,\n                    \"code\": \"\",\n                    \"country\": \"Poland\",\n                    \"create_date\": \"2020-07-08\",\n                    \"credit_number\": \"0000027\",\n                    \"credit_type\": \"prepayment\",\n                    \"creditid\": 29979,\n                    \"currency_code\": \"CAD\",\n                    \"current_organization\": \"Kevin Melling\",\n                    \"description\": \"\",\n                    \"display_status\": \"created\",\n                    \"dispute_status\": null,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Kevin\",\n                    \"id\": 29979,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"Melling\",\n                    \"notes\": \"\",\n                    \"organization\": \"Kevin Melling\",\n                    \"paid\": {\n                        \"amount\": \"500.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"payment_status\": \"paid\",\n                    \"province\": \"\",\n                    \"sentid\": 557989,\n                    \"status\": \"created\",\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": null,\n                    \"vat_name\": \"VAT Number\",\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"E86Qp\",\n                    \"amount\": {\n                        \"amount\": \"1000.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"city\": \"\",\n                    \"clientid\": 585673,\n                    \"code\": \"\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2020-06-18\",\n                    \"credit_number\": \"0000026\",\n                    \"credit_type\": \"prepayment\",\n                    \"creditid\": 29687,\n                    \"currency_code\": \"CAD\",\n                    \"current_organization\": \"Disney World\",\n                    \"description\": \"\",\n                    \"display_status\": \"sent\",\n                    \"dispute_status\": null,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Shri\",\n                    \"id\": 29687,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"Test\",\n                    \"notes\": \"\",\n                    \"organization\": \"Disney World\",\n                    \"paid\": {\n                        \"amount\": \"1000.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"payment_status\": \"paid\",\n                    \"province\": \"\",\n                    \"sentid\": 1,\n                    \"status\": \"sent\",\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": null,\n                    \"vat_name\": null,\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"E86Qp\",\n                    \"amount\": {\n                        \"amount\": \"56758.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"city\": \"\",\n                    \"clientid\": 585793,\n                    \"code\": \"\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2020-06-18\",\n                    \"credit_number\": \"0000025\",\n                    \"credit_type\": \"overpayment\",\n                    \"creditid\": 29685,\n                    \"currency_code\": \"CAD\",\n                    \"current_organization\": \"Rabbit Zone\",\n                    \"description\": \"Overpayment: invoice #20050665\",\n                    \"display_status\": \"created\",\n                    \"dispute_status\": null,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Ashley\",\n                    \"id\": 29685,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"Mel\",\n                    \"notes\": \"Overpayment: invoice #20050665\",\n                    \"organization\": \"Rabbit Zone\",\n                    \"paid\": {\n                        \"amount\": \"56758.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"payment_status\": \"paid\",\n                    \"province\": \"\",\n                    \"sentid\": 1,\n                    \"status\": \"created\",\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"\",\n                    \"vat_name\": \"\",\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"E86Qp\",\n                    \"amount\": {\n                        \"amount\": \"3657.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"city\": \"\",\n                    \"clientid\": 585793,\n                    \"code\": \"\",\n                    \"country\": \"\",\n                    \"create_date\": \"2020-06-18\",\n                    \"credit_number\": \"0000024\",\n                    \"credit_type\": \"prepayment\",\n                    \"creditid\": 29683,\n                    \"currency_code\": \"CAD\",\n                    \"current_organization\": \"Rabbit Zone\",\n                    \"description\": \"\",\n                    \"display_status\": \"viewed\",\n                    \"dispute_status\": null,\n                    \"ext_archive\": 0,\n                    \"fname\": \"\",\n                    \"id\": 29683,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"\",\n                    \"notes\": \"\",\n                    \"organization\": \"\",\n                    \"paid\": {\n                        \"amount\": \"3657.00\",\n                        \"code\": \"CAD\"\n                    },\n                    \"payment_status\": \"paid\",\n                    \"province\": \"\",\n                    \"sentid\": 535534,\n                    \"status\": \"viewed\",\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": null,\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                }\n            ],\n            \"page\": 1,\n            \"pages\": 3,\n            \"per_page\": 15,\n            \"total\": 36\n        }\n    }\n}"}],"_postman_id":"56044f7e-7367-4ad2-8e09-570505e6c53e"},{"name":"Create Credit Note","id":"45d735c6-e914-4ad6-9ad6-b7ce592709c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"credit_note\": {\n        \"credit_number\": \"0000064\",\n        \"currency_code\": \"CAD\",\n        \"create_date\": \"2020-07-31\",\n        \"notes\": \"Free $150 voucher\",\n        \"credit_type\": \"goodwill\",\n        \"terms\": \"Will be applied to future invoice\",\n        \"language\": \"en\",\n        \"lines\": [\n            {\n                \"name\": \"Credit\",\n                \"description\": \"Goodwill Credit\",\n                \"taxName1\": null,\n                \"taxAmount1\": null,\n                \"taxName2\": null,\n                \"taxAmount2\": null,\n                \"compounded_tax\": false,\n                \"qty\": 1,\n                \"unit_cost\": {\n                    \"amount\": \"150\",\n                    \"code\": \"CAD\"\n                },\n                \"credit_note\": null\n            }\n        ],\n        \"clientid\": {{clientid}}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountid}}/credit_notes/credit_notes","urlObject":{"protocol":"https","path":["accounting","account","{{accountid}}","credit_notes","credit_notes"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"45d735c6-e914-4ad6-9ad6-b7ce592709c9"},{"name":"Create Prepayment Credit","id":"22a98b76-568f-454a-8f7e-42b64c128027","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"credit_note\": {\n        \"credit_number\": \"0000070\",\n        \"currency_code\": \"CAD\",\n        \"create_date\": \"2020-07-31\",\n        \"notes\": \"Thank you for paying ahead of time\",\n        \"credit_type\": \"prepayment\",\n        \"terms\": \"Will be applied to future invoice\",\n        \"lines\": [\n            {\n                \"name\": \"Credit\",\n                \"description\": \"PrePayment for work\",\n                \"taxName1\": null,\n                \"taxAmount1\": null,\n                \"taxName2\": null,\n                \"taxAmount2\": null,\n                \"compounded_tax\": false,\n                \"qty\": 1,\n                \"unit_cost\": {\n                    \"amount\": \"200\",\n                    \"code\": \"CAD\"\n                },\n                \"credit_note\": null\n            }\n        ],\n        \"clientid\": {{clientId}}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountid}}/credit_notes/credit_notes","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountid}}","credit_notes","credit_notes"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"22a98b76-568f-454a-8f7e-42b64c128027"},{"name":"Update Prepayment Credit","id":"3bef88e1-79f6-48df-a84a-3469de41b301","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"credit_note\": {\n        \"credit_number\": \"0000070\",\n        \"currency_code\": \"CAD\",\n        \"create_date\": \"2020-07-31\",\n        \"notes\": \"PrePayment for work\",\n        \"credit_type\": \"prepayment\",\n        \"terms\": \"Will be applied to future invoice\",\n        \"language\": \"en\",\n        \"lines\": [\n            {\n                \"id\": \"20375-1\",\n                \"name\": \"Credit\",\n                \"description\": \"Current Credit Balance\",\n                \"taxName1\": null,\n                \"taxAmount1\": 0,\n                \"taxName2\": null,\n                \"taxAmount2\": 0,\n                \"compounded_tax\": false,\n                \"qty\": 1,\n                \"unit_cost\": {\n                    \"amount\": \"150\",\n                    \"code\": \"CAD\"\n                }\n            },\n            {\n                \"name\": \"Credit\",\n                \"description\": \"Current Credit Balance\",\n                \"taxName1\": null,\n                \"taxAmount1\": 0,\n                \"taxName2\": null,\n                \"taxAmount2\": 0,\n                \"compounded_tax\": false,\n                \"qty\": 1,\n                \"unit_cost\": {\n                    \"amount\": \"100\",\n                    \"code\": \"CAD\"\n                }\n            }\n        ],\n        \"clientid\": {{clientId}}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountid}}/credit_notes/credit_notes/{{creditnote}}","urlObject":{"protocol":"https","path":["accounting","account","{{accountid}}","credit_notes","credit_notes","{{creditnote}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3bef88e1-79f6-48df-a84a-3469de41b301"},{"name":"Update Credit Note","id":"dba82659-c94f-467a-9991-553511e5ed8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"credit_note\": {\n        \"credit_number\": \"0000066\",\n        \"currency_code\": \"CAD\",\n        \"create_date\": \"2020-08-04\",\n        \"notes\": \"\",\n        \"credit_type\": \"goodwill\",\n        \"terms\": null,\n        \"language\": \"en\",\n        \"lines\": [\n            {\n                \"id\": \"20405-1\",\n                \"name\": \"Credit\",\n                \"description\": \"Free Voucher\",\n                \"taxName1\": null,\n                \"taxAmount1\": 0,\n                \"taxName2\": null,\n                \"taxAmount2\": 0,\n                \"compounded_tax\": false,\n                \"qty\": 1,\n                \"unit_cost\": {\n                    \"amount\": \"50\",\n                    \"code\": \"CAD\"\n                }\n            },\n            {\n                \"name\": \"Credit\",\n                \"description\": \"More voucher\",\n                \"taxName1\": null,\n                \"taxAmount1\": null,\n                \"taxName2\": null,\n                \"taxAmount2\": null,\n                \"compounded_tax\": false,\n                \"qty\": 1,\n                \"unit_cost\": {\n                    \"amount\": \"100\",\n                    \"code\": \"CAD\"\n                }\n            }\n        ],\n        \"clientid\": {{clientId}}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountid}}/credit_notes/credit_notes/{{creditnote}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountid}}","credit_notes","credit_notes","{{creditnote}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"dba82659-c94f-467a-9991-553511e5ed8a"},{"name":"Delete Credit","id":"44b001f2-bd86-4505-a3fc-36f7f1635c85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"credit_note\": {\n    \"vis_state\": 1\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/credit_notes/credit_notes/{{creditId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","credit_notes","credit_notes","{{creditId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"f8cad297-77e9-43bd-a153-2ccfb2c41dee","name":"Delete Credit","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"credit_note\": {\n    \"vis_state\": 1\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/credit_notes/credit_notes/{{creditId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 11 Sep 2020 14:41:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gHQ1NXCxI8DF8WXRECW0ZXVwxND14VVkBIBhtRSFALCwZUV1ECBgJRUAUAAVtKV1ccQAAGDlsEBVYECwAGAAsBUwYVTQACVEBVOQ=="},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self'"},{"key":"X-Content-Security-Policy","value":"default-src 'self'"},{"key":"Strict-Transport-Security","value":"max-age=31556926; includeSubDomains; preload"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"595"},{"key":"X-RateLimit-Reset","value":"1599835343"},{"key":"Retry-After","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"credit_note\": {\n                \"accounting_systemid\": \"E86Qp\",\n                \"amount\": {\n                    \"amount\": \"150.00\",\n                    \"code\": \"CAD\"\n                },\n                \"city\": \"\",\n                \"clientid\": 599843,\n                \"code\": \"\",\n                \"country\": \"\",\n                \"create_date\": \"2020-07-31\",\n                \"credit_number\": \"0000069\",\n                \"credit_type\": \"goodwill\",\n                \"creditid\": 30947,\n                \"currency_code\": \"CAD\",\n                \"current_organization\": \"Squarespace\",\n                \"description\": \"Goodwill Credit\",\n                \"display_status\": \"created\",\n                \"dispute_status\": null,\n                \"ext_archive\": 0,\n                \"fname\": \"\",\n                \"id\": 30947,\n                \"language\": \"en\",\n                \"last_order_status\": null,\n                \"lname\": \"\",\n                \"notes\": \"Free $150 voucher\",\n                \"organization\": \"Squarespace\",\n                \"paid\": {\n                    \"amount\": \"150.00\",\n                    \"code\": \"CAD\"\n                },\n                \"payment_status\": \"paid\",\n                \"province\": \"\",\n                \"sentid\": 1,\n                \"status\": \"created\",\n                \"street\": \"\",\n                \"street2\": \"\",\n                \"template\": \"clean-grouped\",\n                \"terms\": \"Will be applied to future invoice\",\n                \"vat_name\": \"\",\n                \"vat_number\": \"\",\n                \"vis_state\": 1\n            }\n        }\n    }\n}"}],"_postman_id":"44b001f2-bd86-4505-a3fc-36f7f1635c85"}],"id":"dda6b2e6-271d-4c7b-b470-5cade3ba86dc","_postman_id":"dda6b2e6-271d-4c7b-b470-5cade3ba86dc","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"List Clients","event":[{"listen":"test","script":{"id":"0507e64e-45fe-4a36-8eef-91a73c5be026","exec":["let jsonData = JSON.parse(responseBody);","pm.environment.set(\"customerId\", jsonData.response.result.clients[0].id)","pm.environment.set(\"clientId\", jsonData.response.result.clients[0].id)"],"type":"text/javascript"}}],"id":"febf4dc8-2621-4deb-ae17-35ed05299085","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/users/clients","description":"<p>list all clients</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","users","clients"],"host":["api","freshbooks","com"],"query":[{"disabled":true,"description":{"content":"<p>client's outstanding balance</p>\n","type":"text/plain"},"key":"include[]","value":"outstanding_balance"},{"disabled":true,"description":{"content":"<p>client's current balance of credit</p>\n","type":"text/plain"},"key":"include[]","value":"credit_balance"},{"disabled":true,"description":{"content":"<p>balance of draft invoices for client</p>\n","type":"text/plain"},"key":"include[]","value":"draft_balance"},{"disabled":true,"description":{"content":"<p>overdue balance for client</p>\n","type":"text/plain"},"key":"include[]","value":"overdue_balance"},{"disabled":true,"description":{"content":"<p>grand total for client</p>\n","type":"text/plain"},"key":"include[]","value":"grand_total_balance"},{"disabled":true,"description":{"content":"<p>information about late fees</p>\n","type":"text/plain"},"key":"include[]","value":"late_fee"},{"disabled":true,"description":{"content":"<p>information about late reminders</p>\n","type":"text/plain"},"key":"include[]","value":"late_reminders"},{"disabled":true,"description":{"content":"<p>last activity time</p>\n","type":"text/plain"},"key":"include[]","value":"last_activity"}],"variable":[]}},"response":[{"id":"fc48f6f4-4c33-4ec9-8759-2378cb589ec6","name":"List Clients","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://api.freshbooks.com/accounting/account/{{accountId}}/users/clients","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","{{accountId}}","users","clients"],"query":[{"key":"include%5B%5D","value":"outstanding_balance","description":"client's outstanding balance\n","type":"text","disabled":true},{"key":"include%5B%5D","value":"credit_balance","description":"client's current balance of credit","type":"text","disabled":true},{"key":"include%5B%5D","value":"draft_balance","description":"balance of draft invoices for client","type":"text","disabled":true},{"key":"include%5B%5D","value":"overdue_balance","description":"overdue balance for client","type":"text","disabled":true},{"key":"include%5B%5D","value":"grand_total_balance","description":"grand total for client","type":"text","disabled":true},{"key":"include%5B%5D","value":"late_fee","description":"information about late fees","type":"text","disabled":true},{"key":"include%5B%5D","value":"late_reminders","description":"information about late reminders","type":"text","disabled":true},{"key":"include%5B%5D","value":"last_activity","description":"last activity time","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gRQlNBEVwADlkHVhZLGhgCH1UXUwBYAlFXBwRZUFYOBQFSU04aABtEVVQBAlVWUFBUBwhSClwDAxFJXwBdElY/"},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1557344286"},{"key":"Retry-After","value":"56"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 08 May 2018 19:37:09 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 08 May 2019 19:37:09 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17330-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"clients\": [\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"api.freshbooks@gmail.com\",\n                    \"fax\": \"\",\n                    \"fname\": \"Nicholas\",\n                    \"has_retainer\": null,\n                    \"home_phone\": null,\n                    \"id\": 92402,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Jaar\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Space Is Only Noise\",\n                    \"p_city\": \"Toronto\",\n                    \"p_code\": \"M6P 3T1\",\n                    \"p_country\": \"\",\n                    \"p_province\": \"Ontario\",\n                    \"p_street\": \"1655 Dupont St. W.\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-05-08 19:25:29\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-05-08 15:25:29\",\n                    \"userid\": 92402,\n                    \"username\": \"nicholasjaar2\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"api.freshbooks@gmail.com\",\n                    \"fax\": \"\",\n                    \"fname\": \"Ryan\",\n                    \"has_retainer\": null,\n                    \"home_phone\": null,\n                    \"id\": 75162,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Marr\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Ryan Marr\",\n                    \"p_city\": \"\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"\",\n                    \"p_province\": \"\",\n                    \"p_street\": \"\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-05-02 14:31:30\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-05-02 13:00:27\",\n                    \"userid\": 75162,\n                    \"username\": \"ryanmarr\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"api.freshbooks+1@gmail.com\",\n                    \"fax\": \"\",\n                    \"fname\": \"Nicholas\",\n                    \"has_retainer\": null,\n                    \"home_phone\": null,\n                    \"id\": 46834,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Jaar\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Space Is Only Noise\",\n                    \"p_city\": \"Toronto\",\n                    \"p_code\": \"M6P 3T1\",\n                    \"p_country\": \"\",\n                    \"p_province\": \"Ontario\",\n                    \"p_street\": \"1655 Dupont St. W.\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-24 17:45:17\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-04-26 13:52:56\",\n                    \"userid\": 46834,\n                    \"username\": \"nicholasjaar\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"api.freshbooks@gmail.com\",\n                    \"fax\": \"\",\n                    \"fname\": \"Elbert\",\n                    \"has_retainer\": null,\n                    \"home_phone\": \"804-177-0551\",\n                    \"id\": 32082,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Vatcher\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Blick, Dickinson and Morar\",\n                    \"p_city\": \"Richmond\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"United States\",\n                    \"p_province\": \"Virginia\",\n                    \"p_street\": \"9 Park Meadow Street\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-18 18:28:32\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-04-22 10:37:33\",\n                    \"userid\": 32082,\n                    \"username\": \"elbertvatcher\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"mwesthofer5i@imdb.com\",\n                    \"fax\": \"\",\n                    \"fname\": \"Myrta\",\n                    \"has_retainer\": null,\n                    \"home_phone\": \"832-780-4312\",\n                    \"id\": 32080,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Westhofer\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Prosacco Group\",\n                    \"p_city\": \"Houston\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"United States\",\n                    \"p_province\": \"Texas\",\n                    \"p_street\": \"70347 Ramsey Plaza\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-18 18:28:32\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-05-03 03:45:42\",\n                    \"userid\": 32080,\n                    \"username\": \"myrtawesthofer\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"bmichelin5h@github.io\",\n                    \"fax\": \"\",\n                    \"fname\": \"Beaufort\",\n                    \"has_retainer\": null,\n                    \"home_phone\": \"408-201-8841\",\n                    \"id\": 32078,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Michelin\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Witting, McDermott and Gutmann\",\n                    \"p_city\": \"San Jose\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"United States\",\n                    \"p_province\": \"California\",\n                    \"p_street\": \"5 Kings Pass\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-18 18:28:32\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-04-22 10:43:38\",\n                    \"userid\": 32078,\n                    \"username\": \"beaufortmichelin\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"tarblaster5g@vk.com\",\n                    \"fax\": \"\",\n                    \"fname\": \"Tarra\",\n                    \"has_retainer\": null,\n                    \"home_phone\": \"254-975-2685\",\n                    \"id\": 32076,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Arblaster\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Hermann-Jast\",\n                    \"p_city\": \"Waco\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"United States\",\n                    \"p_province\": \"Texas\",\n                    \"p_street\": \"05 Haas Trail\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-18 18:28:31\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-04-22 10:49:56\",\n                    \"userid\": 32076,\n                    \"username\": \"tarraarblaster\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"ranfosso5f@toplist.cz\",\n                    \"fax\": \"\",\n                    \"fname\": \"Roger\",\n                    \"has_retainer\": null,\n                    \"home_phone\": \"713-881-3522\",\n                    \"id\": 32074,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Anfosso\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Kuhn, Ondricka and Reilly\",\n                    \"p_city\": \"Houston\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"United States\",\n                    \"p_province\": \"Texas\",\n                    \"p_street\": \"01496 Novick Court\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-18 18:28:31\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-04-18 14:28:31\",\n                    \"userid\": 32074,\n                    \"username\": \"rogeranfosso\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"agoodlad5e@redcross.org\",\n                    \"fax\": \"\",\n                    \"fname\": \"Ariella\",\n                    \"has_retainer\": null,\n                    \"home_phone\": \"718-429-4271\",\n                    \"id\": 32072,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Goodlad\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Schneider-Hoeger\",\n                    \"p_city\": \"Bronx\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"United States\",\n                    \"p_province\": \"New York\",\n                    \"p_street\": \"77 Melody Hill\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-18 18:28:31\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-04-18 14:28:31\",\n                    \"userid\": 32072,\n                    \"username\": \"ariellagoodlad\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"bscardifield5d@yellowbook.com\",\n                    \"fax\": \"\",\n                    \"fname\": \"Brooke\",\n                    \"has_retainer\": null,\n                    \"home_phone\": \"913-353-2546\",\n                    \"id\": 32070,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Scardifield\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"McClure-Dibbert\",\n                    \"p_city\": \"Kansas City\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"United States\",\n                    \"p_province\": \"Kansas\",\n                    \"p_street\": \"6911 Pankratz Plaza\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-18 18:28:31\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-04-18 14:28:31\",\n                    \"userid\": 32070,\n                    \"username\": \"brookescardifield\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"egelardi5c@bloglovin.com\",\n                    \"fax\": \"\",\n                    \"fname\": \"Evangeline\",\n                    \"has_retainer\": null,\n                    \"home_phone\": \"213-187-2288\",\n                    \"id\": 32068,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Gelardi\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Heaney and Sons\",\n                    \"p_city\": \"Los Angeles\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"United States\",\n                    \"p_province\": \"California\",\n                    \"p_street\": \"02 Glendale Lane\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-18 18:28:31\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-04-18 14:28:31\",\n                    \"userid\": 32068,\n                    \"username\": \"evangelinegelardi\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"acraythorne5b@constantcontact.com\",\n                    \"fax\": \"\",\n                    \"fname\": \"Audry\",\n                    \"has_retainer\": null,\n                    \"home_phone\": \"608-624-6164\",\n                    \"id\": 32066,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Craythorne\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Kunze-Kunze\",\n                    \"p_city\": \"Madison\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"United States\",\n                    \"p_province\": \"Wisconsin\",\n                    \"p_street\": \"8138 Buena Vista Hill\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-18 18:28:31\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-04-18 14:28:31\",\n                    \"userid\": 32066,\n                    \"username\": \"audrycraythorne\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"cdaviot5a@newyorker.com\",\n                    \"fax\": \"\",\n                    \"fname\": \"Crissy\",\n                    \"has_retainer\": null,\n                    \"home_phone\": \"574-571-1318\",\n                    \"id\": 32064,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Daviot\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Langosh-Fritsch\",\n                    \"p_city\": \"South Bend\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"United States\",\n                    \"p_province\": \"Indiana\",\n                    \"p_street\": \"0550 Loomis Terrace\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-18 18:28:30\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-04-18 14:28:31\",\n                    \"userid\": 32064,\n                    \"username\": \"crissydaviot\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"imuddimer59@instagram.com\",\n                    \"fax\": \"\",\n                    \"fname\": \"Iorgo\",\n                    \"has_retainer\": null,\n                    \"home_phone\": \"573-831-6641\",\n                    \"id\": 32062,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Muddimer\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Borer-Welch\",\n                    \"p_city\": \"Columbia\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"United States\",\n                    \"p_province\": \"Missouri\",\n                    \"p_street\": \"10109 Alpine Terrace\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-18 18:28:30\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-04-18 14:28:30\",\n                    \"userid\": 32062,\n                    \"username\": \"iorgomuddimer\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"mjolley58@moonfruit.com\",\n                    \"fax\": \"\",\n                    \"fname\": \"Maryanna\",\n                    \"has_retainer\": null,\n                    \"home_phone\": \"626-885-3822\",\n                    \"id\": 32060,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Jolley\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Haley, Renner and Vandervort\",\n                    \"p_city\": \"Pasadena\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"United States\",\n                    \"p_province\": \"California\",\n                    \"p_street\": \"7 Bartelt Plaza\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-18 18:28:30\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-04-18 14:28:30\",\n                    \"userid\": 32060,\n                    \"username\": \"maryannajolley\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                }\n            ],\n            \"page\": 1,\n            \"pages\": 14,\n            \"per_page\": 15,\n            \"total\": 205\n        }\n    }\n}"}],"_postman_id":"febf4dc8-2621-4deb-ae17-35ed05299085"},{"name":"Single Client","id":"476dc7e7-b5d1-424f-900c-fa3efd01778b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/users/clients/{{customerId}}","description":"<p>Get a single client with the parameter associated with clientId</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","users","clients","{{customerId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"9645e83b-b091-4ac6-8aa2-b4de120c444d","name":"Single Client","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/users/clients/{{customerId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gRQlNBEVwADlkHVhYaFAQeA0sIVAFTClJQDg5QX1UPBAdXVU4aABtEBQQDVlMCUQcFBloDXQsHChFJXwBdElY/"},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1557344346"},{"key":"Retry-After","value":"20"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 08 May 2018 19:38:45 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 08 May 2019 19:38:45 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17330-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"client\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"allow_late_fees\": true,\n                \"allow_late_notifications\": true,\n                \"bus_phone\": \"\",\n                \"company_industry\": null,\n                \"company_size\": null,\n                \"currency_code\": \"USD\",\n                \"direct_link_token\": null,\n                \"email\": \"api.freshbooks@gmail.com\",\n                \"fax\": \"\",\n                \"fname\": \"Nicolas\",\n                \"has_retainer\": null,\n                \"home_phone\": \"555-555-1234\",\n                \"id\": 31006,\n                \"language\": \"en\",\n                \"last_activity\": null,\n                \"last_login\": null,\n                \"level\": 0,\n                \"lname\": \"one\",\n                \"mob_phone\": \"\",\n                \"note\": null,\n                \"notified\": false,\n                \"num_logins\": 0,\n                \"organization\": \"first company\",\n                \"p_city\": \"\",\n                \"p_code\": \"\",\n                \"p_country\": \"Canada\",\n                \"p_province\": \"\",\n                \"p_street\": \"\",\n                \"p_street2\": \"\",\n                \"pref_email\": true,\n                \"pref_gmail\": false,\n                \"retainer_id\": null,\n                \"role\": \"client\",\n                \"s_city\": \"\",\n                \"s_code\": \"\",\n                \"s_country\": \"\",\n                \"s_province\": \"\",\n                \"s_street\": \"\",\n                \"s_street2\": \"\",\n                \"signup_date\": \"2019-04-18 13:38:23\",\n                \"statement_token\": null,\n                \"subdomain\": null,\n                \"updated\": \"2019-04-29 16:45:55\",\n                \"userid\": 31006,\n                \"username\": \"clientone\",\n                \"vat_name\": null,\n                \"vat_number\": \"\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"},{"id":"45648a4d-8cb8-4e0b-ba17-2289a63a6084","name":"Single Client Error - Client Not Found","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/users/clients/{{customer_Id}}"},"status":"NOT FOUND","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gRQlNBEVwADlkHVhYaFAQeA0sJWQRZBFFcAgVTVVoLBAlcWU4aABtEVVBQVgZVAQZSAQxUWQ1WARFJXwBdElY/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 17:50:37 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"errors\": [\n            {\n                \"errno\": 1012,\n                \"field\": \"userid\",\n                \"message\": \"Client not found.\",\n                \"object\": \"client\",\n                \"value\": \"{{customer_Id}}\"\n            }\n        ]\n    }\n}"}],"_postman_id":"476dc7e7-b5d1-424f-900c-fa3efd01778b"},{"name":"New Client","id":"d3681acb-a788-4ba6-b338-45989252096c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"fname\": \"first1\",\n        \"lname\": \"last1\",\n        \"email\": \"email1@freshbooks.com\",\n        \"organization\": \"company1\",\n        \"vat_name\": null,\n        \"vat_number\": \"\",\n        \"status\": null,\n        \"note\": null,\n        \"home_phone\": null,\n        \"userid\": null,\n        \"source\": null,\n        \"highlight_string\": null,\n        \"p_street\": \"1655 Dupont St. W.\",\n        \"p_street2\": null,\n        \"p_city\": \"Toronto\",\n        \"p_country\": \"Canada\",\n        \"p_province\": \"Ontario\",\n        \"p_code\": \"M6P 3T1\",\n        \"currency_code\": \"USD\",\n        \"language\": \"en\",\n        \"last_activity\": null,\n        \"face\": null,\n        \"late_fee\": null,\n        \"late_reminders\": [],\n        \"contacts\": [\n            {\n                \"email\": \"email+2@freshbooks.com\",\n                \"fname\": \"first2\",\n                \"lname\": \"last2\",\n                \"phone1\": null,\n                \"userid\": null,\n                \"face\": null\n            },\n            {\n                \"email\": \"email+3@freshbooks.com\",\n                \"fname\": \"first3\",\n                \"lname\": \"last3\",\n                \"phone1\": null,\n                \"userid\": null,\n                \"face\": null\n            }\n        ]\n    }\n}"},"url":"https://api.freshbooks.com/accounting/account/MJx3p/users/clients","description":"<p>Note: If you do not add an <code>organization</code> to your Client object, <code>organization</code> will automatically be added as the client's first and last name. </p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","MJx3p","users","clients"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"909b26a0-8288-4310-810c-4bd1c03d302f","name":"Exceeding Client Limit","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"fname\": \"first1\",\n        \"lname\": \"last1\",\n        \"email\": \"email1@freshbooks.com\",\n        \"organization\": \"company1\",\n        \"vat_name\": null,\n        \"vat_number\": \"\",\n        \"status\": null,\n        \"note\": null,\n        \"home_phone\": null,\n        \"userid\": null,\n        \"source\": null,\n        \"highlight_string\": null,\n        \"p_street\": \"1655 Dupont St. W.\",\n        \"p_street2\": null,\n        \"p_city\": \"Toronto\",\n        \"p_country\": \"Canada\",\n        \"p_province\": \"Ontario\",\n        \"p_code\": \"M6P 3T1\",\n        \"currency_code\": \"USD\",\n        \"language\": \"en\",\n        \"last_activity\": null,\n        \"face\": null,\n        \"late_fee\": null,\n        \"late_reminders\": [],\n        \"contacts\": [\n            {\n                \"email\": \"email+2@freshbooks.com\",\n                \"fname\": \"first2\",\n                \"lname\": \"last2\",\n                \"phone1\": null,\n                \"userid\": null,\n                \"face\": null\n            },\n            {\n                \"email\": \"email+3@freshbooks.com\",\n                \"fname\": \"first3\",\n                \"lname\": \"last3\",\n                \"phone1\": null,\n                \"userid\": null,\n                \"face\": null\n            }\n        ]\n    }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/users/clients"},"status":"Payment Required","code":402,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Date","value":"Thu, 26 Sep 2019 17:17:14 GMT"},{"key":"content-type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxY0QwgcAwdVWBQIFxdISwUCAVhEWRItVUtOTRMQB0IRFwFUUVFcRxYbTQFNA0xUBgdVUVQPCgBcUlACAA5TVwAEBk5XUVEHThpQCVxWUwFTDlcIAwRSVwEEQ0oFWV9DATw="},{"key":"Content-Length","value":"74"},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"2"},{"key":"X-RateLimit-Reset","value":"1569518295"},{"key":"Retry-After","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self'"},{"key":"X-Content-Security-Policy","value":"default-src 'self'"},{"key":"Strict-Transport-Security","value":"max-age=31556926; includeSubDomains; preload"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"errors\": [\n            {\n                \"errno\": 7005,\n                \"field\": null,\n                \"message\": \"Client limit of 50 reached\",\n                \"object\": null,\n                \"value\": null\n            }\n        ]\n    }\n}"},{"id":"d360a9d5-5226-4d6b-a278-1a495a626670","name":"New Client","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"email\": \"api.freshbooks@gmail.com\",\n        \"fname\": \"Nicholas\",\n\t\t\"lname\": \"Jaar\",\n\t\t\"organization\": \"Space Is Only Noise\",\n\t\t\"p_street\": \"1655 Dupont St. W.\", \n\t\t\"p_city\": \"Toronto\",\n\t\t\"p_province\":\"Ontario\",\n\t\t\"p_code\": \"M6P 3T1\"\n    }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/users/clients"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gRQlNBEVwADlkHVhZLGhgCH1UXUwhRBVNdBwRVX1MKCgVQUE4FBwBKRggPUQdUAQAGVgBaWQFRUQBHFQdQDUAHOQ=="},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1557343565"},{"key":"Retry-After","value":"36"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 08 May 2018 19:25:28 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 08 May 2019 19:25:28 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17330-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"client\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"allow_late_fees\": true,\n                \"allow_late_notifications\": true,\n                \"bus_phone\": \"\",\n                \"company_industry\": null,\n                \"company_size\": null,\n                \"currency_code\": \"USD\",\n                \"direct_link_token\": null,\n                \"email\": \"api.freshbooks@gmail.com\",\n                \"fax\": \"\",\n                \"fname\": \"Nicholas\",\n                \"has_retainer\": null,\n                \"home_phone\": null,\n                \"id\": 92402,\n                \"language\": \"en\",\n                \"last_activity\": null,\n                \"last_login\": null,\n                \"level\": 0,\n                \"lname\": \"Jaar\",\n                \"mob_phone\": \"\",\n                \"note\": null,\n                \"notified\": false,\n                \"num_logins\": 0,\n                \"organization\": \"Space Is Only Noise\",\n                \"p_city\": \"Toronto\",\n                \"p_code\": \"M6P 3T1\",\n                \"p_country\": \"\",\n                \"p_province\": \"Ontario\",\n                \"p_street\": \"1655 Dupont St. W.\",\n                \"p_street2\": \"\",\n                \"pref_email\": true,\n                \"pref_gmail\": false,\n                \"retainer_id\": null,\n                \"role\": \"client\",\n                \"s_city\": \"\",\n                \"s_code\": \"\",\n                \"s_country\": \"\",\n                \"s_province\": \"\",\n                \"s_street\": \"\",\n                \"s_street2\": \"\",\n                \"signup_date\": \"2019-05-08 19:25:29\",\n                \"statement_token\": null,\n                \"subdomain\": null,\n                \"updated\": \"2019-05-08 15:25:29\",\n                \"userid\": 92402,\n                \"username\": \"nicholasjaar2\",\n                \"vat_name\": null,\n                \"vat_number\": null,\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"d3681acb-a788-4ba6-b338-45989252096c"},{"name":"Update Client","id":"b51fe0e0-16da-4369-b33e-c4959f01f7e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"fname\": \"Nicolas\"\n    }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/users/clients/{{customerId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","users","clients","{{customerId}}"],"host":["api","freshbooks","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"d87532ce-559f-47e2-aedd-14f34a025d08","name":"Update Client","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"fname\": \"Nicolas\"\n    }\n}"},"url":{"raw":"https://api.freshbooks.com/accounting/account/{{accountId}}/users/clients/{{customerId}}","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","{{accountId}}","users","clients","{{customerId}}"],"query":[{"key":"","value":"","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gRQlNBEVwADlkHVhYaFAQeA0sLUAdSBVNRBAVXUVcNBQBRVE4CAxtEBQUGBVBTUQNVVA9bCg4AVBFJXwBdElY/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 17:47:39 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 17:47:39 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"client\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"allow_late_fees\": true,\n                \"allow_late_notifications\": true,\n                \"bus_phone\": \"\",\n                \"company_industry\": null,\n                \"company_size\": null,\n                \"currency_code\": \"USD\",\n                \"direct_link_token\": null,\n                \"email\": \"first@company.com\",\n                \"fax\": \"\",\n                \"fname\": \"Nicolas\",\n                \"has_retainer\": null,\n                \"home_phone\": \"555-555-1234\",\n                \"id\": 31006,\n                \"language\": \"en\",\n                \"last_activity\": null,\n                \"last_login\": null,\n                \"level\": 0,\n                \"lname\": \"one\",\n                \"mob_phone\": \"\",\n                \"note\": null,\n                \"notified\": false,\n                \"num_logins\": 0,\n                \"organization\": \"first company\",\n                \"p_city\": \"\",\n                \"p_code\": \"\",\n                \"p_country\": \"Canada\",\n                \"p_province\": \"\",\n                \"p_street\": \"\",\n                \"p_street2\": \"\",\n                \"pref_email\": true,\n                \"pref_gmail\": false,\n                \"retainer_id\": null,\n                \"role\": \"client\",\n                \"s_city\": \"\",\n                \"s_code\": \"\",\n                \"s_country\": \"\",\n                \"s_province\": \"\",\n                \"s_street\": \"\",\n                \"s_street2\": \"\",\n                \"signup_date\": \"2019-04-18 13:38:23\",\n                \"statement_token\": null,\n                \"subdomain\": null,\n                \"updated\": \"2019-04-24 13:47:39\",\n                \"userid\": 31006,\n                \"username\": \"clientone\",\n                \"vat_name\": null,\n                \"vat_number\": \"\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"b51fe0e0-16da-4369-b33e-c4959f01f7e1"},{"name":"Delete Secondary  Contact ID","id":"4915f6f8-88e6-4d61-95bc-0cea5182f78d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountid}}/users/contacts/{{contactid}}","description":"<p>Deletes the specified secondary contactid</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountid}}","users","contacts","{{contactid}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4915f6f8-88e6-4d61-95bc-0cea5182f78d"},{"name":"Edit Secondary Contact ID","id":"a162c9be-1503-4852-aca8-5316265a055b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"contact\": {\n        \"email\": \"secondary@emailaddress.com\",\n        \"fname\": \"FirstName\",\n        \"lname\": \"LastName\",\n        \"phone1\": \"\"\n    }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountid}}/users/contacts/{{contactid}}","description":"<p>Allows you to edit a specific secondary contact</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountid}}","users","contacts","{{contactid}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a162c9be-1503-4852-aca8-5316265a055b"},{"name":"Remove All Secondary Contacts","id":"98000396-56a3-47a1-a7e1-6c5205548cb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n \"client\": {\n \"contacts\":[]\n }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountid}}/users/clients/{{customerid}}","description":"<p>Will remove all secondary contacts for a single Client Profile</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountid}}","users","clients","{{customerid}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"98000396-56a3-47a1-a7e1-6c5205548cb8"}],"id":"d548e9cd-f2ef-4c67-9c3f-7f87353af579","description":"<h1 id=\"field-descriptions\">Field Descriptions</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>accounting _systemid</td>\n<td>string</td>\n<td>unique identifier of business client exists on</td>\n</tr>\n<tr>\n<td>allow_late_fees</td>\n<td>bool</td>\n<td>deprecated</td>\n</tr>\n<tr>\n<td>allow_late _notifications</td>\n<td>bool</td>\n<td>deprecated</td>\n</tr>\n<tr>\n<td>bus_phone</td>\n<td>string</td>\n<td>business phone number</td>\n</tr>\n<tr>\n<td>company_industry</td>\n<td>string</td>\n<td>description of industry client is in</td>\n</tr>\n<tr>\n<td>company_size</td>\n<td>string</td>\n<td>size of client's company</td>\n</tr>\n<tr>\n<td>currency_code</td>\n<td>string</td>\n<td>3-letter shortcode for preferred currency</td>\n</tr>\n<tr>\n<td>direct_link_token</td>\n<td>string</td>\n<td>deprecated</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>email</td>\n</tr>\n<tr>\n<td>fax</td>\n<td>string</td>\n<td>fax number</td>\n</tr>\n<tr>\n<td>fname</td>\n<td>string</td>\n<td>first name</td>\n</tr>\n<tr>\n<td>home_phone</td>\n<td>string</td>\n<td>home phone number</td>\n</tr>\n<tr>\n<td>id</td>\n<td>int</td>\n<td>unique to this business id for client</td>\n</tr>\n<tr>\n<td>language</td>\n<td>string</td>\n<td>shortcode indicating user language e.g. \"en\"</td>\n</tr>\n<tr>\n<td>last_activity</td>\n<td>datetime</td>\n<td>time of last client activity</td>\n</tr>\n<tr>\n<td>last_login</td>\n<td>string</td>\n<td>last login time</td>\n</tr>\n<tr>\n<td>level</td>\n<td>int</td>\n<td>deprectated: indication of access level on system</td>\n</tr>\n<tr>\n<td>lname</td>\n<td>string</td>\n<td>last name</td>\n</tr>\n<tr>\n<td>mob_phone</td>\n<td>string</td>\n<td>mobile phone number</td>\n</tr>\n<tr>\n<td>note</td>\n<td>string</td>\n<td>notes kept by admin about client</td>\n</tr>\n<tr>\n<td>notified</td>\n<td>bool</td>\n<td>deprecated</td>\n</tr>\n<tr>\n<td>num_logins</td>\n<td>int</td>\n<td>number of logins</td>\n</tr>\n<tr>\n<td>organization</td>\n<td>string</td>\n<td>name for client's business</td>\n</tr>\n<tr>\n<td>p_city</td>\n<td>string</td>\n<td>billing city</td>\n</tr>\n<tr>\n<td>p_code</td>\n<td>string</td>\n<td>billing postal code</td>\n</tr>\n<tr>\n<td>p_country</td>\n<td>string</td>\n<td>billing country</td>\n</tr>\n<tr>\n<td>p_province</td>\n<td>string</td>\n<td>billing province</td>\n</tr>\n<tr>\n<td>p_street</td>\n<td>string</td>\n<td>billing street address</td>\n</tr>\n<tr>\n<td>p_street2</td>\n<td>string</td>\n<td>billing street address second part</td>\n</tr>\n<tr>\n<td>pref_email</td>\n<td>bool</td>\n<td>prefers email over ground mail</td>\n</tr>\n<tr>\n<td>pref_gmail</td>\n<td>bool</td>\n<td>prefers ground mail over email</td>\n</tr>\n<tr>\n<td>s_city</td>\n<td>string</td>\n<td>shipping address city</td>\n</tr>\n<tr>\n<td>s_code</td>\n<td>string</td>\n<td>shipping postal code</td>\n</tr>\n<tr>\n<td>s_country</td>\n<td>string</td>\n<td>shipping country</td>\n</tr>\n<tr>\n<td>s_province</td>\n<td>string</td>\n<td>short form for province</td>\n</tr>\n<tr>\n<td>s_street</td>\n<td>string</td>\n<td>shipping street address</td>\n</tr>\n<tr>\n<td>s_street2</td>\n<td>string</td>\n<td>shipping address second street info</td>\n</tr>\n<tr>\n<td>signup_date</td>\n<td>datetime</td>\n<td>time of user signup</td>\n</tr>\n<tr>\n<td>statement_token</td>\n<td>string</td>\n<td>deprecated</td>\n</tr>\n<tr>\n<td>subdomain</td>\n<td>string</td>\n<td>unused in the new FreshBooks</td>\n</tr>\n<tr>\n<td>updated</td>\n<td>datetime</td>\n<td>time of last modification to resource</td>\n</tr>\n<tr>\n<td>userid</td>\n<td>int</td>\n<td>duplicate of id</td>\n</tr>\n<tr>\n<td>username</td>\n<td>string</td>\n<td>username used by client to log in</td>\n</tr>\n<tr>\n<td>vat_name</td>\n<td>string</td>\n<td>Value Added Tax name</td>\n</tr>\n<tr>\n<td>vat_number</td>\n<td>int</td>\n<td>Value Added Tax number</td>\n</tr>\n<tr>\n<td>vis_state</td>\n<td>int</td>\n<td>\"visibility state\", active, deleted, or archived</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"includes\">Includes</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Include</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>outstanding_balance</td>\n<td>include client's outstanding balance</td>\n</tr>\n<tr>\n<td>credit_balance</td>\n<td>include client's current balance of credit</td>\n</tr>\n<tr>\n<td>draft_balance</td>\n<td>include balance of draft invoices for client</td>\n</tr>\n<tr>\n<td>overdue_balance</td>\n<td>include overdue balance for client</td>\n</tr>\n<tr>\n<td>grand_total_balance</td>\n<td>include grand total for client</td>\n</tr>\n<tr>\n<td>last_activity</td>\n<td>include last activity time</td>\n</tr>\n<tr>\n<td>late_reminders</td>\n<td>include information about late reminders</td>\n</tr>\n<tr>\n<td>late_fee</td>\n<td>include information about late fees</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"935d1b06-f443-4a08-b6d8-8d32c1213cd5","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"30326606-d77f-4e8a-b9c9-40fb7451a64d","type":"text/javascript","exec":[""]}}],"_postman_id":"d548e9cd-f2ef-4c67-9c3f-7f87353af579","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Invoices","item":[{"name":"Items and Services","item":[{"name":"Single Item","event":[{"listen":"test","script":{"id":"5e13e3f8-44a3-43d4-8af7-78e4c0293a12","exec":["let jsonData = JSON.parse(responseBody);","pm.environment.set(\"itemId\", jsonData.response.result.item.id);"],"type":"text/javascript"}}],"id":"46ee0246-9d02-4085-bb60-925a7f7d1454","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/items/items/{{itemId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","items","items","{{itemId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"9c46bf73-73c6-43c4-9a33-c9ef0c2160f4","name":"Single Item","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/items/items/{{itemId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNRVNeEVwKFlUPGk4IFAQcA1IAWQVYCldcAgZYUVoBCxxJUE4VBA8CBlRXUFoDAFUCBwAAXhoYVFIJSgRs"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:18:58 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:18:58 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"item\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"description\": \"Just a touring pack\",\n                \"id\": 59726,\n                \"inventory\": \"4\",\n                \"itemid\": 59726,\n                \"name\": \"Touring Pack\",\n                \"qty\": \"10\",\n                \"tax1\": 0,\n                \"tax2\": 0,\n                \"unit_cost\": {\n                    \"amount\": \"550.00\",\n                    \"code\": \"USD\"\n                },\n                \"updated\": \"2019-04-19 08:38:19\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"46ee0246-9d02-4085-bb60-925a7f7d1454"},{"name":"Create Item","event":[{"listen":"test","script":{"id":"120b4c32-ba70-4a26-9394-8001d1d57400","exec":["var jsonData = JSON.parse(responseBody);","pm.environment.set(\"itemId\", jsonData.response.result.item.id);",""],"type":"text/javascript"}}],"id":"2dfccded-ef88-4237-b480-34ea6a2650ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":" {\n\t\"item\": {\n\t\t\"name\": \"Packback\",\n\t\t\"qty\": \"10\",\n\t\t\"inventory\": \"50\",\n\t\t\"unit_cost\": {\n\t\t\t\"amount\": \"550.00\",\n\t\t\t\"code\": \"CAD\"\n\t\t},\n\t\t\"vis_state\": 0,\n\t\t\"description\": \"65L Brack Pack\",\n\t\t\"sku\": \"KS994RUR\"\n\t}\n }"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/items/items","description":"<p>If you add an <code>inventory</code> to an item, FreshBooks will decrement that <code>inventory</code> value each time you add that item to an invoice and save (or send) it. </p>\n<p>However, <code>qty</code> is seen as the amount of items associated with that sale. Therefore, it will remain unchanged with anytime it is added to an invoice. </p>\n<p>For example: You may have 5 boxes of nails. Each box of nails will have 99 nails in it. Therefore, your <code>inventory</code> will equal <code>5</code> and your <code>qty</code> will equal <code>99</code>. </p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","items","items"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"709903c3-3ba3-4088-9303-8255d728cf4b","name":"Create Item","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":" {\n \"item\": {\n        \"name\": \"Backpack\",\n        \"qty\": \"20\",\n        \"inventory\": \"55\",\n        \"unit_cost\": {\n          \"amount\": \"750.00\",\n          \"code\": \"CAD\"\n        },\n        \"vis_state\": 0,\n        \"description\": \"Backpack with ferns\"\n      }\n }"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/items/items"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNRVNeEVwKFlUPS0AUCBgCHVQBVQFXB1pSAwZQVFAIBwdIU1cAHRUHXAUGV1ZVUVIAAVxUCAEFEB8DWA1CBG4="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Thu, 19 Apr 2018 12:09:32 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Fri, 19 Apr 2019 12:09:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17357-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"item\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"description\": \"Backpack with ferns\",\n                \"id\": 59704,\n                \"inventory\": \"55\",\n                \"itemid\": 59704,\n                \"name\": \"Backpack\",\n                \"qty\": \"20\",\n                \"tax1\": 0,\n                \"tax2\": 0,\n                \"unit_cost\": {\n                    \"amount\": \"750.00\",\n                    \"code\": \"USD\"\n                },\n                \"updated\": \"2019-04-19 08:09:32\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"2dfccded-ef88-4237-b480-34ea6a2650ee"},{"name":"List Items","event":[{"listen":"test","script":{"id":"120b4c32-ba70-4a26-9394-8001d1d57400","exec":["var jsonData = JSON.parse(responseBody);","pm.environment.set(\"itemId\", jsonData.response.result.items[5].id);",""],"type":"text/javascript"}}],"id":"ae8bb302-9062-4080-b5cc-9605357d49d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/items/items","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","items","items"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"27d7adb5-7d58-42aa-b8ed-0b1b0b0e8b2d","name":"Create Item","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":" {\n \"item\": {\n        \"name\": \"Backpack\",\n        \"qty\": \"20\",\n        \"inventory\": \"55\",\n        \"unit_cost\": {\n          \"amount\": \"750.00\",\n          \"code\": \"CAD\"\n        },\n        \"vis_state\": 0,\n        \"description\": \"Backpack with ferns\"\n      }\n }"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/items/items"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNRVNeEVwKFlUPS0AUCBgCHVQBVQFXB1pSAwZQVFAIBwdIU1cAHRUHXAUGV1ZVUVIAAVxUCAEFEB8DWA1CBG4="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Thu, 19 Apr 2018 12:09:32 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Fri, 19 Apr 2019 12:09:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17357-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"item\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"description\": \"Backpack with ferns\",\n                \"id\": 59704,\n                \"inventory\": \"55\",\n                \"itemid\": 59704,\n                \"name\": \"Backpack\",\n                \"qty\": \"20\",\n                \"tax1\": 0,\n                \"tax2\": 0,\n                \"unit_cost\": {\n                    \"amount\": \"750.00\",\n                    \"code\": \"USD\"\n                },\n                \"updated\": \"2019-04-19 08:09:32\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"ae8bb302-9062-4080-b5cc-9605357d49d2"},{"name":"List Items Filtered by SKU","event":[{"listen":"test","script":{"id":"120b4c32-ba70-4a26-9394-8001d1d57400","exec":["var jsonData = JSON.parse(responseBody);","pm.environment.set(\"itemId\", jsonData.response.result.items[5].id);",""],"type":"text/javascript"}}],"id":"710ace4e-bd58-4066-8699-0912af2c474a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/items/items?search%5Bsku%5D={{sku}}","description":"<p>Returns an exact match of the searched SKU</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","items","items"],"host":["api","freshbooks","com"],"query":[{"key":"search%5Bsku%5D","value":"{{sku}}"}],"variable":[]}},"response":[],"_postman_id":"710ace4e-bd58-4066-8699-0912af2c474a"},{"name":"Update Item","event":[{"listen":"test","script":{"id":"120b4c32-ba70-4a26-9394-8001d1d57400","exec":["var jsonData = JSON.parse(responseBody);","pm.environment.set(\"itemId\", jsonData.response.result.item.itemId);",""],"type":"text/javascript"}}],"id":"922aa6e6-d832-4ea0-9c33-f65ecc2263b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"item\": {\n\t\t\"name\": \"Touring Pack\",\n\t\t\"description\": \"Just a touring pack\",\n\t\t\"inventory\": \"4\"\n\t}\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/items/items/{{itemId}}","description":"<p>Changing the name, description and the inventory level of the current item.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","items","items","{{itemId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"b1c33f4d-04bf-455e-9840-beb67f72a02c","name":"Create Item","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":" {\n \"item\": {\n        \"name\": \"Backpack\",\n        \"qty\": \"20\",\n        \"inventory\": \"55\",\n        \"unit_cost\": {\n          \"amount\": \"750.00\",\n          \"code\": \"CAD\"\n        },\n        \"vis_state\": 0,\n        \"description\": \"Backpack with ferns\"\n      }\n }"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/items/items"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNRVNeEVwKFlUPS0AUCBgCHVQBVQFXB1pSAwZQVFAIBwdIU1cAHRUHXAUGV1ZVUVIAAVxUCAEFEB8DWA1CBG4="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Thu, 19 Apr 2018 12:09:32 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Fri, 19 Apr 2019 12:09:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17357-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"item\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"description\": \"Backpack with ferns\",\n                \"id\": 59704,\n                \"inventory\": \"55\",\n                \"itemid\": 59704,\n                \"name\": \"Backpack\",\n                \"qty\": \"20\",\n                \"tax1\": 0,\n                \"tax2\": 0,\n                \"unit_cost\": {\n                    \"amount\": \"750.00\",\n                    \"code\": \"USD\"\n                },\n                \"updated\": \"2019-04-19 08:09:32\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"922aa6e6-d832-4ea0-9c33-f65ecc2263b6"},{"name":"Delete Item","event":[{"listen":"test","script":{"id":"120b4c32-ba70-4a26-9394-8001d1d57400","exec":[""],"type":"text/javascript"}}],"id":"5b5e9e8f-7462-41eb-8895-cf5a37b3296e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"item\": {\n\t\t\"vis_state\": 1\n\t}\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/items/items/{{itemId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","items","items","{{itemId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"b133e9e6-6ea6-4b06-9aef-1f96e741a4b3","name":"Create Item","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":" {\n \"item\": {\n        \"name\": \"Backpack\",\n        \"qty\": \"20\",\n        \"inventory\": \"55\",\n        \"unit_cost\": {\n          \"amount\": \"750.00\",\n          \"code\": \"CAD\"\n        },\n        \"vis_state\": 0,\n        \"description\": \"Backpack with ferns\"\n      }\n }"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/items/items"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNRVNeEVwKFlUPS0AUCBgCHVQBVQFXB1pSAwZQVFAIBwdIU1cAHRUHXAUGV1ZVUVIAAVxUCAEFEB8DWA1CBG4="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Thu, 19 Apr 2018 12:09:32 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Fri, 19 Apr 2019 12:09:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17357-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"item\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"description\": \"Backpack with ferns\",\n                \"id\": 59704,\n                \"inventory\": \"55\",\n                \"itemid\": 59704,\n                \"name\": \"Backpack\",\n                \"qty\": \"20\",\n                \"tax1\": 0,\n                \"tax2\": 0,\n                \"unit_cost\": {\n                    \"amount\": \"750.00\",\n                    \"code\": \"USD\"\n                },\n                \"updated\": \"2019-04-19 08:09:32\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"5b5e9e8f-7462-41eb-8895-cf5a37b3296e"}],"id":"126d945a-e293-4bfe-a6c9-4bcc57232c0b","description":"<h2 id=\"general-info\">General Info</h2>\n<p>Items are stored from invoice lines to make invoicing easier in the future.</p>\n","event":[{"listen":"prerequest","script":{"id":"b011d3ff-8112-4d3f-9099-e002c0642a52","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ef004160-e7cb-4c28-a86d-9fe8577cdd16","type":"text/javascript","exec":[""]}}],"_postman_id":"126d945a-e293-4bfe-a6c9-4bcc57232c0b","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Invoice Recurring Template","item":[{"name":"List Invoice Profiles","event":[{"listen":"test","script":{"id":"e72c66b3-2edc-435d-be4b-a1a28014c9f4","exec":["let jsonData = JSON.parse(responseBody); ","pm.environment.set(\"invoiceProfileId\", jsonData.response.result.invoice_profiles[0].id)"],"type":"text/javascript"}}],"id":"126e7a8b-f670-4324-9bff-bf0fe3ede3aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoice_profiles/invoice_profiles","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","invoice_profiles","invoice_profiles"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"4f8a8db2-bf56-45a6-aa90-bb12a4de857a","name":"List Invoice Profiles","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoice_profiles/invoice_profiles"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGPUAQVwRRVFFBCQxXF14IUAcURFgHDw9dQBJIUU4HHwNRUAcPC1dSUFcEWg1aDBQZAx9HW1EFVApVB1QFBFFQXVEIUENOUVBbFQFs"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:13:07 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:13:07 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"invoice_profiles\": [\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"bill_gateway\": null,\n                    \"city\": \"\",\n                    \"code\": \"\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2019-04-25\",\n                    \"currency_code\": \"USD\",\n                    \"customerid\": 31006,\n                    \"description\": \"\",\n                    \"disable\": false,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"due_offset_days\": 0,\n                    \"ext_archive\": null,\n                    \"fname\": \"Nicolas\",\n                    \"frequency\": \"m\",\n                    \"id\": 456,\n                    \"include_unbilled_time\": false,\n                    \"language\": \"en\",\n                    \"lname\": \"one\",\n                    \"notes\": \"\",\n                    \"numberRecurring\": 3,\n                    \"occurrences_to_date\": 0,\n                    \"organization\": \"first company\",\n                    \"ownerid\": 1,\n                    \"payment_details\": \"\",\n                    \"po_number\": null,\n                    \"profileid\": 456,\n                    \"province\": \"\",\n                    \"require_auto_bill\": false,\n                    \"retainer_id\": null,\n                    \"send_email\": true,\n                    \"send_gmail\": false,\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"terms\": null,\n                    \"total_accrued_revenue\": null,\n                    \"updated\": \"2019-04-24 13:47:38\",\n                    \"vat_name\": null,\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"bill_gateway\": null,\n                    \"city\": \"\",\n                    \"code\": \"\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2019-04-20\",\n                    \"currency_code\": \"USD\",\n                    \"customerid\": 31006,\n                    \"description\": \"\",\n                    \"disable\": false,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"due_offset_days\": 0,\n                    \"ext_archive\": null,\n                    \"fname\": \"Nicolas\",\n                    \"frequency\": \"m\",\n                    \"id\": 378,\n                    \"include_unbilled_time\": false,\n                    \"language\": \"en\",\n                    \"lname\": \"one\",\n                    \"notes\": \"\",\n                    \"numberRecurring\": 3,\n                    \"occurrences_to_date\": 1,\n                    \"organization\": \"first company\",\n                    \"ownerid\": 31004,\n                    \"payment_details\": \"\",\n                    \"po_number\": null,\n                    \"profileid\": 378,\n                    \"province\": \"\",\n                    \"require_auto_bill\": false,\n                    \"retainer_id\": null,\n                    \"send_email\": true,\n                    \"send_gmail\": false,\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"terms\": null,\n                    \"total_accrued_revenue\": null,\n                    \"updated\": \"2019-04-24 13:47:38\",\n                    \"vat_name\": null,\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"50.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"bill_gateway\": null,\n                    \"city\": \"Houston\",\n                    \"code\": \"\",\n                    \"country\": \"United States\",\n                    \"create_date\": \"2019-04-19\",\n                    \"currency_code\": \"USD\",\n                    \"customerid\": 32080,\n                    \"description\": \"Fanny pack with palm trees\",\n                    \"disable\": false,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"due_offset_days\": 0,\n                    \"ext_archive\": null,\n                    \"fname\": \"Myrta\",\n                    \"frequency\": \"2w\",\n                    \"id\": 376,\n                    \"include_unbilled_time\": false,\n                    \"language\": \"en\",\n                    \"lname\": \"Westhofer\",\n                    \"notes\": \"\",\n                    \"numberRecurring\": 10,\n                    \"occurrences_to_date\": 1,\n                    \"organization\": \"Prosacco Group\",\n                    \"ownerid\": 1,\n                    \"payment_details\": \"\",\n                    \"po_number\": null,\n                    \"profileid\": 376,\n                    \"province\": \"Texas\",\n                    \"require_auto_bill\": false,\n                    \"retainer_id\": null,\n                    \"send_email\": true,\n                    \"send_gmail\": false,\n                    \"street\": \"70347 Ramsey Plaza\",\n                    \"street2\": \"\",\n                    \"terms\": null,\n                    \"total_accrued_revenue\": null,\n                    \"updated\": \"2019-04-23 16:26:56\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                }\n            ],\n            \"page\": 1,\n            \"pages\": 1,\n            \"per_page\": 15,\n            \"total\": 3\n        }\n    }\n}"}],"_postman_id":"126e7a8b-f670-4324-9bff-bf0fe3ede3aa"},{"name":"Get Single Invoice Profile","event":[{"listen":"test","script":{"id":"84c1a0e9-cc84-42c2-a477-c039ab52930d","exec":["let jsonData = JSON.parse(responseBody);","pm.environment.set(\"invoiceProfileId\", jsonData.response.result.invoice_profile.id);"],"type":"text/javascript"}}],"id":"1a9c58b5-13e9-4365-a9a0-b0577418b6c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"content","value":"app","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoice_profiles/invoice_profiles/{{invoiceProfileId}}","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","invoice_profiles","invoice_profiles","{{invoiceProfileId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"1bd72019-868e-42df-bb26-5580cf5a4459","name":"Get Single Invoice Profile","originalRequest":{"method":"GET","header":[{"key":"content","value":"app","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoice_profiles/invoice_profiles/{{invoiceProfileId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGPUAQVwRRVFFBCQxXF14IUAcURFgHDw9dERxUTVIZAQ9VUwQGA1JfVlEGVQxRCQ4YHwJJGwUEAAFQXA8GAFBVXAIIXAJAG1dWChdUaw=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:16:06 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:16:06 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"invoice_profile\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"address\": \"\",\n                \"amount\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"auto_bill\": false,\n                \"bill_gateway\": null,\n                \"city\": \"\",\n                \"code\": \"\",\n                \"country\": \"Canada\",\n                \"create_date\": \"2019-04-25\",\n                \"currency_code\": \"USD\",\n                \"customerid\": 31006,\n                \"description\": \"\",\n                \"disable\": false,\n                \"discount_total\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"discount_value\": \"0\",\n                \"due_offset_days\": 0,\n                \"ext_archive\": null,\n                \"fname\": \"Nicolas\",\n                \"frequency\": \"m\",\n                \"id\": 456,\n                \"include_unbilled_time\": false,\n                \"language\": \"en\",\n                \"lname\": \"one\",\n                \"notes\": \"\",\n                \"numberRecurring\": 3,\n                \"occurrences_to_date\": 0,\n                \"organization\": \"first company\",\n                \"ownerid\": 1,\n                \"payment_details\": \"\",\n                \"po_number\": null,\n                \"profileid\": 456,\n                \"province\": \"\",\n                \"require_auto_bill\": false,\n                \"retainer_id\": null,\n                \"send_email\": true,\n                \"send_gmail\": false,\n                \"street\": \"\",\n                \"street2\": \"\",\n                \"terms\": null,\n                \"total_accrued_revenue\": null,\n                \"updated\": \"2019-04-24 13:47:38\",\n                \"vat_name\": null,\n                \"vat_number\": \"\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"1a9c58b5-13e9-4365-a9a0-b0577418b6c2"},{"name":"Create Single Invoice Profile","event":[{"listen":"test","script":{"id":"e3f2a298-afc9-4cfc-bf1c-dea1539ce5f0","exec":["let jsonData = JSON.parse(responseBody);","pm.environment.set(\"customerId\", jsonData.response.result.invoice_profile[0].customerid);"],"type":"text/javascript"}}],"id":"61c0ca4a-9d3b-40b1-a9c9-99c950eba06e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"invoice_profile\": {\n    \"customerid\": {{customerId}},\n    \"create_date\": \"2019-04-25\",\n    \"frequency\": \"m\", \n    \"numberRecurring\": 3,\n    \"lines\": [\n      {\n        \"name\": \"Test Item\",\n        \"qty\": \"1\",\n        \"unit_cost\": {\n          \"amount\": \"27.00\"\n        }\n      }\n     ]\n   }\n }\n"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoice_profiles/invoice_profiles","description":"<p>Creates a monthly recurring invoice that sends 3 invoices in total.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","invoice_profiles","invoice_profiles"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"295feae3-6d3a-42c0-9dce-8dc672f16b8d","name":"Create Single Invoice Profile","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"invoice_profile\": {\n    \"customerid\": {{customerId}},\n    \"create_date\": \"2019-04-25\",\n    \"frequency\": \"m\", \n    \"numberRecurring\": 3\n   }\n }"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoice_profiles/invoice_profiles"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGPUAQVwRRVFFBCQxXF14IUAcURFgHDw9dQBJIUU4HHwZfXAICBlRQUlMGUQtRCAgMHgJWAU0TVARRBlVWVV5VDVcEAQQGBBMbAAVdRVY/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:17:14 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:17:14 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"invoice_profile\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"address\": \"\",\n                \"amount\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"auto_bill\": false,\n                \"bill_gateway\": null,\n                \"city\": \"\",\n                \"code\": \"\",\n                \"country\": \"Canada\",\n                \"create_date\": \"2019-04-25\",\n                \"currency_code\": \"USD\",\n                \"customerid\": 31006,\n                \"description\": \"\",\n                \"disable\": false,\n                \"discount_total\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"discount_value\": \"0\",\n                \"due_offset_days\": 0,\n                \"ext_archive\": null,\n                \"fname\": \"Nicolas\",\n                \"frequency\": \"m\",\n                \"id\": 488,\n                \"include_unbilled_time\": false,\n                \"language\": \"en\",\n                \"lname\": \"one\",\n                \"notes\": \"\",\n                \"numberRecurring\": 3,\n                \"occurrences_to_date\": 0,\n                \"organization\": \"first company\",\n                \"ownerid\": 1,\n                \"payment_details\": \"\",\n                \"po_number\": null,\n                \"profileid\": 488,\n                \"province\": \"\",\n                \"require_auto_bill\": false,\n                \"retainer_id\": null,\n                \"send_email\": true,\n                \"send_gmail\": false,\n                \"street\": \"\",\n                \"street2\": \"\",\n                \"terms\": null,\n                \"total_accrued_revenue\": null,\n                \"updated\": \"2019-04-24 14:17:14\",\n                \"vat_name\": \"\",\n                \"vat_number\": \"\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"},{"id":"e1fc926b-a501-484c-86e3-3351c903eae5","name":"Create Single Invoice Profile - Invalid Date","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"invoice_profile\": {\n    \"customerid\": {{customerId}},\n    \"create_date\": \"2019-04-20\",\n    \"frequency\": \"m\", \n    \"numberRecurring\": 3\n   }\n }"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoice_profiles/invoice_profiles"},"status":"UNPROCESSABLE ENTITY","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGPUAQVwRRVFFBCQxXF14IUAcURFgHDw9dQBJIUU4HHwZXUAIPC1ZRWlYGUw5UAQEGHgJWAU0TUgEAAgYGU1IFCgVVU1EGAhMbAAVdRVY/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Content-Length","value":"303"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:16:19 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"errors\": [\n            {\n                \"errno\": 16003,\n                \"field\": \"create_date\",\n                \"message\": \"'Create Date' is an invalid value: The date for a new recurring profile must be today or later.\",\n                \"object\": \"invoice_profile\",\n                \"value\": \"2019-04-20\"\n            }\n        ]\n    }\n}"}],"_postman_id":"61c0ca4a-9d3b-40b1-a9c9-99c950eba06e"},{"name":"Delete  Invoice Profile","id":"5d2421f0-913f-4520-bf73-b68725dac78c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"invoice_profile\": {\n    \"vis_state\": 1\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoice_profiles/invoice_profiles/{{invoiceProfileId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","invoice_profiles","invoice_profiles","{{invoiceProfileId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"a79cee27-b749-4ca3-94cf-8834e5af93a8","name":"Delete  Invoice Profile","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"invoice_profile\": {\n    \"vis_state\": 1\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoice_profiles/invoice_profiles/{{invoiceProfileId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGPUAQVwRRVFFBCQxXF14IUAcURFgHDw9dERxUTVIZAAdfVAgOB1FSV1YIUAxQCQEYBgpJG1cEVVIDUg8FAFcACgNTVANAG1dWChdUaw=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:17:40 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:17:40 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"invoice_profile\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"address\": \"\",\n                \"amount\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"auto_bill\": false,\n                \"bill_gateway\": null,\n                \"city\": \"\",\n                \"code\": \"\",\n                \"country\": \"Canada\",\n                \"create_date\": \"2019-04-25\",\n                \"currency_code\": \"USD\",\n                \"customerid\": 31006,\n                \"description\": \"\",\n                \"disable\": false,\n                \"discount_total\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"discount_value\": \"0\",\n                \"due_offset_days\": 0,\n                \"ext_archive\": null,\n                \"fname\": \"Nicolas\",\n                \"frequency\": \"m\",\n                \"id\": 456,\n                \"include_unbilled_time\": false,\n                \"language\": \"en\",\n                \"lname\": \"one\",\n                \"notes\": \"\",\n                \"numberRecurring\": 3,\n                \"occurrences_to_date\": 0,\n                \"organization\": \"first company\",\n                \"ownerid\": 1,\n                \"payment_details\": \"\",\n                \"po_number\": null,\n                \"profileid\": 456,\n                \"province\": \"\",\n                \"require_auto_bill\": false,\n                \"retainer_id\": null,\n                \"send_email\": true,\n                \"send_gmail\": false,\n                \"street\": \"\",\n                \"street2\": \"\",\n                \"terms\": null,\n                \"total_accrued_revenue\": null,\n                \"updated\": \"2019-04-24 14:17:40\",\n                \"vat_name\": null,\n                \"vat_number\": \"\",\n                \"vis_state\": 1\n            }\n        }\n    }\n}"}],"_postman_id":"5d2421f0-913f-4520-bf73-b68725dac78c"},{"name":"Update Invoice Profile","id":"b124f422-cc35-40a2-8f08-222aea237b1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"invoice_profile\": {\n    \"frequency\": \"2w\",\n    \"numberRecurring\": 12\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoice_profiles/invoice_profiles/{{invoiceProfileId}}","description":"<p>Update invoice profile to two weeks and increase the number of remaining invoices to 10.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","invoice_profiles","invoice_profiles","{{invoiceProfileId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"2224f848-f967-4c1d-ac88-667328c651be","name":"Update Invoice Profile","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"invoice_profile\": {\n    \"frequency\": \"2w\",\n    \"numberRecurring\": 12\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoice_profiles/invoice_profiles/{{invoiceProfileId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGPUAQVwRRVFFBCQxXF14IUAcURFgHDw9dERxUTVIZAA5SUAAABlBUWlUJVQtUCwsYBQpJGwcJAwFRUVMAUFdWWVUIB1BAG1dWChdUaw=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:18:27 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:18:27 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"invoice_profile\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"address\": \"\",\n                \"amount\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"auto_bill\": false,\n                \"bill_gateway\": null,\n                \"city\": \"\",\n                \"code\": \"\",\n                \"country\": \"Canada\",\n                \"create_date\": \"2019-04-25\",\n                \"currency_code\": \"USD\",\n                \"customerid\": 31006,\n                \"description\": \"\",\n                \"disable\": false,\n                \"discount_total\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"discount_value\": \"0\",\n                \"due_offset_days\": 0,\n                \"ext_archive\": null,\n                \"fname\": \"Nicolas\",\n                \"frequency\": \"2w\",\n                \"id\": 456,\n                \"include_unbilled_time\": false,\n                \"language\": \"en\",\n                \"lname\": \"one\",\n                \"notes\": \"\",\n                \"numberRecurring\": 12,\n                \"occurrences_to_date\": 0,\n                \"organization\": \"first company\",\n                \"ownerid\": 1,\n                \"payment_details\": \"\",\n                \"po_number\": null,\n                \"profileid\": 456,\n                \"province\": \"\",\n                \"require_auto_bill\": false,\n                \"retainer_id\": null,\n                \"send_email\": true,\n                \"send_gmail\": false,\n                \"street\": \"\",\n                \"street2\": \"\",\n                \"terms\": null,\n                \"total_accrued_revenue\": null,\n                \"updated\": \"2019-04-24 14:18:27\",\n                \"vat_name\": null,\n                \"vat_number\": \"\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"b124f422-cc35-40a2-8f08-222aea237b1f"},{"name":"Create Single Invoice Profile w/ Time Entry Holder ","id":"a75b8d4d-5952-48b9-a014-0d825602b746","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"invoice_profile\":\n  {\n    \"customerid\": {{customerid}},\n    \"frequency\":\"m\",\n    \"profileid\":null,\n    \"disable\":false,\n    \"due_offset_days\":30,\n    \"numberRecurring\":0,\n    \"send_email\":true,\n    \"include_unbilled_time\":true,\n    \"project_format\":\n    {\n      \"group_by\":\"service\",\n      \"method\":\"detailed\",\n      \"show_tname\":true,\n      \"show_pname\":true,\n      \"show_staff\":true,\n      \"show_date\":true,\n      \"show_notes\":true,\n      \"show_total_hours\":false\n    },\n    \"skip_generation\":false,\n    \"retainer_id\":null,\n    \"require_auto_bill\":false,\n    \"create_date\":\"2019-07-15\",\n    \"currency_code\":\"CAD\",\n    \"discount_value\":0,\n    \"template\":\"clean-grouped\",\n    \"terms\": \"Show me the money\",\n    \"allowed_gatewayids\":[26],\n    \"late_fee\":\n    {\n      \"compounded_taxes\":false,\n      \"days\":30,\n      \"enabled\":false,\n      \"first_tax_name\": \"HST\",\n      \"first_tax_percent\": 13,\n      \"repeat\":false,\n      \"second_tax_name\":null,\n      \"second_tax_percent\":null,\n      \"type\":\"percent\",\n      \"value\":10}\n      ,\"late_reminders\":[],\n      \"lines\":\n      [{\n        \"amount\":\n        {\n          \"amount\":\"0\",\n          \"code\":\"CAD\"\n        },\n        \"description\":null,\n        \"expenseid\":null,\n        \"taxName1\":null,\n        \"taxAmount1\":0,\n        \"name\":null,\n        \"qty\":1,\n        \"taxName2\":null,\n        \"taxAmount2\":0,\n        \"type\":5,\n        \"unit_cost\":\n        {\n          \"amount\":\"0\",\n          \"code\":\"CAD\"\n        },\n        \"profileid\":null\n      }]\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountid}}/invoice_profiles/invoice_profiles?include[]=allowed_gateways,contacts,late_fee,late_reminders,lines,presentation,system,tracking,project_format,total_accrued_revenue&include%5B%5D=allowed_gateways,contacts,late_fee,late_reminders,lines,presentation,system,tracking,project_format,total_accrued_revenue","description":"<p>This will create an invoice profile that will pull unbilled time entries for your client on to the invoice that is generated</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountid}}","invoice_profiles","invoice_profiles"],"host":["api","freshbooks","com"],"query":[{"key":"include[]","value":"allowed_gateways,contacts,late_fee,late_reminders,lines,presentation,system,tracking,project_format,total_accrued_revenue"},{"key":"include%5B%5D","value":"allowed_gateways,contacts,late_fee,late_reminders,lines,presentation,system,tracking,project_format,total_accrued_revenue"}],"variable":[]}},"response":[],"_postman_id":"a75b8d4d-5952-48b9-a014-0d825602b746"},{"name":"Enable Payment Options On Invoice Profile","id":"dbd5a594-9b0e-4aff-a112-be25fe386ee9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"has_credit_card\":true,\"has_ach_transfer\":true,\"gateway_name\":\"stripe\"}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/payments/account/{{accountid}}/invoice_profile/{{profileid}}/payment_options","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["payments","account","{{accountid}}","invoice_profile","{{profileid}}","payment_options"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"dbd5a594-9b0e-4aff-a112-be25fe386ee9"}],"id":"1469dc41-f6bb-4aa0-a443-99b9d32f3f90","description":"<h2 id=\"general-info\">General Info</h2>\n<p>Invoice Profiles are used to create recurring invoices. They have the ability to be saved as a draft invoice or be automatically sent out to the client via email.</p>\n","event":[{"listen":"prerequest","script":{"id":"786a89c8-cb8e-4cf3-9a71-a4e2595c381e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"eedf7df9-6280-4875-a073-06905e5b8340","type":"text/javascript","exec":[""]}}],"_postman_id":"1469dc41-f6bb-4aa0-a443-99b9d32f3f90","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Invoice Links/Downloads","item":[{"name":"Share Link","id":"7e6595c0-c65b-447a-a2fc-1d111403a304","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices/{{invoiceId}}/share_link?share_method=share_link","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","invoices","invoices","{{invoiceId}}","share_link"],"host":["api","freshbooks","com"],"query":[{"description":{"content":"<p><code>share_link</code>, <code>email</code>, <code>sms</code>, <code>pdf</code> </p>\n","type":"text/plain"},"key":"share_method","value":"share_link"}],"variable":[]}},"response":[{"id":"b1a3b9ac-4810-47f0-978b-af50ddbec2ca","name":"Share Link- Must Be Marked as Sent","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices/{{invoiceId}}/share_link?share_method=share_link","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","{{accountId}}","invoices","invoices","{{invoiceId}}","share_link"],"query":[{"key":"share_method","value":"share_link","description":"`share_link`, `email`, `sms`, `pdf` "}]}},"status":"UNPROCESSABLE ENTITY","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGEQoRUANKXVhbXQ4bTQFNA0xUDw9QUVoJAwFdVVEOBw5RVx0bAk5EUVMBBwxVXQtSUwFUXFQFVBFOAldbEgM+"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Content-Length","value":"259"},{"key":"Date","value":"Mon, 29 Apr 2019 20:42:11 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17322-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"errors\": [\n            {\n                \"errno\": 8034,\n                \"field\": \"invoiceid\",\n                \"message\": \"Cannot create share link because the invoice was not marked as sent\",\n                \"object\": \"invoice\",\n                \"value\": \"45232\"\n            }\n        ]\n    }\n}"},{"id":"18e24156-f996-4bd3-8b4d-534eef794034","name":"Share Link","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices/{{invoiceId}}/share_link?share_method=share_link","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","{{accountId}}","invoices","invoices","{{invoiceId}}","share_link"],"query":[{"key":"share_method","value":"share_link","description":"`share_link`, `email`, `sms`, `pdf` "}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGEQoRUANKXVhbXQ4bTQFNA0xUDwBRV1APAgFdU1sEAwZUXR0bAk5EAFoJAFwBDF5WV1AAAARSWRFOAldbEgM+"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:46:01 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:46:01 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"share_link\": {\n                \"clientid\": 31006,\n                \"resource_type\": \"invoice\",\n                \"resourceid\": \"34420\",\n                \"share_link\": \"https://my.freshbooks.com/#/link/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzeXN0ZW1pZCI6NDIzNjQxMCwiYWNjb3VudGlkIjoid2tNZDJnIiwidXNlcmlkIjozMTAwNiwidHlwZSI6Imludm9pY2UiLCJvYmplY3RpZCI6IjM0NDIwIiwiZXhwIjoxNTg3NjY3NTYxLCJsZXZlbCI6MH0.RorQ5sE8moYrKtGcW3O5JkQhzDYgK9XKoYUuX8PHJbA?type=secondary&share_method=share_link\",\n                \"share_method\": \"share_link\"\n            }\n        }\n    }\n}"}],"_postman_id":"7e6595c0-c65b-447a-a2fc-1d111403a304"},{"name":"Share PDF","id":"c0ec43d5-44bd-4e44-a8fb-171b11524962","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices/{{invoiceId}}/share_link?share_method=share_link","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","invoices","invoices","{{invoiceId}}","share_link"],"host":["api","freshbooks","com"],"query":[{"description":{"content":"<p><code>share_link</code>, <code>email</code>, <code>sms</code>, <code>pdf</code> </p>\n","type":"text/plain"},"key":"share_method","value":"share_link"}],"variable":[]}},"response":[{"id":"c521483c-ab6c-48f9-bf0e-3fe2bad41cb6","name":"Share Link","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices/{{invoiceId}}/share_link?share_method=share_link","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","{{accountId}}","invoices","invoices","{{invoiceId}}","share_link"],"query":[{"key":"share_method","value":"share_link","description":"`share_link`, `email`, `sms`, `pdf` "}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGEQoRUANKXVhbXQ4bTQFNA0xUDwBRV1APAgFdU1sEAwZUXR0bAk5EAFoJAFwBDF5WV1AAAARSWRFOAldbEgM+"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:46:01 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:46:01 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"share_link\": {\n                \"clientid\": 31006,\n                \"resource_type\": \"invoice\",\n                \"resourceid\": \"34420\",\n                \"share_link\": \"https://my.freshbooks.com/#/link/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzeXN0ZW1pZCI6NDIzNjQxMCwiYWNjb3VudGlkIjoid2tNZDJnIiwidXNlcmlkIjozMTAwNiwidHlwZSI6Imludm9pY2UiLCJvYmplY3RpZCI6IjM0NDIwIiwiZXhwIjoxNTg3NjY3NTYxLCJsZXZlbCI6MH0.RorQ5sE8moYrKtGcW3O5JkQhzDYgK9XKoYUuX8PHJbA?type=secondary&share_method=share_link\",\n                \"share_method\": \"share_link\"\n            }\n        }\n    }\n}"}],"_postman_id":"c0ec43d5-44bd-4e44-a8fb-171b11524962"},{"name":"Download Invoice PDF","id":"5e698ae2-e9b1-4833-bd2d-75097af9cb49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/pdf"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices/{{invoiceId}}/pdf","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","invoices","invoices","{{invoiceId}}","pdf"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5e698ae2-e9b1-4833-bd2d-75097af9cb49"}],"id":"9d7b3d6b-586f-4c91-a043-c31d95cea4f6","event":[{"listen":"prerequest","script":{"id":"76751e8a-779f-40e3-9eb8-c81f05b60752","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5807edca-5f7a-440c-9f6b-72da948a36eb","type":"text/javascript","exec":[""]}}],"_postman_id":"9d7b3d6b-586f-4c91-a043-c31d95cea4f6","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Upload Logo","item":[{"name":"Upload Logo","event":[{"listen":"test","script":{"id":"2f511603-572a-4798-9bf6-6cb96bf85db2","exec":["let jsonData = JSON.parse(responseBody); ","pm.environment.set(\"uploadImg\", \"\\'\" + jsonData.image.jwt + \"\\\"\")"],"type":"text/javascript"}}],"id":"078d443b-c293-4889-97ab-36a13362a1ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"content","type":"file","value":null}]},"url":"https://api.freshbooks.com/uploads/account/{{accountId}}/images","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["uploads","account","{{accountId}}","images"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"c05a6236-0f90-48da-b95c-3c4f8de680d6","name":"Upload Logo - Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"multipart/form-data","type":"text","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"content","type":"file"}]},"url":"https://api.freshbooks.com/uploads/account/{{accountId}}/images"},"status":"BAD REQUEST","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1904.0.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllRBQIEU1UTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4TE1RcUQATTEVURAkRQ1VWEUgKD1EFXRECUVlTVABKE1QSXBcWVVJDSlMUAx5XV1cGBANWVgYPAFpeV1AITghOGllXAldcWwICWAJbXA9UBVRBFFVRCBIHag=="},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1557345773"},{"key":"Retry-After","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Content-Length","value":"32"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 08 May 2019 20:01:55 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17361-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Content is required\"\n}"},{"id":"fdedf081-704f-442f-b92f-0b694e5f2f5e","name":"Upload Logo","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"multipart/form-data","type":"text","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"content","type":"file"}]},"url":"https://api.freshbooks.com/uploads/account/{{accountId}}/images"},"status":"CREATED","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1902.2.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllRBQIEU1UTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4TE1RcUQATTEVURAkRQ1VWEUgKD1EFXRECUVlTVABKE1QSXBcWVVJDSlMUAh5UV1AGAwNfUgYDBFdWVFECTgtSDwoMCh9HX1IJVAIGUlIHVFQHXAoJBUNOUVBbFQFs"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 17:11:52 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Content-Length","value":"1324"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 17:11:52 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17356-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"image\": {\n        \"jwt\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50Ijo0MjM2NDEwLCJvcmlnaW5hbF9maWxlbmFtZSI6InRvcm9udG8tc2t5bGluZS5qcGciLCJidWNrZXQiOiJ1cGxvYWRzIiwiZmlsZW5hbWUiOiJ1cGxvYWQtOTE5ODE2MGY5NGNhMjk3ZTE3NGE2MDJmNDA4OTlhM2M5Zjc2MDk5ZCIsImxlbmd0aCI6MzA3MDY4LCJrZXkiOiInZG9jcy0nLTQyMzY0MTAvdXBsb2FkLTkxOTgxNjBmOTRjYTI5N2UxNzRhNjAyZjQwODk5YTNjOWY3NjA5OWQifQ.yAfSd2cIAf2GONitgBmimMCHxvH9OYij7g0WMsiLsaE\",\n        \"public_id\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50Ijo0MjM2NDEwLCJvcmlnaW5hbF9maWxlbmFtZSI6InRvcm9udG8tc2t5bGluZS5qcGciLCJidWNrZXQiOiJ1cGxvYWRzIiwiZmlsZW5hbWUiOiJ1cGxvYWQtOTE5ODE2MGY5NGNhMjk3ZTE3NGE2MDJmNDA4OTlhM2M5Zjc2MDk5ZCIsImxlbmd0aCI6MzA3MDY4LCJrZXkiOiInZG9jcy0nLTQyMzY0MTAvdXBsb2FkLTkxOTgxNjBmOTRjYTI5N2UxNzRhNjAyZjQwODk5YTNjOWY3NjA5OWQifQ.yAfSd2cIAf2GONitgBmimMCHxvH9OYij7g0WMsiLsaE\",\n        \"filename\": \"upload-9198160f94ca297e174a602f40899a3c9f76099d\"\n    },\n    \"link\": \"https://my.freshbooks.com/service/uploads/images/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50Ijo0MjM2NDEwLCJvcmlnaW5hbF9maWxlbmFtZSI6InRvcm9udG8tc2t5bGluZS5qcGciLCJidWNrZXQiOiJ1cGxvYWRzIiwiZmlsZW5hbWUiOiJ1cGxvYWQtOTE5ODE2MGY5NGNhMjk3ZTE3NGE2MDJmNDA4OTlhM2M5Zjc2MDk5ZCIsImxlbmd0aCI6MzA3MDY4LCJrZXkiOiInZG9jcy0nLTQyMzY0MTAvdXBsb2FkLTkxOTgxNjBmOTRjYTI5N2UxNzRhNjAyZjQwODk5YTNjOWY3NjA5OWQifQ.yAfSd2cIAf2GONitgBmimMCHxvH9OYij7g0WMsiLsaE\"\n}"}],"_postman_id":"078d443b-c293-4889-97ab-36a13362a1ee"}],"id":"87273bb0-e418-43a6-9ca2-f07e8b90c398","description":"<p>This is used to upload expense receipts, company logos, or other images that need to be attached to something on your FreshBooks account.</p>\n","event":[{"listen":"prerequest","script":{"id":"dc29edd8-12de-4527-a596-f847ea9c1d1b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6e2f48bd-dce1-4360-b2ea-b1e5e703a2a2","type":"text/javascript","exec":[""]}}],"_postman_id":"87273bb0-e418-43a6-9ca2-f07e8b90c398","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Retainers","item":[{"name":"Single Retainer","id":"0b8f3a4b-79e4-4406-83c4-14d8637bee8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/comments/business/{{businessId}}/retainer/{{retainerId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["comments","business","{{businessId}}","retainer","{{retainerId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"5315abfb-043d-4bf6-9704-2b992595ff6d","name":"Get individual Retainer success","originalRequest":{"method":"GET","header":[],"url":"https://api.freshbooks.com/comments/business/{{businessId}}/retainer/{{retainerId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1905.33.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllUBAQOU10TGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FDFZFVRYSBxlDUhULRERQBxVNEFUWWQtWXUYcQQBKDkQTUAdeRFIVBwpWVkJGTVIbARlXUAkDAldRU1MCWwtbDA0HHh5UFUMIAAEEAlcOVQBWWlYGXFhTFR1RBwhCU24="},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1559585733"},{"key":"Retry-After","value":"55"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Sun, 03 Jun 2018 18:14:37 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Content-Length","value":"350"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Mon, 03 Jun 2019 18:14:37 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17376-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"retainer\": {\n        \"id\": 2248,\n        \"business_id\": 1966214,\n        \"system_id\": 4236410,\n        \"invoice_profile_id\": null,\n        \"client_user_id\": 32046,\n        \"start_date\": \"2019-06-03\",\n        \"next_period_start_date\": \"2019-06-03\",\n        \"fee\": \"500.00\",\n        \"excess_rate\": \"100.00\",\n        \"budgeted_time\": 144000,\n        \"active\": true,\n        \"created_at\": \"2019-06-03T15:42:49\",\n        \"updated_at\": \"2019-06-03T15:42:49\"\n    }\n}"},{"id":"45b5c92f-dc67-4922-8c75-af5e27028fa6","name":"Get individual Retainer Retainer ID not found","originalRequest":{"method":"GET","header":[],"url":"https://api.freshbooks.com/comments/business/{{businessId}}/retainer/{{retainerId}}"},"status":"NOT FOUND","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1905.33.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllUBAQOU10TGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4AD1lAW0oAEkcLcQoFQl0dFRUEC28DSBIaFAQeA0sJUQNUBVNRAA5TV1AABQdVWVUCHRpXSBMOUlZWB1dSBFsHAVxVBlBcG01XAF8RAWs="},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1559585801"},{"key":"Retry-After","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Content-Length","value":"135"},{"key":"Date","value":"Mon, 03 Jun 2019 18:15:40 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17376-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.\"\n}"}],"_postman_id":"0b8f3a4b-79e4-4406-83c4-14d8637bee8f"},{"name":"Create Retainer","id":"00635257-8f6e-4942-883d-3aac7b8c9559","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"retainer\": {\n        \"client_user_id\": \"32040\",\n        \"start_date\": \"2019-06-05\",\n        \"next_period_start_date\": \"2019-06-03\",\n        \"fee\": 600,\n        \"excess_rate\": 200,\n        \"budgeted_time\": 144000,\n        \"active\": true,\n        \"frequency\": \"m\",\n        \"number_recurring\": 0,\n        \"is_infinitely_recurring\": true\n    }\n}"},"url":"https://api.freshbooks.com/comments/business/{{businessId}}/retainers","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["comments","business","{{businessId}}","retainers"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"bb3ef26f-61ff-4155-88f1-6bbe32c7f393","name":"Create Retainer Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"retainer\": {\n        \"client_user_id\": \"32040\",\n        \"start_date\": \"2019-06-05\",\n        \"next_period_start_date\": \"2019-06-03\",\n        \"fee\": 600,\n        \"excess_rate\": 200,\n        \"budgeted_time\": 144000,\n        \"active\": true,\n        \"frequency\": \"m\",\n        \"number_recurring\": 0,\n        \"is_infinitely_recurring\": true\n    }\n}"},"url":"https://api.freshbooks.com/comments/business/{{businessId}}/retainers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1905.33.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllUBAQOU10TGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FDFZFVRYSBxlDUhULRERQBxVNEFUWWQtWXUYcQQBKDkQTUAdeRFIVBwpWVkJGTVIbARlVUQkBClBWVVQFVQxSAQ4DHgBRAU0TBQUEVFACB1MCCwtVUVIGUxMbAAVdRVY/"},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1559585547"},{"key":"Retry-After","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Sun, 03 Jun 2018 18:11:27 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Content-Length","value":"350"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Mon, 03 Jun 2019 18:11:27 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17376-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"retainer\": {\n        \"id\": 2274,\n        \"business_id\": 1966214,\n        \"system_id\": 4236410,\n        \"invoice_profile_id\": null,\n        \"client_user_id\": 32040,\n        \"start_date\": \"2019-06-05\",\n        \"next_period_start_date\": \"2019-06-03\",\n        \"fee\": \"600.00\",\n        \"excess_rate\": \"200.00\",\n        \"budgeted_time\": 144000,\n        \"active\": true,\n        \"created_at\": \"2019-06-03T18:11:26\",\n        \"updated_at\": \"2019-06-03T18:11:26\"\n    }\n}"},{"id":"28ede408-d3ae-424f-a55c-d79e0aba4256","name":"Create Retainer Retainer for client already exists","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"retainer\": {\n        \"client_user_id\": \"32040\",\n        \"start_date\": \"2019-06-05\",\n        \"next_period_start_date\": \"2019-06-03\",\n        \"fee\": 600,\n        \"excess_rate\": 200,\n        \"budgeted_time\": 144000,\n        \"active\": true,\n        \"frequency\": \"m\",\n        \"number_recurring\": 0,\n        \"is_infinitely_recurring\": true\n    }\n}"},"url":"https://api.freshbooks.com/comments/business/{{businessId}}/retainers"},"status":"UNPROCESSABLE ENTITY","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1905.33.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllUBAQOU10TGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FDFZFVRYSBxlDUhULRERQBxVNEFUWWQtWXUYcQQBKDkQTUAdeRFIVBwpWVkJGTVIbARlWXQEPClRTU1EIUAFbDQ4EBx9WDVkdQwMHBgdTAgdSWgFUBQdTBwkVSgJQWkAHOw=="},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1559585586"},{"key":"Retry-After","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Content-Length","value":"62"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Mon, 03 Jun 2019 18:12:08 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17376-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"errno\": 2001,\n    \"error\": \"Retainer for client already exists\"\n}"}],"_postman_id":"00635257-8f6e-4942-883d-3aac7b8c9559"},{"name":"Get all retainers","id":"d5f2859f-56d5-481e-83df-a8ffe56c8873","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/comments/business/{{businessId}}/retainers","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["comments","business","{{businessId}}","retainers"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"254812a2-6c86-4845-bbe7-bb44931a94c4","name":"Get all retainers Success","originalRequest":{"method":"GET","header":[],"url":"https://api.freshbooks.com/comments/business/{{businessId}}/retainers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1905.33.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllUBAQOU10TGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FDFZFVRYSBxlDUhULRERQBxVNEFUWWQtWXUYcQQBKDkQTUAdeRFIVBwpWVkJGTVIbARlXUwYBClRXUVcEUwlbAA8HHh5UFUNSA1YBVQVVUgQFWVdRB1MEFR1RBwhCU24="},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1559585847"},{"key":"Retry-After","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Sun, 03 Jun 2018 18:16:27 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Content-Length","value":"1028"},{"key":"Date","value":"Mon, 03 Jun 2019 18:16:27 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17376-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"retainers\": [\n        {\n            \"id\": 2248,\n            \"business_id\": 1966214,\n            \"system_id\": 4236410,\n            \"invoice_profile_id\": null,\n            \"client_user_id\": 32046,\n            \"start_date\": \"2019-06-03\",\n            \"next_period_start_date\": \"2019-06-03\",\n            \"fee\": \"500.00\",\n            \"excess_rate\": \"100.00\",\n            \"budgeted_time\": 144000,\n            \"active\": true,\n            \"created_at\": \"2019-06-03T15:42:49\",\n            \"updated_at\": \"2019-06-03T15:42:49\"\n        },\n        {\n            \"id\": 2272,\n            \"business_id\": 1966214,\n            \"system_id\": 4236410,\n            \"invoice_profile_id\": null,\n            \"client_user_id\": 75162,\n            \"start_date\": \"2019-06-03\",\n            \"next_period_start_date\": \"2019-06-03\",\n            \"fee\": \"20.00\",\n            \"excess_rate\": \"500.00\",\n            \"budgeted_time\": 180000,\n            \"active\": true,\n            \"created_at\": \"2019-06-03T18:08:30\",\n            \"updated_at\": \"2019-06-03T18:08:30\"\n        },\n        {\n            \"id\": 2274,\n            \"business_id\": 1966214,\n            \"system_id\": 4236410,\n            \"invoice_profile_id\": null,\n            \"client_user_id\": 32040,\n            \"start_date\": \"2019-06-05\",\n            \"next_period_start_date\": \"2019-06-03\",\n            \"fee\": \"600.00\",\n            \"excess_rate\": \"200.00\",\n            \"budgeted_time\": 144000,\n            \"active\": true,\n            \"created_at\": \"2019-06-03T18:11:26\",\n            \"updated_at\": \"2019-06-03T18:11:26\"\n        }\n    ]\n}"}],"_postman_id":"d5f2859f-56d5-481e-83df-a8ffe56c8873"},{"name":"Update Retainer","id":"cf00c048-d3b7-4836-8824-263ecb22195f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"retainer\": {\n        \"client_user_id\": \"75162\",\n        \"start_date\": \"2019-06-03\",\n        \"next_period_start_date\": \"2019-07-03\",\n        \"fee\": 20,\n        \"excess_rate\": 700,\n        \"budgeted_time\": 180000,\n        \"active\": true,\n        \"frequency\": \"m\",\n        \"number_recurring\": 0,\n        \"is_infinitely_recurring\": true\n    }\n}"},"url":"https://api.freshbooks.com/comments/business/{{businessId}}/retainer/{{retainerId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["comments","business","{{businessId}}","retainer","{{retainerId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"be85781a-99db-4af1-bfb6-05b077d0e7bd","name":"Update Retainer Success","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"retainer\": {\n        \"client_user_id\": \"75162\",\n        \"start_date\": \"2019-06-03\",\n        \"next_period_start_date\": \"2019-07-03\",\n        \"fee\": 20,\n        \"excess_rate\": 700,\n        \"budgeted_time\": 180000,\n        \"active\": true,\n        \"frequency\": \"m\",\n        \"number_recurring\": 0,\n        \"is_infinitely_recurring\": true\n    }\n}"},"url":"https://api.freshbooks.com/comments/business/{{businessId}}/retainer/{{retainerId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1905.33.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllUBAQOU10TGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FDFZFVRYSBxlDUhULRERQBxVNEFUWWQtWXUYcQQBKDkQTUAdeRFIVBwpWVkJGTVIbARlVUwUPBFpRW1IHVg5WDQENBB9WDVYdQwBaVQYCVFJUW1dRVVMABwcVSgJQWkAHOw=="},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1559585988"},{"key":"Retry-After","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Sun, 03 Jun 2018 18:18:48 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Content-Length","value":"349"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Mon, 03 Jun 2019 18:18:48 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17376-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"retainer\": {\n        \"id\": 2248,\n        \"business_id\": 1966214,\n        \"system_id\": 4236410,\n        \"invoice_profile_id\": null,\n        \"client_user_id\": 75162,\n        \"start_date\": \"2019-06-03\",\n        \"next_period_start_date\": \"2019-07-03\",\n        \"fee\": \"20.00\",\n        \"excess_rate\": \"700.00\",\n        \"budgeted_time\": 180000,\n        \"active\": true,\n        \"created_at\": \"2019-06-03T15:42:49\",\n        \"updated_at\": \"2019-06-03T18:18:48\"\n    }\n}"}],"_postman_id":"cf00c048-d3b7-4836-8824-263ecb22195f"},{"name":"Delete Retainer","id":"bb1eec4d-f997-49e2-aa7d-64f9cbd54524","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"retainer\": {\n        \"active\": false\n    }\n}"},"url":"https://api.freshbooks.com/comments/business/{{businessId}}/retainer/{{retainerId}}","description":"<p>A retainer is deleted by changing the active status to \"false\". It can be undeleted by changing active status back to true.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["comments","business","{{businessId}}","retainer","{{retainerId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"2b707b92-2a58-48c8-8794-0517719380b7","name":"Delete Retainer Success","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"retainer\": {\n        \"active\": false\n    }\n}"},"url":"https://api.freshbooks.com/comments/business/{{businessId}}/retainer/{{retainerId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1905.33.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllUBAQOU10TGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FDFZFVRYSBxlDUhULRERQBxVNEFUWWQtWXUYcQQBKDkQTUAdeRFIVBwpWVkJGTVIbARlXVgQCClFWV1sGUAlXAAoEAR9QCE0TAwtWVgNWVVYACFcAXQdaBhMbAAVdRVY/"},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1559586233"},{"key":"Retry-After","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Sun, 03 Jun 2018 18:22:53 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Content-Length","value":"350"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Mon, 03 Jun 2019 18:22:53 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17376-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"retainer\": {\n        \"id\": 2248,\n        \"business_id\": 1966214,\n        \"system_id\": 4236410,\n        \"invoice_profile_id\": null,\n        \"client_user_id\": 75162,\n        \"start_date\": \"2019-06-03\",\n        \"next_period_start_date\": \"2019-07-03\",\n        \"fee\": \"20.00\",\n        \"excess_rate\": \"700.00\",\n        \"budgeted_time\": 180000,\n        \"active\": false,\n        \"created_at\": \"2019-06-03T15:42:49\",\n        \"updated_at\": \"2019-06-03T18:22:53\"\n    }\n}"}],"_postman_id":"bb1eec4d-f997-49e2-aa7d-64f9cbd54524"},{"name":"Undelete Retainer","id":"efc9b547-bde5-4f7c-a90f-3982aeacda4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"retainer\": {\n        \"active\": true\n    }\n}"},"url":"https://api.freshbooks.com/comments/business/{{businessId}}/retainer/{{retainerId}}","description":"<p>A retainer is deleted by changing the active status to \"false\". It can be undeleted by changing active status back to true.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["comments","business","{{businessId}}","retainer","{{retainerId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"2ebafd82-6cbc-4bb3-a780-38d4457fd1f7","name":"Undelete Retainer Success","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"retainer\": {\n        \"active\": true\n    }\n}"},"url":"https://api.freshbooks.com/comments/business/{{businessId}}/retainer/{{retainerId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1905.33.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllUBAQOU10TGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FDFZFVRYSBxlDUhULRERQBxVNEFUWWQtWXUYcQQBKDkQTUAdeRFIVBwpWVkJGTVIbARlXVAUHAFNfUFUAUA5bDw8BBh9QCU0TUgpbBQQEBABVDwRRVwBaBRMbAAVdRVY/"},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1559586355"},{"key":"Retry-After","value":"52"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Sun, 03 Jun 2018 18:25:02 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Content-Length","value":"349"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Mon, 03 Jun 2019 18:25:02 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17376-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"retainer\": {\n        \"id\": 2248,\n        \"business_id\": 1966214,\n        \"system_id\": 4236410,\n        \"invoice_profile_id\": null,\n        \"client_user_id\": 75162,\n        \"start_date\": \"2019-06-03\",\n        \"next_period_start_date\": \"2019-07-03\",\n        \"fee\": \"20.00\",\n        \"excess_rate\": \"700.00\",\n        \"budgeted_time\": 180000,\n        \"active\": true,\n        \"created_at\": \"2019-06-03T15:42:49\",\n        \"updated_at\": \"2019-06-03T18:25:02\"\n    }\n}"}],"_postman_id":"efc9b547-bde5-4f7c-a90f-3982aeacda4b"}],"id":"2b082c57-22db-4eb6-a1ae-7c98547b8c97","_postman_id":"2b082c57-22db-4eb6-a1ae-7c98547b8c97","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Other Income","item":[{"name":"List Other Income","event":[{"listen":"test","script":{"id":"8eb31df6-d970-4511-9704-7e77b4560efe","exec":["let jsonData = JSON.parse(responseBody);","pm.environment.set(\"incomeId\", jsonData.response.result.other_income[0].incomeid);"],"type":"text/javascript"}}],"id":"7dd2df4b-87e2-483d-ac37-9dcf010fbe6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/other_incomes/other_incomes","description":"<p>List all available other income instances.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","other_incomes","other_incomes"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"0fc77c2f-cfa5-4071-95b8-f91297f80f39","name":"List Other Income","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/other_incomes/other_incomes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gLRV5WEDkKDFMNVQdLAltGWwBLCF8CXA8BRRVNVk8IHQFQVVsFAgVXVAACB1JSUVsHThVTFBpWVlBTDQMAWAtVAQ4EBFMFGh9WBQ0RUmw="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:19:25 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:19:25 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"other_income\": [\n                {\n                    \"amount\": {\n                        \"amount\": \"125.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"category_name\": \"online_sales\",\n                    \"created_at\": \"2019-04-19 08:51:14\",\n                    \"date\": \"2019-04-19\",\n                    \"incomeid\": 2122,\n                    \"note\": \"Nepalese Hand-sewn Pouch\",\n                    \"payment_type\": \"VISA\",\n                    \"source\": \"Squarespace Site\",\n                    \"taxes\": [],\n                    \"updated_at\": \"2019-04-19 08:58:09\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"amount\": {\n                        \"amount\": \"1300.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"category_name\": \"online_sales\",\n                    \"created_at\": \"2019-04-18 09:40:34\",\n                    \"date\": \"2019-04-18\",\n                    \"incomeid\": 1872,\n                    \"note\": null,\n                    \"payment_type\": null,\n                    \"source\": \"Shopify\",\n                    \"taxes\": [\n                        {\n                            \"amount\": \"140\",\n                            \"name\": \"HST\"\n                        }\n                    ],\n                    \"updated_at\": \"2019-04-18 09:40:34\",\n                    \"vis_state\": 0\n                }\n            ],\n            \"page\": 1,\n            \"pages\": 1,\n            \"per_page\": 15,\n            \"total\": 2\n        }\n    }\n}"}],"_postman_id":"7dd2df4b-87e2-483d-ac37-9dcf010fbe6a"},{"name":"Create Single Other Income","id":"2de20a4d-af23-4376-b354-d300ebe18613","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"other_income\": {\n    \"amount\": {\n      \"amount\": \"113.00\",\n      \"code\": \"USD\"\n    },\n    \"category_name\": \"online_sales\",\n    \"date\": \"2019-04-20\",\n    \"note\": \"Han Solo portrait\",\n    \"payment_type\": \"Visa\",\n    \"source\": \"Etsy\",\n    \"taxes\": [\n      {\n        \"amount\": \"3\",\n        \"name\": \"HST\"\n      }\n    ]\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/other_incomes/other_incomes","description":"<p>This allows you to create a single entry for other income you collected (or will collect) through other means outside of FreshBooks.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","other_incomes","other_incomes"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"b80d5bf4-0186-42ae-a6a0-02c84d6cb79e","name":"Create Single Other Income","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"other_income\": {\n    \"amount\": {\n      \"amount\": \"113.00\",\n      \"code\": \"USD\"\n    },\n    \"category_name\": \"online_sales\",\n    \"date\": \"2019-04-20\",\n    \"note\": \"Han Solo portrait\",\n    \"payment_type\": \"Visa\",\n    \"source\": \"Etsy\",\n    \"taxes\": [\n      {\n        \"amount\": \"3\",\n        \"name\": \"HST\"\n      }\n    ]\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/other_incomes/other_incomes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gLRV5WEDkKDFMNVQdLAltGWwBLCF8CXA8BRRVNVk8IHQFRUVoHBgZSVgMDBFRfU1YDTgtQDBQWAANXCVMHVwdUBVQFAl5bXBEcAgAORFRq"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:20:41 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:20:41 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"other_income\": {\n                \"amount\": {\n                    \"amount\": \"113.00\",\n                    \"code\": \"USD\"\n                },\n                \"category_name\": \"online_sales\",\n                \"created_at\": \"2019-04-24 14:20:41\",\n                \"date\": \"2019-04-20\",\n                \"incomeid\": 2852,\n                \"note\": \"Han Solo portrait\",\n                \"payment_type\": \"VISA\",\n                \"source\": \"Etsy\",\n                \"taxes\": [\n                    {\n                        \"amount\": \"3\",\n                        \"name\": \"HST\"\n                    }\n                ],\n                \"updated_at\": \"2019-04-24 14:20:41\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"2de20a4d-af23-4376-b354-d300ebe18613"},{"name":"Update Single Other Income","id":"8dafdcd2-acf6-4a0b-bad1-4e0dfb0aa194","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"other_income\": {\n    \"amount\": {\n      \"amount\": \"125.00\",\n      \"code\": \"USD\"\n    },\n    \"date\": \"2019-04-19\",\n    \"source\": \"Squarespace Site\"\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/other_incomes/other_incomes/{{incomeId}}","description":"<p>Edit the source of this other income, the amount and the date. </p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","other_incomes","other_incomes","{{incomeId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"5a0d6abc-8646-47a7-a876-a0590821ca28","name":"Update Single Other Income","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"other_income\": {\n    \"amount\": {\n      \"amount\": \"125.00\",\n      \"code\": \"USD\"\n    },\n    \"date\": \"2019-04-19\",\n    \"source\": \"Squarespace Site\"\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/other_incomes/other_incomes/{{incomeId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gLRV5WEDkKDFMNVQdLAltGWwBLCF8CXA8BFBtRSlMWAQJWV1MPAgNXUAUDClBUW1ccUw1XFBoDUAUDC1FSUwMABVAHB1JUGh9WBQ0RUmw="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:20:54 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:20:54 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"other_income\": {\n                \"amount\": {\n                    \"amount\": \"125.00\",\n                    \"code\": \"USD\"\n                },\n                \"category_name\": \"online_sales\",\n                \"created_at\": \"2019-04-19 08:51:14\",\n                \"date\": \"2019-04-19\",\n                \"incomeid\": 2122,\n                \"note\": \"Nepalese Hand-sewn Pouch\",\n                \"payment_type\": \"VISA\",\n                \"source\": \"Squarespace Site\",\n                \"taxes\": [],\n                \"updated_at\": \"2019-04-19 08:58:09\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"8dafdcd2-acf6-4a0b-bad1-4e0dfb0aa194"},{"name":"Delete Single Other Income","event":[{"listen":"prerequest","script":{"id":"3e0fee41-369e-459c-8ba4-231df7b843d3","exec":[""],"type":"text/javascript"}}],"id":"02d71d95-0ab3-4449-8acd-d258ced44290","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"other_income\": {\n    \"vis_state\": 1\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/other_incomes/other_incomes/{{incomeId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","other_incomes","other_incomes","{{incomeId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"23532ac1-dc21-437b-a72f-c10596e9d3fa","name":"Delete Single Other Income","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"other_income\": {\n    \"vis_state\": 1\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/other_incomes/other_incomes/{{incomeId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gLRV5WEDkKDFMNVQdLAltGWwBLCF8CXA8BFBtRSlMWAgdRVFQPBA9WUgMBB1ZXV04EVBRAAQFXAQJQClkAUldWAAEOAkRPXlJcFwQ/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:21:15 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:21:15 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"other_income\": {\n                \"amount\": {\n                    \"amount\": \"125.00\",\n                    \"code\": \"USD\"\n                },\n                \"category_name\": \"online_sales\",\n                \"created_at\": \"2019-04-19 08:51:14\",\n                \"date\": \"2019-04-19\",\n                \"incomeid\": 2122,\n                \"note\": \"Nepalese Hand-sewn Pouch\",\n                \"payment_type\": \"VISA\",\n                \"source\": \"Squarespace Site\",\n                \"taxes\": [],\n                \"updated_at\": \"2019-04-19 08:58:09\",\n                \"vis_state\": 1\n            }\n        }\n    }\n}"}],"_postman_id":"02d71d95-0ab3-4449-8acd-d258ced44290"}],"id":"f54a9998-934a-4636-b1af-39aef544a2b0","description":"<h2 id=\"general-info\">General Info</h2>\n<p>Other Income is for recording income that doesn't require an invoice and is received through other means.</p>\n<p>This non-invoice income can be from selling through online stores (like Shopify and Etsy), at fairs, selling ads, or renting space, for example.</p>\n","_postman_id":"f54a9998-934a-4636-b1af-39aef544a2b0","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Payments","item":[{"name":"Single Payment","id":"4ba3df00-749f-4e66-a94b-d95edc653db2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/payments/payments/{{paymentId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","payments","payments","{{paymentId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"0aea1359-45b3-4224-8161-6acf9024975c","name":"Single Payment","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/payments/payments/{{paymentId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gUUE9eBwgXEQoSWRtVXVpGEUkJTQFPA1VQAgNUVFcPBQVUUFYBBQ9KSQAaEQFUVlIHAQhVXQkNCwVTD1QTTVUDCEVSPA=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:21:49 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:21:49 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"payment\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"amount\": {\n                    \"amount\": \"10.00\",\n                    \"code\": \"USD\"\n                },\n                \"clientid\": 31006,\n                \"creditid\": null,\n                \"date\": \"2019-04-19\",\n                \"from_credit\": false,\n                \"gateway\": null,\n                \"id\": 7658,\n                \"invoiceid\": 26398,\n                \"logid\": 7658,\n                \"note\": \"Updated with proper invoice amount\",\n                \"orderid\": null,\n                \"overpaymentid\": null,\n                \"transactionid\": null,\n                \"type\": \"Check\",\n                \"updated\": \"2019-04-19 14:05:33\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"4ba3df00-749f-4e66-a94b-d95edc653db2"},{"name":"List Payments","event":[{"listen":"test","script":{"id":"4fa7005a-01de-4f07-980e-7a91247a8ca4","exec":["let jsonData = JSON.parse(responseBody);","pm.environment.set(\"paymentId\", jsonData.response.result.payments[0].logid);"],"type":"text/javascript"}}],"id":"b7abd5a0-94e2-4182-bf43-acffaceac042","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/payments/payments","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","payments","payments"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"9513c0cd-9a41-44aa-8afa-322330aed99d","name":"List Payments","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/payments/payments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gUUE9eBwgXEQoSWRtVXVpGQEcVUR1RHVJdDgZQU1oKAgBWUVcHBg9XSBwHH0AEV1ACUV1WDwAEC1FUDVdQQx8EBVpEBDs="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:22:01 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:22:01 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"page\": 1,\n            \"pages\": 1,\n            \"payments\": [\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"amount\": {\n                        \"amount\": \"10.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"clientid\": 31006,\n                    \"creditid\": null,\n                    \"date\": \"2019-04-19\",\n                    \"from_credit\": false,\n                    \"gateway\": null,\n                    \"id\": 7658,\n                    \"invoiceid\": 26398,\n                    \"logid\": 7658,\n                    \"note\": \"Updated with proper invoice amount\",\n                    \"orderid\": null,\n                    \"overpaymentid\": null,\n                    \"transactionid\": null,\n                    \"type\": \"Check\",\n                    \"updated\": \"2019-04-19 14:05:33\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"amount\": {\n                        \"amount\": \"8000.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"clientid\": 31006,\n                    \"creditid\": null,\n                    \"date\": \"2019-04-19\",\n                    \"from_credit\": false,\n                    \"gateway\": null,\n                    \"id\": 7656,\n                    \"invoiceid\": 24068,\n                    \"logid\": 7656,\n                    \"note\": \"VISA\",\n                    \"orderid\": null,\n                    \"overpaymentid\": null,\n                    \"transactionid\": null,\n                    \"type\": \"Credit Card\",\n                    \"updated\": \"2019-04-19 13:59:30\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"amount\": {\n                        \"amount\": \"50.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"clientid\": 32080,\n                    \"creditid\": null,\n                    \"date\": \"2019-04-19\",\n                    \"from_credit\": false,\n                    \"gateway\": null,\n                    \"id\": 7654,\n                    \"invoiceid\": 26250,\n                    \"logid\": 7654,\n                    \"note\": \"Paid on time\",\n                    \"orderid\": null,\n                    \"overpaymentid\": null,\n                    \"transactionid\": null,\n                    \"type\": \"Cash\",\n                    \"updated\": \"2019-04-19 13:28:17\",\n                    \"vis_state\": 0\n                }\n            ],\n            \"per_page\": 15,\n            \"total\": 3\n        }\n    }\n}"},{"id":"2f1d6d6d-0390-45be-95d0-3fc3181c6076","name":"List Payments","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/payments/payments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gUUE9eBwgXEQoSWRtVXVpGQEcVUR1RHVJdDgZQU1oKAgBWUVcHBg9XSBwHH0AEV1ACUV1WDwAEC1FUDVdQQx8EBVpEBDs="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:22:01 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:22:01 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"page\": 1,\n            \"pages\": 1,\n            \"payments\": [\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"amount\": {\n                        \"amount\": \"10.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"clientid\": 31006,\n                    \"creditid\": null,\n                    \"date\": \"2019-04-19\",\n                    \"from_credit\": false,\n                    \"gateway\": null,\n                    \"id\": 7658,\n                    \"invoiceid\": 26398,\n                    \"logid\": 7658,\n                    \"note\": \"Updated with proper invoice amount\",\n                    \"orderid\": null,\n                    \"overpaymentid\": null,\n                    \"transactionid\": null,\n                    \"type\": \"Check\",\n                    \"updated\": \"2019-04-19 14:05:33\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"amount\": {\n                        \"amount\": \"8000.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"clientid\": 31006,\n                    \"creditid\": null,\n                    \"date\": \"2019-04-19\",\n                    \"from_credit\": false,\n                    \"gateway\": null,\n                    \"id\": 7656,\n                    \"invoiceid\": 24068,\n                    \"logid\": 7656,\n                    \"note\": \"VISA\",\n                    \"orderid\": null,\n                    \"overpaymentid\": null,\n                    \"transactionid\": null,\n                    \"type\": \"Credit Card\",\n                    \"updated\": \"2019-04-19 13:59:30\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"amount\": {\n                        \"amount\": \"50.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"clientid\": 32080,\n                    \"creditid\": null,\n                    \"date\": \"2019-04-19\",\n                    \"from_credit\": false,\n                    \"gateway\": null,\n                    \"id\": 7654,\n                    \"invoiceid\": 26250,\n                    \"logid\": 7654,\n                    \"note\": \"Paid on time\",\n                    \"orderid\": null,\n                    \"overpaymentid\": null,\n                    \"transactionid\": null,\n                    \"type\": \"Cash\",\n                    \"updated\": \"2019-04-19 13:28:17\",\n                    \"vis_state\": 0\n                }\n            ],\n            \"per_page\": 15,\n            \"total\": 3\n        }\n    }\n}"}],"_postman_id":"b7abd5a0-94e2-4182-bf43-acffaceac042"},{"name":"Make Payment","id":"fbdc0649-c5c3-41a9-be03-302494b16604","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"payment\":{\n    \"invoiceid\": {{invoiceId}},\n    \"amount\": {\n      \"amount\": \"3300.00\"\n    },\n    \"date\": \"2019-04-19\",\n    \"type\": \"Check\",\n    \"note\": \"Paid in full\"\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/payments/payments","description":"<p>Add a payment to a specific invoice</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","payments","payments"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"e6251517-60fb-45a9-95dc-642b9afa7553","name":"Make Payment","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"payment\":{\n    \"invoiceid\": {{invoiceId}},\n    \"amount\": {\n      \"amount\": \"3300.00\"\n    },\n    \"date\": \"2019-04-19\",\n    \"type\": \"Check\",\n    \"note\": \"Paid in full\"\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/payments/payments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gUUE9eBwgXEQoSWRtVXVpGQEcVUR1RHVRRAw5XXloIBwRdVFAECARKVQcOH0AAAVpUAwlTXQlRUFEGClUJQx8EBVpEBDs="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:22:18 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:22:18 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"payment\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"amount\": {\n                    \"amount\": \"180.00\",\n                    \"code\": \"USD\"\n                },\n                \"clientid\": 31006,\n                \"creditid\": null,\n                \"date\": \"2019-04-19\",\n                \"from_credit\": false,\n                \"gateway\": null,\n                \"id\": 10318,\n                \"invoiceid\": 34420,\n                \"logid\": 10318,\n                \"note\": \"Paid in full\",\n                \"orderid\": null,\n                \"overpaymentid\": 10320,\n                \"transactionid\": null,\n                \"type\": \"Check\",\n                \"updated\": \"2019-04-24 14:22:18\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"fbdc0649-c5c3-41a9-be03-302494b16604"},{"name":"Single Checkout Link","id":"e5f4fb6e-cba0-45dc-b742-346cdeb3f0ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"item_id\": \"147778\",\n    \"amount\": \"100\",\n    \"currency\": \"CAD\",\n    \"note\": \"Thank you for your Business\",\n    \"is_active\": true,\n    \"send_admin_receipt\": true,\n    \"created_at\": \"2020-06-26\",\n    \"taxes\": [{\"name\":\"HST\",\"amount\":13}],\n    \"item_name\": \"The Best Doorknob\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/payments/account/{{accountid}}/checkout-links","urlObject":{"protocol":"https","path":["payments","account","{{accountid}}","checkout-links"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e5f4fb6e-cba0-45dc-b742-346cdeb3f0ee"},{"name":"Update Checkout Link Payment Gateway","id":"be032c14-dbe5-420f-a97c-484d592e39a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"has_credit_card\":true,\"gateway_name\":\"stripe\",\"entity_type\":\"checkout_link\",\"entity_id\":\"9e963fcaf173401db907649f43ba77a4\"}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/payments/account/{{accountid}}/checkout_link/{{checkoutlinkid}}/payment_options","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["payments","account","{{accountid}}","checkout_link","{{checkoutlinkid}}","payment_options"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"be032c14-dbe5-420f-a97c-484d592e39a9"},{"name":"Delete Payment","id":"86601b18-0308-4e76-97a2-3d3ca8e1cc6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"payment\":{\n  \t\"vis_state\": 1\n  }\n }"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/payments/payments/{{paymentId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","payments","payments","{{paymentId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"684ba450-fdbf-4d52-844e-41cc43daaca9","name":"Delete Payment","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"payment\":{\n  \t\"vis_state\": 1\n  }\n }"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/payments/payments/{{paymentId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gUUE9eBwgXEQoSWRtVXVpGEUkJTQFPAltXBANWVlQBCwRdU1YEAAFKUAEaEVReVFsGBFwAC10CVAYDDQATTVUDCEVSPA=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:23:57 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:23:57 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"payment\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"amount\": {\n                    \"amount\": \"10.00\",\n                    \"code\": \"USD\"\n                },\n                \"clientid\": 31006,\n                \"creditid\": null,\n                \"date\": \"2019-04-19\",\n                \"from_credit\": false,\n                \"gateway\": null,\n                \"id\": 7658,\n                \"invoiceid\": 26398,\n                \"logid\": 7658,\n                \"note\": \"Updated with proper invoice amount\",\n                \"orderid\": null,\n                \"overpaymentid\": null,\n                \"transactionid\": null,\n                \"type\": \"Check\",\n                \"updated\": \"2019-04-24 14:23:57\",\n                \"vis_state\": 1\n            }\n        }\n    }\n}"}],"_postman_id":"86601b18-0308-4e76-97a2-3d3ca8e1cc6d"},{"name":"Update Payment","id":"0e1248aa-b370-4e06-b868-23db6f208835","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"payment\": {\n    \"amount\": {\n          \"amount\": \"10.00\",\n          \"code\": \"USD\"\n        },\n    \"note\": \"Updated with proper invoice amount\"\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/payments/payments/{{paymentId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","payments","payments","{{paymentId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"f5aca540-eac8-4861-9cce-9b95c4b0d835","name":"Update Payment","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"payment\": {\n    \"amount\": {\n          \"amount\": \"10.00\",\n          \"code\": \"USD\"\n        },\n    \"note\": \"Updated with proper invoice amount\"\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/payments/payments/{{paymentId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gUUE9eBwgXEQoSWRtVXVpGEUkJTQFPAVdRAwZUU1QNBwBcWFECBAJKVQQHH0BSBVoGAFxaW1sGAlYHAFgFQx8EBVpEBDs="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:24:17 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:24:17 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"payment\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"amount\": {\n                    \"amount\": \"10.00\",\n                    \"code\": \"USD\"\n                },\n                \"clientid\": 31006,\n                \"creditid\": null,\n                \"date\": \"2019-04-19\",\n                \"from_credit\": false,\n                \"gateway\": null,\n                \"id\": 7658,\n                \"invoiceid\": 26398,\n                \"logid\": 7658,\n                \"note\": \"Updated with proper invoice amount\",\n                \"orderid\": null,\n                \"overpaymentid\": null,\n                \"transactionid\": null,\n                \"type\": \"Check\",\n                \"updated\": \"2019-04-24 14:24:09\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"0e1248aa-b370-4e06-b868-23db6f208835"},{"name":"Update Checkout Link","id":"059b740c-920e-401e-925d-a300a316f27b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"item_id\": \"147778\",\n    \"amount\": \"100\",\n    \"currency\": \"CAD\",\n    \"note\": \"Thank you for your Business\",\n    \"is_active\": false,\n    \"send_admin_receipt\": true,\n    \"taxes\": [{\"name\":\"HST\",\"amount\":13}],\n    \"item_name\": \"The Best Doorknob\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/payments/account/{{accountid}}/checkout-links/{{checkoutlinkid}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["payments","account","{{accountid}}","checkout-links","{{checkoutlinkid}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"059b740c-920e-401e-925d-a300a316f27b"},{"name":"Delete Checkout Link","id":"f8e29c80-058c-4770-a03a-dacaf1bbe356","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.freshbooks.com/payments/account/{{accountid}}/checkout-links/{{checkoutlinkid}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["payments","account","{{accountid}}","checkout-links","{{checkoutlinkid}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f8e29c80-058c-4770-a03a-dacaf1bbe356"}],"id":"e2b2f850-4418-4a3b-ab41-3496cb64f3f9","description":"<h2 id=\"general-info\">General Info</h2>\n<p>Payments are a record of the payments made on your invoices</p>\n","event":[{"listen":"prerequest","script":{"id":"8c1f7394-73ce-4c76-8ade-e2ff6f9e64e7","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e8c1f589-e68a-4b86-b4ff-3652bc4ca354","type":"text/javascript","exec":[""]}}],"_postman_id":"e2b2f850-4418-4a3b-ab41-3496cb64f3f9","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"List Invoices","event":[{"listen":"test","script":{"id":"0c7d8d78-e4eb-49cb-9a38-006673416c36","exec":["let jsonData = JSON.parse(responseBody);","pm.environment.set(\"invoiceId\", jsonData.response.result.invoices[0].id)"],"type":"text/javascript"}}],"id":"a8dd89f9-a5f1-475f-967c-d96bf06e63a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices?include[]=audit_logs","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","invoices","invoices"],"host":["api","freshbooks","com"],"query":[{"description":{"content":"<p>show invoice view/send/payment history</p>\n","type":"text/plain"},"key":"include[]","value":"audit_logs"},{"disabled":true,"description":{"content":"<p>show the client-visible invoice history</p>\n","type":"text/plain"},"key":"include[]","value":"client_audits"},{"disabled":true,"description":{"content":"<p>comments made on invoice</p>\n","type":"text/plain"},"key":"include[]","value":"comments"},{"disabled":true,"description":{"content":"<p>list of client contacts</p>\n","type":"text/plain"},"key":"include[]","value":"contacts"},{"disabled":true,"description":{"content":"<p>invoice lines</p>\n","type":"text/plain"},"key":"include[]","value":"lines"},{"disabled":true,"description":{"content":"<p>owner info</p>\n","type":"text/plain"},"key":"include[]","value":"owner"},{"disabled":true,"description":{"content":"<p>journal entry info</p>\n","type":"text/plain"},"key":"include[]","value":"latest_journal_entry"},{"disabled":true,"description":{"content":"<p>list of allowed gateways</p>\n","type":"text/plain"},"key":"include[]","value":"allowed_gateways"},{"disabled":true,"description":{"content":"<p>late fee info</p>\n","type":"text/plain"},"key":"include[]","value":"late_fee"},{"disabled":true,"description":{"content":"<p>presentation type</p>\n","type":"text/plain"},"key":"include[]","value":"presentation"},{"disabled":true,"description":{"content":"<p>late reminders</p>\n","type":"text/plain"},"key":"include[]","value":"late_reminders"},{"disabled":true,"description":{"content":"<p>invoice-owner's system</p>\n","type":"text/plain"},"key":"include[]","value":"system"}],"variable":[]}},"response":[{"id":"56604b92-215d-402b-b90f-eb2f78ac03f8","name":"List Invoices","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGEQoLVhRXUVdXQEcVUR1RHVNXBwJQVlENBAdWUVsDBgVRSBwHH0ADVQACBl5SAQAGAFYDX1VUQx8EBVpEBDs="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:08:26 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:08:26 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"invoices\": [\n                {\n                    \"accountid\": \"wkMd2g\",\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"180.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"autobill_status\": null,\n                    \"basecampid\": 0,\n                    \"city\": \"\",\n                    \"code\": \"\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2019-04-20\",\n                    \"created_at\": \"2019-04-24 14:06:53\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"first company\",\n                    \"customerid\": 31006,\n                    \"date_paid\": null,\n                    \"deposit_amount\": null,\n                    \"deposit_percentage\": null,\n                    \"deposit_status\": \"none\",\n                    \"description\": \"\",\n                    \"discount_description\": null,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"draft\",\n                    \"dispute_status\": null,\n                    \"due_date\": \"2019-04-20\",\n                    \"due_offset_days\": 0,\n                    \"estimateid\": 0,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Nicolas\",\n                    \"fulfillment_date\": null,\n                    \"generation_date\": null,\n                    \"gmail\": false,\n                    \"id\": 34420,\n                    \"invoice_number\": \"0000013\",\n                    \"invoiceid\": 34420,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"one\",\n                    \"notes\": \"\",\n                    \"organization\": \"first company\",\n                    \"outstanding\": {\n                        \"amount\": \"180.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"ownerid\": 1,\n                    \"paid\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"parent\": 0,\n                    \"payment_details\": \"\",\n                    \"payment_status\": \"unpaid\",\n                    \"po_number\": null,\n                    \"province\": \"\",\n                    \"return_uri\": null,\n                    \"sentid\": 1,\n                    \"show_attachments\": true,\n                    \"status\": 1,\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"\",\n                    \"updated\": \"2019-04-24 14:06:53\",\n                    \"v3_status\": \"draft\",\n                    \"vat_name\": \"\",\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accountid\": \"wkMd2g\",\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"180.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"autobill_status\": null,\n                    \"basecampid\": 0,\n                    \"city\": \"\",\n                    \"code\": \"\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2019-04-20\",\n                    \"created_at\": \"2019-04-22 10:50:19\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"first company\",\n                    \"customerid\": 31006,\n                    \"date_paid\": null,\n                    \"deposit_amount\": null,\n                    \"deposit_percentage\": null,\n                    \"deposit_status\": \"none\",\n                    \"description\": \"\",\n                    \"discount_description\": null,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"viewed\",\n                    \"dispute_status\": null,\n                    \"due_date\": \"2019-04-20\",\n                    \"due_offset_days\": 0,\n                    \"estimateid\": 0,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Client\",\n                    \"fulfillment_date\": \"2019-04-20\",\n                    \"generation_date\": null,\n                    \"gmail\": false,\n                    \"id\": 29618,\n                    \"invoice_number\": \"0000012\",\n                    \"invoiceid\": 29618,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"one\",\n                    \"notes\": \"\",\n                    \"organization\": \"first company\",\n                    \"outstanding\": {\n                        \"amount\": \"180.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"ownerid\": 31004,\n                    \"paid\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"parent\": 0,\n                    \"payment_details\": \"\",\n                    \"payment_status\": \"unpaid\",\n                    \"po_number\": null,\n                    \"province\": \"\",\n                    \"return_uri\": null,\n                    \"sentid\": 31004,\n                    \"show_attachments\": true,\n                    \"status\": 3,\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"\",\n                    \"updated\": \"2019-04-23 17:59:12\",\n                    \"v3_status\": \"overdue\",\n                    \"vat_name\": \"\",\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accountid\": \"wkMd2g\",\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"180.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"autobill_status\": null,\n                    \"basecampid\": 0,\n                    \"city\": \"Waco\",\n                    \"code\": \"\",\n                    \"country\": \"United States\",\n                    \"create_date\": \"2019-04-20\",\n                    \"created_at\": \"2019-04-22 10:49:56\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"Hermann-Jast\",\n                    \"customerid\": 32076,\n                    \"date_paid\": null,\n                    \"deposit_amount\": null,\n                    \"deposit_percentage\": null,\n                    \"deposit_status\": \"none\",\n                    \"description\": \"\",\n                    \"discount_description\": null,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"draft\",\n                    \"dispute_status\": null,\n                    \"due_date\": \"2019-04-20\",\n                    \"due_offset_days\": 0,\n                    \"estimateid\": 0,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Tarra\",\n                    \"fulfillment_date\": null,\n                    \"generation_date\": null,\n                    \"gmail\": false,\n                    \"id\": 29616,\n                    \"invoice_number\": \"0000011\",\n                    \"invoiceid\": 29616,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"Arblaster\",\n                    \"notes\": \"\",\n                    \"organization\": \"Hermann-Jast\",\n                    \"outstanding\": {\n                        \"amount\": \"180.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"ownerid\": 31004,\n                    \"paid\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"parent\": 0,\n                    \"payment_details\": \"\",\n                    \"payment_status\": \"unpaid\",\n                    \"po_number\": null,\n                    \"province\": \"Texas\",\n                    \"return_uri\": null,\n                    \"sentid\": 31004,\n                    \"show_attachments\": true,\n                    \"status\": 1,\n                    \"street\": \"05 Haas Trail\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"\",\n                    \"updated\": \"2019-04-22 10:49:56\",\n                    \"v3_status\": \"draft\",\n                    \"vat_name\": \"\",\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accountid\": \"wkMd2g\",\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"180.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"autobill_status\": null,\n                    \"basecampid\": 0,\n                    \"city\": \"San Jose\",\n                    \"code\": \"\",\n                    \"country\": \"United States\",\n                    \"create_date\": \"2019-04-20\",\n                    \"created_at\": \"2019-04-22 10:43:37\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"Witting, McDermott and Gutmann\",\n                    \"customerid\": 32078,\n                    \"date_paid\": null,\n                    \"deposit_amount\": null,\n                    \"deposit_percentage\": null,\n                    \"deposit_status\": \"none\",\n                    \"description\": \"\",\n                    \"discount_description\": null,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"draft\",\n                    \"dispute_status\": null,\n                    \"due_date\": \"2019-04-20\",\n                    \"due_offset_days\": 0,\n                    \"estimateid\": 0,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Beaufort\",\n                    \"fulfillment_date\": null,\n                    \"generation_date\": null,\n                    \"gmail\": false,\n                    \"id\": 29610,\n                    \"invoice_number\": \"0000010\",\n                    \"invoiceid\": 29610,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"Michelin\",\n                    \"notes\": \"\",\n                    \"organization\": \"Witting, McDermott and Gutmann\",\n                    \"outstanding\": {\n                        \"amount\": \"180.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"ownerid\": 31004,\n                    \"paid\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"parent\": 0,\n                    \"payment_details\": \"\",\n                    \"payment_status\": \"unpaid\",\n                    \"po_number\": null,\n                    \"province\": \"California\",\n                    \"return_uri\": null,\n                    \"sentid\": 31004,\n                    \"show_attachments\": true,\n                    \"status\": 1,\n                    \"street\": \"5 Kings Pass\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"\",\n                    \"updated\": \"2019-04-22 10:43:37\",\n                    \"v3_status\": \"draft\",\n                    \"vat_name\": \"\",\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accountid\": \"wkMd2g\",\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"autobill_status\": null,\n                    \"basecampid\": 0,\n                    \"city\": \"Richmond\",\n                    \"code\": \"\",\n                    \"country\": \"United States\",\n                    \"create_date\": \"2019-04-22\",\n                    \"created_at\": \"2019-04-22 10:37:33\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"Blick, Dickinson and Morar\",\n                    \"customerid\": 32082,\n                    \"date_paid\": null,\n                    \"deposit_amount\": null,\n                    \"deposit_percentage\": null,\n                    \"deposit_status\": \"none\",\n                    \"description\": \"\",\n                    \"discount_description\": null,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"sent\",\n                    \"dispute_status\": null,\n                    \"due_date\": \"2019-04-22\",\n                    \"due_offset_days\": 0,\n                    \"estimateid\": 0,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Elbert\",\n                    \"fulfillment_date\": \"2019-04-22\",\n                    \"generation_date\": null,\n                    \"gmail\": false,\n                    \"id\": 29604,\n                    \"invoice_number\": \"0000009\",\n                    \"invoiceid\": 29604,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"Vatcher\",\n                    \"notes\": \"\",\n                    \"organization\": \"Blick, Dickinson and Morar\",\n                    \"outstanding\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"ownerid\": 31004,\n                    \"paid\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"parent\": 0,\n                    \"payment_details\": \"\",\n                    \"payment_status\": \"unpaid\",\n                    \"po_number\": null,\n                    \"province\": \"Virginia\",\n                    \"return_uri\": null,\n                    \"sentid\": 31004,\n                    \"show_attachments\": false,\n                    \"status\": 2,\n                    \"street\": \"9 Park Meadow Street\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": null,\n                    \"updated\": \"2019-04-23 17:39:29\",\n                    \"v3_status\": \"overdue\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accountid\": \"wkMd2g\",\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"3300.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"autobill_status\": null,\n                    \"basecampid\": 0,\n                    \"city\": \"\",\n                    \"code\": \"\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2019-04-20\",\n                    \"created_at\": \"2019-04-20 16:45:43\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"first company\",\n                    \"customerid\": 31006,\n                    \"date_paid\": null,\n                    \"deposit_amount\": null,\n                    \"deposit_percentage\": null,\n                    \"deposit_status\": \"none\",\n                    \"description\": \"\",\n                    \"discount_description\": null,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"draft\",\n                    \"dispute_status\": null,\n                    \"due_date\": \"2019-04-20\",\n                    \"due_offset_days\": 0,\n                    \"estimateid\": 0,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Nicolas\",\n                    \"fulfillment_date\": null,\n                    \"generation_date\": null,\n                    \"gmail\": false,\n                    \"id\": 28006,\n                    \"invoice_number\": \"0000008\",\n                    \"invoiceid\": 28006,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"one\",\n                    \"notes\": \"\",\n                    \"organization\": \"first company\",\n                    \"outstanding\": {\n                        \"amount\": \"3300.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"ownerid\": 31004,\n                    \"paid\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"parent\": 0,\n                    \"payment_details\": \"\",\n                    \"payment_status\": \"unpaid\",\n                    \"po_number\": null,\n                    \"province\": \"\",\n                    \"return_uri\": null,\n                    \"sentid\": 31004,\n                    \"show_attachments\": true,\n                    \"status\": 1,\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"\",\n                    \"updated\": \"2019-04-24 13:47:39\",\n                    \"v3_status\": \"draft\",\n                    \"vat_name\": null,\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accountid\": \"wkMd2g\",\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"50.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"autobill_status\": null,\n                    \"basecampid\": 0,\n                    \"city\": \"Houston\",\n                    \"code\": \"\",\n                    \"country\": \"United States\",\n                    \"create_date\": \"2019-04-20\",\n                    \"created_at\": \"2019-04-20 16:40:49\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"Prosacco Group\",\n                    \"customerid\": 32080,\n                    \"date_paid\": null,\n                    \"deposit_amount\": null,\n                    \"deposit_percentage\": null,\n                    \"deposit_status\": \"none\",\n                    \"description\": \"Fanny pack with palm trees\",\n                    \"discount_description\": null,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"draft\",\n                    \"dispute_status\": null,\n                    \"due_date\": \"2019-04-20\",\n                    \"due_offset_days\": 0,\n                    \"estimateid\": 0,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Myrta\",\n                    \"fulfillment_date\": null,\n                    \"generation_date\": null,\n                    \"gmail\": false,\n                    \"id\": 28002,\n                    \"invoice_number\": \"0000007\",\n                    \"invoiceid\": 28002,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"Westhofer\",\n                    \"notes\": \"\",\n                    \"organization\": \"Prosacco Group\",\n                    \"outstanding\": {\n                        \"amount\": \"50.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"ownerid\": 31004,\n                    \"paid\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"parent\": 0,\n                    \"payment_details\": \"\",\n                    \"payment_status\": \"unpaid\",\n                    \"po_number\": null,\n                    \"province\": \"Texas\",\n                    \"return_uri\": null,\n                    \"sentid\": 31004,\n                    \"show_attachments\": false,\n                    \"status\": 1,\n                    \"street\": \"70347 Ramsey Plaza\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": null,\n                    \"updated\": \"2019-04-20 16:41:17\",\n                    \"v3_status\": \"draft\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accountid\": \"wkMd2g\",\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"autobill_status\": null,\n                    \"basecampid\": 0,\n                    \"city\": \"\",\n                    \"code\": \"\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2019-04-20\",\n                    \"created_at\": \"2019-04-20 04:11:41\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"first company\",\n                    \"customerid\": 31006,\n                    \"date_paid\": null,\n                    \"deposit_amount\": null,\n                    \"deposit_percentage\": null,\n                    \"deposit_status\": \"none\",\n                    \"description\": \"\",\n                    \"discount_description\": null,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"sent\",\n                    \"dispute_status\": null,\n                    \"due_date\": \"2019-04-20\",\n                    \"due_offset_days\": 0,\n                    \"estimateid\": 0,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Client\",\n                    \"fulfillment_date\": \"2019-04-20\",\n                    \"generation_date\": \"2019-04-20\",\n                    \"gmail\": false,\n                    \"id\": 27478,\n                    \"invoice_number\": \"0000006\",\n                    \"invoiceid\": 27478,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"one\",\n                    \"notes\": \"\",\n                    \"organization\": \"first company\",\n                    \"outstanding\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"ownerid\": 31004,\n                    \"paid\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"parent\": 378,\n                    \"payment_details\": \"\",\n                    \"payment_status\": \"unpaid\",\n                    \"po_number\": null,\n                    \"province\": \"\",\n                    \"return_uri\": null,\n                    \"sentid\": 1,\n                    \"show_attachments\": true,\n                    \"status\": 2,\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"\",\n                    \"updated\": \"2019-04-20 04:11:41\",\n                    \"v3_status\": \"overdue\",\n                    \"vat_name\": \"\",\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accountid\": \"wkMd2g\",\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"3300.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"autobill_status\": null,\n                    \"basecampid\": 0,\n                    \"city\": \"\",\n                    \"code\": \"\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2019-04-20\",\n                    \"created_at\": \"2019-04-19 13:40:18\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"first company\",\n                    \"customerid\": 31006,\n                    \"date_paid\": \"2019-04-19\",\n                    \"deposit_amount\": null,\n                    \"deposit_percentage\": null,\n                    \"deposit_status\": \"none\",\n                    \"description\": \"\",\n                    \"discount_description\": null,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"sent\",\n                    \"dispute_status\": null,\n                    \"due_date\": \"2019-04-20\",\n                    \"due_offset_days\": 0,\n                    \"estimateid\": 0,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Client\",\n                    \"fulfillment_date\": \"2019-04-20\",\n                    \"generation_date\": null,\n                    \"gmail\": false,\n                    \"id\": 26398,\n                    \"invoice_number\": \"0000005\",\n                    \"invoiceid\": 26398,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"one\",\n                    \"notes\": \"\",\n                    \"organization\": \"first company\",\n                    \"outstanding\": {\n                        \"amount\": \"3290.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"ownerid\": 31004,\n                    \"paid\": {\n                        \"amount\": \"10.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"parent\": 0,\n                    \"payment_details\": \"\",\n                    \"payment_status\": \"partial\",\n                    \"po_number\": null,\n                    \"province\": \"\",\n                    \"return_uri\": null,\n                    \"sentid\": 31004,\n                    \"show_attachments\": true,\n                    \"status\": 2,\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"\",\n                    \"updated\": \"2019-04-19 14:05:33\",\n                    \"v3_status\": \"overdue\",\n                    \"vat_name\": \"\",\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accountid\": \"wkMd2g\",\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"6900.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"autobill_status\": null,\n                    \"basecampid\": 0,\n                    \"city\": \"\",\n                    \"code\": \"\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2019-04-20\",\n                    \"created_at\": \"2019-04-19 13:37:39\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"first company\",\n                    \"customerid\": 31006,\n                    \"date_paid\": null,\n                    \"deposit_amount\": null,\n                    \"deposit_percentage\": null,\n                    \"deposit_status\": \"none\",\n                    \"description\": \"\",\n                    \"discount_description\": null,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"draft\",\n                    \"dispute_status\": null,\n                    \"due_date\": \"2019-04-20\",\n                    \"due_offset_days\": 0,\n                    \"estimateid\": 0,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Nicolas\",\n                    \"fulfillment_date\": null,\n                    \"generation_date\": null,\n                    \"gmail\": false,\n                    \"id\": 26384,\n                    \"invoice_number\": \"0000004\",\n                    \"invoiceid\": 26384,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"one\",\n                    \"notes\": \"\",\n                    \"organization\": \"first company\",\n                    \"outstanding\": {\n                        \"amount\": \"6900.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"ownerid\": 31004,\n                    \"paid\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"parent\": 0,\n                    \"payment_details\": \"\",\n                    \"payment_status\": \"unpaid\",\n                    \"po_number\": null,\n                    \"province\": \"\",\n                    \"return_uri\": null,\n                    \"sentid\": 31004,\n                    \"show_attachments\": true,\n                    \"status\": 1,\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"\",\n                    \"updated\": \"2019-04-24 13:47:39\",\n                    \"v3_status\": \"draft\",\n                    \"vat_name\": null,\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accountid\": \"wkMd2g\",\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"50.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"autobill_status\": null,\n                    \"basecampid\": 0,\n                    \"city\": \"Houston\",\n                    \"code\": \"\",\n                    \"country\": \"United States\",\n                    \"create_date\": \"2019-04-19\",\n                    \"created_at\": \"2019-04-19 12:52:16\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"Prosacco Group\",\n                    \"customerid\": 32080,\n                    \"date_paid\": \"2019-04-19\",\n                    \"deposit_amount\": null,\n                    \"deposit_percentage\": null,\n                    \"deposit_status\": \"none\",\n                    \"description\": \"Fanny pack with palm trees\",\n                    \"discount_description\": null,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"sent\",\n                    \"dispute_status\": null,\n                    \"due_date\": \"2019-04-19\",\n                    \"due_offset_days\": 0,\n                    \"estimateid\": 0,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Myrta\",\n                    \"fulfillment_date\": \"2019-04-19\",\n                    \"generation_date\": \"2019-04-19\",\n                    \"gmail\": false,\n                    \"id\": 26250,\n                    \"invoice_number\": \"0000003\",\n                    \"invoiceid\": 26250,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"Westhofer\",\n                    \"notes\": \"\",\n                    \"organization\": \"Prosacco Group\",\n                    \"outstanding\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"ownerid\": 1,\n                    \"paid\": {\n                        \"amount\": \"50.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"parent\": 376,\n                    \"payment_details\": \"\",\n                    \"payment_status\": \"paid\",\n                    \"po_number\": null,\n                    \"province\": \"Texas\",\n                    \"return_uri\": null,\n                    \"sentid\": 1,\n                    \"show_attachments\": true,\n                    \"status\": 4,\n                    \"street\": \"70347 Ramsey Plaza\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"\",\n                    \"updated\": \"2019-04-19 13:28:17\",\n                    \"v3_status\": \"paid\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accountid\": \"wkMd2g\",\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"8000.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"autobill_status\": null,\n                    \"basecampid\": 0,\n                    \"city\": \"\",\n                    \"code\": \"\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2019-04-20\",\n                    \"created_at\": \"2019-04-18 09:53:46\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"first company\",\n                    \"customerid\": 31006,\n                    \"date_paid\": \"2019-04-19\",\n                    \"deposit_amount\": null,\n                    \"deposit_percentage\": null,\n                    \"deposit_status\": \"none\",\n                    \"description\": \"\",\n                    \"discount_description\": null,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"sent\",\n                    \"dispute_status\": null,\n                    \"due_date\": \"2019-04-20\",\n                    \"due_offset_days\": 0,\n                    \"estimateid\": 0,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Client\",\n                    \"fulfillment_date\": \"2019-04-20\",\n                    \"generation_date\": null,\n                    \"gmail\": false,\n                    \"id\": 24068,\n                    \"invoice_number\": \"0000002\",\n                    \"invoiceid\": 24068,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"one\",\n                    \"notes\": \"\",\n                    \"organization\": \"first company\",\n                    \"outstanding\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"ownerid\": 1,\n                    \"paid\": {\n                        \"amount\": \"8000.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"parent\": 0,\n                    \"payment_details\": \"\",\n                    \"payment_status\": \"paid\",\n                    \"po_number\": null,\n                    \"province\": \"\",\n                    \"return_uri\": null,\n                    \"sentid\": 1,\n                    \"show_attachments\": true,\n                    \"status\": 4,\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"\",\n                    \"updated\": \"2019-04-19 13:59:30\",\n                    \"v3_status\": \"paid\",\n                    \"vat_name\": \"\",\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accountid\": \"wkMd2g\",\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"1065.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"autobill_status\": null,\n                    \"basecampid\": 0,\n                    \"city\": \"\",\n                    \"code\": \"\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2019-04-18\",\n                    \"created_at\": \"2019-04-18 09:38:49\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"first company\",\n                    \"customerid\": 31006,\n                    \"date_paid\": null,\n                    \"deposit_amount\": null,\n                    \"deposit_percentage\": null,\n                    \"deposit_status\": \"none\",\n                    \"description\": \"it's a computer hardware version 1\",\n                    \"discount_description\": null,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"sent\",\n                    \"dispute_status\": null,\n                    \"due_date\": \"2019-05-18\",\n                    \"due_offset_days\": 30,\n                    \"estimateid\": 0,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Client\",\n                    \"fulfillment_date\": \"2019-04-18\",\n                    \"generation_date\": null,\n                    \"gmail\": false,\n                    \"id\": 24042,\n                    \"invoice_number\": \"0000001\",\n                    \"invoiceid\": 24042,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"one\",\n                    \"notes\": \"\",\n                    \"organization\": \"first company\",\n                    \"outstanding\": {\n                        \"amount\": \"1065.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"ownerid\": 1,\n                    \"paid\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"parent\": 0,\n                    \"payment_details\": \"\",\n                    \"payment_status\": \"unpaid\",\n                    \"po_number\": null,\n                    \"province\": \"\",\n                    \"return_uri\": null,\n                    \"sentid\": 1,\n                    \"show_attachments\": false,\n                    \"status\": 2,\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": null,\n                    \"updated\": \"2019-04-18 09:40:07\",\n                    \"v3_status\": \"sent\",\n                    \"vat_name\": null,\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                }\n            ],\n            \"page\": 1,\n            \"pages\": 1,\n            \"per_page\": 15,\n            \"total\": 13\n        }\n    }\n}"},{"id":"ddb94623-1791-4101-905e-80cfcb3305fc","name":"List Invoices","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGEQoLVhRXUVdXQEcVUR1RHVNWAwZSUloMBwlVVFUAAANeSBwHH0BSUVADAAxSXABWVwUBCQRUQx8EBVpEBDs="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:05:04 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:05:05 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"invoices\": [\n                {\n                    \"accountid\": \"wkMd2g\",\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"180.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"autobill_status\": null,\n                    \"basecampid\": 0,\n                    \"city\": \"\",\n                    \"code\": \"\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2019-04-20\",\n                    \"created_at\": \"2019-04-22 10:50:19\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"first company\",\n                    \"customerid\": 31006,\n                    \"date_paid\": null,\n                    \"deposit_amount\": null,\n                    \"deposit_percentage\": null,\n                    \"deposit_status\": \"none\",\n                    \"description\": \"\",\n                    \"discount_description\": null,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"viewed\",\n                    \"dispute_status\": null,\n                    \"due_date\": \"2019-04-20\",\n                    \"due_offset_days\": 0,\n                    \"estimateid\": 0,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Client\",\n                    \"fulfillment_date\": \"2019-04-20\",\n                    \"generation_date\": null,\n                    \"gmail\": false,\n                    \"id\": 29618,\n                    \"invoice_number\": \"0000012\",\n                    \"invoiceid\": 29618,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"one\",\n                    \"notes\": \"\",\n                    \"organization\": \"first company\",\n                    \"outstanding\": {\n                        \"amount\": \"180.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"ownerid\": 31004,\n                    \"paid\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"parent\": 0,\n                    \"payment_details\": \"\",\n                    \"payment_status\": \"unpaid\",\n                    \"po_number\": null,\n                    \"province\": \"\",\n                    \"return_uri\": null,\n                    \"sentid\": 31004,\n                    \"show_attachments\": true,\n                    \"status\": 3,\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"\",\n                    \"updated\": \"2019-04-23 17:59:12\",\n                    \"v3_status\": \"overdue\",\n                    \"vat_name\": \"\",\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accountid\": \"wkMd2g\",\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"180.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"autobill_status\": null,\n                    \"basecampid\": 0,\n                    \"city\": \"Waco\",\n                    \"code\": \"\",\n                    \"country\": \"United States\",\n                    \"create_date\": \"2019-04-20\",\n                    \"created_at\": \"2019-04-22 10:49:56\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"Hermann-Jast\",\n                    \"customerid\": 32076,\n                    \"date_paid\": null,\n                    \"deposit_amount\": null,\n                    \"deposit_percentage\": null,\n                    \"deposit_status\": \"none\",\n                    \"description\": \"\",\n                    \"discount_description\": null,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"draft\",\n                    \"dispute_status\": null,\n                    \"due_date\": \"2019-04-20\",\n                    \"due_offset_days\": 0,\n                    \"estimateid\": 0,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Tarra\",\n                    \"fulfillment_date\": null,\n                    \"generation_date\": null,\n                    \"gmail\": false,\n                    \"id\": 29616,\n                    \"invoice_number\": \"0000011\",\n                    \"invoiceid\": 29616,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"Arblaster\",\n                    \"notes\": \"\",\n                    \"organization\": \"Hermann-Jast\",\n                    \"outstanding\": {\n                        \"amount\": \"180.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"ownerid\": 31004,\n                    \"paid\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"parent\": 0,\n                    \"payment_details\": \"\",\n                    \"payment_status\": \"unpaid\",\n                    \"po_number\": null,\n                    \"province\": \"Texas\",\n                    \"return_uri\": null,\n                    \"sentid\": 31004,\n                    \"show_attachments\": true,\n                    \"status\": 1,\n                    \"street\": \"05 Haas Trail\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"\",\n                    \"updated\": \"2019-04-22 10:49:56\",\n                    \"v3_status\": \"draft\",\n                    \"vat_name\": \"\",\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accountid\": \"wkMd2g\",\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"180.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"autobill_status\": null,\n                    \"basecampid\": 0,\n                    \"city\": \"San Jose\",\n                    \"code\": \"\",\n                    \"country\": \"United States\",\n                    \"create_date\": \"2019-04-20\",\n                    \"created_at\": \"2019-04-22 10:43:37\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"Witting, McDermott and Gutmann\",\n                    \"customerid\": 32078,\n                    \"date_paid\": null,\n                    \"deposit_amount\": null,\n                    \"deposit_percentage\": null,\n                    \"deposit_status\": \"none\",\n                    \"description\": \"\",\n                    \"discount_description\": null,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"draft\",\n                    \"dispute_status\": null,\n                    \"due_date\": \"2019-04-20\",\n                    \"due_offset_days\": 0,\n                    \"estimateid\": 0,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Beaufort\",\n                    \"fulfillment_date\": null,\n                    \"generation_date\": null,\n                    \"gmail\": false,\n                    \"id\": 29610,\n                    \"invoice_number\": \"0000010\",\n                    \"invoiceid\": 29610,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"Michelin\",\n                    \"notes\": \"\",\n                    \"organization\": \"Witting, McDermott and Gutmann\",\n                    \"outstanding\": {\n                        \"amount\": \"180.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"ownerid\": 31004,\n                    \"paid\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"parent\": 0,\n                    \"payment_details\": \"\",\n                    \"payment_status\": \"unpaid\",\n                    \"po_number\": null,\n                    \"province\": \"California\",\n                    \"return_uri\": null,\n                    \"sentid\": 31004,\n                    \"show_attachments\": true,\n                    \"status\": 1,\n                    \"street\": \"5 Kings Pass\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"\",\n                    \"updated\": \"2019-04-22 10:43:37\",\n                    \"v3_status\": \"draft\",\n                    \"vat_name\": \"\",\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accountid\": \"wkMd2g\",\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"autobill_status\": null,\n                    \"basecampid\": 0,\n                    \"city\": \"Richmond\",\n                    \"code\": \"\",\n                    \"country\": \"United States\",\n                    \"create_date\": \"2019-04-22\",\n                    \"created_at\": \"2019-04-22 10:37:33\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"Blick, Dickinson and Morar\",\n                    \"customerid\": 32082,\n                    \"date_paid\": null,\n                    \"deposit_amount\": null,\n                    \"deposit_percentage\": null,\n                    \"deposit_status\": \"none\",\n                    \"description\": \"\",\n                    \"discount_description\": null,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"sent\",\n                    \"dispute_status\": null,\n                    \"due_date\": \"2019-04-22\",\n                    \"due_offset_days\": 0,\n                    \"estimateid\": 0,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Elbert\",\n                    \"fulfillment_date\": \"2019-04-22\",\n                    \"generation_date\": null,\n                    \"gmail\": false,\n                    \"id\": 29604,\n                    \"invoice_number\": \"0000009\",\n                    \"invoiceid\": 29604,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"Vatcher\",\n                    \"notes\": \"\",\n                    \"organization\": \"Blick, Dickinson and Morar\",\n                    \"outstanding\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"ownerid\": 31004,\n                    \"paid\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"parent\": 0,\n                    \"payment_details\": \"\",\n                    \"payment_status\": \"unpaid\",\n                    \"po_number\": null,\n                    \"province\": \"Virginia\",\n                    \"return_uri\": null,\n                    \"sentid\": 31004,\n                    \"show_attachments\": false,\n                    \"status\": 2,\n                    \"street\": \"9 Park Meadow Street\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": null,\n                    \"updated\": \"2019-04-23 17:39:29\",\n                    \"v3_status\": \"overdue\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accountid\": \"wkMd2g\",\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"3300.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"autobill_status\": null,\n                    \"basecampid\": 0,\n                    \"city\": \"\",\n                    \"code\": \"\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2019-04-20\",\n                    \"created_at\": \"2019-04-20 16:45:43\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"first company\",\n                    \"customerid\": 31006,\n                    \"date_paid\": null,\n                    \"deposit_amount\": null,\n                    \"deposit_percentage\": null,\n                    \"deposit_status\": \"none\",\n                    \"description\": \"\",\n                    \"discount_description\": null,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"draft\",\n                    \"dispute_status\": null,\n                    \"due_date\": \"2019-04-20\",\n                    \"due_offset_days\": 0,\n                    \"estimateid\": 0,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Nicolas\",\n                    \"fulfillment_date\": null,\n                    \"generation_date\": null,\n                    \"gmail\": false,\n                    \"id\": 28006,\n                    \"invoice_number\": \"0000008\",\n                    \"invoiceid\": 28006,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"one\",\n                    \"notes\": \"\",\n                    \"organization\": \"first company\",\n                    \"outstanding\": {\n                        \"amount\": \"3300.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"ownerid\": 31004,\n                    \"paid\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"parent\": 0,\n                    \"payment_details\": \"\",\n                    \"payment_status\": \"unpaid\",\n                    \"po_number\": null,\n                    \"province\": \"\",\n                    \"return_uri\": null,\n                    \"sentid\": 31004,\n                    \"show_attachments\": true,\n                    \"status\": 1,\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"\",\n                    \"updated\": \"2019-04-24 13:47:39\",\n                    \"v3_status\": \"draft\",\n                    \"vat_name\": null,\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accountid\": \"wkMd2g\",\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"50.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"autobill_status\": null,\n                    \"basecampid\": 0,\n                    \"city\": \"Houston\",\n                    \"code\": \"\",\n                    \"country\": \"United States\",\n                    \"create_date\": \"2019-04-20\",\n                    \"created_at\": \"2019-04-20 16:40:49\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"Prosacco Group\",\n                    \"customerid\": 32080,\n                    \"date_paid\": null,\n                    \"deposit_amount\": null,\n                    \"deposit_percentage\": null,\n                    \"deposit_status\": \"none\",\n                    \"description\": \"Fanny pack with palm trees\",\n                    \"discount_description\": null,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"draft\",\n                    \"dispute_status\": null,\n                    \"due_date\": \"2019-04-20\",\n                    \"due_offset_days\": 0,\n                    \"estimateid\": 0,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Myrta\",\n                    \"fulfillment_date\": null,\n                    \"generation_date\": null,\n                    \"gmail\": false,\n                    \"id\": 28002,\n                    \"invoice_number\": \"0000007\",\n                    \"invoiceid\": 28002,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"Westhofer\",\n                    \"notes\": \"\",\n                    \"organization\": \"Prosacco Group\",\n                    \"outstanding\": {\n                        \"amount\": \"50.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"ownerid\": 31004,\n                    \"paid\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"parent\": 0,\n                    \"payment_details\": \"\",\n                    \"payment_status\": \"unpaid\",\n                    \"po_number\": null,\n                    \"province\": \"Texas\",\n                    \"return_uri\": null,\n                    \"sentid\": 31004,\n                    \"show_attachments\": false,\n                    \"status\": 1,\n                    \"street\": \"70347 Ramsey Plaza\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": null,\n                    \"updated\": \"2019-04-20 16:41:17\",\n                    \"v3_status\": \"draft\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accountid\": \"wkMd2g\",\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"autobill_status\": null,\n                    \"basecampid\": 0,\n                    \"city\": \"\",\n                    \"code\": \"\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2019-04-20\",\n                    \"created_at\": \"2019-04-20 04:11:41\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"first company\",\n                    \"customerid\": 31006,\n                    \"date_paid\": null,\n                    \"deposit_amount\": null,\n                    \"deposit_percentage\": null,\n                    \"deposit_status\": \"none\",\n                    \"description\": \"\",\n                    \"discount_description\": null,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"sent\",\n                    \"dispute_status\": null,\n                    \"due_date\": \"2019-04-20\",\n                    \"due_offset_days\": 0,\n                    \"estimateid\": 0,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Client\",\n                    \"fulfillment_date\": \"2019-04-20\",\n                    \"generation_date\": \"2019-04-20\",\n                    \"gmail\": false,\n                    \"id\": 27478,\n                    \"invoice_number\": \"0000006\",\n                    \"invoiceid\": 27478,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"one\",\n                    \"notes\": \"\",\n                    \"organization\": \"first company\",\n                    \"outstanding\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"ownerid\": 31004,\n                    \"paid\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"parent\": 378,\n                    \"payment_details\": \"\",\n                    \"payment_status\": \"unpaid\",\n                    \"po_number\": null,\n                    \"province\": \"\",\n                    \"return_uri\": null,\n                    \"sentid\": 1,\n                    \"show_attachments\": true,\n                    \"status\": 2,\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"\",\n                    \"updated\": \"2019-04-20 04:11:41\",\n                    \"v3_status\": \"overdue\",\n                    \"vat_name\": \"\",\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accountid\": \"wkMd2g\",\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"3300.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"autobill_status\": null,\n                    \"basecampid\": 0,\n                    \"city\": \"\",\n                    \"code\": \"\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2019-04-20\",\n                    \"created_at\": \"2019-04-19 13:40:18\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"first company\",\n                    \"customerid\": 31006,\n                    \"date_paid\": \"2019-04-19\",\n                    \"deposit_amount\": null,\n                    \"deposit_percentage\": null,\n                    \"deposit_status\": \"none\",\n                    \"description\": \"\",\n                    \"discount_description\": null,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"sent\",\n                    \"dispute_status\": null,\n                    \"due_date\": \"2019-04-20\",\n                    \"due_offset_days\": 0,\n                    \"estimateid\": 0,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Client\",\n                    \"fulfillment_date\": \"2019-04-20\",\n                    \"generation_date\": null,\n                    \"gmail\": false,\n                    \"id\": 26398,\n                    \"invoice_number\": \"0000005\",\n                    \"invoiceid\": 26398,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"one\",\n                    \"notes\": \"\",\n                    \"organization\": \"first company\",\n                    \"outstanding\": {\n                        \"amount\": \"3290.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"ownerid\": 31004,\n                    \"paid\": {\n                        \"amount\": \"10.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"parent\": 0,\n                    \"payment_details\": \"\",\n                    \"payment_status\": \"partial\",\n                    \"po_number\": null,\n                    \"province\": \"\",\n                    \"return_uri\": null,\n                    \"sentid\": 31004,\n                    \"show_attachments\": true,\n                    \"status\": 2,\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"\",\n                    \"updated\": \"2019-04-19 14:05:33\",\n                    \"v3_status\": \"overdue\",\n                    \"vat_name\": \"\",\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accountid\": \"wkMd2g\",\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"6900.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"autobill_status\": null,\n                    \"basecampid\": 0,\n                    \"city\": \"\",\n                    \"code\": \"\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2019-04-20\",\n                    \"created_at\": \"2019-04-19 13:37:39\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"first company\",\n                    \"customerid\": 31006,\n                    \"date_paid\": null,\n                    \"deposit_amount\": null,\n                    \"deposit_percentage\": null,\n                    \"deposit_status\": \"none\",\n                    \"description\": \"\",\n                    \"discount_description\": null,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"draft\",\n                    \"dispute_status\": null,\n                    \"due_date\": \"2019-04-20\",\n                    \"due_offset_days\": 0,\n                    \"estimateid\": 0,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Nicolas\",\n                    \"fulfillment_date\": null,\n                    \"generation_date\": null,\n                    \"gmail\": false,\n                    \"id\": 26384,\n                    \"invoice_number\": \"0000004\",\n                    \"invoiceid\": 26384,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"one\",\n                    \"notes\": \"\",\n                    \"organization\": \"first company\",\n                    \"outstanding\": {\n                        \"amount\": \"6900.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"ownerid\": 31004,\n                    \"paid\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"parent\": 0,\n                    \"payment_details\": \"\",\n                    \"payment_status\": \"unpaid\",\n                    \"po_number\": null,\n                    \"province\": \"\",\n                    \"return_uri\": null,\n                    \"sentid\": 31004,\n                    \"show_attachments\": true,\n                    \"status\": 1,\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"\",\n                    \"updated\": \"2019-04-24 13:47:39\",\n                    \"v3_status\": \"draft\",\n                    \"vat_name\": null,\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accountid\": \"wkMd2g\",\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"50.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"autobill_status\": null,\n                    \"basecampid\": 0,\n                    \"city\": \"Houston\",\n                    \"code\": \"\",\n                    \"country\": \"United States\",\n                    \"create_date\": \"2019-04-19\",\n                    \"created_at\": \"2019-04-19 12:52:16\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"Prosacco Group\",\n                    \"customerid\": 32080,\n                    \"date_paid\": \"2019-04-19\",\n                    \"deposit_amount\": null,\n                    \"deposit_percentage\": null,\n                    \"deposit_status\": \"none\",\n                    \"description\": \"Fanny pack with palm trees\",\n                    \"discount_description\": null,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"sent\",\n                    \"dispute_status\": null,\n                    \"due_date\": \"2019-04-19\",\n                    \"due_offset_days\": 0,\n                    \"estimateid\": 0,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Myrta\",\n                    \"fulfillment_date\": \"2019-04-19\",\n                    \"generation_date\": \"2019-04-19\",\n                    \"gmail\": false,\n                    \"id\": 26250,\n                    \"invoice_number\": \"0000003\",\n                    \"invoiceid\": 26250,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"Westhofer\",\n                    \"notes\": \"\",\n                    \"organization\": \"Prosacco Group\",\n                    \"outstanding\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"ownerid\": 1,\n                    \"paid\": {\n                        \"amount\": \"50.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"parent\": 376,\n                    \"payment_details\": \"\",\n                    \"payment_status\": \"paid\",\n                    \"po_number\": null,\n                    \"province\": \"Texas\",\n                    \"return_uri\": null,\n                    \"sentid\": 1,\n                    \"show_attachments\": true,\n                    \"status\": 4,\n                    \"street\": \"70347 Ramsey Plaza\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"\",\n                    \"updated\": \"2019-04-19 13:28:17\",\n                    \"v3_status\": \"paid\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accountid\": \"wkMd2g\",\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"8000.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"autobill_status\": null,\n                    \"basecampid\": 0,\n                    \"city\": \"\",\n                    \"code\": \"\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2019-04-20\",\n                    \"created_at\": \"2019-04-18 09:53:46\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"first company\",\n                    \"customerid\": 31006,\n                    \"date_paid\": \"2019-04-19\",\n                    \"deposit_amount\": null,\n                    \"deposit_percentage\": null,\n                    \"deposit_status\": \"none\",\n                    \"description\": \"\",\n                    \"discount_description\": null,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"sent\",\n                    \"dispute_status\": null,\n                    \"due_date\": \"2019-04-20\",\n                    \"due_offset_days\": 0,\n                    \"estimateid\": 0,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Client\",\n                    \"fulfillment_date\": \"2019-04-20\",\n                    \"generation_date\": null,\n                    \"gmail\": false,\n                    \"id\": 24068,\n                    \"invoice_number\": \"0000002\",\n                    \"invoiceid\": 24068,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"one\",\n                    \"notes\": \"\",\n                    \"organization\": \"first company\",\n                    \"outstanding\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"ownerid\": 1,\n                    \"paid\": {\n                        \"amount\": \"8000.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"parent\": 0,\n                    \"payment_details\": \"\",\n                    \"payment_status\": \"paid\",\n                    \"po_number\": null,\n                    \"province\": \"\",\n                    \"return_uri\": null,\n                    \"sentid\": 1,\n                    \"show_attachments\": true,\n                    \"status\": 4,\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"\",\n                    \"updated\": \"2019-04-19 13:59:30\",\n                    \"v3_status\": \"paid\",\n                    \"vat_name\": \"\",\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"accountid\": \"wkMd2g\",\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"1065.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"auto_bill\": false,\n                    \"autobill_status\": null,\n                    \"basecampid\": 0,\n                    \"city\": \"\",\n                    \"code\": \"\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2019-04-18\",\n                    \"created_at\": \"2019-04-18 09:38:49\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"first company\",\n                    \"customerid\": 31006,\n                    \"date_paid\": null,\n                    \"deposit_amount\": null,\n                    \"deposit_percentage\": null,\n                    \"deposit_status\": \"none\",\n                    \"description\": \"it's a computer hardware version 1\",\n                    \"discount_description\": null,\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"sent\",\n                    \"dispute_status\": null,\n                    \"due_date\": \"2019-05-18\",\n                    \"due_offset_days\": 30,\n                    \"estimateid\": 0,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Client\",\n                    \"fulfillment_date\": \"2019-04-18\",\n                    \"generation_date\": null,\n                    \"gmail\": false,\n                    \"id\": 24042,\n                    \"invoice_number\": \"0000001\",\n                    \"invoiceid\": 24042,\n                    \"language\": \"en\",\n                    \"last_order_status\": null,\n                    \"lname\": \"one\",\n                    \"notes\": \"\",\n                    \"organization\": \"first company\",\n                    \"outstanding\": {\n                        \"amount\": \"1065.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"ownerid\": 1,\n                    \"paid\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"parent\": 0,\n                    \"payment_details\": \"\",\n                    \"payment_status\": \"unpaid\",\n                    \"po_number\": null,\n                    \"province\": \"\",\n                    \"return_uri\": null,\n                    \"sentid\": 1,\n                    \"show_attachments\": false,\n                    \"status\": 2,\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": null,\n                    \"updated\": \"2019-04-18 09:40:07\",\n                    \"v3_status\": \"sent\",\n                    \"vat_name\": null,\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                }\n            ],\n            \"page\": 1,\n            \"pages\": 1,\n            \"per_page\": 15,\n            \"total\": 12\n        }\n    }\n}"}],"_postman_id":"a8dd89f9-a5f1-475f-967c-d96bf06e63a5"},{"name":"Single Invoice","event":[{"listen":"test","script":{"id":"2289e5ef-3718-44ea-8407-7c51bee12e42","exec":["let jsonData = JSON.parse(responseBody);","pm.environment.set(\"invoiceId\", jsonData.response.result.invoice.id);",""],"type":"text/javascript"}}],"id":"bf574c58-e495-45ac-8250-cebfc77fd300","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices/{{invoiceId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","invoices","invoices","{{invoiceId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"ab9304c7-ea13-4a02-ab5f-287cc59e34e7","name":"Single Invoice","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices/{{invoiceId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGEQoLVhRXUVdXEUkJTQFPA1pXAAVTUlYNBglSWFAECQRKSQAaEQZTUAYAUw5QWgpXUwtUD1ATTVUDCEVSPA=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:05:19 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:05:19 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"invoice\": {\n                \"accountid\": \"wkMd2g\",\n                \"accounting_systemid\": \"wkMd2g\",\n                \"address\": \"\",\n                \"amount\": {\n                    \"amount\": \"180.00\",\n                    \"code\": \"USD\"\n                },\n                \"auto_bill\": false,\n                \"autobill_status\": null,\n                \"basecampid\": 0,\n                \"city\": \"\",\n                \"code\": \"\",\n                \"country\": \"Canada\",\n                \"create_date\": \"2019-04-20\",\n                \"created_at\": \"2019-04-22 10:50:19\",\n                \"currency_code\": \"USD\",\n                \"current_organization\": \"first company\",\n                \"customerid\": 31006,\n                \"date_paid\": null,\n                \"deposit_amount\": null,\n                \"deposit_percentage\": null,\n                \"deposit_status\": \"none\",\n                \"description\": \"\",\n                \"discount_description\": null,\n                \"discount_total\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"discount_value\": \"0\",\n                \"display_status\": \"viewed\",\n                \"dispute_status\": null,\n                \"due_date\": \"2019-04-20\",\n                \"due_offset_days\": 0,\n                \"estimateid\": 0,\n                \"ext_archive\": 0,\n                \"fname\": \"Client\",\n                \"fulfillment_date\": \"2019-04-20\",\n                \"generation_date\": null,\n                \"gmail\": false,\n                \"id\": 29618,\n                \"invoice_number\": \"0000012\",\n                \"invoiceid\": 29618,\n                \"language\": \"en\",\n                \"last_order_status\": null,\n                \"lname\": \"one\",\n                \"notes\": \"\",\n                \"organization\": \"first company\",\n                \"outstanding\": {\n                    \"amount\": \"180.00\",\n                    \"code\": \"USD\"\n                },\n                \"ownerid\": 31004,\n                \"paid\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"parent\": 0,\n                \"payment_details\": \"\",\n                \"payment_status\": \"unpaid\",\n                \"po_number\": null,\n                \"province\": \"\",\n                \"return_uri\": null,\n                \"sentid\": 31004,\n                \"show_attachments\": true,\n                \"status\": 3,\n                \"street\": \"\",\n                \"street2\": \"\",\n                \"template\": \"clean-grouped\",\n                \"terms\": \"\",\n                \"updated\": \"2019-04-23 17:59:12\",\n                \"v3_status\": \"overdue\",\n                \"vat_name\": \"\",\n                \"vat_number\": \"\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"bf574c58-e495-45ac-8250-cebfc77fd300"},{"name":"Single Invoice w/ Logo","event":[{"listen":"test","script":{"id":"79950090-b84b-4f86-bd82-1912eff875ac","exec":["let jsonData = JSON.parse(responseBody); ","pm.environment.set(\"imgSrc\", \"\\\"\" + jsonData.response.result.invoice.presentation.image_logo_src + \"\\\"\")","pm.environment.set(\"themeColor\", \"\\\"\" + jsonData.response.result.invoice.presentation.theme_primary_color + \"\\\"\")",""],"type":"text/javascript"}}],"id":"e6413ca6-07ae-4918-b9f4-1c3445a47072","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices/{{invoiceId}}?include[]=presentation","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","invoices","invoices","{{invoiceId}}"],"host":["api","freshbooks","com"],"query":[{"key":"include[]","value":"presentation"}],"variable":[]}},"response":[{"id":"153fa4a5-443a-459d-a12b-c3dfa028db0b","name":"Single Invoice w/ Logo","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices/{{invoiceId}}?include%5B%5D=presentation","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","{{accountId}}","invoices","invoices","{{invoiceId}}"],"query":[{"key":"include%5B%5D","value":"presentation"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGEQoLVhRXUVdXEUkJTQFPAlJdAQ9YV1ALAwdVWVsOBQZKSQAaEVJQUwQGVQ5RDghQC1EGX1kTTVUDCEVSPA=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:05:31 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:05:31 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"invoice\": {\n                \"accountid\": \"wkMd2g\",\n                \"accounting_systemid\": \"wkMd2g\",\n                \"address\": \"\",\n                \"amount\": {\n                    \"amount\": \"180.00\",\n                    \"code\": \"USD\"\n                },\n                \"auto_bill\": false,\n                \"autobill_status\": null,\n                \"basecampid\": 0,\n                \"city\": \"\",\n                \"code\": \"\",\n                \"country\": \"Canada\",\n                \"create_date\": \"2019-04-20\",\n                \"created_at\": \"2019-04-22 10:50:19\",\n                \"currency_code\": \"USD\",\n                \"current_organization\": \"first company\",\n                \"customerid\": 31006,\n                \"date_paid\": null,\n                \"deposit_amount\": null,\n                \"deposit_percentage\": null,\n                \"deposit_status\": \"none\",\n                \"description\": \"\",\n                \"discount_description\": null,\n                \"discount_total\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"discount_value\": \"0\",\n                \"display_status\": \"viewed\",\n                \"dispute_status\": null,\n                \"due_date\": \"2019-04-20\",\n                \"due_offset_days\": 0,\n                \"estimateid\": 0,\n                \"ext_archive\": 0,\n                \"fname\": \"Client\",\n                \"fulfillment_date\": \"2019-04-20\",\n                \"generation_date\": null,\n                \"gmail\": false,\n                \"id\": 29618,\n                \"invoice_number\": \"0000012\",\n                \"invoiceid\": 29618,\n                \"language\": \"en\",\n                \"last_order_status\": null,\n                \"lname\": \"one\",\n                \"notes\": \"\",\n                \"organization\": \"first company\",\n                \"outstanding\": {\n                    \"amount\": \"180.00\",\n                    \"code\": \"USD\"\n                },\n                \"ownerid\": 31004,\n                \"paid\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"parent\": 0,\n                \"payment_details\": \"\",\n                \"payment_status\": \"unpaid\",\n                \"po_number\": null,\n                \"presentation\": {\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"description_heading\": null,\n                    \"hours_heading\": null,\n                    \"image_banner_position_y\": 0,\n                    \"image_banner_src\": null,\n                    \"image_logo_src\": \"/service/api/uploads/images/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50Ijo0MjM2NDEwLCJvcmlnaW5hbF9maWxlbmFtZSI6ImNyYXBwcy5wbmciLCJidWNrZXQiOiJ1cGxvYWRzIiwiZmlsZW5hbWUiOiJ1cGxvYWQtOWM4NGZjMjIxZmY2OGYxZDhmYzM3ZDhhMGU2NzdmY2M3YmQ3MWM3MyIsImxlbmd0aCI6MjIzNTA2LCJrZXkiOiInZG9jcy0nLTQyMzY0MTAvdXBsb2FkLTljODRmYzIyMWZmNjhmMWQ4ZmMzN2Q4YTBlNjc3ZmNjN2JkNzFjNzMifQ.JKJhOAD4xudhv8uPpyVw6yFhvJC5ypYzYGRWvq0UTDA\",\n                    \"invoiceid\": 29618,\n                    \"item_heading\": null,\n                    \"label\": null,\n                    \"quantity_heading\": null,\n                    \"rate_heading\": null,\n                    \"task_heading\": null,\n                    \"theme_font_name\": null,\n                    \"theme_layout\": null,\n                    \"theme_primary_color\": \"#000000\",\n                    \"time_entry_notes_heading\": null,\n                    \"unit_cost_heading\": null\n                },\n                \"province\": \"\",\n                \"return_uri\": null,\n                \"sentid\": 31004,\n                \"show_attachments\": true,\n                \"status\": 3,\n                \"street\": \"\",\n                \"street2\": \"\",\n                \"template\": \"clean-grouped\",\n                \"terms\": \"\",\n                \"updated\": \"2019-04-23 17:59:12\",\n                \"v3_status\": \"overdue\",\n                \"vat_name\": \"\",\n                \"vat_number\": \"\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"e6413ca6-07ae-4918-b9f4-1c3445a47072"},{"name":"Single Invoice w/ Payment Gateway","event":[{"listen":"test","script":{"id":"37240a32-ab47-44dc-986a-c6b83c0292cb","exec":["let jsonData = JSON.parse(responseBody);","pm.environment.set(\"invoiceId\", jsonData.response.result.invoice.id)",""],"type":"text/javascript"}}],"id":"08ae1a68-c4ef-4096-a101-b60b937e9fb2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"invoice\": {\n\t\t\"customerid\": {{customerId}},\n\t\t\"create_date\": \"2019-04-20\",\n\t\t\"lines\": [\n\t      {\n\t        \"type\": 0,\n\t        \"description\": \"\",\n\t        \"taxName1\": \"\",\n\t        \"taxAmount1\": 0,\n\t        \"name\": \"Climbing Helmet\",\n\t        \"qty\": 1,\n\t        \"taxName2\": \"\",\n\t        \"taxAmount2\": 0,\n\t        \"unit_cost\": {\n\t            \"amount\": \"80.00\",\n\t            \"code\": \"USD\"\n\t        }\n\t      },\n\t      {\n\t        \"type\": 0,\n\t        \"description\": \"\",\n\t        \"taxName1\": \"\",\n\t        \"taxAmount1\": 0,\n\t        \"name\": \"Belay Device\",\n\t        \"qty\": 1,\n\t        \"taxName2\": \"\",\n\t        \"taxAmount2\": 0,\n\t        \"unit_cost\": {\n\t            \"amount\": \"100.00\",\n\t            \"code\": \"USD\"\n\t        }\n\t      }\n\t   ],\n\t\t\"presentation\": {\n\t\t\t\"image_logo_src\": {{imgSrc}},\n\t\t\t \"theme_primary_color\": {{themeColor}}\n\t\t}\n\t}\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices/{{invoiceid}}?include%5B%5D=allowed_gateways","description":"<p>Call an invoice and display the enabled gateway on that invoice.</p>\n<p>Stripe = id: 26 |\nFBpay = id: 30 |\nPayPal = id: 7</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","invoices","invoices","{{invoiceid}}"],"host":["api","freshbooks","com"],"query":[{"key":"include%5B%5D","value":"allowed_gateways"}],"variable":[]}},"response":[{"id":"0d132fa8-9e51-4d51-8c05-1c61d6e813cf","name":"Single Invoice w/ Payment Gateway","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"invoice\": {\n\t\t\"customerid\": {{customerId}},\n\t\t\"create_date\": \"2019-04-20\",\n\t\t\"lines\": [\n\t      {\n\t        \"type\": 0,\n\t        \"description\": \"\",\n\t        \"taxName1\": \"\",\n\t        \"taxAmount1\": 0,\n\t        \"name\": \"Climbing Helmet\",\n\t        \"qty\": 1,\n\t        \"taxName2\": \"\",\n\t        \"taxAmount2\": 0,\n\t        \"unit_cost\": {\n\t            \"amount\": \"80.00\",\n\t            \"code\": \"USD\"\n\t        }\n\t      },\n\t      {\n\t        \"type\": 0,\n\t        \"description\": \"\",\n\t        \"taxName1\": \"\",\n\t        \"taxAmount1\": 0,\n\t        \"name\": \"Belay Device\",\n\t        \"qty\": 1,\n\t        \"taxName2\": \"\",\n\t        \"taxAmount2\": 0,\n\t        \"unit_cost\": {\n\t            \"amount\": \"100.00\",\n\t            \"code\": \"USD\"\n\t        }\n\t      }\n\t   ],\n\t\t\"presentation\": {\n\t\t\t\"image_logo_src\": {{imgSrc}},\n\t\t\t \"theme_primary_color\": {{themeColor}}\n\t\t}\n\t}\n}"},"url":{"raw":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices?include%5B%5D=allowed_gateways","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","{{accountId}}","invoices","invoices"],"query":[{"key":"include%5B%5D","value":"allowed_gateways"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGEQoLVhRXUVdXQEcVUR1RHVBWDgRRUVQKAAldWFIFAgNSSAAEBldKQVoHUApVDglQUwcGCVJXBAJASFBWDRUGZQ=="},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1557432219"},{"key":"Retry-After","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Wed, 09 May 2018 20:02:41 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Thu, 09 May 2019 20:02:41 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17357-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"invoice\": {\n                \"accountid\": \"wkMd2g\",\n                \"accounting_systemid\": \"wkMd2g\",\n                \"address\": \"\",\n                \"allowed_gateways\": [],\n                \"amount\": {\n                    \"amount\": \"180.00\",\n                    \"code\": \"USD\"\n                },\n                \"auto_bill\": false,\n                \"autobill_status\": null,\n                \"basecampid\": 0,\n                \"city\": \"Toronto\",\n                \"code\": \"M6P 3T1\",\n                \"country\": \"\",\n                \"create_date\": \"2019-04-20\",\n                \"created_at\": \"2019-05-09 16:02:40\",\n                \"currency_code\": \"USD\",\n                \"current_organization\": \"Space Is Only Noise\",\n                \"customerid\": 92402,\n                \"date_paid\": null,\n                \"deposit_amount\": null,\n                \"deposit_percentage\": null,\n                \"deposit_status\": \"none\",\n                \"description\": \"\",\n                \"discount_description\": null,\n                \"discount_total\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"discount_value\": \"0\",\n                \"display_status\": \"draft\",\n                \"dispute_status\": null,\n                \"due_date\": \"2019-04-20\",\n                \"due_offset_days\": 0,\n                \"estimateid\": 0,\n                \"ext_archive\": 0,\n                \"fname\": \"Nicholas\",\n                \"fulfillment_date\": null,\n                \"generation_date\": null,\n                \"gmail\": false,\n                \"id\": 74888,\n                \"invoice_number\": \"0000029\",\n                \"invoiceid\": 74888,\n                \"language\": \"en\",\n                \"last_order_status\": null,\n                \"lname\": \"Jaar\",\n                \"notes\": \"\",\n                \"organization\": \"Space Is Only Noise\",\n                \"outstanding\": {\n                    \"amount\": \"180.00\",\n                    \"code\": \"USD\"\n                },\n                \"ownerid\": 1,\n                \"paid\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"parent\": 0,\n                \"payment_details\": \"\",\n                \"payment_status\": \"unpaid\",\n                \"po_number\": null,\n                \"province\": \"Ontario\",\n                \"return_uri\": null,\n                \"sentid\": 1,\n                \"show_attachments\": true,\n                \"status\": 1,\n                \"street\": \"1655 Dupont St. W.\",\n                \"street2\": \"\",\n                \"template\": \"clean-grouped\",\n                \"terms\": \"\",\n                \"updated\": \"2019-05-09 16:02:41\",\n                \"v3_status\": \"draft\",\n                \"vat_name\": \"\",\n                \"vat_number\": \"\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"08ae1a68-c4ef-4096-a101-b60b937e9fb2"},{"name":"Single Invoice w/ Logo and styles","event":[{"listen":"test","script":{"id":"37240a32-ab47-44dc-986a-c6b83c0292cb","exec":["let jsonData = JSON.parse(responseBody);","pm.environment.set(\"invoiceId\", jsonData.response.result.invoice.id)",""],"type":"text/javascript"}}],"id":"5414c705-871e-4e9a-8bfe-a7a0ddca7676","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"invoice\": {\n\t\t\"customerid\": {{customerId}},\n\t\t\"create_date\": \"2019-04-20\",\n\t\t\"lines\": [\n\t\t\t{\n\t\t\t\t\"type\": 0,\n\t\t\t\t\"description\": \"\",\n\t\t\t\t\"taxName1\": \"\",\n\t\t\t\t\"taxAmount1\": 0,\n\t\t\t\t\"name\": \"Climbing Helmet\",\n\t\t\t\t\"qty\": 1,\n\t\t\t\t\"taxName2\": \"\",\n\t\t\t\t\"taxAmount2\": 0,\n\t\t\t\t\"unit_cost\": {\n\t\t\t\t\t\"amount\": \"80.00\",\n\t\t\t\t\t\"code\": \"USD\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"type\": 0,\n\t\t\t\t\"description\": \"\",\n\t\t\t\t\"taxName1\": \"\",\n\t\t\t\t\"taxAmount1\": 0,\n\t\t\t\t\"name\": \"Belay Device\",\n\t\t\t\t\"qty\": 1,\n\t\t\t\t\"taxName2\": \"\",\n\t\t\t\t\"taxAmount2\": 0,\n\t\t\t\t\"unit_cost\": {\n\t\t\t\t\t\"amount\": \"100.00\",\n\t\t\t\t\t\"code\": \"USD\"\n\t\t\t\t}\n\t\t\t}\n\t\t],\n\t\t\"presentation\": {\n\t\t\t\"image_logo_src\": {{imgSrc}},\n\t\t\t \"theme_primary_color\": {{themeColor}},\n\t\t\t \"theme_layout\": \"simple\",\n\t\t\t \"theme_font_name\": \"modern\"\n\t\t}\n\t}\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices","description":"<p>Define invoice logo and styles by passing in <code>presentation</code> object with the fields below:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field name</th>\n<th>Acceptable values</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>image_logo_src</code></td>\n<td>Relative URL of a logo uploaded to FreshBooks - See Upload Logo</td>\n</tr>\n<tr>\n<td><code>theme_primary_color</code></td>\n<td>Valid color code</td>\n</tr>\n<tr>\n<td><code>theme_layout</code></td>\n<td>\"simple\" or \"modern\"</td>\n</tr>\n<tr>\n<td><code>theme_font_name</code></td>\n<td>\"modern\" or \"classic\"</td>\n</tr>\n</tbody>\n</table>\n</div><p>By default, if no <code>presentation</code> specified in new invoice request payload, it will be assigned a default presentation.\nTo override this default behaviour, specify <code>\"use_default_presentation\": false</code></p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","invoices","invoices"],"host":["api","freshbooks","com"],"query":[{"disabled":true,"key":"include%5B%5D","value":"presentation"}],"variable":[]}},"response":[{"id":"be76f0bc-08b5-4cdd-9c1b-92a3d5a0c015","name":"Single Invoice w/ Logo and styles","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"invoice\": {\n\t\t\"customerid\": {{customerId}},\n\t\t\"create_date\": \"2019-04-20\",\n\t\t\"lines\": [\n\t      {\n\t        \"type\": 0,\n\t        \"description\": \"\",\n\t        \"taxName1\": \"\",\n\t        \"taxAmount1\": 0,\n\t        \"name\": \"Climbing Helmet\",\n\t        \"qty\": 1,\n\t        \"taxName2\": \"\",\n\t        \"taxAmount2\": 0,\n\t        \"unit_cost\": {\n\t            \"amount\": \"80.00\",\n\t            \"code\": \"USD\"\n\t        }\n\t      },\n\t      {\n\t        \"type\": 0,\n\t        \"description\": \"\",\n\t        \"taxName1\": \"\",\n\t        \"taxAmount1\": 0,\n\t        \"name\": \"Belay Device\",\n\t        \"qty\": 1,\n\t        \"taxName2\": \"\",\n\t        \"taxAmount2\": 0,\n\t        \"unit_cost\": {\n\t            \"amount\": \"100.00\",\n\t            \"code\": \"USD\"\n\t        }\n\t      }\n\t   ],\n\t\t\"presentation\": {\n\t\t\t\"image_logo_src\": {{imgSrc}},\n\t\t\t \"theme_primary_color\": {{themeColor}},\n\t\t\t \"theme_layout\": \"simple\",\n\t\t\t \"theme_font_name\": \"modern\"\n\t\t}\n\t}\n}"},"url":{"raw":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","{{accountId}}","invoices","invoices"],"query":[{"key":"include%5B%5D","value":"presentation","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGEQoLVhRXUVdXQEcVUR1RHVBWDw5WXlYOAgRUUFEBBgVKVQMDBk5EWlsJBwkDCwoGAAtQDwcCBBFOAldbEgM+"},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1557432079"},{"key":"Retry-After","value":"47"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Wed, 09 May 2018 20:00:31 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Thu, 09 May 2019 20:00:31 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17357-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"invoice\": {\n                \"accountid\": \"wkMd2g\",\n                \"accounting_systemid\": \"wkMd2g\",\n                \"address\": \"\",\n                \"amount\": {\n                    \"amount\": \"180.00\",\n                    \"code\": \"USD\"\n                },\n                \"auto_bill\": false,\n                \"autobill_status\": null,\n                \"basecampid\": 0,\n                \"city\": \"Toronto\",\n                \"code\": \"M6P 3T1\",\n                \"country\": \"\",\n                \"create_date\": \"2019-04-20\",\n                \"created_at\": \"2019-05-09 16:00:31\",\n                \"currency_code\": \"USD\",\n                \"current_organization\": \"Space Is Only Noise\",\n                \"customerid\": 92402,\n                \"date_paid\": null,\n                \"deposit_amount\": null,\n                \"deposit_percentage\": null,\n                \"deposit_status\": \"none\",\n                \"description\": \"\",\n                \"discount_description\": null,\n                \"discount_total\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"discount_value\": \"0\",\n                \"display_status\": \"draft\",\n                \"dispute_status\": null,\n                \"due_date\": \"2019-04-20\",\n                \"due_offset_days\": 0,\n                \"estimateid\": 0,\n                \"ext_archive\": 0,\n                \"fname\": \"Nicholas\",\n                \"fulfillment_date\": null,\n                \"generation_date\": null,\n                \"gmail\": false,\n                \"id\": 74880,\n                \"invoice_number\": \"0000028\",\n                \"invoiceid\": 74880,\n                \"language\": \"en\",\n                \"last_order_status\": null,\n                \"lname\": \"Jaar\",\n                \"notes\": \"\",\n                \"organization\": \"Space Is Only Noise\",\n                \"outstanding\": {\n                    \"amount\": \"180.00\",\n                    \"code\": \"USD\"\n                },\n                \"ownerid\": 1,\n                \"paid\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"parent\": 0,\n                \"payment_details\": \"\",\n                \"payment_status\": \"unpaid\",\n                \"po_number\": null,\n                \"province\": \"Ontario\",\n                \"return_uri\": null,\n                \"sentid\": 1,\n                \"show_attachments\": true,\n                \"status\": 1,\n                \"street\": \"1655 Dupont St. W.\",\n                \"street2\": \"\",\n                \"template\": \"clean-grouped\",\n                \"terms\": \"\",\n                \"updated\": \"2019-05-09 16:00:31\",\n                \"v3_status\": \"draft\",\n                \"vat_name\": \"\",\n                \"vat_number\": \"\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"5414c705-871e-4e9a-8bfe-a7a0ddca7676"},{"name":"Single Invoice w/ Line Items","id":"710e7415-2be9-4e93-ad8c-e7bc923ef645","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"invoice\": {\n    \"customerid\": {{customerId}},\n    \"create_date\": \"2019-04-20\",\n    \"lines\": [\n      {\n        \"type\": 0,\n        \"description\": \"\",\n        \"taxName1\": \"\",\n        \"taxAmount1\": 0,\n        \"name\": \"Paperwork\",\n        \"qty\": 1,\n        \"taxName2\": \"\",\n        \"taxAmount2\": 0,\n        \"unit_cost\": {\n            \"amount\": \"5000.00\",\n            \"code\": \"USD\"\n        }\n      },\n      {\n        \"type\": 1,\n        \"description\": \"\",\n        \"expenseid\": {{expenseId}},\n        \"taxName1\": \"\",\n        \"taxAmount1\": 0,\n        \"name\": \"TV Ads\",\n        \"qty\": 1,\n        \"taxName2\": \"\",\n        \"taxAmount2\": 0,\n        \"unit_cost\": {\n            \"amount\": \"3000.00\",\n            \"code\": \"USD\"\n        }\n      }\n    ]\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices","description":"<ul>\n<li>If the invoice line items have inventory tracking enabled (See Items and Services &gt; Create Item), the relevant inventory amount will be adjusted accordingly when the invoice is created:\n  item new inventory = item current inventory - invoice line item quantity</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","invoices","invoices"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"1d7dbcd8-04ca-48f0-9545-3b8f14383595","name":"Single Invoice w/ Line Items","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"invoice\": {\n    \"customerid\": {{customerId}},\n    \"create_date\": \"2019-04-20\",\n    \"lines\": [\n      {\n        \"type\": 0,\n        \"description\": \"\",\n        \"taxName1\": \"\",\n        \"taxAmount1\": 0,\n        \"name\": \"Paperwork\",\n        \"qty\": 1,\n        \"taxName2\": \"\",\n        \"taxAmount2\": 0,\n        \"unit_cost\": {\n            \"amount\": \"5000.00\",\n            \"code\": \"USD\"\n        }\n      },\n      {\n        \"type\": 1,\n        \"description\": \"\",\n        \"expenseid\": {{expenseId}},\n        \"taxName1\": \"\",\n        \"taxAmount1\": 0,\n        \"name\": \"TV Ads\",\n        \"qty\": 1,\n        \"taxName2\": \"\",\n        \"taxAmount2\": 0,\n        \"unit_cost\": {\n            \"amount\": \"3000.00\",\n            \"code\": \"USD\"\n        }\n      }\n    ]\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGEQoLVhRXUVdXQEcVUR1RHVFQDwdYUFMNCgddWFMOBQRSSAYAC05EBlpTV1xbCw8HU1JXWlNTBxFOAldbEgM+"},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1557424743"},{"key":"Retry-After","value":"55"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Wed, 09 May 2018 17:58:07 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Thu, 09 May 2019 17:58:07 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17366-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"invoice\": {\n                \"accountid\": \"wkMd2g\",\n                \"accounting_systemid\": \"wkMd2g\",\n                \"address\": \"\",\n                \"amount\": {\n                    \"amount\": \"8000.00\",\n                    \"code\": \"USD\"\n                },\n                \"auto_bill\": false,\n                \"autobill_status\": null,\n                \"basecampid\": 0,\n                \"city\": \"Toronto\",\n                \"code\": \"M6P 3T1\",\n                \"country\": \"\",\n                \"create_date\": \"2019-04-20\",\n                \"created_at\": \"2019-05-09 13:58:07\",\n                \"currency_code\": \"USD\",\n                \"current_organization\": \"Space Is Only Noise\",\n                \"customerid\": 92402,\n                \"date_paid\": null,\n                \"deposit_amount\": null,\n                \"deposit_percentage\": null,\n                \"deposit_status\": \"none\",\n                \"description\": \"\",\n                \"discount_description\": null,\n                \"discount_total\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"discount_value\": \"0\",\n                \"display_status\": \"draft\",\n                \"dispute_status\": null,\n                \"due_date\": \"2019-04-20\",\n                \"due_offset_days\": 0,\n                \"estimateid\": 0,\n                \"ext_archive\": 0,\n                \"fname\": \"Nicholas\",\n                \"fulfillment_date\": null,\n                \"generation_date\": null,\n                \"gmail\": false,\n                \"id\": 74540,\n                \"invoice_number\": \"0000027\",\n                \"invoiceid\": 74540,\n                \"language\": \"en\",\n                \"last_order_status\": null,\n                \"lname\": \"Jaar\",\n                \"notes\": \"\",\n                \"organization\": \"Space Is Only Noise\",\n                \"outstanding\": {\n                    \"amount\": \"8000.00\",\n                    \"code\": \"USD\"\n                },\n                \"ownerid\": 1,\n                \"paid\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"parent\": 0,\n                \"payment_details\": \"\",\n                \"payment_status\": \"unpaid\",\n                \"po_number\": null,\n                \"province\": \"Ontario\",\n                \"return_uri\": null,\n                \"sentid\": 1,\n                \"show_attachments\": true,\n                \"status\": 1,\n                \"street\": \"1655 Dupont St. W.\",\n                \"street2\": \"\",\n                \"template\": \"clean-grouped\",\n                \"terms\": \"\",\n                \"updated\": \"2019-05-09 13:58:07\",\n                \"v3_status\": \"draft\",\n                \"vat_name\": \"\",\n                \"vat_number\": \"\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"},{"id":"e1fac262-09aa-41e9-b4fe-964350d6b67e","name":"Single Invoice w/ Line Items - Unprocessable Entity","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"invoice\": {\n    \"customerid\": {{customerId}},\n    \"create_date\": \"2019-04-20\",\n    \"lines\": [\n      {\n        \"type\": 0,\n        \"description\": \"\",\n        \"taxName1\": \"\",\n        \"taxAmount1\": 0,\n        \"name\": \"Paperwork\",\n        \"qty\": 1,\n        \"taxName2\": \"\",\n        \"taxAmount2\": 0,\n        \"unit_cost\": {\n            \"amount\": \"5000.00\",\n            \"code\": \"USD\"\n        }\n      },\n      {\n        \"type\": 1,\n        \"description\": \"\",\n        \"expenseid\": 1918390,\n        \"taxName1\": \"\",\n        \"taxAmount1\": 0,\n        \"name\": \"TV Ads\",\n        \"qty\": 1,\n        \"taxName2\": \"\",\n        \"taxAmount2\": 0,\n        \"unit_cost\": {\n            \"amount\": \"3000.00\",\n            \"code\": \"USD\"\n        }\n      }\n    ]\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices"},"status":"UNPROCESSABLE ENTITY","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGEQoLVhRXUVdXQEcVUR1RHVNRBAFRX1sKBgFXVVAABgRSSAYAC05EVAcAUA9TAAhVUAFUWlABAhFOAldbEgM+"},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1557424554"},{"key":"Retry-After","value":"56"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Content-Length","value":"240"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Thu, 09 May 2019 17:54:57 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17366-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"errors\": [\n            {\n                \"errno\": 1004,\n                \"field\": \"expenseid\",\n                \"message\": \"Invalid value '1918390' for field 'expenseid'.\",\n                \"object\": \"invoice\",\n                \"value\": \"1918390\"\n            }\n        ]\n    }\n}"},{"id":"ecd62e7e-423e-4416-a726-f65215668718","name":"Single Invoice w/ Line Items - Expense Not Associated with Client","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"invoice\": {\n    \"customerid\": {{customerId}},\n    \"create_date\": \"2019-04-20\",\n    \"lines\": [\n      {\n        \"type\": 0,\n        \"description\": \"\",\n        \"taxName1\": \"\",\n        \"taxAmount1\": 0,\n        \"name\": \"Paperwork\",\n        \"qty\": 1,\n        \"taxName2\": \"\",\n        \"taxAmount2\": 0,\n        \"unit_cost\": {\n            \"amount\": \"5000.00\",\n            \"code\": \"USD\"\n        }\n      },\n      {\n        \"type\": 1,\n        \"description\": \"\",\n        \"expenseid\": {{expenseId}},\n        \"taxName1\": \"\",\n        \"taxAmount1\": 0,\n        \"name\": \"TV Ads\",\n        \"qty\": 1,\n        \"taxName2\": \"\",\n        \"taxAmount2\": 0,\n        \"unit_cost\": {\n            \"amount\": \"3000.00\",\n            \"code\": \"USD\"\n        }\n      }\n    ]\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices"},"status":"UNPROCESSABLE ENTITY","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGEQoLVhRXUVdXQEcVUR1RHVNcAgNRVVUNBAlVUlAHCRtRUgkaEVIAUlpTWgkGCAkBAwRXW1UTTVUDCEVSPA=="},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1557424614"},{"key":"Retry-After","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Content-Length","value":"243"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Thu, 09 May 2019 17:55:56 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17366-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"errors\": [\n            {\n                \"errno\": 8016,\n                \"field\": \"expenseid\",\n                \"message\": \"expense_id '1825568' is not assigned to a client.\",\n                \"object\": \"invoice\",\n                \"value\": \"1825568\"\n            }\n        ]\n    }\n}"}],"_postman_id":"710e7415-2be9-4e93-ad8c-e7bc923ef645"},{"name":"Create Invoice with Expense ","id":"f7bc6a23-be7a-4591-9bac-5b278ab9aa45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"invoice\": {\n    \"customerid\": 485558,\n    \"create_date\": \"2019-06-20\",\n    \"lines\": [\n      {\n        \"type\": 0,\n        \"description\": \"\",\n        \"taxName1\": \"\",\n        \"taxAmount1\": 0,\n        \"name\": \"Paperwork\",\n        \"qty\": 1,\n        \"taxName2\": \"\",\n        \"taxAmount2\": 0,\n        \"unit_cost\": {\n            \"amount\": \"5000.00\",\n            \"code\": \"USD\"\n        }\n      },\n      {\n        \"type\": 1,\n        \"description\": \"Gas\",\n        \"expenseid\": {{expenseId}},\n        \"taxName1\": \"\",\n        \"taxAmount1\": 0,\n        \"name\": \"Shell Oil\",\n        \"qty\": 1,\n        \"taxName2\": \"\",\n        \"taxAmount2\": 0,\n        \"unit_cost\": {\n            \"amount\": \"120.00\",\n            \"code\": \"USD\"\n        }\n      }\n    ]\n  }\n}\n"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices","description":"<p>Creating invoice with expense.</p>\n<p>First you will need to create an expense. Once that is created, save the expenseId and add it to the invoice. </p>\n<p>When adding an expense, make sure you add to the <code>markup_percent</code> parameter the amount you want to markup by and set <code>cogs</code> to <code>true</code> if it is an item you have paid for. </p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","invoices","invoices"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f7bc6a23-be7a-4591-9bac-5b278ab9aa45"},{"name":"Enable Payment Options On Invoice","id":"387fad66-2150-49da-bd0f-d9b8ad194422","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"has_credit_card\": true,\n    \"has_ach_transfer\": true,\n    \"allow_partial_payments\": true,\n    \"gateway_name\": \"fbpay\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/payments/account/{{accountid}}/invoice/{{invoiceid}}/payment_options","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["payments","account","{{accountid}}","invoice","{{invoiceid}}","payment_options"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"387fad66-2150-49da-bd0f-d9b8ad194422"},{"name":"Delete  Invoice","id":"6a987101-2fda-4c7f-8396-079296b531a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"invoice\": {\n    \"vis_state\": 1\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices/{{invoiceId}}","description":"<p>Note: </p>\n<ul>\n<li>In order to delete an invoice, you will first need to delete all payments associated with that invoice or turn them to credits. </li>\n<li>If the invoice line items have inventory tracking enabled (See Items and Services &gt; Create Item), the relevant inventory amount will be adjusted accordingly when the invoice is deleted: \n  item new inventory = item current inventory + item quantity from deleted invoice</li>\n<li>Similarly, if the deleted invoice gets undeleted, the corresponding inventory wil be updated:\n  item new inventory = item current inventory - item quantity from undeleted invoice</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","invoices","invoices","{{invoiceId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"bf0cb98e-550e-449b-935e-3797f4b8612c","name":"Delete  Invoice","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"invoice\": {\n    \"vis_state\": \n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices/{{invoiceId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGEQoLVhRXUVdXEUkJTQFPAVBdAQBSU1EJBwJXUlEOCQNKUAAaEVAEVlIJAAgAWghWAQNRWAITTVUDCEVSPA=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:07:28 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:07:28 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"invoice\": {\n                \"accountid\": \"wkMd2g\",\n                \"accounting_systemid\": \"wkMd2g\",\n                \"address\": \"\",\n                \"amount\": {\n                    \"amount\": \"180.00\",\n                    \"code\": \"USD\"\n                },\n                \"auto_bill\": false,\n                \"autobill_status\": null,\n                \"basecampid\": 0,\n                \"city\": \"\",\n                \"code\": \"\",\n                \"country\": \"Canada\",\n                \"create_date\": \"2019-04-20\",\n                \"created_at\": \"2019-04-24 14:06:53\",\n                \"currency_code\": \"USD\",\n                \"current_organization\": \"first company\",\n                \"customerid\": 31006,\n                \"date_paid\": null,\n                \"deposit_amount\": null,\n                \"deposit_percentage\": null,\n                \"deposit_status\": \"none\",\n                \"description\": \"\",\n                \"discount_description\": null,\n                \"discount_total\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"discount_value\": \"0\",\n                \"display_status\": \"draft\",\n                \"dispute_status\": null,\n                \"due_date\": \"2019-04-20\",\n                \"due_offset_days\": 0,\n                \"estimateid\": 0,\n                \"ext_archive\": 0,\n                \"fname\": \"Nicolas\",\n                \"fulfillment_date\": null,\n                \"generation_date\": null,\n                \"gmail\": false,\n                \"id\": 34420,\n                \"invoice_number\": \"0000013\",\n                \"invoiceid\": 34420,\n                \"language\": \"en\",\n                \"last_order_status\": null,\n                \"lname\": \"one\",\n                \"notes\": \"\",\n                \"organization\": \"first company\",\n                \"outstanding\": {\n                    \"amount\": \"180.00\",\n                    \"code\": \"USD\"\n                },\n                \"ownerid\": 1,\n                \"paid\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"parent\": 0,\n                \"payment_details\": \"\",\n                \"payment_status\": \"unpaid\",\n                \"po_number\": null,\n                \"province\": \"\",\n                \"return_uri\": null,\n                \"sentid\": 1,\n                \"show_attachments\": true,\n                \"status\": 1,\n                \"street\": \"\",\n                \"street2\": \"\",\n                \"template\": \"clean-grouped\",\n                \"terms\": \"\",\n                \"updated\": \"2019-04-24 14:06:53\",\n                \"v3_status\": \"draft\",\n                \"vat_name\": \"\",\n                \"vat_number\": \"\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"6a987101-2fda-4c7f-8396-079296b531a7"},{"name":"Update Invoice","id":"4103b99c-c616-46db-a36b-7abb1024818c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"invoice\": {\n\t\t\"status\": 2\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices/{{invoiceId}}","description":"<ul>\n<li>If the invoice line items have inventory tracking enabled (See Items and Services &gt; Create Item), the relevant inventory amount will be adjusted accordingly when the invoice is updated:\n  item new inventory = item current inventory + delta of invoice line item old quantity and new quantity</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","invoices","invoices","{{invoiceId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"a6dc1008-30ee-4f39-a6e5-cb6989c5c40e","name":"Update Invoice","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"invoice\": {\n\t\t\"create_date\": \"2021-04-04\n\t}\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices/{{invoiceId}}"},"status":"BAD REQUEST","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGEQoLVhRXUVdXEUkJTQFPA1tXBQ9UUlYPCglWVFcEBgZKUQgaEQBSAABWA1sAWg0ECgtRDgQTTVUDCEVSPA=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Content-Length","value":"253"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:09:48 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"errors\": [\n            {\n                \"errno\": 1005,\n                \"field\": null,\n                \"message\": \"Expecting property name enclosed in double quotes: line 4 column 2 (char 56)\",\n                \"object\": null,\n                \"value\": null\n            }\n        ]\n    }\n}"},{"id":"b9d71600-eae2-4a45-8cfc-a76ebbbe97b5","name":"Update Invoice - Status","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"invoice\": {\n\t\t\"status\": 2\n\t}\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices/{{invoiceId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGEQoLVhRXUVdXEUkJTQFPAFRRAgVSVFMKBgFQV1YPBQNKVwUaEVIHVgECBAsGXQoGVgcACVYTTVUDCEVSPA=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Sun, 29 Apr 2018 20:45:54 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Mon, 29 Apr 2019 20:45:54 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17322-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"invoice\": {\n                \"accountid\": \"wkMd2g\",\n                \"accounting_systemid\": \"wkMd2g\",\n                \"address\": \"\",\n                \"amount\": {\n                    \"amount\": \"180.00\",\n                    \"code\": \"USD\"\n                },\n                \"auto_bill\": false,\n                \"autobill_status\": null,\n                \"basecampid\": 0,\n                \"city\": \"\",\n                \"code\": \"\",\n                \"country\": \"Canada\",\n                \"create_date\": \"2019-04-20\",\n                \"created_at\": \"2019-04-29 16:27:57\",\n                \"currency_code\": \"USD\",\n                \"current_organization\": \"first company\",\n                \"customerid\": 31006,\n                \"date_paid\": null,\n                \"deposit_amount\": null,\n                \"deposit_percentage\": null,\n                \"deposit_status\": \"none\",\n                \"description\": \"\",\n                \"discount_description\": null,\n                \"discount_total\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"discount_value\": \"0\",\n                \"display_status\": \"sent\",\n                \"dispute_status\": null,\n                \"due_date\": \"2019-04-20\",\n                \"due_offset_days\": 0,\n                \"estimateid\": 0,\n                \"ext_archive\": 0,\n                \"fname\": \"Nicolas\",\n                \"fulfillment_date\": \"2019-04-20\",\n                \"generation_date\": null,\n                \"gmail\": false,\n                \"id\": 45232,\n                \"invoice_number\": \"0000020\",\n                \"invoiceid\": 45232,\n                \"language\": \"en\",\n                \"last_order_status\": null,\n                \"lname\": \"one\",\n                \"notes\": \"\",\n                \"organization\": \"first company\",\n                \"outstanding\": {\n                    \"amount\": \"180.00\",\n                    \"code\": \"USD\"\n                },\n                \"ownerid\": 1,\n                \"paid\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"parent\": 0,\n                \"payment_details\": \"\",\n                \"payment_status\": \"unpaid\",\n                \"po_number\": null,\n                \"province\": \"\",\n                \"return_uri\": null,\n                \"sentid\": 1,\n                \"show_attachments\": true,\n                \"status\": 2,\n                \"street\": \"\",\n                \"street2\": \"\",\n                \"template\": \"clean-grouped\",\n                \"terms\": \"\",\n                \"updated\": \"2019-04-29 16:45:54\",\n                \"v3_status\": \"overdue\",\n                \"vat_name\": \"\",\n                \"vat_number\": \"\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"},{"id":"bd5f640e-6e27-443a-8be6-32bf453ad84e","name":"Update Invoice","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"invoice\": {\n\t\t\"create_date\": \"2021-04-04\"\n\t}\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices/{{invoiceId}}"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGEQoLVhRXUVdXEUkJTQFPAlNWAAVTUloBBwZRWFYFAg9KUQkaEQFTU1sHAAAGWw4FCwZQXVcTTVUDCEVSPA=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:10:19 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:10:19 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"invoice\": {\n                \"accountid\": \"wkMd2g\",\n                \"accounting_systemid\": \"wkMd2g\",\n                \"address\": \"\",\n                \"amount\": {\n                    \"amount\": \"180.00\",\n                    \"code\": \"USD\"\n                },\n                \"auto_bill\": false,\n                \"autobill_status\": null,\n                \"basecampid\": 0,\n                \"city\": \"\",\n                \"code\": \"\",\n                \"country\": \"Canada\",\n                \"create_date\": \"2019-04-20\",\n                \"created_at\": \"2021-04-04 14:06:53\",\n                \"currency_code\": \"USD\",\n                \"current_organization\": \"first company\",\n                \"customerid\": 31006,\n                \"date_paid\": null,\n                \"deposit_amount\": null,\n                \"deposit_percentage\": null,\n                \"deposit_status\": \"none\",\n                \"description\": \"\",\n                \"discount_description\": null,\n                \"discount_total\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"discount_value\": \"0\",\n                \"display_status\": \"draft\",\n                \"dispute_status\": null,\n                \"due_date\": \"2019-04-20\",\n                \"due_offset_days\": 0,\n                \"estimateid\": 0,\n                \"ext_archive\": 0,\n                \"fname\": \"Nicolas\",\n                \"fulfillment_date\": null,\n                \"generation_date\": null,\n                \"gmail\": false,\n                \"id\": 34420,\n                \"invoice_number\": \"0000013\",\n                \"invoiceid\": 34420,\n                \"language\": \"en\",\n                \"last_order_status\": null,\n                \"lname\": \"one\",\n                \"notes\": \"\",\n                \"organization\": \"first company\",\n                \"outstanding\": {\n                    \"amount\": \"180.00\",\n                    \"code\": \"USD\"\n                },\n                \"ownerid\": 1,\n                \"paid\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"parent\": 0,\n                \"payment_details\": \"\",\n                \"payment_status\": \"unpaid\",\n                \"po_number\": null,\n                \"province\": \"\",\n                \"return_uri\": null,\n                \"sentid\": 1,\n                \"show_attachments\": true,\n                \"status\": 1,\n                \"street\": \"\",\n                \"street2\": \"\",\n                \"template\": \"clean-grouped\",\n                \"terms\": \"\",\n                \"updated\": \"2019-04-24 14:06:53\",\n                \"v3_status\": \"draft\",\n                \"vat_name\": \"\",\n                \"vat_number\": \"\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"4103b99c-c616-46db-a36b-7abb1024818c"},{"name":"Update Invoice w/ Expense","id":"cd68802f-af7a-487f-b874-8b9fb2df855d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"invoice\": {\n\t\t\"lines\": [\n      {\n        \"type\": 1,\n        \"description\": \"Gas\",\n        \"expenseid\": {{expenseId}},\n        \"taxName1\": \"\",\n        \"taxAmount1\": 0,\n        \"name\": \"Updated Expense\",\n        \"qty\": 1,\n        \"taxName2\": \"\",\n        \"taxAmount2\": 0,\n        \"unit_cost\": {\n            \"amount\": \"120.00\",\n            \"code\": \"USD\"\n        }\n      }\n      ]\n\t}\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices/{{invoiceId}}","description":"<ul>\n<li>If the invoice line items have inventory tracking enabled (See Items and Services &gt; Create Item), the relevant inventory amount will be adjusted accordingly when the invoice is updated:\n  item new inventory = item current inventory + delta of invoice line item old quantity and new quantity</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","invoices","invoices","{{invoiceId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"de702b01-d3e2-4890-acd2-af8da223f7a3","name":"Update Invoice w/ Expense","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"invoice\": {\n\t\t\"lines\": [\n      {\n        \"type\": 1,\n        \"description\": \"Gas\",\n        \"expenseid\": {{expenseId}},\n        \"taxName1\": \"\",\n        \"taxAmount1\": 0,\n        \"name\": \"Updated Expense\",\n        \"qty\": 1,\n        \"taxName2\": \"\",\n        \"taxAmount2\": 0,\n        \"unit_cost\": {\n            \"amount\": \"120.00\",\n            \"code\": \"USD\"\n        }\n      }\n      ]\n\t}\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices/{{invoiceId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGEQoLVhRXUVdXEUkJTQFPBlRSDgJUUFUBAwJVV1IBBRtVUwgaEQBWVFdSUA5SDA5XUwIECwUTTVUDCEVSPA=="},{"key":"X-RateLimit-Limit","value":"500"},{"key":"X-RateLimit-Remaining","value":"497"},{"key":"X-RateLimit-Reset","value":"1561490493"},{"key":"Retry-After","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Mon, 25 Jun 2018 19:20:32 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Tue, 25 Jun 2019 19:20:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17380-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"invoice\": {\n                \"accountid\": \"wkMd2g\",\n                \"accounting_systemid\": \"wkMd2g\",\n                \"address\": \"\",\n                \"amount\": {\n                    \"amount\": \"120.00\",\n                    \"code\": \"USD\"\n                },\n                \"auto_bill\": false,\n                \"autobill_status\": null,\n                \"basecampid\": 0,\n                \"city\": \"Toronto\",\n                \"code\": \"M6P 3T1\",\n                \"country\": \"Canada\",\n                \"create_date\": \"2019-04-20\",\n                \"created_at\": \"2019-06-25 15:16:42\",\n                \"currency_code\": \"USD\",\n                \"current_organization\": \"Kevin's Cashmere\",\n                \"customerid\": 151486,\n                \"date_paid\": null,\n                \"deposit_amount\": null,\n                \"deposit_percentage\": null,\n                \"deposit_status\": \"none\",\n                \"description\": \"Gas\",\n                \"discount_description\": null,\n                \"discount_total\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"discount_value\": \"0\",\n                \"display_status\": \"draft\",\n                \"dispute_status\": null,\n                \"due_date\": \"2019-04-20\",\n                \"due_offset_days\": 0,\n                \"estimateid\": 0,\n                \"ext_archive\": 0,\n                \"fname\": \"Kevin\",\n                \"fulfillment_date\": null,\n                \"generation_date\": null,\n                \"gmail\": false,\n                \"id\": 152844,\n                \"invoice_number\": \"0000048\",\n                \"invoiceid\": 152844,\n                \"language\": \"en\",\n                \"last_order_status\": null,\n                \"lname\": \"Cashmere\",\n                \"notes\": \"\",\n                \"organization\": \"Kevin's Cashmere\",\n                \"outstanding\": {\n                    \"amount\": \"120.00\",\n                    \"code\": \"USD\"\n                },\n                \"ownerid\": 31004,\n                \"paid\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"parent\": 0,\n                \"payment_details\": \"\",\n                \"payment_status\": \"unpaid\",\n                \"po_number\": null,\n                \"province\": \"Ontario\",\n                \"return_uri\": null,\n                \"sentid\": 31004,\n                \"show_attachments\": true,\n                \"status\": 1,\n                \"street\": \"1655 Dupont St. W.\",\n                \"street2\": \"\",\n                \"template\": \"clean-grouped\",\n                \"terms\": \"\",\n                \"updated\": \"2019-06-25 15:20:32\",\n                \"v3_status\": \"draft\",\n                \"vat_name\": \"\",\n                \"vat_number\": \"\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"},{"id":"e3a15d9c-987a-44c1-a3ec-55b03a8664fe","name":"Update Invoice w/ Expense","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"invoice\": {\n\t\t\"lines\": [\n      {\n        \"type\": 1,\n        \"description\": \"Gas\",\n        \"expenseid\": {{expenseId}},\n        \"taxName1\": \"\",\n        \"taxAmount1\": 0,\n        \"name\": \"Updated Expense\",\n        \"qty\": 1,\n        \"taxName2\": \"\",\n        \"taxAmount2\": 0,\n        \"unit_cost\": {\n            \"amount\": \"120.00\",\n            \"code\": \"USD\"\n        }\n      }\n      ]\n\t}\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices/{{invoiceId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGEQoLVhRXUVdXEUkJTQFPBlRSDgJUUFUBAwJVV1IBBRtVUwgaEQBWVFdSUA5SDA5XUwIECwUTTVUDCEVSPA=="},{"key":"X-RateLimit-Limit","value":"500"},{"key":"X-RateLimit-Remaining","value":"497"},{"key":"X-RateLimit-Reset","value":"1561490493"},{"key":"Retry-After","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Mon, 25 Jun 2018 19:20:32 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Tue, 25 Jun 2019 19:20:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17380-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"invoice\": {\n                \"accountid\": \"wkMd2g\",\n                \"accounting_systemid\": \"wkMd2g\",\n                \"address\": \"\",\n                \"amount\": {\n                    \"amount\": \"120.00\",\n                    \"code\": \"USD\"\n                },\n                \"auto_bill\": false,\n                \"autobill_status\": null,\n                \"basecampid\": 0,\n                \"city\": \"Toronto\",\n                \"code\": \"M6P 3T1\",\n                \"country\": \"Canada\",\n                \"create_date\": \"2019-04-20\",\n                \"created_at\": \"2019-06-25 15:16:42\",\n                \"currency_code\": \"USD\",\n                \"current_organization\": \"Kevin's Cashmere\",\n                \"customerid\": 151486,\n                \"date_paid\": null,\n                \"deposit_amount\": null,\n                \"deposit_percentage\": null,\n                \"deposit_status\": \"none\",\n                \"description\": \"Gas\",\n                \"discount_description\": null,\n                \"discount_total\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"discount_value\": \"0\",\n                \"display_status\": \"draft\",\n                \"dispute_status\": null,\n                \"due_date\": \"2019-04-20\",\n                \"due_offset_days\": 0,\n                \"estimateid\": 0,\n                \"ext_archive\": 0,\n                \"fname\": \"Kevin\",\n                \"fulfillment_date\": null,\n                \"generation_date\": null,\n                \"gmail\": false,\n                \"id\": 152844,\n                \"invoice_number\": \"0000048\",\n                \"invoiceid\": 152844,\n                \"language\": \"en\",\n                \"last_order_status\": null,\n                \"lname\": \"Cashmere\",\n                \"notes\": \"\",\n                \"organization\": \"Kevin's Cashmere\",\n                \"outstanding\": {\n                    \"amount\": \"120.00\",\n                    \"code\": \"USD\"\n                },\n                \"ownerid\": 31004,\n                \"paid\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"parent\": 0,\n                \"payment_details\": \"\",\n                \"payment_status\": \"unpaid\",\n                \"po_number\": null,\n                \"province\": \"Ontario\",\n                \"return_uri\": null,\n                \"sentid\": 31004,\n                \"show_attachments\": true,\n                \"status\": 1,\n                \"street\": \"1655 Dupont St. W.\",\n                \"street2\": \"\",\n                \"template\": \"clean-grouped\",\n                \"terms\": \"\",\n                \"updated\": \"2019-06-25 15:20:32\",\n                \"v3_status\": \"draft\",\n                \"vat_name\": \"\",\n                \"vat_number\": \"\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"cd68802f-af7a-487f-b874-8b9fb2df855d"},{"name":"Send Invoice by Email","id":"de26c905-4be8-4522-af0f-6a18414a0dc0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"invoice\": {\n        \n        \"email_recipients\": [\n            \"example@freshbooks.com\",\n            \"example2@freshbooks.com\"\n        ],\n        \"invoice_customized_email\": {\n        \"subject\": \"::company name:: has sent you an invoice (::invoice number::)\",\n                \"body\":\"::company name:: sent you invoice (::invoice number::) for ::invoice amount:: that's due on ::invoice due date::\"\n            },\n            \"action_email\": true\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountid}}/invoices/invoices/{{invoiceid}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountid}}","invoices","invoices","{{invoiceid}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"de26c905-4be8-4522-af0f-6a18414a0dc0"},{"name":"Toggle Online Payments on Invoice","id":"76ffc8fe-da99-4bb4-a0c0-0f012a6d63c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"invoice\": {\n\t\t\"allowed_gatewayids\": [30]\n\t}\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices/{{invoiceId}}?include%5B%5D=allowed_gateways","description":"<p><code>26</code> for <code>Stripe</code>, \n<code>30</code> for <code>FBPayments</code>   </p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","invoices","invoices","{{invoiceId}}"],"host":["api","freshbooks","com"],"query":[{"key":"include%5B%5D","value":"allowed_gateways"},{"disabled":true,"key":"include%5B%5D","value":"attachments"},{"disabled":true,"key":"include%5B%5D","value":"audit_logs"},{"disabled":true,"key":"include%5B%5D","value":"client_audits"},{"disabled":true,"key":"include%5B%5D","value":"contacts"},{"disabled":true,"key":"include%5B%5D","value":"invoice_profile"},{"disabled":true,"key":"include%5B%5D","value":"late_fee"},{"disabled":true,"key":"include%5B%5D","value":"late_reminders"},{"disabled":true,"key":"include%5B%5D","value":"lines"},{"disabled":true,"key":"include%5B%5D","value":"owner"},{"disabled":true,"key":"include%5B%5D","value":"payment_schedule"},{"disabled":true,"key":"include%5B%5D","value":"presentation"},{"disabled":true,"key":"include%5B%5D","value":"system"}],"variable":[]}},"response":[{"id":"164106e1-f38b-490d-a96d-517af500f7d8","name":"Toggle Online Payments on Invoice - FreshBooks Payments","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"invoice\": {\n\t\t\"allowed_gatewayids\": [30]\n\t}\n}"},"url":{"raw":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices/{{invoiceId}}?include%5B%5D=allowed_gateways","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","{{accountId}}","invoices","invoices","{{invoiceId}}"],"query":[{"key":"include%5B%5D","value":"allowed_gateways"},{"key":"include%5B%5D","value":"attachments","disabled":true},{"key":"include%5B%5D","value":"audit_logs","disabled":true},{"key":"include%5B%5D","value":"client_audits","disabled":true},{"key":"include%5B%5D","value":"contacts","disabled":true},{"key":"include%5B%5D","value":"invoice_profile","disabled":true},{"key":"include%5B%5D","value":"late_fee","disabled":true},{"key":"include%5B%5D","value":"late_reminders","disabled":true},{"key":"include%5B%5D","value":"lines","disabled":true},{"key":"include%5B%5D","value":"owner","disabled":true},{"key":"include%5B%5D","value":"payment_schedule","disabled":true},{"key":"include%5B%5D","value":"presentation","disabled":true},{"key":"include%5B%5D","value":"system","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGEQoLVhRXUVdXEUkJTQBPAFZQBQ9QU1QICwFSUVYbBQ5KRgBXVVBQUgECUwtRCV4GAgdHFQdQDUAHOQ=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Sun, 29 Apr 2018 20:40:12 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Mon, 29 Apr 2019 20:40:12 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17322-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"invoice\": {\n                \"accountid\": \"wkMd2g\",\n                \"accounting_systemid\": \"wkMd2g\",\n                \"address\": \"\",\n                \"allowed_gateways\": [\n                    {\n                        \"allowedid\": 49046,\n                        \"connectionid\": \"1074c55d95cd470eb0b60a2f4ffad68c\",\n                        \"gateway_name\": \"fbpay\",\n                        \"gatewayid\": 30,\n                        \"id\": 49046\n                    }\n                ],\n                \"amount\": {\n                    \"amount\": \"180.00\",\n                    \"code\": \"USD\"\n                },\n                \"auto_bill\": false,\n                \"autobill_status\": null,\n                \"basecampid\": 0,\n                \"city\": \"\",\n                \"code\": \"\",\n                \"country\": \"Canada\",\n                \"create_date\": \"2019-04-20\",\n                \"created_at\": \"2019-04-29 16:27:57\",\n                \"currency_code\": \"USD\",\n                \"current_organization\": \"first company\",\n                \"customerid\": 31006,\n                \"date_paid\": null,\n                \"deposit_amount\": null,\n                \"deposit_percentage\": null,\n                \"deposit_status\": \"none\",\n                \"description\": \"\",\n                \"discount_description\": null,\n                \"discount_total\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"discount_value\": \"0\",\n                \"display_status\": \"draft\",\n                \"dispute_status\": null,\n                \"due_date\": \"2019-04-20\",\n                \"due_offset_days\": 0,\n                \"estimateid\": 0,\n                \"ext_archive\": 0,\n                \"fname\": \"Nicolas\",\n                \"fulfillment_date\": null,\n                \"generation_date\": null,\n                \"gmail\": false,\n                \"id\": 45232,\n                \"invoice_number\": \"0000020\",\n                \"invoiceid\": 45232,\n                \"language\": \"en\",\n                \"last_order_status\": null,\n                \"lname\": \"one\",\n                \"notes\": \"\",\n                \"organization\": \"first company\",\n                \"outstanding\": {\n                    \"amount\": \"180.00\",\n                    \"code\": \"USD\"\n                },\n                \"ownerid\": 1,\n                \"paid\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"parent\": 0,\n                \"payment_details\": \"\",\n                \"payment_status\": \"unpaid\",\n                \"po_number\": null,\n                \"province\": \"\",\n                \"return_uri\": null,\n                \"sentid\": 1,\n                \"show_attachments\": true,\n                \"status\": 1,\n                \"street\": \"\",\n                \"street2\": \"\",\n                \"template\": \"clean-grouped\",\n                \"terms\": \"\",\n                \"updated\": \"2019-04-29 16:40:12\",\n                \"v3_status\": \"draft\",\n                \"vat_name\": \"\",\n                \"vat_number\": \"\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"},{"id":"fdad4c56-85e9-41aa-a7cb-36de992c1291","name":"Toggle Online Payments on Invoice - Stripe ","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"invoice\": {\n\t\t\"allowed_gatewayids\": [26]\n\t}\n}"},"url":{"raw":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices/{{invoiceId}}?include%5B%5D=allowed_gateways","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","{{accountId}}","invoices","invoices","{{invoiceId}}"],"query":[{"key":"include%5B%5D","value":"allowed_gateways"},{"key":"include%5B%5D","value":"attachments","disabled":true},{"key":"include%5B%5D","value":"audit_logs","disabled":true},{"key":"include%5B%5D","value":"client_audits","disabled":true},{"key":"include%5B%5D","value":"contacts","disabled":true},{"key":"include%5B%5D","value":"invoice_profile","disabled":true},{"key":"include%5B%5D","value":"late_fee","disabled":true},{"key":"include%5B%5D","value":"late_reminders","disabled":true},{"key":"include%5B%5D","value":"lines","disabled":true},{"key":"include%5B%5D","value":"owner","disabled":true},{"key":"include%5B%5D","value":"payment_schedule","disabled":true},{"key":"include%5B%5D","value":"presentation","disabled":true},{"key":"include%5B%5D","value":"system","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGEQoLVhRXUVdXEUkJTQFPAVtRAQZSUFULAgBVUFsBAhtSXR0UAwdSU1cCVwgEXQ0HAAFTC0MdB1IOF1Nq"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Sun, 29 Apr 2018 20:40:47 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Mon, 29 Apr 2019 20:40:47 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17322-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"invoice\": {\n                \"accountid\": \"wkMd2g\",\n                \"accounting_systemid\": \"wkMd2g\",\n                \"address\": \"\",\n                \"allowed_gateways\": [\n                    {\n                        \"allowedid\": 49050,\n                        \"connectionid\": \"b5d4f07757ff444db095d4854b8f3bc6\",\n                        \"gateway_name\": \"stripe\",\n                        \"gatewayid\": 26,\n                        \"id\": 49050\n                    }\n                ],\n                \"amount\": {\n                    \"amount\": \"180.00\",\n                    \"code\": \"USD\"\n                },\n                \"auto_bill\": false,\n                \"autobill_status\": null,\n                \"basecampid\": 0,\n                \"city\": \"\",\n                \"code\": \"\",\n                \"country\": \"Canada\",\n                \"create_date\": \"2019-04-20\",\n                \"created_at\": \"2019-04-29 16:27:57\",\n                \"currency_code\": \"USD\",\n                \"current_organization\": \"first company\",\n                \"customerid\": 31006,\n                \"date_paid\": null,\n                \"deposit_amount\": null,\n                \"deposit_percentage\": null,\n                \"deposit_status\": \"none\",\n                \"description\": \"\",\n                \"discount_description\": null,\n                \"discount_total\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"discount_value\": \"0\",\n                \"display_status\": \"draft\",\n                \"dispute_status\": null,\n                \"due_date\": \"2019-04-20\",\n                \"due_offset_days\": 0,\n                \"estimateid\": 0,\n                \"ext_archive\": 0,\n                \"fname\": \"Nicolas\",\n                \"fulfillment_date\": null,\n                \"generation_date\": null,\n                \"gmail\": false,\n                \"id\": 45232,\n                \"invoice_number\": \"0000020\",\n                \"invoiceid\": 45232,\n                \"language\": \"en\",\n                \"last_order_status\": null,\n                \"lname\": \"one\",\n                \"notes\": \"\",\n                \"organization\": \"first company\",\n                \"outstanding\": {\n                    \"amount\": \"180.00\",\n                    \"code\": \"USD\"\n                },\n                \"ownerid\": 1,\n                \"paid\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"parent\": 0,\n                \"payment_details\": \"\",\n                \"payment_status\": \"unpaid\",\n                \"po_number\": null,\n                \"province\": \"\",\n                \"return_uri\": null,\n                \"sentid\": 1,\n                \"show_attachments\": true,\n                \"status\": 1,\n                \"street\": \"\",\n                \"street2\": \"\",\n                \"template\": \"clean-grouped\",\n                \"terms\": \"\",\n                \"updated\": \"2019-04-29 16:40:47\",\n                \"v3_status\": \"draft\",\n                \"vat_name\": \"\",\n                \"vat_number\": \"\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"76ffc8fe-da99-4bb4-a0c0-0f012a6d63c7"},{"name":"Get default invoice presentation styles","id":"9edc684c-55b5-4c7c-9790-347947ee8af3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/presentations","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","invoices","presentations"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"0314c0c2-b428-4e8d-8f49-f962010069b9","name":"Get default invoice presentation styles","originalRequest":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/presentations"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNX0BcCwUGEQoLVhRXUVdXQxdcElQPRwMQX1gPFUEUAxxUT1MHBAVSVAkEAlpVW1EHWgFOFQkYEAIEDFMIAgQAXFcCUlABDQsSSAcDW0JSOw=="},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1558636751"},{"key":"Retry-After","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Wed, 23 May 2018 18:38:13 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 23 May 2019 18:38:13 GMT"},{"key":"Age","value":"0"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17381-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"presentation\": {\n                \"date_format\": \"mm/dd/yyyy\",\n                \"description_heading\": null,\n                \"hours_heading\": null,\n                \"image_banner_position_y\": 0,\n                \"image_banner_src\": null,\n                \"image_logo_src\": \"/uploads/images/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50Ijo0MjM2NDEwLCJvcmlnaW5hbF9maWxlbmFtZSI6InBpenphZG90bmV0LmpwZyIsImxlbmd0aCI6MTA2MDM3LCJmaWxlbmFtZSI6InVwbG9hZC0xM2UwMmRiYzI2ZWEyMmQzYTJmZmY3ZmZmYWUwZjZjMzE5MzUxMWQ4IiwiYnVja2V0IjoidXBsb2FkcyIsImtleSI6Iidkb2NzLSctNDIzNjQxMC91cGxvYWQtMTNlMDJkYmMyNmVhMjJkM2EyZmZmN2ZmZmFlMGY2YzMxOTM1MTFkOCJ9.d7YhBtzuxdiglt5d6eUVZc_dORsnOAJuDx1XvYj2utg\",\n                \"invoiceid\": 99748,\n                \"item_heading\": null,\n                \"label\": null,\n                \"quantity_heading\": null,\n                \"rate_heading\": null,\n                \"task_heading\": null,\n                \"theme_font_name\": \"modern\",\n                \"theme_layout\": \"simple\",\n                \"theme_primary_color\": \"#663399\",\n                \"time_entry_notes_heading\": null,\n                \"unit_cost_heading\": null\n            }\n        }\n    }\n}"}],"_postman_id":"9edc684c-55b5-4c7c-9790-347947ee8af3"}],"id":"ed0d6169-2e80-4c93-b1a6-dcee93419297","description":"<h2 id=\"general-info\">General Info</h2>\n<p>Invoices in FreshBooks are what get sent to Clients, detailing specific goods or services performed or provided by the Administrator of their System, and the amount that Client owes to the Admin.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Status</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>0</td>\n<td>Disputed</td>\n<td>An Invoice with the Dispute option enabled, which has been disputed by a Client. This is a feature of FreshBooks Classic only.</td>\n</tr>\n<tr>\n<td>1</td>\n<td>Draft</td>\n<td>An Invoice that has been created, but not yet sent.</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Sent</td>\n<td>An Invoice that has been sent to a Client or marked as sent by the Admin.</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Viewed</td>\n<td>An Invoice that has been viewed by a Client.</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Paid</td>\n<td>A fully paid Invoice.</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Auto Paid</td>\n<td>An Invoice paid automatically with a saved credit card.</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Retry</td>\n<td>An Invoice that would normally be paid automatically, but encountered a processing issue, either due to a bad card or a service outage. It will be retried 1 day later.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"v3-statuses\">v3 Statuses</h2>\n<p>v3 status fields give a descriptive name to states which can be used in filters, and apply to many invoices, estimates, and recurring profiles.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Value</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>created</td>\n<td>object is created and in no other state</td>\n</tr>\n<tr>\n<td>draft</td>\n<td>object is saved in draft status</td>\n</tr>\n<tr>\n<td>sent</td>\n<td>object has been sent</td>\n</tr>\n<tr>\n<td>viewed</td>\n<td>object has been viewed by receipient</td>\n</tr>\n<tr>\n<td>failed</td>\n<td>an autobill related to the object has been tried more than once and failed</td>\n</tr>\n<tr>\n<td>retry</td>\n<td>an autobill related to the object has been tried once and failed, and will be retried</td>\n</tr>\n<tr>\n<td>success</td>\n<td>an autobill related to the object has succeeded</td>\n</tr>\n<tr>\n<td>autopaid</td>\n<td>a payment has been tied to the object automatically via autobill</td>\n</tr>\n<tr>\n<td>paid</td>\n<td>payments related to the object have succeeded and the object is fully paid</td>\n</tr>\n<tr>\n<td>partial</td>\n<td>some payment related to the object has succeeded but the invoice is not yet paid off</td>\n</tr>\n<tr>\n<td>disputed</td>\n<td>the object is disputed</td>\n</tr>\n<tr>\n<td>resolved</td>\n<td>the object was disputed and the dispute has been marked as resolved</td>\n</tr>\n<tr>\n<td>overdue</td>\n<td>the object required an action at an earlier date that was not met</td>\n</tr>\n<tr>\n<td>deposit-partial</td>\n<td>the object has a related deposit which has been partially paid</td>\n</tr>\n<tr>\n<td>deposit-paid</td>\n<td>the object has a related deposit which has been fully paid</td>\n</tr>\n<tr>\n<td>declined</td>\n<td>the object has a related order which has been declined</td>\n</tr>\n<tr>\n<td>pending</td>\n<td>the object has a related order which is pending</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Failed</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Partial</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"8eed8330-da8e-4d20-9f6e-becf4b9b820e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"411728f5-7a63-48e6-9d70-4ccc2fa04af9","type":"text/javascript","exec":[""]}}],"_postman_id":"ed0d6169-2e80-4c93-b1a6-dcee93419297","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Expenses","item":[{"name":"Upload Expense Receipt Image","item":[{"name":"Upload Receipt Image","event":[{"listen":"test","script":{"id":"2f511603-572a-4798-9bf6-6cb96bf85db2","exec":["let jsonData = JSON.parse(responseBody); ","pm.environment.set(\"uploadImg\", \"\\'\" + jsonData.image.jwt + \"\\\"\")"],"type":"text/javascript"}}],"id":"bb9bb8f5-f85b-4073-97c5-78c115524cba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"content","type":"file","value":null}]},"url":"https://api.freshbooks.com/uploads/account/{{accountId}}/images","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["uploads","account","{{accountId}}","images"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"ace0b1c0-008b-4d85-923b-a5bd101a687d","name":"Upload Logo","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"multipart/form-data","type":"text","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"content","type":"file"}]},"url":"https://api.freshbooks.com/uploads/account/{{accountId}}/images"},"status":"CREATED","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1902.2.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllRBQIEU1UTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4TE1RcUQATTEVURAkRQ1VWEUgKD1EFXRECUVlTVABKE1QSXBcWVVJDSlMUAh5UV1AGAwNfUgYDBFdWVFECTgtSDwoMCh9HX1IJVAIGUlIHVFQHXAoJBUNOUVBbFQFs"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 17:11:52 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Content-Length","value":"1324"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 17:11:52 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17356-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"image\": {\n        \"jwt\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50Ijo0MjM2NDEwLCJvcmlnaW5hbF9maWxlbmFtZSI6InRvcm9udG8tc2t5bGluZS5qcGciLCJidWNrZXQiOiJ1cGxvYWRzIiwiZmlsZW5hbWUiOiJ1cGxvYWQtOTE5ODE2MGY5NGNhMjk3ZTE3NGE2MDJmNDA4OTlhM2M5Zjc2MDk5ZCIsImxlbmd0aCI6MzA3MDY4LCJrZXkiOiInZG9jcy0nLTQyMzY0MTAvdXBsb2FkLTkxOTgxNjBmOTRjYTI5N2UxNzRhNjAyZjQwODk5YTNjOWY3NjA5OWQifQ.yAfSd2cIAf2GONitgBmimMCHxvH9OYij7g0WMsiLsaE\",\n        \"public_id\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50Ijo0MjM2NDEwLCJvcmlnaW5hbF9maWxlbmFtZSI6InRvcm9udG8tc2t5bGluZS5qcGciLCJidWNrZXQiOiJ1cGxvYWRzIiwiZmlsZW5hbWUiOiJ1cGxvYWQtOTE5ODE2MGY5NGNhMjk3ZTE3NGE2MDJmNDA4OTlhM2M5Zjc2MDk5ZCIsImxlbmd0aCI6MzA3MDY4LCJrZXkiOiInZG9jcy0nLTQyMzY0MTAvdXBsb2FkLTkxOTgxNjBmOTRjYTI5N2UxNzRhNjAyZjQwODk5YTNjOWY3NjA5OWQifQ.yAfSd2cIAf2GONitgBmimMCHxvH9OYij7g0WMsiLsaE\",\n        \"filename\": \"upload-9198160f94ca297e174a602f40899a3c9f76099d\"\n    },\n    \"link\": \"https://my.freshbooks.com/service/uploads/images/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50Ijo0MjM2NDEwLCJvcmlnaW5hbF9maWxlbmFtZSI6InRvcm9udG8tc2t5bGluZS5qcGciLCJidWNrZXQiOiJ1cGxvYWRzIiwiZmlsZW5hbWUiOiJ1cGxvYWQtOTE5ODE2MGY5NGNhMjk3ZTE3NGE2MDJmNDA4OTlhM2M5Zjc2MDk5ZCIsImxlbmd0aCI6MzA3MDY4LCJrZXkiOiInZG9jcy0nLTQyMzY0MTAvdXBsb2FkLTkxOTgxNjBmOTRjYTI5N2UxNzRhNjAyZjQwODk5YTNjOWY3NjA5OWQifQ.yAfSd2cIAf2GONitgBmimMCHxvH9OYij7g0WMsiLsaE\"\n}"}],"_postman_id":"bb9bb8f5-f85b-4073-97c5-78c115524cba"}],"id":"f9c5cbf7-992b-40f7-adc4-33cc0ec30e56","description":"<p>This is used to upload expense receipts, company logos, or other images that need to be attached to items.</p>\n","event":[{"listen":"prerequest","script":{"id":"dc29edd8-12de-4527-a596-f847ea9c1d1b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6e2f48bd-dce1-4360-b2ea-b1e5e703a2a2","type":"text/javascript","exec":[""]}}],"_postman_id":"f9c5cbf7-992b-40f7-adc4-33cc0ec30e56","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Bills (Beta)","item":[{"name":"Get Bills","event":[{"listen":"test","script":{"id":"a034aa8c-f84b-4766-b141-683b8477804e","exec":["let jsonData = JSON.parse(responseBody);","pm.environment.set(\"billId\", jsonData.response.result.bills[0].id)"],"type":"text/javascript"}}],"id":"e4baa13e-f332-43ca-825d-d6db32adecf4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/bills/bills?search[issue_date_min]=2021-10-09&search[issue_date_max]=2021-11-09&search[vendorid]=123","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","bills","bills"],"host":["api","freshbooks","com"],"query":[{"key":"search[issue_date_min]","value":"2021-10-09"},{"key":"search[issue_date_max]","value":"2021-11-09"},{"disabled":true,"key":"search[currency_code]","value":"CAD"},{"key":"search[vendorid]","value":"123"}],"variable":[]}},"response":[{"id":"e1bc2566-99e0-45dc-8e39-6b99877bc30d","name":"https://api.freshbooks.com/accounting/account/{{accountId}}/bill_vendors/bill_vendors","originalRequest":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/bill_vendors/bill_vendors"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 09 Oct 2020 15:19:07 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gGWFpfPRAGDFQNShECWl1eXxNcD1UOQRFGGgdNVk0LBQlRU1sOBwVTVwgABFBeVk4dUxRACVxRAFIGC1QHBAdaV1RWA0RPXlJcFwQ/"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self'"},{"key":"X-Content-Security-Policy","value":"default-src 'self'"},{"key":"Strict-Transport-Security","value":"max-age=31556926; includeSubDomains; preload"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"X-RateLimit-Reset","value":"1602256808"},{"key":"Retry-After","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"bill_vendors\": [\n                {\n                    \"account_number\": \"8394858982590\",\n                    \"city\": null,\n                    \"country\": null,\n                    \"created_at\": \"2020-10-06 14:20:20\",\n                    \"currency_code\": \"CAD\",\n                    \"is_1099\": false,\n                    \"language\": \"en\",\n                    \"outstanding_balance\": [\n                        {\n                            \"amount\": {\n                                \"amount\": \"5.00\",\n                                \"code\": \"CAD\"\n                            }\n                        }\n                    ],\n                    \"overdue_balance\": [],\n                    \"phone\": \"8335970553\",\n                    \"postal_code\": null,\n                    \"primary_contact_email\": \"hdavid@freshbooks.com\",\n                    \"primary_contact_first_name\": \"Hannah\",\n                    \"primary_contact_last_name\": \"David\",\n                    \"province\": null,\n                    \"street\": null,\n                    \"street2\": null,\n                    \"tax_defaults\": [\n                        {\n                            \"amount\": \"13.56\",\n                            \"created_at\": \"2020-10-06 14:23:06\",\n                            \"enabled\": true,\n                            \"name\": \"GST\",\n                            \"system_taxid\": 36859,\n                            \"tax_authorityid\": null,\n                            \"taxid\": 1,\n                            \"updated_at\": \"2020-10-06 14:23:06\",\n                            \"vendorid\": 1\n                        },\n                        {\n                            \"amount\": \"13\",\n                            \"created_at\": \"2020-10-06 14:23:06\",\n                            \"enabled\": true,\n                            \"name\": \"HST\",\n                            \"system_taxid\": 37696,\n                            \"tax_authorityid\": null,\n                            \"taxid\": 3,\n                            \"updated_at\": \"2020-10-06 14:23:06\",\n                            \"vendorid\": 1\n                        }\n                    ],\n                    \"updated_at\": \"2020-10-06 14:22:49\",\n                    \"vendor_name\": \"Staples\",\n                    \"vendorid\": 1,\n                    \"vis_state\": 0,\n                    \"website\": null\n                }\n            ],\n            \"page\": 1,\n            \"pages\": 1,\n            \"per_page\": 15,\n            \"total\": 1\n        }\n    }\n}"}],"_postman_id":"e4baa13e-f332-43ca-825d-d6db32adecf4"},{"name":"Add Bill from Vendor","id":"c88afaed-ef60-4f4e-8192-3be839f7a3d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"bill\": {\n        \"vendorid\": \"5\",\n        \"previous_vendor_id\": null,\n        \"bill_number\": null,\n        \"issue_date\": \"2020-10-09\",\n        \"due_offset_days\": 39,\n        \"currency_code\": \"USD\",\n        \"language\": \"en\",\n        \"lines\": [\n            {\n                \"tax_percent1\": null,\n                \"tax_percent2\": null,\n                \"unit_cost\": {\n                    \"amount\": \"125\",\n                    \"code\": \"USD\"\n                },\n                \"description\": \"Malm Side Table\",\n                \"tax_name1\": null,\n                \"quantity\": 1,\n                \"tax_name2\": null,\n                \"compounded_tax\": false,\n                \"categoryid\": \"65773\"\n            },\n            {\n                \"tax_percent1\": null,\n                \"tax_percent2\": null,\n                \"unit_cost\": {\n                    \"amount\": \"250\",\n                    \"code\": \"USD\"\n                },\n                \"description\": \"Malm Book Shelf\",\n                \"tax_name1\": null,\n                \"quantity\": 1,\n                \"tax_name2\": null,\n                \"compounded_tax\": false,\n                \"categoryid\": \"65773\"\n            }\n        ],\n        \"attachment\": null\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/bills/bills","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","bills","bills"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"98223cbc-79ba-4bd3-b2b5-e3e70ae3a146","name":"Add Bill from Vendor","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"bill\": {\n        \"vendorid\": \"5\",\n        \"previous_vendor_id\": null,\n        \"bill_number\": null,\n        \"issue_date\": \"2020-10-09\",\n        \"due_offset_days\": 39,\n        \"currency_code\": \"USD\",\n        \"language\": \"en\",\n        \"lines\": [\n            {\n                \"tax_percent1\": null,\n                \"tax_percent2\": null,\n                \"unit_cost\": {\n                    \"amount\": \"125\",\n                    \"code\": \"USD\"\n                },\n                \"description\": \"Malm Side Table\",\n                \"tax_name1\": null,\n                \"quantity\": 1,\n                \"tax_name2\": null,\n                \"compounded_tax\": false,\n                \"categoryid\": \"65773\"\n            },\n            {\n                \"tax_percent1\": null,\n                \"tax_percent2\": null,\n                \"unit_cost\": {\n                    \"amount\": \"250\",\n                    \"code\": \"USD\"\n                },\n                \"description\": \"Malm Book Shelf\",\n                \"tax_name1\": null,\n                \"quantity\": 1,\n                \"tax_name2\": null,\n                \"compounded_tax\": false,\n                \"categoryid\": \"65773\"\n            }\n        ],\n        \"attachment\": null\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/bills/bills"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 09 Oct 2020 15:28:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gGWFpfEVwBC1wOS0AUCBgCHVEKVwVWBVZSDwdSX1oJBBxVU1IBHRVVAgYGVQRQVQAAV11UCVwDEB8DWA1CBG4="},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self'"},{"key":"X-Content-Security-Policy","value":"default-src 'self'"},{"key":"Strict-Transport-Security","value":"max-age=31556926; includeSubDomains; preload"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"X-RateLimit-Reset","value":"1602257389"},{"key":"Retry-After","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"bill\": {\n                \"amount\": {\n                    \"amount\": \"375.00\",\n                    \"code\": \"USD\"\n                },\n                \"attachment\": null,\n                \"bill_number\": null,\n                \"bill_payments\": [],\n                \"created_at\": \"2020-10-09 15:28:49\",\n                \"currency_code\": \"USD\",\n                \"due_date\": \"2020-11-17\",\n                \"due_offset_days\": 39,\n                \"id\": 7,\n                \"issue_date\": \"2020-10-09\",\n                \"language\": \"en\",\n                \"lines\": [\n                    {\n                        \"amount\": {\n                            \"amount\": \"125.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"category\": {\n                            \"category\": \"Office Expenses & Postage\",\n                            \"categoryid\": 65773,\n                            \"created_at\": \"2016-11-17 14:22:35\",\n                            \"id\": 65773,\n                            \"is_cogs\": false,\n                            \"is_editable\": false,\n                            \"parentid\": null,\n                            \"updated_at\": \"2016-11-17 14:22:35\",\n                            \"vis_state\": 0\n                        },\n                        \"description\": \"Malm Side Table\",\n                        \"id\": 13,\n                        \"list_index\": 1,\n                        \"quantity\": \"1\",\n                        \"tax_amount1\": null,\n                        \"tax_amount2\": null,\n                        \"tax_authorityid1\": null,\n                        \"tax_authorityid2\": null,\n                        \"tax_name1\": null,\n                        \"tax_name2\": null,\n                        \"tax_percent1\": null,\n                        \"tax_percent2\": null,\n                        \"total_amount\": {\n                            \"amount\": \"125.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"unit_cost\": {\n                            \"amount\": \"125.00\",\n                            \"code\": \"USD\"\n                        }\n                    },\n                    {\n                        \"amount\": {\n                            \"amount\": \"250.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"category\": {\n                            \"category\": \"Office Expenses & Postage\",\n                            \"categoryid\": 65773,\n                            \"created_at\": \"2016-11-17 14:22:35\",\n                            \"id\": 65773,\n                            \"is_cogs\": false,\n                            \"is_editable\": false,\n                            \"parentid\": null,\n                            \"updated_at\": \"2016-11-17 14:22:35\",\n                            \"vis_state\": 0\n                        },\n                        \"description\": \"Malm Book Shelf\",\n                        \"id\": 15,\n                        \"list_index\": 2,\n                        \"quantity\": \"1\",\n                        \"tax_amount1\": null,\n                        \"tax_amount2\": null,\n                        \"tax_authorityid1\": null,\n                        \"tax_authorityid2\": null,\n                        \"tax_name1\": null,\n                        \"tax_name2\": null,\n                        \"tax_percent1\": null,\n                        \"tax_percent2\": null,\n                        \"total_amount\": {\n                            \"amount\": \"250.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"unit_cost\": {\n                            \"amount\": \"250.00\",\n                            \"code\": \"USD\"\n                        }\n                    }\n                ],\n                \"outstanding\": {\n                    \"amount\": \"375.00\",\n                    \"code\": \"USD\"\n                },\n                \"overall_category\": \"Office Expenses & Postage\",\n                \"overall_description\": \"Malm Side Table\",\n                \"paid\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"status\": \"unpaid\",\n                \"tax_amount\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"total_amount\": {\n                    \"amount\": \"375.00\",\n                    \"code\": \"USD\"\n                },\n                \"updated_at\": \"2020-10-09 15:28:49\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"},{"id":"9c3be4e0-e8ed-4ac6-adc4-a80c04989bfe","name":"Add Bill from Vendor","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"bill\": {\n        \"vendorid\": \"5\",\n        \"previous_vendor_id\": null,\n        \"bill_number\": null,\n        \"issue_date\": \"2020-10-09\",\n        \"due_offset_days\": 39,\n        \"currency_code\": \"USD\",\n        \"language\": \"en\",\n        \"lines\": [\n            {\n                \"tax_percent1\": null,\n                \"tax_percent2\": null,\n                \"unit_cost\": {\n                    \"amount\": \"125\",\n                    \"code\": \"USD\"\n                },\n                \"description\": \"Malm Side Table\",\n                \"tax_name1\": null,\n                \"quantity\": 1,\n                \"tax_name2\": null,\n                \"compounded_tax\": false,\n                \"categoryid\": \"65773\"\n            },\n            {\n                \"tax_percent1\": null,\n                \"tax_percent2\": null,\n                \"unit_cost\": {\n                    \"amount\": \"250\",\n                    \"code\": \"USD\"\n                },\n                \"description\": \"Malm Book Shelf\",\n                \"tax_name1\": null,\n                \"quantity\": 1,\n                \"tax_name2\": null,\n                \"compounded_tax\": false,\n                \"categoryid\": \"65773\"\n            }\n        ],\n        \"attachment\": null\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/bills/bills"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 09 Oct 2020 15:28:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gGWFpfEVwBC1wOS0AUCBgCHVEKVwVWBVZSDwdSX1oJBBxVU1IBHRVVAgYGVQRQVQAAV11UCVwDEB8DWA1CBG4="},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self'"},{"key":"X-Content-Security-Policy","value":"default-src 'self'"},{"key":"Strict-Transport-Security","value":"max-age=31556926; includeSubDomains; preload"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"X-RateLimit-Reset","value":"1602257389"},{"key":"Retry-After","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"bill\": {\n                \"amount\": {\n                    \"amount\": \"375.00\",\n                    \"code\": \"USD\"\n                },\n                \"attachment\": null,\n                \"bill_number\": null,\n                \"bill_payments\": [],\n                \"created_at\": \"2020-10-09 15:28:49\",\n                \"currency_code\": \"USD\",\n                \"due_date\": \"2020-11-17\",\n                \"due_offset_days\": 39,\n                \"id\": 7,\n                \"issue_date\": \"2020-10-09\",\n                \"language\": \"en\",\n                \"lines\": [\n                    {\n                        \"amount\": {\n                            \"amount\": \"125.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"category\": {\n                            \"category\": \"Office Expenses & Postage\",\n                            \"categoryid\": 65773,\n                            \"created_at\": \"2016-11-17 14:22:35\",\n                            \"id\": 65773,\n                            \"is_cogs\": false,\n                            \"is_editable\": false,\n                            \"parentid\": null,\n                            \"updated_at\": \"2016-11-17 14:22:35\",\n                            \"vis_state\": 0\n                        },\n                        \"description\": \"Malm Side Table\",\n                        \"id\": 13,\n                        \"list_index\": 1,\n                        \"quantity\": \"1\",\n                        \"tax_amount1\": null,\n                        \"tax_amount2\": null,\n                        \"tax_authorityid1\": null,\n                        \"tax_authorityid2\": null,\n                        \"tax_name1\": null,\n                        \"tax_name2\": null,\n                        \"tax_percent1\": null,\n                        \"tax_percent2\": null,\n                        \"total_amount\": {\n                            \"amount\": \"125.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"unit_cost\": {\n                            \"amount\": \"125.00\",\n                            \"code\": \"USD\"\n                        }\n                    },\n                    {\n                        \"amount\": {\n                            \"amount\": \"250.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"category\": {\n                            \"category\": \"Office Expenses & Postage\",\n                            \"categoryid\": 65773,\n                            \"created_at\": \"2016-11-17 14:22:35\",\n                            \"id\": 65773,\n                            \"is_cogs\": false,\n                            \"is_editable\": false,\n                            \"parentid\": null,\n                            \"updated_at\": \"2016-11-17 14:22:35\",\n                            \"vis_state\": 0\n                        },\n                        \"description\": \"Malm Book Shelf\",\n                        \"id\": 15,\n                        \"list_index\": 2,\n                        \"quantity\": \"1\",\n                        \"tax_amount1\": null,\n                        \"tax_amount2\": null,\n                        \"tax_authorityid1\": null,\n                        \"tax_authorityid2\": null,\n                        \"tax_name1\": null,\n                        \"tax_name2\": null,\n                        \"tax_percent1\": null,\n                        \"tax_percent2\": null,\n                        \"total_amount\": {\n                            \"amount\": \"250.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"unit_cost\": {\n                            \"amount\": \"250.00\",\n                            \"code\": \"USD\"\n                        }\n                    }\n                ],\n                \"outstanding\": {\n                    \"amount\": \"375.00\",\n                    \"code\": \"USD\"\n                },\n                \"overall_category\": \"Office Expenses & Postage\",\n                \"overall_description\": \"Malm Side Table\",\n                \"paid\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"status\": \"unpaid\",\n                \"tax_amount\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"total_amount\": {\n                    \"amount\": \"375.00\",\n                    \"code\": \"USD\"\n                },\n                \"updated_at\": \"2020-10-09 15:28:49\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"c88afaed-ef60-4f4e-8192-3be839f7a3d5"},{"name":"Add Payment to Bill","event":[{"listen":"test","script":{"id":"23045868-6adf-4601-9eb9-32db67aa0fcc","exec":["let jsonData = JSON.parse(responseBody);","pm.environment.set(\"billPaymentId\", jsonData.response.result.bill_payment.id)"],"type":"text/javascript"}}],"id":"3f3a0604-3b04-4b13-9222-c1f9ad4f6fe0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"bill_payment\": {\n        \"billid\": \"7\",\n        \"amount\": {\n            \"amount\": \"375\",\n            \"code\": \"USD\"\n        },\n        \"payment_type\": \"Check\",\n        \"paid_date\": \"2020-10-09\",\n        \"note\": \"\",\n        \"bill\": null\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/bill_payments/bill_payments","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","bill_payments","bill_payments"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"509661de-ad9a-4823-8d5a-ceefc4ea949c","name":"Add Payment to Bill","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"bill_payment\": {\n        \"billid\": {{billId}},\n        \"amount\": {\n            \"amount\": \"100\",\n            \"code\": \"EUR\"\n        },\n        \"payment_type\": \"Check\",\n        \"paid_date\": \"2021-01-30\",\n        \"note\": \"\",\n        \"bill\": null\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/bill_payments/bill_payments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 28 Jan 2021 19:48:34 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gGWFpfPRYCG10HVhZLAlZbXwlJAEgMVgwQRRVNVk8IHQFTUlcOBAFQUgkOBlFRVlsITgpXCBQWBQBVDwcAAlFXAFIGUwcFDREcAgAORFRq"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self'"},{"key":"X-Content-Security-Policy","value":"default-src 'self'"},{"key":"Strict-Transport-Security","value":"max-age=31556926; includeSubDomains; preload"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"597"},{"key":"X-RateLimit-Reset","value":"1611863375"},{"key":"Retry-After","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"bill_payment\": {\n                \"amount\": {\n                    \"amount\": \"100.00\",\n                    \"code\": \"EUR\"\n                },\n                \"billid\": 1141,\n                \"id\": 909,\n                \"matched_with_expense\": false,\n                \"note\": \"\",\n                \"paid_date\": \"2021-01-30\",\n                \"payment_type\": \"Check\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"3f3a0604-3b04-4b13-9222-c1f9ad4f6fe0"},{"name":"Edit Payment to Bill","id":"6be201b1-c404-4612-a583-cc87645989bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"bill_payment\": {\n        \"billid\": \"7\",\n        \"amount\": {\n            \"amount\": \"300\",\n            \"code\": \"USD\"\n        },\n        \"payment_type\": \"Check\",\n        \"paid_date\": \"2020-10-09\",\n        \"note\": \"\",\n        \"bill\": \"7\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/bill_payments/bill_payments/{{billPaymentId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","bill_payments","bill_payments","{{billPaymentId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6be201b1-c404-4612-a583-cc87645989bd"},{"name":"Delete Bill","id":"06556038-a371-41ae-bfeb-df40a29c5345","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"bill\": {\n        \"vis_state\": 1\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/bills/bills/{{billId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","bills","bills","{{billId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"b1a7574b-09c3-48be-8a7a-ef9ff15ccf2f","name":"Delete Bill","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"bill\": {\n        \"vis_state\": 1\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/bills/bills/{{billId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 09 Oct 2020 15:41:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gGWFpfEVwBC1wOGk4IFAQcAFEJUQRSA1pVAwZTUlYJAgdIVVQbEwRfUAMGBgRUWlAIUwBQXAAWHlUEVRJUPA=="},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self'"},{"key":"X-Content-Security-Policy","value":"default-src 'self'"},{"key":"Strict-Transport-Security","value":"max-age=31556926; includeSubDomains; preload"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"X-RateLimit-Reset","value":"1602258156"},{"key":"Retry-After","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"bill\": {\n                \"amount\": {\n                    \"amount\": \"5.00\",\n                    \"code\": \"CAD\"\n                },\n                \"attachment\": null,\n                \"bill_number\": null,\n                \"bill_payments\": [],\n                \"created_at\": \"2020-10-07 21:33:27\",\n                \"currency_code\": \"CAD\",\n                \"due_date\": \"2020-11-06\",\n                \"due_offset_days\": 30,\n                \"id\": 3,\n                \"issue_date\": \"2020-10-07\",\n                \"language\": \"en\",\n                \"lines\": [\n                    {\n                        \"amount\": {\n                            \"amount\": \"5.00\",\n                            \"code\": \"CAD\"\n                        },\n                        \"category\": {\n                            \"category\": \"Advertising\",\n                            \"categoryid\": 65688,\n                            \"created_at\": \"2016-11-17 14:22:35\",\n                            \"id\": 65688,\n                            \"is_cogs\": true,\n                            \"is_editable\": false,\n                            \"parentid\": null,\n                            \"updated_at\": \"2020-08-14 12:52:33\",\n                            \"vis_state\": 0\n                        },\n                        \"description\": \"Food\",\n                        \"id\": 5,\n                        \"list_index\": 1,\n                        \"quantity\": \"1\",\n                        \"tax_amount1\": null,\n                        \"tax_amount2\": null,\n                        \"tax_authorityid1\": null,\n                        \"tax_authorityid2\": null,\n                        \"tax_name1\": null,\n                        \"tax_name2\": null,\n                        \"tax_percent1\": null,\n                        \"tax_percent2\": null,\n                        \"total_amount\": {\n                            \"amount\": \"5.00\",\n                            \"code\": \"CAD\"\n                        },\n                        \"unit_cost\": {\n                            \"amount\": \"5.00\",\n                            \"code\": \"CAD\"\n                        }\n                    },\n                    {\n                        \"amount\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"CAD\"\n                        },\n                        \"category\": {\n                            \"category\": \"Advertising\",\n                            \"categoryid\": 65688,\n                            \"created_at\": \"2016-11-17 14:22:35\",\n                            \"id\": 65688,\n                            \"is_cogs\": true,\n                            \"is_editable\": false,\n                            \"parentid\": null,\n                            \"updated_at\": \"2020-08-14 12:52:33\",\n                            \"vis_state\": 0\n                        },\n                        \"description\": null,\n                        \"id\": 7,\n                        \"list_index\": 2,\n                        \"quantity\": \"1\",\n                        \"tax_amount1\": null,\n                        \"tax_amount2\": null,\n                        \"tax_authorityid1\": null,\n                        \"tax_authorityid2\": null,\n                        \"tax_name1\": null,\n                        \"tax_name2\": null,\n                        \"tax_percent1\": null,\n                        \"tax_percent2\": null,\n                        \"total_amount\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"CAD\"\n                        },\n                        \"unit_cost\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"CAD\"\n                        }\n                    }\n                ],\n                \"outstanding\": {\n                    \"amount\": \"5.00\",\n                    \"code\": \"CAD\"\n                },\n                \"overall_category\": \"Advertising\",\n                \"overall_description\": \"Food\",\n                \"paid\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"CAD\"\n                },\n                \"status\": \"unpaid\",\n                \"tax_amount\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"CAD\"\n                },\n                \"total_amount\": {\n                    \"amount\": \"5.00\",\n                    \"code\": \"CAD\"\n                },\n                \"updated_at\": \"2020-10-09 15:41:35\",\n                \"vis_state\": 1\n            }\n        }\n    }\n}"}],"_postman_id":"06556038-a371-41ae-bfeb-df40a29c5345"},{"name":"Archive Bill","id":"e3e5b8d3-f9d2-4c1a-8dee-b0a614152a10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"bill\": {\n        \"vis_state\": 2\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/bills/bills/{{billId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","bills","bills","{{billId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"0226ac66-c2cb-43a7-8469-e41a7104a36c","name":"Delete Bill","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"bill\": {\n        \"vis_state\": 1\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/bills/bills/{{billId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 09 Oct 2020 15:41:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gGWFpfEVwBC1wOGk4IFAQcAFEJUQRSA1pVAwZTUlYJAgdIVVQbEwRfUAMGBgRUWlAIUwBQXAAWHlUEVRJUPA=="},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self'"},{"key":"X-Content-Security-Policy","value":"default-src 'self'"},{"key":"Strict-Transport-Security","value":"max-age=31556926; includeSubDomains; preload"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"X-RateLimit-Reset","value":"1602258156"},{"key":"Retry-After","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"bill\": {\n                \"amount\": {\n                    \"amount\": \"5.00\",\n                    \"code\": \"CAD\"\n                },\n                \"attachment\": null,\n                \"bill_number\": null,\n                \"bill_payments\": [],\n                \"created_at\": \"2020-10-07 21:33:27\",\n                \"currency_code\": \"CAD\",\n                \"due_date\": \"2020-11-06\",\n                \"due_offset_days\": 30,\n                \"id\": 3,\n                \"issue_date\": \"2020-10-07\",\n                \"language\": \"en\",\n                \"lines\": [\n                    {\n                        \"amount\": {\n                            \"amount\": \"5.00\",\n                            \"code\": \"CAD\"\n                        },\n                        \"category\": {\n                            \"category\": \"Advertising\",\n                            \"categoryid\": 65688,\n                            \"created_at\": \"2016-11-17 14:22:35\",\n                            \"id\": 65688,\n                            \"is_cogs\": true,\n                            \"is_editable\": false,\n                            \"parentid\": null,\n                            \"updated_at\": \"2020-08-14 12:52:33\",\n                            \"vis_state\": 0\n                        },\n                        \"description\": \"Food\",\n                        \"id\": 5,\n                        \"list_index\": 1,\n                        \"quantity\": \"1\",\n                        \"tax_amount1\": null,\n                        \"tax_amount2\": null,\n                        \"tax_authorityid1\": null,\n                        \"tax_authorityid2\": null,\n                        \"tax_name1\": null,\n                        \"tax_name2\": null,\n                        \"tax_percent1\": null,\n                        \"tax_percent2\": null,\n                        \"total_amount\": {\n                            \"amount\": \"5.00\",\n                            \"code\": \"CAD\"\n                        },\n                        \"unit_cost\": {\n                            \"amount\": \"5.00\",\n                            \"code\": \"CAD\"\n                        }\n                    },\n                    {\n                        \"amount\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"CAD\"\n                        },\n                        \"category\": {\n                            \"category\": \"Advertising\",\n                            \"categoryid\": 65688,\n                            \"created_at\": \"2016-11-17 14:22:35\",\n                            \"id\": 65688,\n                            \"is_cogs\": true,\n                            \"is_editable\": false,\n                            \"parentid\": null,\n                            \"updated_at\": \"2020-08-14 12:52:33\",\n                            \"vis_state\": 0\n                        },\n                        \"description\": null,\n                        \"id\": 7,\n                        \"list_index\": 2,\n                        \"quantity\": \"1\",\n                        \"tax_amount1\": null,\n                        \"tax_amount2\": null,\n                        \"tax_authorityid1\": null,\n                        \"tax_authorityid2\": null,\n                        \"tax_name1\": null,\n                        \"tax_name2\": null,\n                        \"tax_percent1\": null,\n                        \"tax_percent2\": null,\n                        \"total_amount\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"CAD\"\n                        },\n                        \"unit_cost\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"CAD\"\n                        }\n                    }\n                ],\n                \"outstanding\": {\n                    \"amount\": \"5.00\",\n                    \"code\": \"CAD\"\n                },\n                \"overall_category\": \"Advertising\",\n                \"overall_description\": \"Food\",\n                \"paid\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"CAD\"\n                },\n                \"status\": \"unpaid\",\n                \"tax_amount\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"CAD\"\n                },\n                \"total_amount\": {\n                    \"amount\": \"5.00\",\n                    \"code\": \"CAD\"\n                },\n                \"updated_at\": \"2020-10-09 15:41:35\",\n                \"vis_state\": 1\n            }\n        }\n    }\n}"},{"id":"0dfcc405-de2a-4851-a07e-b1ed9d67dbf2","name":"Archive Bill","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"bill\": {\n        \"vis_state\": 2\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/bills/bills/{{billId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 09 Oct 2020 15:42:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gGWFpfEVwBC1wOGk4IFAQcB1cNVwhXAVJTBgNXU1MACxxQV04VVAQHAQFUBAFRAFVVAFlUDxoYVFIJSgRs"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self'"},{"key":"X-Content-Security-Policy","value":"default-src 'self'"},{"key":"Strict-Transport-Security","value":"max-age=31556926; includeSubDomains; preload"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"598"},{"key":"X-RateLimit-Reset","value":"1602258206"},{"key":"Retry-After","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"bill\": {\n                \"amount\": {\n                    \"amount\": \"5.00\",\n                    \"code\": \"CAD\"\n                },\n                \"attachment\": null,\n                \"bill_number\": null,\n                \"bill_payments\": [],\n                \"created_at\": \"2020-10-07 21:33:27\",\n                \"currency_code\": \"CAD\",\n                \"due_date\": \"2020-11-06\",\n                \"due_offset_days\": 30,\n                \"id\": 3,\n                \"issue_date\": \"2020-10-07\",\n                \"language\": \"en\",\n                \"lines\": [\n                    {\n                        \"amount\": {\n                            \"amount\": \"5.00\",\n                            \"code\": \"CAD\"\n                        },\n                        \"category\": {\n                            \"category\": \"Advertising\",\n                            \"categoryid\": 65688,\n                            \"created_at\": \"2016-11-17 14:22:35\",\n                            \"id\": 65688,\n                            \"is_cogs\": true,\n                            \"is_editable\": false,\n                            \"parentid\": null,\n                            \"updated_at\": \"2020-08-14 12:52:33\",\n                            \"vis_state\": 0\n                        },\n                        \"description\": \"Food\",\n                        \"id\": 5,\n                        \"list_index\": 1,\n                        \"quantity\": \"1\",\n                        \"tax_amount1\": null,\n                        \"tax_amount2\": null,\n                        \"tax_authorityid1\": null,\n                        \"tax_authorityid2\": null,\n                        \"tax_name1\": null,\n                        \"tax_name2\": null,\n                        \"tax_percent1\": null,\n                        \"tax_percent2\": null,\n                        \"total_amount\": {\n                            \"amount\": \"5.00\",\n                            \"code\": \"CAD\"\n                        },\n                        \"unit_cost\": {\n                            \"amount\": \"5.00\",\n                            \"code\": \"CAD\"\n                        }\n                    },\n                    {\n                        \"amount\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"CAD\"\n                        },\n                        \"category\": {\n                            \"category\": \"Advertising\",\n                            \"categoryid\": 65688,\n                            \"created_at\": \"2016-11-17 14:22:35\",\n                            \"id\": 65688,\n                            \"is_cogs\": true,\n                            \"is_editable\": false,\n                            \"parentid\": null,\n                            \"updated_at\": \"2020-08-14 12:52:33\",\n                            \"vis_state\": 0\n                        },\n                        \"description\": null,\n                        \"id\": 7,\n                        \"list_index\": 2,\n                        \"quantity\": \"1\",\n                        \"tax_amount1\": null,\n                        \"tax_amount2\": null,\n                        \"tax_authorityid1\": null,\n                        \"tax_authorityid2\": null,\n                        \"tax_name1\": null,\n                        \"tax_name2\": null,\n                        \"tax_percent1\": null,\n                        \"tax_percent2\": null,\n                        \"total_amount\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"CAD\"\n                        },\n                        \"unit_cost\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"CAD\"\n                        }\n                    }\n                ],\n                \"outstanding\": {\n                    \"amount\": \"5.00\",\n                    \"code\": \"CAD\"\n                },\n                \"overall_category\": \"Advertising\",\n                \"overall_description\": \"Food\",\n                \"paid\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"CAD\"\n                },\n                \"status\": \"unpaid\",\n                \"tax_amount\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"CAD\"\n                },\n                \"total_amount\": {\n                    \"amount\": \"5.00\",\n                    \"code\": \"CAD\"\n                },\n                \"updated_at\": \"2020-10-09 15:42:26\",\n                \"vis_state\": 2\n            }\n        }\n    }\n}"}],"_postman_id":"e3e5b8d3-f9d2-4c1a-8dee-b0a614152a10"}],"id":"83b37e73-97ca-47c1-a985-fdbe42952485","event":[{"listen":"prerequest","script":{"id":"1a7ae31b-6294-48be-8ea6-b5de994266af","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5918d4d0-df5b-4cde-938a-b137998e2b10","type":"text/javascript","exec":[""]}}],"_postman_id":"83b37e73-97ca-47c1-a985-fdbe42952485","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Vendors (Beta)","item":[{"name":"Get Vendors","id":"2b5928e9-45e4-45ee-82b0-00776eaeecd5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountid}}/bill_vendors/bill_vendors","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountid}}","bill_vendors","bill_vendors"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2b5928e9-45e4-45ee-82b0-00776eaeecd5"},{"name":"Add Vendor","id":"2c6f9752-e183-49d1-aacd-fde4122c7cea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"bill_vendor\": {\n        \"vendor_name\": \"IKEA\",\n        \"primary_contact_first_name\": \"Jimmy\",\n        \"primary_contact_last_name\": \"McNamara\",\n        \"primary_contact_email\": \"jmcnamara@ikea.com\",\n        \"primary_contact\": null,\n        \"street\": \"332 Carlton Ave.\",\n        \"street2\": null,\n        \"city\": \"San Francisco\",\n        \"province\": \"California\",\n        \"postal_code\": null,\n        \"country\": \"United States\",\n        \"account_number\": \"45454545\",\n        \"phone\": \"4158859378\",\n        \"website\": \"ikea.com\",\n        \"currency_code\": \"USD\",\n        \"language\": \"en\",\n        \"is_1099\": false,\n        \"tax_defaults\": []\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/bill_vendors/bill_vendors","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","bill_vendors","bill_vendors"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"75b5e262-ef53-402a-a56d-9585e8448dee","name":"Add Vendor","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"bill_vendor\": {\n        \"vendor_name\": \"IKEA\",\n        \"primary_contact_first_name\": \"Jimmy\",\n        \"primary_contact_last_name\": \"McNamara\",\n        \"primary_contact_email\": \"jmcnamara@ikea.com\",\n        \"primary_contact\": null,\n        \"street\": \"332 Carlton Ave.\",\n        \"street2\": null,\n        \"city\": \"San Francisco\",\n        \"province\": \"California\",\n        \"postal_code\": null,\n        \"country\": \"United States\",\n        \"account_number\": \"45454545\",\n        \"phone\": \"4158859378\",\n        \"website\": \"ikea.com\",\n        \"currency_code\": \"USD\",\n        \"language\": \"en\",\n        \"is_1099\": false,\n        \"tax_defaults\": []\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/bill_vendors/bill_vendors"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 09 Oct 2020 15:25:05 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gGWFpfPRAGDFQNShECWl1eXxNcD1UOQRFGGgdNVk0LBwVTVVUOBQBQXQMOBFNXT1QFUxRACl5RBQRRDwMAVwRbVFJSVkRPXlJcFwQ/"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self'"},{"key":"X-Content-Security-Policy","value":"default-src 'self'"},{"key":"Strict-Transport-Security","value":"max-age=31556926; includeSubDomains; preload"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"X-RateLimit-Reset","value":"1602257165"},{"key":"Retry-After","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"bill_vendor\": {\n                \"account_number\": \"45454545\",\n                \"city\": \"San Francisco\",\n                \"country\": \"United States\",\n                \"created_at\": \"2020-10-09 15:25:05\",\n                \"currency_code\": \"USD\",\n                \"is_1099\": false,\n                \"language\": \"en\",\n                \"outstanding_balance\": [],\n                \"overdue_balance\": [],\n                \"phone\": \"4158859378\",\n                \"postal_code\": null,\n                \"primary_contact_email\": \"jmcnamara@ikea.com\",\n                \"primary_contact_first_name\": \"Jimmy\",\n                \"primary_contact_last_name\": \"McNamara\",\n                \"province\": \"California\",\n                \"street\": \"332 Carlton Ave.\",\n                \"street2\": null,\n                \"tax_defaults\": [],\n                \"updated_at\": \"2020-10-09 15:25:05\",\n                \"vendor_name\": \"IKEA\",\n                \"vendorid\": 5,\n                \"vis_state\": 0,\n                \"website\": \"ikea.com\"\n            }\n        }\n    }\n}"}],"_postman_id":"2c6f9752-e183-49d1-aacd-fde4122c7cea"},{"name":"Edit Vendor Details","id":"be9dc198-54f1-47ad-a483-434474d3ef6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"bill_vendor\": {\n        \"vendor_name\": \"IKEA\",\n        \"primary_contact_first_name\": \"Jimmy\",\n        \"primary_contact_last_name\": \"McNamara\",\n        \"primary_contact_email\": \"jimmym@ikea.com\",\n        \"primary_contact\": null,\n        \"street\": \"332 Carlton Ave.\",\n        \"street2\": null,\n        \"city\": \"San Francisco\",\n        \"province\": \"California\",\n        \"postal_code\": null,\n        \"country\": \"United States\",\n        \"account_number\": \"45454545\",\n        \"phone\": \"4158859378\",\n        \"website\": \"ikea.com\",\n        \"currency_code\": \"USD\",\n        \"language\": \"en\",\n        \"is_1099\": false,\n        \"tax_defaults\": []\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/bill_vendors/bill_vendors/{{vendorId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","bill_vendors","bill_vendors","{{vendorId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"1a072e70-8629-48ff-b475-5de0201faaa3","name":"Edit Vendor Details","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"bill_vendor\": {\n        \"vendor_name\": \"IKEA\",\n        \"primary_contact_first_name\": \"Jimmy\",\n        \"primary_contact_last_name\": \"McNamara\",\n        \"primary_contact_email\": \"jimmym@ikea.com\",\n        \"primary_contact\": null,\n        \"street\": \"332 Carlton Ave.\",\n        \"street2\": null,\n        \"city\": \"San Francisco\",\n        \"province\": \"California\",\n        \"postal_code\": null,\n        \"country\": \"United States\",\n        \"account_number\": \"45454545\",\n        \"phone\": \"4158859378\",\n        \"website\": \"ikea.com\",\n        \"currency_code\": \"USD\",\n        \"language\": \"en\",\n        \"is_1099\": false,\n        \"tax_defaults\": []\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/bill_vendors/bill_vendors/{{vendorId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 09 Oct 2020 15:39:09 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gGWFpfPRAGDFQNShECWl1eXxNcD1UOQUBIBhtRSFUICgJcUFcECA5XUggPAVBKVVYIThpWD11XUAJXXAcHAFdQAFNRQ0oFWV9DATw="},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self'"},{"key":"X-Content-Security-Policy","value":"default-src 'self'"},{"key":"Strict-Transport-Security","value":"max-age=31556926; includeSubDomains; preload"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"X-RateLimit-Reset","value":"1602258010"},{"key":"Retry-After","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"bill_vendor\": {\n                \"account_number\": \"45454545\",\n                \"city\": \"San Francisco\",\n                \"country\": \"United States\",\n                \"created_at\": \"2020-10-09 15:25:05\",\n                \"currency_code\": \"USD\",\n                \"is_1099\": false,\n                \"language\": \"en\",\n                \"outstanding_balance\": [\n                    {\n                        \"amount\": {\n                            \"amount\": \"450.00\",\n                            \"code\": \"USD\"\n                        }\n                    }\n                ],\n                \"overdue_balance\": [],\n                \"phone\": \"4158859378\",\n                \"postal_code\": null,\n                \"primary_contact_email\": \"jimmym@ikea.com\",\n                \"primary_contact_first_name\": \"Jimmy\",\n                \"primary_contact_last_name\": \"McNamara\",\n                \"province\": \"California\",\n                \"street\": \"332 Carlton Ave.\",\n                \"street2\": null,\n                \"tax_defaults\": [],\n                \"updated_at\": \"2020-10-09 15:39:10\",\n                \"vendor_name\": \"IKEA\",\n                \"vendorid\": 5,\n                \"vis_state\": 0,\n                \"website\": \"ikea.com\"\n            }\n        }\n    }\n}"}],"_postman_id":"be9dc198-54f1-47ad-a483-434474d3ef6c"},{"name":"Delete Vendor","id":"53a5ee29-f455-4c8f-9c73-f19f64fc2a2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"bill_vendor\": {\n        \"vis_state\": 1\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/bill_vendors/bill_vendors/{{vendorId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","bill_vendors","bill_vendors","{{vendorId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"c34e2455-c058-4c63-adf6-f2cd5aea0eb6","name":"Delete Vendor","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"bill_vendor\": {\n        \"vis_state\": 1\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/bill_vendors/bill_vendors/{{vendorId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 09 Oct 2020 15:52:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gGWFpfPRAGDFQNShECWl1eXxNcD1UOQUBIBhtRSFUJBQFWUlMOCANQVgkPA1RKVlEcQAFWWQhVAwIAW1hSUgJRUg8VTQACVEBVOQ=="},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self'"},{"key":"X-Content-Security-Policy","value":"default-src 'self'"},{"key":"Strict-Transport-Security","value":"max-age=31556926; includeSubDomains; preload"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"X-RateLimit-Reset","value":"1602258810"},{"key":"Retry-After","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"bill_vendor\": {\n                \"account_number\": \"23479\",\n                \"city\": \"Palo Alto\",\n                \"country\": \"United States\",\n                \"created_at\": \"2020-10-09 15:50:10\",\n                \"currency_code\": \"USD\",\n                \"is_1099\": false,\n                \"language\": \"en\",\n                \"outstanding_balance\": [],\n                \"overdue_balance\": [],\n                \"phone\": \"4158331869\",\n                \"postal_code\": null,\n                \"primary_contact_email\": \"dmiller@apple.com\",\n                \"primary_contact_first_name\": \"Dorothy\",\n                \"primary_contact_last_name\": \"Miller\",\n                \"province\": \"California\",\n                \"street\": \"1 Infinite Loop\",\n                \"street2\": null,\n                \"tax_defaults\": [],\n                \"updated_at\": \"2020-10-09 15:52:30\",\n                \"vendor_name\": \"Apple\",\n                \"vendorid\": 7,\n                \"vis_state\": 1,\n                \"website\": \"apple.com\"\n            }\n        }\n    }\n}"}],"_postman_id":"53a5ee29-f455-4c8f-9c73-f19f64fc2a2e"}],"id":"cdce2211-e278-46d0-b585-8b0e12927dde","event":[{"listen":"prerequest","script":{"id":"f0b432fe-6e9d-4712-903e-df27829e68eb","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9ad94c96-e739-4222-9c50-7b60acfb065d","type":"text/javascript","exec":[""]}}],"_postman_id":"cdce2211-e278-46d0-b585-8b0e12927dde","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"List Expenses","event":[{"listen":"test","script":{"id":"e4880eea-78b7-4e13-8631-a206cc0f7ec3","exec":["let jsonData = JSON.parse(responseBody);","pm.environment.set(\"expenseId\", jsonData.response.result.expenses[0].id)"],"type":"text/javascript"}}],"id":"2905088d-fa72-2c7a-c50a-f70bd7dc6e86","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/expenses/expenses?include[]=attachment&include[]=category&include[]=expense_profile&include[]=project&include[]=account","description":"<p>Get all expenses    </p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","expenses","expenses"],"host":["api","freshbooks","com"],"query":[{"description":{"content":"<p>includes attachment details assocatied with expense receipts</p>\n","type":"text/plain"},"key":"include[]","value":"attachment"},{"description":{"content":"<p>include expense category in expense</p>\n","type":"text/plain"},"key":"include[]","value":"category"},{"description":{"content":"<p>include expense profile info in expense</p>\n","type":"text/plain"},"key":"include[]","value":"expense_profile"},{"description":{"content":"<p>include related projects in expense</p>\n","type":"text/plain"},"key":"include[]","value":"project"},{"description":{"content":"<p>include account info in expense</p>\n","type":"text/plain"},"key":"include[]","value":"account"}],"variable":[]}},"response":[{"id":"b7ac7ec8-2361-43ae-87be-6d6a41f08a4f","name":"List Expenses","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.freshbooks.com/accounting/account/{{accountId}}/expenses/expenses?include%5B%5D=attachment&include%5B%5D=category&include%5B%5D=expense_profile&include%5B%5D=project&include%5B%5D=account","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","{{accountId}}","expenses","expenses"],"query":[{"key":"include%5B%5D","value":"attachment","description":"includes attachment details assocatied with expense receipts"},{"key":"include%5B%5D","value":"category","description":"include expense category in expense\n"},{"key":"include%5B%5D","value":"expense_profile","description":"include expense profile info in expense\n"},{"key":"include%5B%5D","value":"project","description":"include related projects in expense\n"},{"key":"include%5B%5D","value":"account","description":"include account info in expense\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gBSUZWDBUGEQoHQBJdVkdXQEcVUR1RHVNWBw9UVVsKCwRXUVMABABeSBwHH0BXW1EBB1tbXQtVUAQAXFgBQx8EBVpEBDs="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Mon, 30 Apr 2018 21:04:15 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 30 Apr 2019 21:04:16 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17339-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"expenses\": [\n                {\n                    \"account_name\": \"\",\n                    \"accountid\": null,\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"amount\": {\n                        \"amount\": \"79.73\",\n                        \"code\": \"USD\"\n                    },\n                    \"attachment\": {\n                        \"attachmentid\": 8668,\n                        \"id\": 8668,\n                        \"jwt\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50Ijo0MjM2NDEwLCJvcmlnaW5hbF9maWxlbmFtZSI6IlNjcmVlbiBTaG90IDIwMTktMDQtMjQgYXQgOS4zOS4xOSBBTS5wbmciLCJidWNrZXQiOiJ1cGxvYWRzIiwiZmlsZW5hbWUiOiJ1cGxvYWQtMGU2ZDMwOWQ1ZTI5MzA3NmNhMGIyNDdkODFlOGJlNWE4NDZlZWE0YSIsImxlbmd0aCI6MTkxNDcyLCJrZXkiOiInZG9jcy0nLTQyMzY0MTAvdXBsb2FkLTBlNmQzMDlkNWUyOTMwNzZjYTBiMjQ3ZDgxZThiZTVhODQ2ZWVhNGEifQ.SOoW3_nTUrxjYO76g1UXHPIrO_aLbTpXCHEa-ZcnejA\",\n                        \"media_type\": \"image/png\"\n                    },\n                    \"background_jobid\": null,\n                    \"bank_name\": \"\",\n                    \"category\": {\n                        \"category\": \"Gas\",\n                        \"categoryid\": 2003174,\n                        \"created_at\": \"2019-04-18 09:14:52\",\n                        \"id\": 2003174,\n                        \"is_cogs\": false,\n                        \"is_editable\": false,\n                        \"parentid\": 2003170,\n                        \"updated_at\": \"2019-04-18 09:14:52\",\n                        \"vis_state\": 0\n                    },\n                    \"categoryid\": 2003174,\n                    \"clientid\": 0,\n                    \"compounded_tax\": false,\n                    \"date\": \"2019-04-24\",\n                    \"expense_profile\": null,\n                    \"expenseid\": 1825568,\n                    \"ext_invoiceid\": 0,\n                    \"ext_systemid\": 0,\n                    \"from_bulk_import\": false,\n                    \"has_receipt\": true,\n                    \"id\": 1825568,\n                    \"include_receipt\": false,\n                    \"invoiceid\": null,\n                    \"is_cogs\": false,\n                    \"isduplicate\": true,\n                    \"markup_percent\": \"0\",\n                    \"notes\": \"Purchased Gasoline for deliveries\",\n                    \"profileid\": null,\n                    \"project\": null,\n                    \"projectid\": 0,\n                    \"staffid\": 1,\n                    \"status\": 0,\n                    \"taxAmount1\": {\n                        \"amount\": \"9.17\",\n                        \"code\": \"USD\"\n                    },\n                    \"taxAmount2\": null,\n                    \"taxName1\": \"other tax\",\n                    \"taxName2\": null,\n                    \"taxPercent1\": \"13\",\n                    \"taxPercent2\": null,\n                    \"transactionid\": null,\n                    \"updated\": \"2019-04-24 11:33:35\",\n                    \"vendor\": \"Shell Gas Station\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"account_name\": \"\",\n                    \"accountid\": null,\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"amount\": {\n                        \"amount\": \"79.73\",\n                        \"code\": \"USD\"\n                    },\n                    \"attachment\": {\n                        \"attachmentid\": 8670,\n                        \"id\": 8670,\n                        \"jwt\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50Ijo0MjM2NDEwLCJvcmlnaW5hbF9maWxlbmFtZSI6IlNjcmVlbiBTaG90IDIwMTktMDQtMjQgYXQgOS4zOS4xOSBBTS5wbmciLCJidWNrZXQiOiJ1cGxvYWRzIiwiZmlsZW5hbWUiOiJ1cGxvYWQtMGU2ZDMwOWQ1ZTI5MzA3NmNhMGIyNDdkODFlOGJlNWE4NDZlZWE0YSIsImxlbmd0aCI6MTkxNDcyLCJrZXkiOiInZG9jcy0nLTQyMzY0MTAvdXBsb2FkLTBlNmQzMDlkNWUyOTMwNzZjYTBiMjQ3ZDgxZThiZTVhODQ2ZWVhNGEifQ.SOoW3_nTUrxjYO76g1UXHPIrO_aLbTpXCHEa-ZcnejA\",\n                        \"media_type\": \"image/png\"\n                    },\n                    \"background_jobid\": null,\n                    \"bank_name\": \"\",\n                    \"category\": {\n                        \"category\": \"Gas\",\n                        \"categoryid\": 2003174,\n                        \"created_at\": \"2019-04-18 09:14:52\",\n                        \"id\": 2003174,\n                        \"is_cogs\": false,\n                        \"is_editable\": false,\n                        \"parentid\": 2003170,\n                        \"updated_at\": \"2019-04-18 09:14:52\",\n                        \"vis_state\": 0\n                    },\n                    \"categoryid\": 2003174,\n                    \"clientid\": 0,\n                    \"compounded_tax\": false,\n                    \"date\": \"2019-04-24\",\n                    \"expense_profile\": null,\n                    \"expenseid\": 1825574,\n                    \"ext_invoiceid\": 0,\n                    \"ext_systemid\": 0,\n                    \"from_bulk_import\": false,\n                    \"has_receipt\": true,\n                    \"id\": 1825574,\n                    \"include_receipt\": false,\n                    \"invoiceid\": null,\n                    \"is_cogs\": false,\n                    \"isduplicate\": true,\n                    \"markup_percent\": \"0\",\n                    \"notes\": \"Purchased Gasoline for deliveries\",\n                    \"profileid\": null,\n                    \"project\": null,\n                    \"projectid\": 0,\n                    \"staffid\": 1,\n                    \"status\": 0,\n                    \"taxAmount1\": {\n                        \"amount\": \"9.17\",\n                        \"code\": \"USD\"\n                    },\n                    \"taxAmount2\": null,\n                    \"taxName1\": \"other tax\",\n                    \"taxName2\": null,\n                    \"taxPercent1\": \"13\",\n                    \"taxPercent2\": null,\n                    \"transactionid\": null,\n                    \"updated\": \"2019-04-24 11:38:00\",\n                    \"vendor\": \"Shell Gas Station\",\n                    \"vis_state\": 2\n                },\n                {\n                    \"account_name\": \"\",\n                    \"accountid\": null,\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"amount\": {\n                        \"amount\": \"79.73\",\n                        \"code\": \"USD\"\n                    },\n                    \"attachment\": {\n                        \"attachmentid\": 12138,\n                        \"id\": 12138,\n                        \"jwt\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50Ijo0MjM2NDEwLCJvcmlnaW5hbF9maWxlbmFtZSI6IlNjcmVlbiBTaG90IDIwMTktMDQtMjQgYXQgOS4zOS4xOSBBTS5wbmciLCJidWNrZXQiOiJ1cGxvYWRzIiwiZmlsZW5hbWUiOiJ1cGxvYWQtMGU2ZDMwOWQ1ZTI5MzA3NmNhMGIyNDdkODFlOGJlNWE4NDZlZWE0YSIsImxlbmd0aCI6MTkxNDcyLCJrZXkiOiInZG9jcy0nLTQyMzY0MTAvdXBsb2FkLTBlNmQzMDlkNWUyOTMwNzZjYTBiMjQ3ZDgxZThiZTVhODQ2ZWVhNGEifQ.SOoW3_nTUrxjYO76g1UXHPIrO_aLbTpXCHEa-ZcnejA\",\n                        \"media_type\": \"image/png\"\n                    },\n                    \"background_jobid\": null,\n                    \"bank_name\": \"\",\n                    \"category\": {\n                        \"category\": \"Gas\",\n                        \"categoryid\": 2003174,\n                        \"created_at\": \"2019-04-18 09:14:52\",\n                        \"id\": 2003174,\n                        \"is_cogs\": false,\n                        \"is_editable\": false,\n                        \"parentid\": 2003170,\n                        \"updated_at\": \"2019-04-18 09:14:52\",\n                        \"vis_state\": 0\n                    },\n                    \"categoryid\": 2003174,\n                    \"clientid\": 0,\n                    \"compounded_tax\": false,\n                    \"date\": \"2019-04-24\",\n                    \"expense_profile\": null,\n                    \"expenseid\": 2721846,\n                    \"ext_invoiceid\": 0,\n                    \"ext_systemid\": 0,\n                    \"from_bulk_import\": false,\n                    \"has_receipt\": true,\n                    \"id\": 2721846,\n                    \"include_receipt\": false,\n                    \"invoiceid\": null,\n                    \"is_cogs\": false,\n                    \"isduplicate\": true,\n                    \"markup_percent\": \"0\",\n                    \"notes\": \"Purchased Gasoline for deliveries\",\n                    \"profileid\": null,\n                    \"project\": null,\n                    \"projectid\": 0,\n                    \"staffid\": 1,\n                    \"status\": 0,\n                    \"taxAmount1\": {\n                        \"amount\": \"9.17\",\n                        \"code\": \"USD\"\n                    },\n                    \"taxAmount2\": null,\n                    \"taxName1\": \"other tax\",\n                    \"taxName2\": null,\n                    \"taxPercent1\": \"13\",\n                    \"taxPercent2\": null,\n                    \"transactionid\": null,\n                    \"updated\": \"2019-04-30 16:48:22\",\n                    \"vendor\": \"Shell Gas Station\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"account_name\": \"\",\n                    \"accountid\": null,\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"amount\": {\n                        \"amount\": \"7000.99\",\n                        \"code\": \"USD\"\n                    },\n                    \"attachment\": {\n                        \"attachmentid\": 6122,\n                        \"id\": 6122,\n                        \"jwt\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50Ijo0MjM2NDEwLCJvcmlnaW5hbF9maWxlbmFtZSI6IlNjcmVlbiBTaG90IDIwMTktMDQtMTYgYXQgMTEuMzcuMjEgQU0ucG5nIiwiYnVja2V0IjoidXBsb2FkcyIsImZpbGVuYW1lIjoidXBsb2FkLTJjMDY0NDEwZDQwYjE1NTRkZTAyM2Q1MjNlNmJjOTA3NDMyYmIwMGMiLCJsZW5ndGgiOjE0NTk2MCwia2V5IjoiJ2RvY3MtJy00MjM2NDEwL3VwbG9hZC0yYzA2NDQxMGQ0MGIxNTU0ZGUwMjNkNTIzZTZiYzkwNzQzMmJiMDBjIn0.MogtZWv_c3mllnjMzX5DEP2J5PBsEa1ZfHwdXgywRoM\",\n                        \"media_type\": \"image/png\"\n                    },\n                    \"background_jobid\": null,\n                    \"bank_name\": \"\",\n                    \"category\": {\n                        \"category\": \"Computer Parts\",\n                        \"categoryid\": 2005674,\n                        \"created_at\": \"2019-04-18 09:40:57\",\n                        \"id\": 2005674,\n                        \"is_cogs\": false,\n                        \"is_editable\": true,\n                        \"parentid\": 2003142,\n                        \"updated_at\": \"2019-04-18 09:40:57\",\n                        \"vis_state\": 0\n                    },\n                    \"categoryid\": 2005674,\n                    \"clientid\": 0,\n                    \"compounded_tax\": false,\n                    \"date\": \"2019-04-18\",\n                    \"expense_profile\": null,\n                    \"expenseid\": 1034972,\n                    \"ext_invoiceid\": 0,\n                    \"ext_systemid\": 0,\n                    \"from_bulk_import\": false,\n                    \"has_receipt\": true,\n                    \"id\": 1034972,\n                    \"include_receipt\": false,\n                    \"invoiceid\": null,\n                    \"is_cogs\": false,\n                    \"isduplicate\": false,\n                    \"markup_percent\": \"0\",\n                    \"notes\": \"Need the parts to make the computer hardware\",\n                    \"profileid\": null,\n                    \"project\": null,\n                    \"projectid\": 0,\n                    \"staffid\": 1,\n                    \"status\": 0,\n                    \"taxAmount1\": {\n                        \"amount\": \"805.42\",\n                        \"code\": \"USD\"\n                    },\n                    \"taxAmount2\": null,\n                    \"taxName1\": \"HST\",\n                    \"taxName2\": null,\n                    \"taxPercent1\": \"13\",\n                    \"taxPercent2\": null,\n                    \"transactionid\": null,\n                    \"updated\": \"2019-04-18 09:41:44\",\n                    \"vendor\": \"Computer Parts People\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"account_name\": \"\",\n                    \"accountid\": null,\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"amount\": {\n                        \"amount\": \"39.991\",\n                        \"code\": \"USD\"\n                    },\n                    \"attachment\": null,\n                    \"background_jobid\": null,\n                    \"bank_name\": \"\",\n                    \"category\": {\n                        \"category\": \"Equipment\",\n                        \"categoryid\": 2003232,\n                        \"created_at\": \"2019-04-18 09:14:52\",\n                        \"id\": 2003232,\n                        \"is_cogs\": false,\n                        \"is_editable\": false,\n                        \"parentid\": 2003226,\n                        \"updated_at\": \"2019-04-18 09:14:52\",\n                        \"vis_state\": 0\n                    },\n                    \"categoryid\": 2003232,\n                    \"clientid\": 0,\n                    \"compounded_tax\": false,\n                    \"date\": \"2018-06-20\",\n                    \"expense_profile\": null,\n                    \"expenseid\": 1553548,\n                    \"ext_invoiceid\": 0,\n                    \"ext_systemid\": 0,\n                    \"from_bulk_import\": false,\n                    \"has_receipt\": false,\n                    \"id\": 1553548,\n                    \"include_receipt\": false,\n                    \"invoiceid\": null,\n                    \"is_cogs\": false,\n                    \"isduplicate\": false,\n                    \"markup_percent\": \"0\",\n                    \"notes\": \"\",\n                    \"profileid\": null,\n                    \"project\": null,\n                    \"projectid\": 0,\n                    \"staffid\": 31004,\n                    \"status\": 0,\n                    \"taxAmount1\": null,\n                    \"taxAmount2\": null,\n                    \"taxName1\": null,\n                    \"taxName2\": null,\n                    \"taxPercent1\": null,\n                    \"taxPercent2\": null,\n                    \"transactionid\": null,\n                    \"updated\": \"2019-04-24 11:39:15\",\n                    \"vendor\": null,\n                    \"vis_state\": 0\n                }\n            ],\n            \"page\": 1,\n            \"pages\": 1,\n            \"per_page\": 15,\n            \"total\": 5\n        }\n    }\n}"}],"_postman_id":"2905088d-fa72-2c7a-c50a-f70bd7dc6e86"},{"name":"Single Expense","event":[{"listen":"test","script":{"id":"de5427bd-2e06-45bf-9613-ad4b1f93aaa4","exec":["let jsonData = JSON.parse(responseBody);","pm.environment.set(\"expenseId\", jsonData.response.result.expense.id);",""],"type":"text/javascript"}}],"id":"f5cf5538-e5f0-4fb6-8bf0-1a00ab02ce5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/expenses/expenses/{{expenseId}}?include[]=attachment","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","expenses","expenses","{{expenseId}}"],"host":["api","freshbooks","com"],"query":[{"description":{"content":"<p>Include attachments (Receipt images)</p>\n","type":"text/plain"},"key":"include[]","value":"attachment"}],"variable":[]}},"response":[],"_postman_id":"f5cf5538-e5f0-4fb6-8bf0-1a00ab02ce5f"},{"name":"Create Expense","event":[{"listen":"test","script":{"id":"b2346394-7855-455f-aa9d-b7b4b5cd6a7b","exec":["let jsonData = JSON.parse(responseBody);","pm.environment.set(\"expenseId\", jsonData.response.result.expense.id);",""],"type":"text/javascript"}}],"id":"185b0110-3ce5-43fd-8097-3505117dc123","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"expense\": {\n        \"transactionid\": null,\n        \"status\": null,\n        \"has_receipt\": false,\n        \"always_remember\": false,\n        \"is_cogs\": true,\n        \"account_name\": null,\n        \"include_receipt\": false,\n        \"amount\": {\n            \"amount\": \"79.73\",\n            \"code\": \"USD\"\n        },\n        \"notes\": \"Purchased Gasoline for deliveries\",\n        \"vendor\": \"Shell Gas Station\",\n        \"date\": \"2019-04-24\",\n        \"staffid\": 1,\n        \"author_name\": null,\n        \"taxName1\": \"other tax\",\n        \"taxName2\": null,\n        \"taxAmount1\": {\n            \"amount\": \"9.17\",\n            \"code\": \"USD\"\n        },\n        \"taxPercent1\": 13,\n        \"taxPercent2\": null,\n        \"markup_percent\": 20,\n        \"invoiceid\": null,\n        \"attachment\": {\n            \"jwt\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50Ijo0MjM2NDEwLCJvcmlnaW5hbF9maWxlbmFtZSI6IlNjcmVlbiBTaG90IDIwMTktMDQtMjQgYXQgOS4zOS4xOSBBTS5wbmciLCJidWNrZXQiOiJ1cGxvYWRzIiwiZmlsZW5hbWUiOiJ1cGxvYWQtMGU2ZDMwOWQ1ZTI5MzA3NmNhMGIyNDdkODFlOGJlNWE4NDZlZWE0YSIsImxlbmd0aCI6MTkxNDcyLCJrZXkiOiInZG9jcy0nLTQyMzY0MTAvdXBsb2FkLTBlNmQzMDlkNWUyOTMwNzZjYTBiMjQ3ZDgxZThiZTVhODQ2ZWVhNGEifQ.SOoW3_nTUrxjYO76g1UXHPIrO_aLbTpXCHEa-ZcnejA\",\n            \"media_type\": \"image/png\",\n            \"expenseid\": null\n        },\n        \"categoryid\": \"65679\",\n        \"category_name\": \"\",\n        \"clientid\": 485558,\n        \"converse_projectid\": 12345\t\n    }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/expenses/expenses?include%5B%5D=attachment","description":"<p>Category can be passed as categoryid or category_name, both as string values.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","expenses","expenses"],"host":["api","freshbooks","com"],"query":[{"key":"include%5B%5D","value":"attachment"}],"variable":[]}},"response":[{"id":"7bc9653f-855a-4f6a-a9e1-4fdccf7663a0","name":"Create Expense","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"expense\": {\n        \"transactionid\": null,\n        \"status\": null,\n        \"has_receipt\": false,\n        \"always_remember\": false,\n        \"is_cogs\": false,\n        \"account_name\": null,\n        \"include_receipt\": false,\n        \"amount\": {\n            \"amount\": \"79.73\",\n            \"code\": \"USD\"\n        },\n        \"notes\": \"Purchased Gasoline for deliveries\",\n        \"vendor\": \"Shell Gas Station\",\n        \"date\": \"2019-04-24\",\n        \"staffid\": 1,\n        \"author_name\": null,\n        \"taxName1\": \"other tax\",\n        \"taxName2\": null,\n        \"taxAmount1\": {\n            \"amount\": \"9.17\",\n            \"code\": \"USD\"\n        },\n        \"taxPercent1\": 13,\n        \"taxPercent2\": null,\n        \"markup_percent\": null,\n        \"invoiceid\": null,\n        \"attachment\": {\n            \"jwt\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50Ijo0MjM2NDEwLCJvcmlnaW5hbF9maWxlbmFtZSI6IlNjcmVlbiBTaG90IDIwMTktMDQtMjQgYXQgOS4zOS4xOSBBTS5wbmciLCJidWNrZXQiOiJ1cGxvYWRzIiwiZmlsZW5hbWUiOiJ1cGxvYWQtMGU2ZDMwOWQ1ZTI5MzA3NmNhMGIyNDdkODFlOGJlNWE4NDZlZWE0YSIsImxlbmd0aCI6MTkxNDcyLCJrZXkiOiInZG9jcy0nLTQyMzY0MTAvdXBsb2FkLTBlNmQzMDlkNWUyOTMwNzZjYTBiMjQ3ZDgxZThiZTVhODQ2ZWVhNGEifQ.SOoW3_nTUrxjYO76g1UXHPIrO_aLbTpXCHEa-ZcnejA\",\n            \"media_type\": \"image/png\",\n            \"expenseid\": null\n        },\n        \"categoryid\": \"2003174\",\n        \"clientid\": null\n    }\n}"},"url":{"raw":"https://api.freshbooks.com/accounting/account/{{accountId}}/expenses/expenses?include%5B%5D=attachment","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","{{accountId}}","expenses","expenses"],"query":[{"key":"include%5B%5D","value":"attachment"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gBSUZWDBUGEQoHQBJdVkdXQEcVUR1RHVBVBQBZU1UMCwNQVFsDBgVRSAAFBVBKQVFWUwEACAkBCgJcCFQBAAtASFBWDRUGZQ=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 15:33:35 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 15:33:35 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-jfk8129-JFK"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"expense\": {\n                \"account_name\": \"\",\n                \"accountid\": null,\n                \"accounting_systemid\": \"wkMd2g\",\n                \"amount\": {\n                    \"amount\": \"79.73\",\n                    \"code\": \"USD\"\n                },\n                \"attachment\": {\n                    \"attachmentid\": 8670,\n                    \"id\": 8670,\n                    \"jwt\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50Ijo0MjM2NDEwLCJvcmlnaW5hbF9maWxlbmFtZSI6IlNjcmVlbiBTaG90IDIwMTktMDQtMjQgYXQgOS4zOS4xOSBBTS5wbmciLCJidWNrZXQiOiJ1cGxvYWRzIiwiZmlsZW5hbWUiOiJ1cGxvYWQtMGU2ZDMwOWQ1ZTI5MzA3NmNhMGIyNDdkODFlOGJlNWE4NDZlZWE0YSIsImxlbmd0aCI6MTkxNDcyLCJrZXkiOiInZG9jcy0nLTQyMzY0MTAvdXBsb2FkLTBlNmQzMDlkNWUyOTMwNzZjYTBiMjQ3ZDgxZThiZTVhODQ2ZWVhNGEifQ.SOoW3_nTUrxjYO76g1UXHPIrO_aLbTpXCHEa-ZcnejA\",\n                    \"media_type\": \"image/png\"\n                },\n                \"background_jobid\": null,\n                \"bank_name\": \"\",\n                \"categoryid\": 2003174,\n                \"clientid\": 0,\n                \"compounded_tax\": false,\n                \"date\": \"2019-04-24\",\n                \"expenseid\": 1825574,\n                \"ext_invoiceid\": 0,\n                \"ext_systemid\": 0,\n                \"from_bulk_import\": false,\n                \"has_receipt\": true,\n                \"id\": 1825574,\n                \"include_receipt\": false,\n                \"invoiceid\": null,\n                \"is_cogs\": false,\n                \"isduplicate\": true,\n                \"markup_percent\": \"0\",\n                \"notes\": \"Purchased Gasoline for deliveries\",\n                \"profileid\": null,\n                \"projectid\": 0,\n                \"staffid\": 1,\n                \"status\": 0,\n                \"taxAmount1\": {\n                    \"amount\": \"9.17\",\n                    \"code\": \"USD\"\n                },\n                \"taxAmount2\": null,\n                \"taxName1\": \"other tax\",\n                \"taxName2\": null,\n                \"taxPercent1\": \"13\",\n                \"taxPercent2\": null,\n                \"transactionid\": null,\n                \"updated\": \"2019-04-24 11:33:35\",\n                \"vendor\": \"Shell Gas Station\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"185b0110-3ce5-43fd-8097-3505117dc123"},{"name":"Create Expense with Receipt","id":"e42fbe42-aeb8-46d6-81dd-a88f3748bab7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"expense\": {\n        \"transactionid\": null,\n        \"status\": null,\n        \"has_receipt\": false,\n        \"always_remember\": false,\n        \"is_cogs\": false,\n        \"account_name\": null,\n        \"include_receipt\": false,\n        \"amount\": {\n            \"amount\": \"79.73\",\n            \"code\": \"USD\"\n        },\n        \"notes\": \"Purchased Gasoline for deliveries\",\n        \"vendor\": \"Shell Gas Station\",\n        \"date\": \"2019-04-24\",\n        \"staffid\": 1,\n        \"author_name\": null,\n        \"taxName1\": \"other tax\",\n        \"taxName2\": null,\n        \"taxAmount1\": {\n            \"amount\": \"9.17\",\n            \"code\": \"USD\"\n        },\n        \"taxPercent1\": 13,\n        \"taxPercent2\": null,\n        \"markup_percent\": null,\n        \"invoiceid\": null,\n        \"attachment\": {\n            \"jwt\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50Ijo0MjM2NDEwLCJvcmlnaW5hbF9maWxlbmFtZSI6IlNjcmVlbiBTaG90IDIwMTktMDQtMjQgYXQgOS4zOS4xOSBBTS5wbmciLCJidWNrZXQiOiJ1cGxvYWRzIiwiZmlsZW5hbWUiOiJ1cGxvYWQtMGU2ZDMwOWQ1ZTI5MzA3NmNhMGIyNDdkODFlOGJlNWE4NDZlZWE0YSIsImxlbmd0aCI6MTkxNDcyLCJrZXkiOiInZG9jcy0nLTQyMzY0MTAvdXBsb2FkLTBlNmQzMDlkNWUyOTMwNzZjYTBiMjQ3ZDgxZThiZTVhODQ2ZWVhNGEifQ.SOoW3_nTUrxjYO76g1UXHPIrO_aLbTpXCHEa-ZcnejA\",\n            \"media_type\": \"image/png\",\n            \"expenseid\": null\n        },\n        \"categoryid\": \"2003174\",\n        \"clientid\": null\n    }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/expenses/expenses?include%5B%5D=attachment","description":"<p>In order to create an expense with a receipt, you will first need to upload your image via the uploader endpoint. Once you receive a response, you can apply that <code>jwt</code> token to your expense under the nested <code>attachment</code> object. Look at the example on the right. </p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","expenses","expenses"],"host":["api","freshbooks","com"],"query":[{"key":"include%5B%5D","value":"attachment"}],"variable":[]}},"response":[{"id":"f336dadb-ba67-463b-90c1-0cde752e2d09","name":"Create Expense","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"expense\": {\n        \"transactionid\": null,\n        \"status\": null,\n        \"has_receipt\": false,\n        \"always_remember\": false,\n        \"is_cogs\": false,\n        \"account_name\": null,\n        \"include_receipt\": false,\n        \"amount\": {\n            \"amount\": \"79.73\",\n            \"code\": \"USD\"\n        },\n        \"notes\": \"Purchased Gasoline for deliveries\",\n        \"vendor\": \"Shell Gas Station\",\n        \"date\": \"2019-04-24\",\n        \"staffid\": 1,\n        \"author_name\": null,\n        \"taxName1\": \"other tax\",\n        \"taxName2\": null,\n        \"taxAmount1\": {\n            \"amount\": \"9.17\",\n            \"code\": \"USD\"\n        },\n        \"taxPercent1\": 13,\n        \"taxPercent2\": null,\n        \"markup_percent\": null,\n        \"invoiceid\": null,\n        \"attachment\": {\n            \"jwt\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50Ijo0MjM2NDEwLCJvcmlnaW5hbF9maWxlbmFtZSI6IlNjcmVlbiBTaG90IDIwMTktMDQtMjQgYXQgOS4zOS4xOSBBTS5wbmciLCJidWNrZXQiOiJ1cGxvYWRzIiwiZmlsZW5hbWUiOiJ1cGxvYWQtMGU2ZDMwOWQ1ZTI5MzA3NmNhMGIyNDdkODFlOGJlNWE4NDZlZWE0YSIsImxlbmd0aCI6MTkxNDcyLCJrZXkiOiInZG9jcy0nLTQyMzY0MTAvdXBsb2FkLTBlNmQzMDlkNWUyOTMwNzZjYTBiMjQ3ZDgxZThiZTVhODQ2ZWVhNGEifQ.SOoW3_nTUrxjYO76g1UXHPIrO_aLbTpXCHEa-ZcnejA\",\n            \"media_type\": \"image/png\",\n            \"expenseid\": null\n        },\n        \"categoryid\": \"2003174\",\n        \"clientid\": null\n    }\n}"},"url":{"raw":"https://api.freshbooks.com/accounting/account/{{accountId}}/expenses/expenses?include%5B%5D=attachment","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","{{accountId}}","expenses","expenses"],"query":[{"key":"include%5B%5D","value":"attachment"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gBSUZWDBUGEQoHQBJdVkdXQEcVUR1RHVBVBQBZU1UMCwNQVFsDBgVRSAAFBVBKQVFWUwEACAkBCgJcCFQBAAtASFBWDRUGZQ=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 15:33:35 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 15:33:35 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-jfk8129-JFK"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"expense\": {\n                \"account_name\": \"\",\n                \"accountid\": null,\n                \"accounting_systemid\": \"wkMd2g\",\n                \"amount\": {\n                    \"amount\": \"79.73\",\n                    \"code\": \"USD\"\n                },\n                \"attachment\": {\n                    \"attachmentid\": 8670,\n                    \"id\": 8670,\n                    \"jwt\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50Ijo0MjM2NDEwLCJvcmlnaW5hbF9maWxlbmFtZSI6IlNjcmVlbiBTaG90IDIwMTktMDQtMjQgYXQgOS4zOS4xOSBBTS5wbmciLCJidWNrZXQiOiJ1cGxvYWRzIiwiZmlsZW5hbWUiOiJ1cGxvYWQtMGU2ZDMwOWQ1ZTI5MzA3NmNhMGIyNDdkODFlOGJlNWE4NDZlZWE0YSIsImxlbmd0aCI6MTkxNDcyLCJrZXkiOiInZG9jcy0nLTQyMzY0MTAvdXBsb2FkLTBlNmQzMDlkNWUyOTMwNzZjYTBiMjQ3ZDgxZThiZTVhODQ2ZWVhNGEifQ.SOoW3_nTUrxjYO76g1UXHPIrO_aLbTpXCHEa-ZcnejA\",\n                    \"media_type\": \"image/png\"\n                },\n                \"background_jobid\": null,\n                \"bank_name\": \"\",\n                \"categoryid\": 2003174,\n                \"clientid\": 0,\n                \"compounded_tax\": false,\n                \"date\": \"2019-04-24\",\n                \"expenseid\": 1825574,\n                \"ext_invoiceid\": 0,\n                \"ext_systemid\": 0,\n                \"from_bulk_import\": false,\n                \"has_receipt\": true,\n                \"id\": 1825574,\n                \"include_receipt\": false,\n                \"invoiceid\": null,\n                \"is_cogs\": false,\n                \"isduplicate\": true,\n                \"markup_percent\": \"0\",\n                \"notes\": \"Purchased Gasoline for deliveries\",\n                \"profileid\": null,\n                \"projectid\": 0,\n                \"staffid\": 1,\n                \"status\": 0,\n                \"taxAmount1\": {\n                    \"amount\": \"9.17\",\n                    \"code\": \"USD\"\n                },\n                \"taxAmount2\": null,\n                \"taxName1\": \"other tax\",\n                \"taxName2\": null,\n                \"taxPercent1\": \"13\",\n                \"taxPercent2\": null,\n                \"transactionid\": null,\n                \"updated\": \"2019-04-24 11:33:35\",\n                \"vendor\": \"Shell Gas Station\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"e42fbe42-aeb8-46d6-81dd-a88f3748bab7"},{"name":"Create Recurring Expense","id":"3135a408-3def-46e7-9fd4-7bfaac8d65c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"expense_profile\": {\n        \"frequency\": \"m\",\n        \"profileid\": null,\n        \"start_date\": \"2019-01-13\",\n        \"end_date\": null,\n        \"next_issue_date\": \"2019-01-13\",\n        \"is_cogs\": false,\n        \"amount\": {\n            \"amount\": \"100\",\n            \"code\": \"CAD\"\n        },\n        \"notes\": null,\n        \"vendor\": \"Recurring Expenses Inc.\",\n        \"staffid\": 1,\n        \"author_name\": null,\n        \"taxName1\": \"HST\",\n        \"taxName2\": null,\n        \"taxAmount1\": {\n            \"amount\": \"11.5\",\n            \"code\": \"CAD\"\n        },\n        \"taxPercent1\": 13,\n        \"taxPercent2\": null,\n        \"markup_percent\": null,\n        \"from_bulk_import\": false,\n        \"categoryid\": \"4723650\",\n        \"clientid\": null\n    }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountid}}/expense_profiles/expense_profiles","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountid}}","expense_profiles","expense_profiles"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3135a408-3def-46e7-9fd4-7bfaac8d65c9"},{"name":"Update Expense","id":"5eb6d6b5-5525-413a-bcc8-5b6dec653622","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"expense\": {\n    \"vendor\": \"WestJet\"\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/expenses/expenses/{{expenseId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","expenses","expenses","{{expenseId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"7bafc17f-e72b-45ba-ac06-660055321812","name":"Update Expense","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"expense\": {\n    \"vendor\": \"WestJet\"\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/expenses/expenses/{{expenseId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gBSUZWDBUGEQoHQBJdVkdXEUkJTQFPAVRRDwZYUFsNAAZXVlQOBARKUAcaEVJWUAEHUwtUXl0GUAdSCAcTTVUDCEVSPA=="},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1557345847"},{"key":"Retry-After","value":"42"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 08 May 2018 20:03:24 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 08 May 2019 20:03:24 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17361-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"expense\": {\n                \"account_name\": \"\",\n                \"accountid\": null,\n                \"accounting_systemid\": \"wkMd2g\",\n                \"amount\": {\n                    \"amount\": \"79.73\",\n                    \"code\": \"USD\"\n                },\n                \"background_jobid\": null,\n                \"bank_name\": \"\",\n                \"categoryid\": 2003174,\n                \"clientid\": 0,\n                \"compounded_tax\": false,\n                \"date\": \"2019-04-24\",\n                \"expenseid\": 1825568,\n                \"ext_invoiceid\": 0,\n                \"ext_systemid\": 0,\n                \"from_bulk_import\": false,\n                \"has_receipt\": true,\n                \"id\": 1825568,\n                \"include_receipt\": false,\n                \"invoiceid\": null,\n                \"is_cogs\": false,\n                \"isduplicate\": true,\n                \"markup_percent\": \"0\",\n                \"notes\": \"Purchased Gasoline for deliveries\",\n                \"profileid\": null,\n                \"projectid\": 0,\n                \"staffid\": 1,\n                \"status\": 0,\n                \"taxAmount1\": {\n                    \"amount\": \"9.17\",\n                    \"code\": \"USD\"\n                },\n                \"taxAmount2\": null,\n                \"taxName1\": \"other tax\",\n                \"taxName2\": null,\n                \"taxPercent1\": \"13\",\n                \"taxPercent2\": null,\n                \"transactionid\": null,\n                \"updated\": \"2019-05-08 16:03:24\",\n                \"vendor\": \"WestJet\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"5eb6d6b5-5525-413a-bcc8-5b6dec653622"},{"name":"Update Expense with Receipt","id":"c724b765-60be-49b6-bdc9-8236bf7e76a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"expense\": {\n        \"transactionid\": null,\n        \"status\": null,\n        \"has_receipt\": false,\n        \"always_remember\": false,\n        \"is_cogs\": false,\n        \"account_name\": null,\n        \"include_receipt\": false,\n        \"amount\": {\n            \"amount\": \"79.73\",\n            \"code\": \"USD\"\n        },\n        \"notes\": \"Purchased Gasoline for deliveries\",\n        \"vendor\": \"Shell Gas Station\",\n        \"date\": \"2019-05-23\",\n        \"staffid\": 1,\n        \"author_name\": null,\n        \"taxName1\": \"other tax\",\n        \"taxName2\": null,\n        \"taxAmount1\": {\n            \"amount\": \"9.17\",\n            \"code\": \"USD\"\n        },\n        \"taxPercent1\": 13,\n        \"taxPercent2\": null,\n        \"markup_percent\": null,\n        \"invoiceid\": null,\n        \"attachment\": {\n            \"jwt\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50Ijo0MjM2NDEwLCJvcmlnaW5hbF9maWxlbmFtZSI6IlNjcmVlbiBTaG90IDIwMTktMDQtMjQgYXQgOS4zOS4xOSBBTS5wbmciLCJidWNrZXQiOiJ1cGxvYWRzIiwiZmlsZW5hbWUiOiJ1cGxvYWQtMGU2ZDMwOWQ1ZTI5MzA3NmNhMGIyNDdkODFlOGJlNWE4NDZlZWE0YSIsImxlbmd0aCI6MTkxNDcyLCJrZXkiOiInZG9jcy0nLTQyMzY0MTAvdXBsb2FkLTBlNmQzMDlkNWUyOTMwNzZjYTBiMjQ3ZDgxZThiZTVhODQ2ZWVhNGEifQ.SOoW3_nTUrxjYO76g1UXHPIrO_aLbTpXCHEa-ZcnejA\",\n            \"media_type\": \"image/png\",\n            \"expenseid\": null\n        },\n        \"categoryid\": \"2003174\",\n        \"clientid\": null\n    }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/expenses/expenses/{{expenseId}}?include%5B%5D=attachment","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","expenses","expenses","{{expenseId}}"],"host":["api","freshbooks","com"],"query":[{"key":"include%5B%5D","value":"attachment"}],"variable":[]}},"response":[],"_postman_id":"c724b765-60be-49b6-bdc9-8236bf7e76a0"},{"name":"Delete Expense","id":"ca0720c7-599a-4f1f-bd59-43151f714d14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"expense\": {\n    \"vis_state\": 0\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/expenses/expenses/{{expenseId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","expenses","expenses","{{expenseId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ca0720c7-599a-4f1f-bd59-43151f714d14"},{"name":"Expense Summaries","id":"08430b69-6f39-47d7-9a0c-47818a7796b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/expenses/summaries","description":"<p>This endpoint will return summaries of the total amounts of expenses by active, archived, and grand total. </p>\n<p>Active means not archived or deleted.</p>\n<p>Archived is simply reorganizing the experience on FreshBooks so they're tucked away nicely. They will still show up on your reports and count towards active clients. </p>\n<p>Deleted clients will be removed from your active clients list, however, any activity related to those accounts will not show up on your reports. </p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","expenses","summaries"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"095137e8-c488-42ba-9ee1-4c80d9cb648b","name":"Expense Summaries Response","originalRequest":{"method":"GET","header":[],"url":"https://my.freshbooks.com/service/api/accounting/account/{{accountId}}/expenses/summaries"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gBSUZWDBUGEQoHQBJdVkdXQBBUDFATSkBIBhtRSFMAAQRRWVIGCAVTUgQPAlpKTlMcQA5bWQtQUVBdCFgBAgUABVIVTQACVEBVOQ=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 15:14:45 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 15:14:45 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-jfk8128-JFK"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"summaries\": [\n                {\n                    \"amounts\": [\n                        {\n                            \"amount\": \"7040.981\",\n                            \"code\": \"USD\",\n                            \"count\": 2\n                        }\n                    ],\n                    \"counts\": 2,\n                    \"id\": \"grand_total\"\n                },\n                {\n                    \"amounts\": [],\n                    \"counts\": 0,\n                    \"id\": \"archived\"\n                },\n                {\n                    \"amounts\": [\n                        {\n                            \"amount\": \"7040.981\",\n                            \"code\": \"USD\",\n                            \"count\": 2\n                        }\n                    ],\n                    \"counts\": 2,\n                    \"id\": \"active\"\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"08430b69-6f39-47d7-9a0c-47818a7796b0"},{"name":"Expense Vendors","id":"2e150d7f-394a-428c-b63b-4dfaff14d040","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/expenses/vendors","description":"<p>Get a list of expense vendors</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","expenses","vendors"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2e150d7f-394a-428c-b63b-4dfaff14d040"},{"name":"Single Expense Category","id":"619be84a-ec2d-4f2a-b17e-6c8b12686b9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/expenses/categories/{{categoryId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","expenses","categories","{{categoryId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"878d8163-ef39-4156-b05f-823b29959133","name":"Single Expense Category","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/expenses/categories/{{categoryId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gBSUZWDBUGEQoBWRZdX1tASkcVUR1RHVNUBAZWUVAAAgVVVFcHAw5VSBwHH0BVBQMDW1wBCglQAgcHXVlVQx8EBVpEBDs="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:03:54 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:03:54 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"category\": {\n                \"category\": \"Accident Insurance\",\n                \"categoryid\": 2003192,\n                \"created_at\": \"2019-04-18 09:14:52\",\n                \"id\": 2003192,\n                \"is_cogs\": false,\n                \"is_editable\": false,\n                \"parentid\": 2003186,\n                \"updated_at\": \"2019-04-18 09:14:52\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"619be84a-ec2d-4f2a-b17e-6c8b12686b9c"},{"name":"List Expense Categories","event":[{"listen":"test","script":{"id":"967eecac-37a4-4b5f-8368-20e0fdfb2004","exec":["let jsonData = JSON.parse(responseBody); ","pm.environment.set(\"categoryId\", jsonData.response.result.categories[0].id) "],"type":"text/javascript"}}],"id":"51bb5658-5131-4bd7-a9fe-5b47facaa19e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/expenses/categories","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","expenses","categories"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"fecbb086-a842-4af1-976a-3e2a61149573","name":"List Expense Categories","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/expenses/categories"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gBSUZWDBUGEQoBWRZdX1tAWgBKQx1RH1JKBwZVV1YJBwdTWVMEBgVWUx0bAk5EAVpSVghRWwBXUwEDDlIDAhFOAldbEgM+"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:03:50 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:03:50 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"categories\": [\n                {\n                    \"category\": \"Accident Insurance\",\n                    \"categoryid\": 2003192,\n                    \"created_at\": \"2019-04-18 09:14:52\",\n                    \"id\": 2003192,\n                    \"is_cogs\": false,\n                    \"is_editable\": false,\n                    \"parentid\": 2003186,\n                    \"updated_at\": \"2019-04-18 09:14:52\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"category\": \"Accounting\",\n                    \"categoryid\": 2003198,\n                    \"created_at\": \"2019-04-18 09:14:52\",\n                    \"id\": 2003198,\n                    \"is_cogs\": false,\n                    \"is_editable\": false,\n                    \"parentid\": 2003194,\n                    \"updated_at\": \"2019-04-18 09:14:52\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"category\": \"Advertising\",\n                    \"categoryid\": 2003168,\n                    \"created_at\": \"2019-04-18 09:14:52\",\n                    \"id\": 2003168,\n                    \"is_cogs\": false,\n                    \"is_editable\": false,\n                    \"parentid\": null,\n                    \"updated_at\": \"2019-04-18 09:14:52\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"category\": \"Airfare\",\n                    \"categoryid\": 2003242,\n                    \"created_at\": \"2019-04-18 09:14:52\",\n                    \"id\": 2003242,\n                    \"is_cogs\": false,\n                    \"is_editable\": false,\n                    \"parentid\": 2003238,\n                    \"updated_at\": \"2019-04-18 09:14:52\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"category\": \"Bank Fees\",\n                    \"categoryid\": 2003148,\n                    \"created_at\": \"2019-04-18 09:14:52\",\n                    \"id\": 2003148,\n                    \"is_cogs\": false,\n                    \"is_editable\": false,\n                    \"parentid\": 2003142,\n                    \"updated_at\": \"2019-04-18 09:14:52\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"category\": \"Business Insurance\",\n                    \"categoryid\": 2003146,\n                    \"created_at\": \"2019-04-18 09:14:52\",\n                    \"id\": 2003146,\n                    \"is_cogs\": false,\n                    \"is_editable\": false,\n                    \"parentid\": 2003142,\n                    \"updated_at\": \"2019-04-18 09:14:52\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"category\": \"Car & Truck Expenses\",\n                    \"categoryid\": 2003170,\n                    \"created_at\": \"2019-04-18 09:14:52\",\n                    \"id\": 2003170,\n                    \"is_cogs\": false,\n                    \"is_editable\": false,\n                    \"parentid\": null,\n                    \"updated_at\": \"2019-04-18 09:14:52\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"category\": \"Commissions\",\n                    \"categoryid\": 2003164,\n                    \"created_at\": \"2019-04-18 09:14:52\",\n                    \"id\": 2003164,\n                    \"is_cogs\": false,\n                    \"is_editable\": false,\n                    \"parentid\": 2003142,\n                    \"updated_at\": \"2019-04-18 09:14:52\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"category\": \"Computer Parts\",\n                    \"categoryid\": 2005674,\n                    \"created_at\": \"2019-04-18 09:40:57\",\n                    \"id\": 2005674,\n                    \"is_cogs\": false,\n                    \"is_editable\": true,\n                    \"parentid\": 2003142,\n                    \"updated_at\": \"2019-04-18 09:40:57\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"category\": \"Contractors\",\n                    \"categoryid\": 2003182,\n                    \"created_at\": \"2019-04-18 09:14:52\",\n                    \"id\": 2003182,\n                    \"is_cogs\": false,\n                    \"is_editable\": false,\n                    \"parentid\": null,\n                    \"updated_at\": \"2019-04-18 09:14:52\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"category\": \"Depreciation\",\n                    \"categoryid\": 2003160,\n                    \"created_at\": \"2019-04-18 09:14:52\",\n                    \"id\": 2003160,\n                    \"is_cogs\": false,\n                    \"is_editable\": false,\n                    \"parentid\": 2003142,\n                    \"updated_at\": \"2019-04-18 09:14:52\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"category\": \"Education and Training\",\n                    \"categoryid\": 2003184,\n                    \"created_at\": \"2019-04-18 09:14:52\",\n                    \"id\": 2003184,\n                    \"is_cogs\": false,\n                    \"is_editable\": false,\n                    \"parentid\": null,\n                    \"updated_at\": \"2019-04-18 09:14:52\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"category\": \"Employee Benefits\",\n                    \"categoryid\": 2003186,\n                    \"created_at\": \"2019-04-18 09:14:52\",\n                    \"id\": 2003186,\n                    \"is_cogs\": false,\n                    \"is_editable\": false,\n                    \"parentid\": null,\n                    \"updated_at\": \"2019-04-18 09:14:52\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"category\": \"Entertainment\",\n                    \"categoryid\": 2003204,\n                    \"created_at\": \"2019-04-18 09:14:52\",\n                    \"id\": 2003204,\n                    \"is_cogs\": false,\n                    \"is_editable\": false,\n                    \"parentid\": 2003200,\n                    \"updated_at\": \"2019-04-18 09:14:52\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"category\": \"Equipment\",\n                    \"categoryid\": 2003232,\n                    \"created_at\": \"2019-04-18 09:14:52\",\n                    \"id\": 2003232,\n                    \"is_cogs\": false,\n                    \"is_editable\": false,\n                    \"parentid\": 2003226,\n                    \"updated_at\": \"2019-04-18 09:14:52\",\n                    \"vis_state\": 0\n                }\n            ],\n            \"page\": 1,\n            \"pages\": 4,\n            \"per_page\": 15,\n            \"total\": 56\n        }\n    }\n}"}],"_postman_id":"51bb5658-5131-4bd7-a9fe-5b47facaa19e"},{"name":"Create Custom Expense Category","id":"566cb0da-6b9b-4e80-beed-afdc885747de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"category\": {\n        \"category\": \"catstuff2\",\n        \"is_cogs\": false,\n        \"is_editable\": true,\n        \"parentid\": {{parentCategoryId}},\n        \"subcategories\": []\n    }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/expenses/categories","description":"<p>Custome expense categories require a parent category ID. Please make a call to list expense categories to find the parent ID you'd like.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","expenses","categories"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"86a1128a-9890-4a79-8884-1b2a9b535bed","name":"Create Custom Expense Category","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"category\": {\n        \"category\": \"catstuff2\",\n        \"is_cogs\": false,\n        \"is_editable\": true,\n        \"parentid\": {{parentCategoryId}},\n        \"subcategories\": []\n    }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/expenses/categories"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gBSUZWDBUGEQoBWRZdX1tAWgBKQx1RH1JKBg5XUFoJBQBcVVAPCAJTVAkaAlVUT0BSUwkADltXBQoEDwdQUlVVRhpRAAoQXW4="},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1558099457"},{"key":"Retry-After","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Thu, 17 May 2018 13:23:19 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Fri, 17 May 2019 13:23:19 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17335-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"category\": {\n                \"category\": \"catstuff\",\n                \"categoryid\": 5503992,\n                \"created_at\": \"2019-05-17 09:23:19\",\n                \"id\": 5503992,\n                \"is_cogs\": false,\n                \"is_editable\": true,\n                \"parentid\": 2003142,\n                \"updated_at\": \"2019-05-17 09:23:19\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"566cb0da-6b9b-4e80-beed-afdc885747de"},{"name":"List Taxes","id":"8e68bbd8-3644-46a7-944f-f9f5b929bbc1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountid}}/taxes/taxes","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountid}}","taxes","taxes"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8e68bbd8-3644-46a7-944f-f9f5b929bbc1"},{"name":"Single Tax","id":"358f2617-bc23-4bf4-b633-cbaa6307c38d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountid}}/taxes/taxes/{{taxid}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountid}}","taxes","taxes","{{taxid}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"358f2617-bc23-4bf4-b633-cbaa6307c38d"},{"name":"Create Single Tax","id":"dc85a37b-78c3-4f70-bff4-8e5da5bb1be8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"tax\": {\n        \"name\": \"HST\",\n        \"number\": null,\n        \"amount\": 13\n    }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountid}}/taxes/taxes","urlObject":{"protocol":"https","path":["accounting","account","{{accountid}}","taxes","taxes"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"dc85a37b-78c3-4f70-bff4-8e5da5bb1be8"},{"name":"Update Tax","id":"90dbf51c-e0a1-4b18-b313-94d67f4f4c62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"tax\": {\n        \"name\": \"HST\",\n        \"number\": null,\n        \"amount\": 13\n    }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountid}}/taxes/taxes/{{taxid}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountid}}","taxes","taxes","{{taxid}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"90dbf51c-e0a1-4b18-b313-94d67f4f4c62"},{"name":"Single Tax","id":"aa6b858f-8c23-443e-9d1a-1fc569bbf651","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountid}}/taxes/taxes/{{taxid}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountid}}","taxes","taxes","{{taxid}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"aa6b858f-8c23-443e-9d1a-1fc569bbf651"}],"id":"31bfe44d-4407-4ccb-9a26-767f4edf9e7d","description":"<h2 id=\"general-info\">General Info</h2>\n<p>Expenses are used to track expenditures your business incurs.</p>\n<h2 id=\"requires-authorization\">Requires Authorization</h2>\n<h2 id=\"expense-status-table\">Expense Status Table</h2>\n<p>Expense statuses are not directly modifiable. Each is a description of the status of the expense, e.g. \"expense has client, expense is attached to an invoice\".</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>0</td>\n<td>internal</td>\n<td>-internal- rather than client</td>\n</tr>\n<tr>\n<td>1</td>\n<td>centered</td>\n<td>has client, needs to be applied to an invoice</td>\n</tr>\n<tr>\n<td>2</td>\n<td>invoiced</td>\n<td>has client, attached to an invoice</td>\n</tr>\n<tr>\n<td>4</td>\n<td>recouped</td>\n<td>has client, attached to an invoice, and paid</td>\n</tr>\n</tbody>\n</table>\n</div><p>#Expense Categories</p>\n<h2 id=\"general-info-1\">General Info</h2>\n<p>FreshBooks supplies Expense Categories to group expenses together to aid in expense tracking.</p>\n<h2 id=\"requires-authorization-1\"><em>Requires Authorization</em></h2>\n<h2 id=\"includes\">Includes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Include Name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>expense_usage_all_time</td>\n<td>include expense usage across all time in category</td>\n</tr>\n<tr>\n<td>expense_usage_this_year</td>\n<td>include expense usage across this year in category</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"af43674a-bda4-4aa9-8ff6-546f22fd85a6","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"402a96fd-b576-4f33-adc0-f8c4df40a6f8","type":"text/javascript","exec":[""]}}],"_postman_id":"31bfe44d-4407-4ccb-9a26-767f4edf9e7d","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Estimates","item":[{"name":"List Estimates","event":[{"listen":"test","script":{"id":"74b9a881-3018-4a18-bc80-9dd53ef1b35b","exec":["let jsonData = JSON.parse(responseBody); ","pm.environment.set(\"estimateId\", jsonData.response.result.estimates[0].id)"],"type":"text/javascript"}}],"id":"e096e3f4-99bf-4619-b159-50f9e02ecaca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/estimates/estimates","description":"<p>Get an entire list of estimates that exist within your account.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","estimates","estimates"],"host":["api","freshbooks","com"],"query":[{"disabled":true,"description":{"content":"<p>Show estimate view/send history</p>\n","type":"text/plain"},"key":"include[]","value":"audit_logs\t"},{"disabled":true,"description":{"content":"<p>Comments made on estimate</p>\n","type":"text/plain"},"key":"include[]","value":"comments"},{"disabled":true,"description":{"content":"<p>List of client contacts</p>\n","type":"text/plain"},"key":"include[]","value":"contacts"},{"disabled":true,"description":{"content":"<p>Estimate lines</p>\n","type":"text/plain"},"key":"include[]","value":"lines"},{"disabled":true,"description":{"content":"<p>Owner info</p>\n","type":"text/plain"},"key":"include[]","value":"owner"},{"disabled":true,"description":{"content":"<p>Presentation type</p>\n","type":"text/plain"},"key":"include[]","value":"presentation"},{"disabled":true,"description":{"content":"<p>Projects</p>\n","type":"text/plain"},"key":"include[]","value":"project"},{"disabled":true,"description":{"content":"<p>Invoices</p>\n","type":"text/plain"},"key":"include[]","value":"invoices"},{"disabled":true,"description":{"content":"<p>Estimate owner's system</p>\n","type":"text/plain"},"key":"include[]","value":"system"}],"variable":[]}},"response":[{"id":"03c9e486-cb32-47f3-aaaa-b3b00c9edf35","name":"List Estimates","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/estimates/estimates"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gBQkJaDwcXB0NYXRFMUVlTRwBKQx1RH1JKBwRQU1sMAgZTVVoHBQFeUwQaHlNKQVoDB11RWl0HB1ADXABVVgFASFBWDRUGZQ=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 17:56:51 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 17:56:51 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"estimates\": [\n                {\n                    \"accepted\": false,\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"address\": \"\",\n                    \"amount\": {\n                        \"amount\": \"17628.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"city\": \"\",\n                    \"code\": \"\",\n                    \"country\": \"Canada\",\n                    \"create_date\": \"2019-04-18\",\n                    \"created_at\": \"2019-04-18 09:42:52\",\n                    \"currency_code\": \"USD\",\n                    \"current_organization\": \"first company\",\n                    \"customerid\": 31006,\n                    \"description\": \"it's a computer hardware version 1\",\n                    \"discount_total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"discount_value\": \"0\",\n                    \"display_status\": \"draft\",\n                    \"estimate_number\": \"0000001\",\n                    \"estimateid\": 1706,\n                    \"ext_archive\": 0,\n                    \"fname\": \"Client\",\n                    \"id\": 1706,\n                    \"invoiced\": false,\n                    \"language\": \"en\",\n                    \"lname\": \"one\",\n                    \"notes\": \"This is an estimate for the computer\",\n                    \"organization\": \"first company\",\n                    \"ownerid\": 1,\n                    \"po_number\": null,\n                    \"province\": \"\",\n                    \"reply_status\": null,\n                    \"require_client_signature\": false,\n                    \"rich_proposal\": false,\n                    \"sentid\": 1,\n                    \"status\": 1,\n                    \"street\": \"\",\n                    \"street2\": \"\",\n                    \"template\": \"clean-grouped\",\n                    \"terms\": \"50% deposit upon acceptance, 50% on delivery of the computers.\",\n                    \"ui_status\": \"draft\",\n                    \"updated\": \"2019-04-18 09:42:52\",\n                    \"vat_name\": null,\n                    \"vat_number\": \"\",\n                    \"vis_state\": 0\n                }\n            ],\n            \"page\": 1,\n            \"pages\": 1,\n            \"per_page\": 15,\n            \"total\": 1\n        }\n    }\n}"}],"_postman_id":"e096e3f4-99bf-4619-b159-50f9e02ecaca"},{"name":"Single Estimate","id":"f2c22bc0-554d-41a6-8e6c-852890cd974e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/estimates/estimates/{{estimateId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","estimates","estimates","{{estimateId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"2a69b6f2-d69f-4753-b510-b3d91d909af1","name":"Single Estimate","originalRequest":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/estimates/estimates/{{estimateId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gBQkJaDwcXB0NYXRFMUVlTRwAbTQFNA0xVBwZTVVQKCwdRU1MEBwVVSBwHH0AEBwcIUAxVCltRAwUGDFlVQx8EBVpEBDs="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 17:57:15 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 17:57:15 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"estimate\": {\n                \"accepted\": false,\n                \"accounting_systemid\": \"wkMd2g\",\n                \"address\": \"\",\n                \"amount\": {\n                    \"amount\": \"17628.00\",\n                    \"code\": \"USD\"\n                },\n                \"city\": \"\",\n                \"code\": \"\",\n                \"country\": \"Canada\",\n                \"create_date\": \"2019-04-18\",\n                \"created_at\": \"2019-04-18 09:42:52\",\n                \"currency_code\": \"USD\",\n                \"current_organization\": \"first company\",\n                \"customerid\": 31006,\n                \"description\": \"it's a computer hardware version 1\",\n                \"discount_total\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"discount_value\": \"0\",\n                \"display_status\": \"draft\",\n                \"estimate_number\": \"0000001\",\n                \"estimateid\": 1706,\n                \"ext_archive\": 0,\n                \"fname\": \"Client\",\n                \"id\": 1706,\n                \"invoiced\": false,\n                \"language\": \"en\",\n                \"lname\": \"one\",\n                \"notes\": \"This is an estimate for the computer\",\n                \"organization\": \"first company\",\n                \"ownerid\": 1,\n                \"po_number\": null,\n                \"province\": \"\",\n                \"reply_status\": null,\n                \"require_client_signature\": false,\n                \"rich_proposal\": false,\n                \"sentid\": 1,\n                \"status\": 1,\n                \"street\": \"\",\n                \"street2\": \"\",\n                \"template\": \"clean-grouped\",\n                \"terms\": \"50% deposit upon acceptance, 50% on delivery of the computers.\",\n                \"ui_status\": \"draft\",\n                \"updated\": \"2019-04-18 09:42:52\",\n                \"vat_name\": null,\n                \"vat_number\": \"\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"f2c22bc0-554d-41a6-8e6c-852890cd974e"},{"name":"Single Estimate With Estimate Lines","id":"54358cf4-dcff-4b65-b946-4a64d8f4436a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"estimate\": {\n    \"customerid\": {{customerId}},\n    \"create_date\": \"2019-04-20\",\n    \"presentation\": {\n    \t\"theme_primary_color\": \"#4f697a\",\n    \t\"image_logo_src\": \"/service/uploads/images/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50IjoyMTAxMTkzLCJvcmlnaW5hbF9maWxlbmFtZSI6IkZyZXNoQm9va3MtTG9nbyAoMikucG5nIiwiYnVja2V0IjoidXBsb2FkcyIsImZpbGVuYW1lIjoidXBsb2FkLWEyY2QxMmFmZTc0MWQ1MGMwOGMyNmUyNDRhMmQzOWJkZTE2ZDY5OGMiLCJsZW5ndGgiOjg4MjQsImtleSI6Iidkb2NzLSctMjEwMTE5My91cGxvYWQtYTJjZDEyYWZlNzQxZDUwYzA4YzI2ZTI0NGEyZDM5YmRlMTZkNjk4YyJ9.vskvajegEwrVGx7v9qUZEmxWYvlwRjYqCUCKW0i7nds\"\n    },\n    \"lines\": [\n      {\n        \"type\": 0,\n        \"description\": \"\",\n        \"taxName1\": \"\",\n        \"taxAmount1\": 0,\n        \"name\": \"Paperwork\",\n        \"qty\": 1,\n        \"taxName2\": \"\",\n        \"taxAmount2\": 0,\n        \"unit_cost\": {\n            \"amount\": \"5000.00\",\n            \"code\": \"USD\"\n        }\n      },\n      {\n        \"type\": 0,\n        \"description\": \"\",\n        \"expenseid\": {{estimateId}},\n        \"taxName1\": \"\",\n        \"taxAmount1\": 0,\n        \"name\": \"Air Canada\",\n        \"qty\": 1,\n        \"taxName2\": \"\",\n        \"taxAmount2\": 0,\n        \"unit_cost\": {\n            \"amount\": \"3000.00\",\n            \"code\": \"USD\"\n        }\n      }\n    ]\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/estimates/estimates","description":"<p>Creates a single estimate with multiple estimate lines and a logo and colourway.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","estimates","estimates"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"63950958-0b5f-4307-89d5-3375837b6954","name":"Single Estimate With Estimate Lines","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"estimate\": {\n    \"customerid\": {{customerId}},\n    \"create_date\": \"2019-04-20\",\n    \"presentation\": {\n    \t\"theme_primary_color\": \"#4f697a\",\n    \t\"image_logo_src\": \"/service/uploads/images/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50IjoyMTAxMTkzLCJvcmlnaW5hbF9maWxlbmFtZSI6IkZyZXNoQm9va3MtTG9nbyAoMikucG5nIiwiYnVja2V0IjoidXBsb2FkcyIsImZpbGVuYW1lIjoidXBsb2FkLWEyY2QxMmFmZTc0MWQ1MGMwOGMyNmUyNDRhMmQzOWJkZTE2ZDY5OGMiLCJsZW5ndGgiOjg4MjQsImtleSI6Iidkb2NzLSctMjEwMTE5My91cGxvYWQtYTJjZDEyYWZlNzQxZDUwYzA4YzI2ZTI0NGEyZDM5YmRlMTZkNjk4YyJ9.vskvajegEwrVGx7v9qUZEmxWYvlwRjYqCUCKW0i7nds\"\n    },\n    \"lines\": [\n      {\n        \"type\": 0,\n        \"description\": \"\",\n        \"taxName1\": \"\",\n        \"taxAmount1\": 0,\n        \"name\": \"Paperwork\",\n        \"qty\": 1,\n        \"taxName2\": \"\",\n        \"taxAmount2\": 0,\n        \"unit_cost\": {\n            \"amount\": \"5000.00\",\n            \"code\": \"USD\"\n        }\n      },\n      {\n        \"type\": 0,\n        \"description\": \"\",\n        \"expenseid\": {{estimateId}},\n        \"taxName1\": \"\",\n        \"taxAmount1\": 0,\n        \"name\": \"Air Canada\",\n        \"qty\": 1,\n        \"taxName2\": \"\",\n        \"taxAmount2\": 0,\n        \"unit_cost\": {\n            \"amount\": \"3000.00\",\n            \"code\": \"USD\"\n        }\n      }\n    ]\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/estimates/estimates"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gBQkJaDwcXB0NYXRFMUVlTRwBKQx1RH1JKBQZSUlMAAgNSUlQABg5RXAQaAlBRW04SAQ9XCQgEBQpVXQcGWAMDBRQbBwcPS1Zt"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 17:59:15 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 17:59:15 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"estimate\": {\n                \"accepted\": false,\n                \"accounting_systemid\": \"wkMd2g\",\n                \"address\": \"\",\n                \"amount\": {\n                    \"amount\": \"8000.00\",\n                    \"code\": \"USD\"\n                },\n                \"city\": \"\",\n                \"code\": \"\",\n                \"country\": \"Canada\",\n                \"create_date\": \"2019-04-20\",\n                \"created_at\": \"2019-04-24 13:59:15\",\n                \"currency_code\": \"USD\",\n                \"current_organization\": \"first company\",\n                \"customerid\": 31006,\n                \"description\": \"\",\n                \"discount_total\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"discount_value\": \"0\",\n                \"display_status\": \"draft\",\n                \"estimate_number\": \"0000003\",\n                \"estimateid\": 2652,\n                \"ext_archive\": 0,\n                \"fname\": \"Nicolas\",\n                \"id\": 2652,\n                \"invoiced\": false,\n                \"language\": \"en\",\n                \"lname\": \"one\",\n                \"notes\": \"\",\n                \"organization\": \"first company\",\n                \"ownerid\": 1,\n                \"po_number\": null,\n                \"province\": \"\",\n                \"reply_status\": null,\n                \"require_client_signature\": false,\n                \"rich_proposal\": false,\n                \"sentid\": 1,\n                \"status\": 1,\n                \"street\": \"\",\n                \"street2\": \"\",\n                \"template\": \"clean-grouped\",\n                \"terms\": \"\",\n                \"ui_status\": \"draft\",\n                \"updated\": \"2019-04-24 13:59:15\",\n                \"vat_name\": \"\",\n                \"vat_number\": \"\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"54358cf4-dcff-4b65-b946-4a64d8f4436a"},{"name":"Update Estimate","id":"33381d88-38fe-4cbe-8eb4-b4813a664a81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"estimate\": {\n     \"customerid\": {{customerId}},\n     \"create_date\": \"2019-04-20\"\n  }\n}"},"url":"api.freshbooks.com/accounting/account/{{accountId}}/estimates/estimates/{{estimateId}}","description":"<p>Updating an estimate with a 30% discount. </p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"path":["accounting","account","{{accountId}}","estimates","estimates","{{estimateId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"30049336-406e-4d36-8430-35687658a562","name":"Update Estimate","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"estimate\": {\n     \"customerid\": {{customerId}},\n     \"create_date\": \"2019-04-20\"\n  }\n}"},"url":"api.freshbooks.com/accounting/account/{{accountId}}/estimates/estimates/{{estimateId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gBQkJaDwcXB0NYXRFMUVlTRwAbTQFNA0xVBQ5UUlIJBwlVUlsDAQNVSBwHH0AHVQBTVlxbC1kAAAIGWwMJQx8EBVpEBDs="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:00:32 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:00:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"estimate\": {\n                \"accepted\": false,\n                \"accounting_systemid\": \"wkMd2g\",\n                \"address\": \"\",\n                \"amount\": {\n                    \"amount\": \"17628.00\",\n                    \"code\": \"USD\"\n                },\n                \"city\": \"\",\n                \"code\": \"\",\n                \"country\": \"Canada\",\n                \"create_date\": \"2019-04-18\",\n                \"created_at\": \"2019-04-18 09:42:52\",\n                \"currency_code\": \"USD\",\n                \"current_organization\": \"first company\",\n                \"customerid\": 31006,\n                \"description\": \"it's a computer hardware version 1\",\n                \"discount_total\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"discount_value\": \"0\",\n                \"display_status\": \"draft\",\n                \"estimate_number\": \"0000001\",\n                \"estimateid\": 1706,\n                \"ext_archive\": 0,\n                \"fname\": \"Client\",\n                \"id\": 1706,\n                \"invoiced\": false,\n                \"language\": \"en\",\n                \"lname\": \"one\",\n                \"notes\": \"This is an estimate for the computer\",\n                \"organization\": \"first company\",\n                \"ownerid\": 1,\n                \"po_number\": null,\n                \"province\": \"\",\n                \"reply_status\": null,\n                \"require_client_signature\": false,\n                \"rich_proposal\": false,\n                \"sentid\": 1,\n                \"status\": 1,\n                \"street\": \"\",\n                \"street2\": \"\",\n                \"template\": \"clean-grouped\",\n                \"terms\": \"50% deposit upon acceptance, 50% on delivery of the computers.\",\n                \"ui_status\": \"draft\",\n                \"updated\": \"2019-04-18 09:42:52\",\n                \"vat_name\": null,\n                \"vat_number\": \"\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"33381d88-38fe-4cbe-8eb4-b4813a664a81"},{"name":"Delete Estimate","id":"10eb6023-1562-426e-910b-e93f4f17ff47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"estimate\": {\n    \"vis_state\": 1\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/estimates/estimates/{{estimateId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","estimates","estimates","{{estimateId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"f8d2f513-94d4-467f-8637-480eb64a9c8c","name":"Delete Estimate","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"estimate\": {\n    \"vis_state\": 1\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/estimates/estimates/{{estimateId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gBQkJaDwcXB0NYXRFMUVlTRwAbTQFNA0xVBgFYVlQLBQdTUVQFCA9eVx0CAU5EWgQJWwlVCAkMUwZWXFkAWRFOAldbEgM+"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:01:21 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:01:21 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"estimate\": {\n                \"accepted\": false,\n                \"accounting_systemid\": \"wkMd2g\",\n                \"address\": \"\",\n                \"amount\": {\n                    \"amount\": \"17628.00\",\n                    \"code\": \"USD\"\n                },\n                \"city\": \"\",\n                \"code\": \"\",\n                \"country\": \"Canada\",\n                \"create_date\": \"2019-04-18\",\n                \"created_at\": \"2019-04-18 09:42:52\",\n                \"currency_code\": \"USD\",\n                \"current_organization\": \"first company\",\n                \"customerid\": 31006,\n                \"description\": \"it's a computer hardware version 1\",\n                \"discount_total\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"discount_value\": \"0\",\n                \"display_status\": \"draft\",\n                \"estimate_number\": \"0000001\",\n                \"estimateid\": 1706,\n                \"ext_archive\": 0,\n                \"fname\": \"Client\",\n                \"id\": 1706,\n                \"invoiced\": false,\n                \"language\": \"en\",\n                \"lname\": \"one\",\n                \"notes\": \"This is an estimate for the computer\",\n                \"organization\": \"first company\",\n                \"ownerid\": 1,\n                \"po_number\": null,\n                \"province\": \"\",\n                \"reply_status\": null,\n                \"require_client_signature\": false,\n                \"rich_proposal\": false,\n                \"sentid\": 1,\n                \"status\": 1,\n                \"street\": \"\",\n                \"street2\": \"\",\n                \"template\": \"clean-grouped\",\n                \"terms\": \"50% deposit upon acceptance, 50% on delivery of the computers.\",\n                \"ui_status\": \"draft\",\n                \"updated\": \"2019-04-24 14:01:21\",\n                \"vat_name\": null,\n                \"vat_number\": \"\",\n                \"vis_state\": 1\n            }\n        }\n    }\n}"}],"_postman_id":"10eb6023-1562-426e-910b-e93f4f17ff47"},{"name":"Send Estimate by Email","id":"c22f1c93-61af-4e82-86ac-d8ed052975ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"estimate\": {\n        \"email_recipients\": [\n            \"example@freshbooks.com\"\n        ],\n        \"estimate_customized_email\": {\n            \"subject\": \"::company name:: sent you an estimate (::estimate number::)\",\n            \"body\": \"::company name:: sent you an estimate (::estimate number::)\"\n        },\n        \"action_email\": true\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/account/{{accountid}}/estimates/estimates/{{estimateid}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountid}}","estimates","estimates","{{estimateid}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c22f1c93-61af-4e82-86ac-d8ed052975ca"},{"name":"Accept Estimate","id":"1c364409-2917-4439-8de0-9829dc7a5655","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"estimate\": {\n     \"action_accept\": true\n  }\n}"},"url":"api.freshbooks.com/accounting/account/{{accountId}}/estimates/estimates/{{estimateId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"path":["accounting","account","{{accountId}}","estimates","estimates","{{estimateId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"501aa8d5-788e-44e6-91bb-7b2cc5ddf64c","name":"Update Estimate","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"estimate\": {\n     \"customerid\": {{customerId}},\n     \"create_date\": \"2019-04-20\"\n  }\n}"},"url":"api.freshbooks.com/accounting/account/{{accountId}}/estimates/estimates/{{estimateId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gBQkJaDwcXB0NYXRFMUVlTRwAbTQFNA0xVBQ5UUlIJBwlVUlsDAQNVSBwHH0AHVQBTVlxbC1kAAAIGWwMJQx8EBVpEBDs="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:00:32 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:00:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"estimate\": {\n                \"accepted\": false,\n                \"accounting_systemid\": \"wkMd2g\",\n                \"address\": \"\",\n                \"amount\": {\n                    \"amount\": \"17628.00\",\n                    \"code\": \"USD\"\n                },\n                \"city\": \"\",\n                \"code\": \"\",\n                \"country\": \"Canada\",\n                \"create_date\": \"2019-04-18\",\n                \"created_at\": \"2019-04-18 09:42:52\",\n                \"currency_code\": \"USD\",\n                \"current_organization\": \"first company\",\n                \"customerid\": 31006,\n                \"description\": \"it's a computer hardware version 1\",\n                \"discount_total\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"discount_value\": \"0\",\n                \"display_status\": \"draft\",\n                \"estimate_number\": \"0000001\",\n                \"estimateid\": 1706,\n                \"ext_archive\": 0,\n                \"fname\": \"Client\",\n                \"id\": 1706,\n                \"invoiced\": false,\n                \"language\": \"en\",\n                \"lname\": \"one\",\n                \"notes\": \"This is an estimate for the computer\",\n                \"organization\": \"first company\",\n                \"ownerid\": 1,\n                \"po_number\": null,\n                \"province\": \"\",\n                \"reply_status\": null,\n                \"require_client_signature\": false,\n                \"rich_proposal\": false,\n                \"sentid\": 1,\n                \"status\": 1,\n                \"street\": \"\",\n                \"street2\": \"\",\n                \"template\": \"clean-grouped\",\n                \"terms\": \"50% deposit upon acceptance, 50% on delivery of the computers.\",\n                \"ui_status\": \"draft\",\n                \"updated\": \"2019-04-18 09:42:52\",\n                \"vat_name\": null,\n                \"vat_number\": \"\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"1c364409-2917-4439-8de0-9829dc7a5655"},{"name":"Create Single Proposal w/ Sections, Logos, and E-signature","id":"04d6eb88-cee9-42f7-9220-9a9c984fd152","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"estimate\": {\n        \"rich_proposal\": true,\n        \"require_client_signature\": true,\n        \"create_date\": \"2019-07-16\",\n        \"currency_code\": \"CAD\",\n        \"discount_value\": 0,\n        \"estimate_number\": \"0000044\",\n        \"template\": \"clean-grouped\",\n        \"terms\": \"Cupcake ipsum dolor sit amet. Pudding candy cupcake wafer. Apple pie pie candy canes soufflé gummies muffin icing sweet roll. Fruitcake gummies croissant chocolate cake sugar plum chocolate bar. Bonbon jelly-o lemon drops candy jujubes chupa chups gingerbread. Powder jelly tart cotton candy chocolate bar fruitcake cotton candy dragée. Tart sugar plum bear claw sesame snaps. Dragée jelly beans candy canes. Powder pie gingerbread jelly croissant sesame snaps icing gummies jelly beans. Cotton candy jelly beans gummi bears sweet sesame snaps jujubes sesame snaps carrot cake. Pastry lemon drops muffin halvah cake dessert gummies tootsie roll soufflé. Cotton candy sesame snaps dessert ice cream. Topping jujubes oat cake bear claw liquorice bear claw chocolate bar ice cream sesame snaps. Cake pudding tiramisu topping sesame snaps croissant candy sesame snaps tootsie roll. Danish lemon drops tart muffin. Chocolate bar toffee icing tiramisu danish ice cream sweet roll pastry.\",\n        \"payment_details\": null,\n        \"vat_name\": null,\n        \"vat_number\": null,\n        \"attachments\": [],\n        \"lines\": [\n            {\n                \"compounded_tax\": false,\n                \"taskno\": null,\n                \"amount\": {\n                    \"amount\": \"100\",\n                    \"code\": \"CAD\"\n                },\n                \"description\": \"\",\n                \"expenseid\": null,\n                \"taxName1\": \"HST\",\n                \"taxAmount1\": 13,\n                \"name\": \"Item One\",\n                \"qty\": 1,\n                \"taxName2\": null,\n                \"taxAmount2\": null,\n                \"type\": null,\n                \"unit_cost\": {\n                    \"amount\": \"100\",\n                    \"code\": \"CAD\"\n                },\n                \"estimateid\": null\n            },\n            {\n                \"compounded_tax\": false,\n                \"amount\": {\n                    \"amount\": \"200\",\n                    \"code\": \"CAD\"\n                },\n                \"description\": \"\",\n                \"expenseid\": null,\n                \"taxName1\": \"HST\",\n                \"taxAmount1\": 13,\n                \"name\": \"Item Two\",\n                \"qty\": 1,\n                \"taxName2\": null,\n                \"taxAmount2\": null,\n                \"unit_cost\": {\n                    \"amount\": \"200\",\n                    \"code\": \"CAD\"\n                },\n                \"estimateid\": null\n            },\n            {\n                \"compounded_tax\": false,\n                \"amount\": {\n                    \"amount\": \"300\",\n                    \"code\": \"CAD\"\n                },\n                \"description\": \"\",\n                \"expenseid\": null,\n                \"taxName1\": null,\n                \"taxAmount1\": null,\n                \"name\": \"Item Three\",\n                \"qty\": 1,\n                \"taxName2\": null,\n                \"taxAmount2\": null,\n                \"unit_cost\": {\n                    \"amount\": \"300\",\n                    \"code\": \"CAD\"\n                },\n                \"estimateid\": null\n            }\n        ],\n        \"presentation\": {\n            \"theme_font_name\": \"classic\",\n            \"theme_primary_color\": \"#1460aa\",\n            \"theme_layout\": \"simple\",\n            \"date_format\": \"mm/dd/yyyy\",\n            \"image_banner_position_y\": -83,\n            \"image_logo_src\": \"/service/uploads/images/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjozMTg1OTUwLCJvcmlnaW5hbF9maWxlbmFtZSI6ImdhdmVscGljLmpwZWciLCJidWNrZXQiOiJ1cGxvYWRzIiwiZmlsZW5hbWUiOiJ1cGxvYWQtYTZmNzY3M2VhN2VjMmYwYjEzODNlOTg5MTc1NDFjMGIyOWE0MmUyOCIsImxlbmd0aCI6MzIzNiwia2V5IjoiJ2RvY3MtJy0zMTg1OTUwL3VwbG9hZC1hNmY3NjczZWE3ZWMyZjBiMTM4M2U5ODkxNzU0MWMwYjI5YTQyZTI4In0._GITi9SFuSJdGyba0tlOptyAyDA5BIQsGIa4WeGm36c\"\n        },\n        \"sections\": [\n            {\n                \"body\": \"Squiffy Jack Ketch coxswain plunder fire in the hole bucko trysail topgallant mizzenmast sheet. Nelsons folly hogshead Jack Tar Davy Jones' Locker grog blossom scourge of the seven seas tackle mizzen to go on account deadlights. Jib bilged on her anchor crack Jennys tea cup cog reef matey spike Jack Ketch scurvy landlubber or just lubber. Pinnace shrouds Yellow Jack hands yardarm rutters Arr hearties piracy lookout. Doubloon ye Corsair warp cutlass brigantine reef sails aft hands haul wind. Snow spyglass measured fer yer chains barkadeer no\",\n                \"group_name\": \"top\",\n                \"title\": \"Overview\",\n                \"type\": \"overview\"\n            },\n            {\n                \"body\": \"prey, no pay bowsprit pressgang swing the lead squiffy plunder. Six pounders poop deck doubloon driver topmast broadside American Main mutiny Corsair scurvy. Grog blossom lateen sail spike Sail ho man-of-war case shot maroon Nelsons folly quarterdeck Cat o'nine tails. Hogshead overhaul aye prow barkadeer rope's end stern belay code of conduct topgallant. Pieces of Eight American Main dance the hempen jig port rope's end barkadeer bilged on her anchor league Admiral of the Black Brethren of the Coast.\",\n                \"group_name\": \"top\",\n                \"title\": \"Scope of Work\",\n                \"type\": \"scope_of_work\"\n            },\n            {\n                \"body\": \"Squiffy trysail lad log boom rigging walk the plank scourge of the seven seas swab. Arr Blimey smartly gangway prow schooner bounty run a rig hardtack. Chandler rope's end rutters heave down jib fire in the hole Plate Fleet cackle fruit squiffy.<br>\",\n                \"group_name\": \"top\",\n                \"title\": \"Timeline\",\n                \"type\": \"timeline\"\n            },\n            {\n                \"body\": \"Mizzen capstan trysail sloop execution dock lookout gangway Cat o'nine tails hang the jib bucko. Gun lad salmagundi aye Jolly Roger Brethren of the Coast chase guns smartly plunder galleon. League rutters tender topmast brig hang the jib yardarm plunder shrouds sloop. Jack bucko Sink me quarterdeck lugsail marooned tack reef keel Blimey. Haul wind yardarm blow the man down flogging scuppers aft run a shot across the bow bilge rat Cat o'nine tails lugger. Sheet chandler run a shot across the bow Sail ho aft carouser spanker cutlass crack Jennys tea cup parrel. Pieces of Eight belaying pin Yellow Jack rigging boatswain cutlass loaded to the gunwalls yardarm bounty grog blossom. Hempen halter bilged on her anchor splice the main brace line parrel bilge water lad cable scuppers shrouds. Killick ho lee take a caulk wench line coxswain coffer heave down keel. Line Jack Ketch booty pirate black spot six pounders gibbet yardarm aft lateen sail.\",\n                \"group_name\": \"top\",\n                \"title\": \"Custom Heading\",\n                \"type\": \"custom\"\n            }\n        ],\n        \"customerid\": {{customerid}}\n    }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountid}}/estimates/estimates","description":"<p>Create a single proposal that has sections, logos, and requires an e-signature from the customer</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountid}}","estimates","estimates"],"host":["api","freshbooks","com"],"query":[{"disabled":true,"key":"include%5B%5D","value":"audit_logs"},{"disabled":true,"key":"include%5B%5D","value":"attachments"},{"disabled":true,"key":"include%5B%5D","value":"client"},{"disabled":true,"key":"include%5B%5D","value":"contacts"},{"disabled":true,"key":"include%5B%5D","value":"lines"},{"disabled":true,"key":"include%5B%5D","value":"owner"},{"disabled":true,"key":"include%5B%5D","value":"presentation"},{"disabled":true,"key":"include%5B%5D","value":"signature"},{"disabled":true,"key":"include%5B%5D","value":"sections"},{"disabled":true,"key":"include%5B%5D","value":"signature"},{"disabled":true,"key":"include%5B%5D","value":"system"}],"variable":[]}},"response":[],"_postman_id":"04d6eb88-cee9-42f7-9220-9a9c984fd152"}],"id":"02e41bb3-25f9-4d61-84da-9a8b7559f0b5","description":"<h1 id=\"estimates\">Estimates</h1>\n<h2 id=\"general-info\">General Info</h2>\n<p>Estimates in FreshBooks provides Owners and Clients a way to agree and negotiate on the price and scope of work before it commences</p>\n","event":[{"listen":"prerequest","script":{"id":"6656d780-2c9f-4dfd-88bd-3c11a3d7c249","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f8dac875-145d-44df-8db3-cddbea9a57c0","type":"text/javascript","exec":[""]}}],"_postman_id":"02e41bb3-25f9-4d61-84da-9a8b7559f0b5","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Time Tracking","item":[{"name":"List Entries","id":"a5012b2c-3774-4117-a370-6c8704aeccb1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/timetracking/business/{{businessId}}/time_entries","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["timetracking","business","{{businessId}}","time_entries"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"91bb3645-e176-472d-bb8f-afa6059fccad","name":"List Entries","originalRequest":{"method":"GET","header":[],"url":"https://api.freshbooks.com/timetracking/business/{{businessId}}/time_entries"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1904.25.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllUBAQOU10TGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FDFZFVRYSBxlDUhULRERQBxVNFlkPXT1dVkBAWgBKT0MEQA0RRFQEXBdRXlU7BAxDQ14DFxMaA05WTVIHVwhXAQwFAQpVAFgAUwJTSBsGTUQGAQYJUFQEUgdRBQcBUAFURE8EUQ5LB2U="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:42:32 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Content-Length","value":"3133"},{"key":"Date","value":"Wed, 24 Apr 2019 18:42:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"meta\": {\n        \"total_logged\": 54000,\n        \"total_unbilled\": 0,\n        \"total\": 7,\n        \"per_page\": 7,\n        \"page\": 1,\n        \"pages\": 1\n    },\n    \"time_entries\": [\n        {\n            \"id\": 47634496,\n            \"identity_id\": 1882548,\n            \"timer\": null,\n            \"is_logged\": true,\n            \"started_at\": \"2016-08-16T20:00:00Z\",\n            \"created_at\": \"2019-04-18T15:16:32Z\",\n            \"duration\": 7200,\n            \"client_id\": 31006,\n            \"project_id\": 2976412,\n            \"pending_client\": null,\n            \"pending_project\": null,\n            \"pending_task\": null,\n            \"task_id\": null,\n            \"service_id\": null,\n            \"note\": \"Stuff\",\n            \"active\": true,\n            \"billable\": false,\n            \"billed\": false,\n            \"internal\": false,\n            \"retainer_id\": null\n        },\n        {\n            \"id\": 47632920,\n            \"identity_id\": 1882548,\n            \"timer\": null,\n            \"is_logged\": true,\n            \"started_at\": \"2016-08-16T20:00:00Z\",\n            \"created_at\": \"2019-04-18T14:58:17Z\",\n            \"duration\": 7200,\n            \"client_id\": 31006,\n            \"project_id\": 2976412,\n            \"pending_client\": null,\n            \"pending_project\": null,\n            \"pending_task\": null,\n            \"task_id\": null,\n            \"service_id\": null,\n            \"note\": \"Stuff\",\n            \"active\": true,\n            \"billable\": false,\n            \"billed\": false,\n            \"internal\": false,\n            \"retainer_id\": null\n        },\n        {\n            \"id\": 47632874,\n            \"identity_id\": 1882548,\n            \"timer\": null,\n            \"is_logged\": true,\n            \"started_at\": \"2016-08-16T20:00:00Z\",\n            \"created_at\": \"2019-04-18T14:57:34Z\",\n            \"duration\": 7200,\n            \"client_id\": 31006,\n            \"project_id\": 2976412,\n            \"pending_client\": null,\n            \"pending_project\": null,\n            \"pending_task\": null,\n            \"task_id\": null,\n            \"service_id\": null,\n            \"note\": \"Stuff\",\n            \"active\": true,\n            \"billable\": false,\n            \"billed\": false,\n            \"internal\": false,\n            \"retainer_id\": null\n        },\n        {\n            \"id\": 47630476,\n            \"identity_id\": 1882548,\n            \"timer\": null,\n            \"is_logged\": true,\n            \"started_at\": \"2019-04-15T04:00:00Z\",\n            \"created_at\": \"2019-04-18T14:11:34Z\",\n            \"duration\": 7200,\n            \"client_id\": 31006,\n            \"project_id\": 2976412,\n            \"pending_client\": null,\n            \"pending_project\": null,\n            \"pending_task\": null,\n            \"task_id\": null,\n            \"service_id\": 3575792,\n            \"note\": null,\n            \"active\": true,\n            \"billable\": false,\n            \"billed\": false,\n            \"internal\": false,\n            \"retainer_id\": null\n        },\n        {\n            \"id\": 47630478,\n            \"identity_id\": 1882548,\n            \"timer\": null,\n            \"is_logged\": true,\n            \"started_at\": \"2019-04-17T04:00:00Z\",\n            \"created_at\": \"2019-04-18T14:11:34Z\",\n            \"duration\": 7200,\n            \"client_id\": 31006,\n            \"project_id\": 2976412,\n            \"pending_client\": null,\n            \"pending_project\": null,\n            \"pending_task\": null,\n            \"task_id\": null,\n            \"service_id\": 3575792,\n            \"note\": null,\n            \"active\": true,\n            \"billable\": false,\n            \"billed\": false,\n            \"internal\": false,\n            \"retainer_id\": null\n        },\n        {\n            \"id\": 47630480,\n            \"identity_id\": 1882548,\n            \"timer\": null,\n            \"is_logged\": true,\n            \"started_at\": \"2019-04-18T04:00:00Z\",\n            \"created_at\": \"2019-04-18T14:11:34Z\",\n            \"duration\": 7200,\n            \"client_id\": 31006,\n            \"project_id\": 2976412,\n            \"pending_client\": null,\n            \"pending_project\": null,\n            \"pending_task\": null,\n            \"task_id\": null,\n            \"service_id\": 3575792,\n            \"note\": null,\n            \"active\": true,\n            \"billable\": false,\n            \"billed\": false,\n            \"internal\": false,\n            \"retainer_id\": null\n        },\n        {\n            \"id\": 47630482,\n            \"identity_id\": 1882548,\n            \"timer\": null,\n            \"is_logged\": true,\n            \"started_at\": \"2019-04-19T04:00:00Z\",\n            \"created_at\": \"2019-04-18T14:11:34Z\",\n            \"duration\": 10800,\n            \"client_id\": 31006,\n            \"project_id\": 2976412,\n            \"pending_client\": null,\n            \"pending_project\": null,\n            \"pending_task\": null,\n            \"task_id\": null,\n            \"service_id\": 3575792,\n            \"note\": null,\n            \"active\": true,\n            \"billable\": false,\n            \"billed\": false,\n            \"internal\": false,\n            \"retainer_id\": null\n        }\n    ]\n}"}],"_postman_id":"a5012b2c-3774-4117-a370-6c8704aeccb1"},{"name":"Time Entries for a Given Day ","id":"b0d0a1a1-ff04-4b18-8049-fbb828191318","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/timetracking/business/{{businessId}}/time_entries?page=0&started_from=2016-08-17T04%3A00%3A00Z&started_to=2019-04-18T03%3A59%3A59Z","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["timetracking","business","{{businessId}}","time_entries"],"host":["api","freshbooks","com"],"query":[{"key":"page","value":"0"},{"key":"started_from","value":"2016-08-17T04%3A00%3A00Z"},{"key":"started_to","value":"2019-04-18T03%3A59%3A59Z"}],"variable":[]}},"response":[{"id":"0ff2cdb5-3e4f-458b-b46a-057fb3274615","name":"List time entries for a given day","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.freshbooks.com/timetracking/business/{{businessId}}/time_entries?page=0&started_from=2016-08-17T04%3A00%3A00Z&started_to=2019-04-18T03%3A59%3A59Z","protocol":"https","host":["api","freshbooks","com"],"path":["timetracking","business","{{businessId}}","time_entries"],"query":[{"key":"page","value":"0"},{"key":"started_from","value":"2016-08-17T04%3A00%3A00Z"},{"key":"started_to","value":"2019-04-18T03%3A59%3A59Z"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"b0d0a1a1-ff04-4b18-8049-fbb828191318"},{"name":"Time Entries Updated Since Precise Time","id":"ae5540f2-f8bb-453b-b5b2-ee8c05b47a17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/timetracking/business/{{businessId}}/time_entries?updated_since=2015-08-01T03%3A00%3A00Z&include_deleted=1","description":"<p>Time entries that have been updated since a precise time. </p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["timetracking","business","{{businessId}}","time_entries"],"host":["api","freshbooks","com"],"query":[{"key":"updated_since","value":"2015-08-01T03%3A00%3A00Z"},{"key":"include_deleted","value":"1"}],"variable":[]}},"response":[{"id":"b0dff2e3-2138-445d-a960-6c6451c8afc7","name":"Time Entries that have been updated since a precise time","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.freshbooks.com/timetracking/business/{{businessId}}/time_entries?updated_since=2015-08-01T03%3A00%3A00Z&include_deleted=1","protocol":"https","host":["api","freshbooks","com"],"path":["timetracking","business","{{businessId}}","time_entries"],"query":[{"key":"updated_since","value":"2015-08-01T03%3A00%3A00Z"},{"key":"include_deleted","value":"1"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"ae5540f2-f8bb-453b-b5b2-ee8c05b47a17"},{"name":"Time Entries For Employee on Specific Project","id":"8cdbba92-a64c-4d23-b7ac-66d7353233b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/timetracking/business/{{businessId}}/time_entries/search?q=Marshall&sort=-started_at&useSearchEndpoint=true","description":"<p>Currently you have to search for employee using their employee name and not an ID. </p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["timetracking","business","{{businessId}}","time_entries","search"],"host":["api","freshbooks","com"],"query":[{"disabled":true,"key":"date_field","value":"date"},{"disabled":true,"key":"page","value":"1"},{"disabled":true,"key":"project_id","value":"{{projectId}}"},{"key":"q","value":"Marshall"},{"key":"sort","value":"-started_at"},{"key":"useSearchEndpoint","value":"true"}],"variable":[]}},"response":[],"_postman_id":"8cdbba92-a64c-4d23-b7ac-66d7353233b8"},{"name":"Create a Time Entry","event":[{"listen":"test","script":{"id":"606aa50a-3bf4-4f8a-b2da-acb28bc22131","exec":["// var jsonData = JSON.parse(responseBody);","// postman.setEnvironmentVariable(\"timeEntryId\", jsonData.time_entry.id);"],"type":"text/javascript"}}],"id":"1304e782-6492-4b86-accc-c04ddab2c6e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"time_entry\": {\n        \"is_logged\": true,\n        \"duration\": 7200,\n        \"note\": \"Stuff2\",\n        \"started_at\": \"2016-08-16T20:00:00.000Z\",\n        \"client_id\": \"140702\",\n        \"project_id\": \"2942418\",\n        \"service_id\": \"3351976\",\n        \"identity_id\":\"1882548\"\n\n    }\n}"},"url":"https://api.freshbooks.com/timetracking/business/{{businessId}}/time_entries","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["timetracking","business","{{businessId}}","time_entries"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"abc546e4-b7a3-4236-9c92-81ec2ee4e7ab","name":"Create a Time Entry","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"time_entry\": {\n        \"is_logged\": true,\n        \"duration\": 7200,\n        \"note\": \"Stuff\",\n        \"started_at\": \"2016-08-16T20:00:00.000Z\",\n        \"client_id\": {{clientId}},\n        \"project_id\": {{projectId}}\n    }\n}"},"url":"https://api.freshbooks.com/timetracking/business/{{businessId}}/time_entries"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1904.25.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllUBAQOU10TGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FDFZFVRYSBxlDUhULRERQBxVNFlkPXT1dVkBAWgBKT0MEQA0RRFQEXBdRXlU7BAxDQ14DFxMaA05WTVMEVg1WCA8MBARRClAHVQNUSAQGVEpBWlYHVgQABwEBVQYDUgBUBUFOVgNUEV1l"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:44:50 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Content-Length","value":"444"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:44:50 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"time_entry\": {\n        \"id\": 47902064,\n        \"identity_id\": 1882548,\n        \"timer\": null,\n        \"is_logged\": true,\n        \"started_at\": \"2016-08-16T20:00:00Z\",\n        \"created_at\": \"2019-04-24T18:44:50Z\",\n        \"duration\": 7200,\n        \"client_id\": 31006,\n        \"project_id\": 2989082,\n        \"pending_client\": null,\n        \"pending_project\": null,\n        \"pending_task\": null,\n        \"task_id\": null,\n        \"service_id\": null,\n        \"note\": \"Stuff\",\n        \"active\": true,\n        \"billable\": false,\n        \"billed\": false,\n        \"internal\": false,\n        \"retainer_id\": null\n    }\n}"}],"_postman_id":"1304e782-6492-4b86-accc-c04ddab2c6e5"},{"name":"Update a Time Entry","id":"76ecc21a-06d2-48b0-ae7d-756b86dad98a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"time_entry\": {\n      \"is_logged\": true,\n      \"duration\": 600,\n      \"note\": \"Updated Note\",\n      \"started_at\": \"2016-08-16T18:03:28.000Z\",\n      \"timer\": {\n          \"id\": \"2936\"\n      },\n      \"client_id\": {{clientId}},\n      \"project_id\": {{projectId}}\n  }\n}"},"url":"https://api.freshbooks.com/timetracking/business/{{businessId}}/time_entries/{{timeEntryId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["timetracking","business","{{businessId}}","time_entries","{{timeEntryId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"302d2213-e3cf-4dc8-b3b2-59b9694fbc8e","name":"Update a Time Entry","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"time_entry\": {\n      \"is_logged\": true,\n      \"duration\": 600,\n      \"note\": \"Updated Note\",\n      \"started_at\": \"2016-08-16T18:03:28.000Z\",\n      \"timer\": {\n          \"id\": \"2936\"\n      },\n      \"client_id\": {{clientId}},\n      \"project_id\": {{projectId}}\n  }\n}"},"url":"https://api.freshbooks.com/timetracking/business/{{businessId}}/time_entries/{{timeEntryId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1904.25.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllUBAQOU10TGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FDFZFVRYSBxlDUhULRERQBxVNFlkPXT1dVkBASktLBEIORhAHUw0VDw5dbFUKFRBOExtWSAEYAlRVVlcIUghUCgACBAFUCE0DVAdORgQBUVFaCQoEVQVVDwVWBFYTGlUDChAHbQ=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:45:14 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Content-Length","value":"450"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:45:14 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"time_entry\": {\n        \"id\": 47902064,\n        \"identity_id\": 1882548,\n        \"timer\": null,\n        \"is_logged\": true,\n        \"started_at\": \"2016-08-16T18:03:28Z\",\n        \"created_at\": \"2019-04-24T18:44:50Z\",\n        \"duration\": 600,\n        \"client_id\": 31006,\n        \"project_id\": 2989082,\n        \"pending_client\": null,\n        \"pending_project\": null,\n        \"pending_task\": null,\n        \"task_id\": null,\n        \"service_id\": null,\n        \"note\": \"Updated Note\",\n        \"active\": true,\n        \"billable\": false,\n        \"billed\": false,\n        \"internal\": false,\n        \"retainer_id\": null\n    }\n}"}],"_postman_id":"76ecc21a-06d2-48b0-ae7d-756b86dad98a"},{"name":"Delete a Time Entry","id":"555c82d4-07ed-4cc9-92bb-bc0c3b49e220","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.freshbooks.com/timetracking/business/{{businessId}}/time_entries/{{timeEntryId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["timetracking","business","{{businessId}}","time_entries","{{timeEntryId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"555c82d4-07ed-4cc9-92bb-bc0c3b49e220"}],"id":"bf6f5f17-15d8-4831-abb0-f24d969251f3","description":"<h2 id=\"general-info\">General Info</h2>\n<p>Time Entries represent time spent working for a client or project.</p>\n<p><em>Requires Authorization</em></p>\n<h2 id=\"important-note\">Important Note</h2>\n<p>When using GET calls for Projects and Time Tracking, please leave out the Content Type from your header.</p>\n<h2 id=\"includes\">Includes</h2>\n<p>There are no includes for time entries.</p>\n<h2 id=\"filters\">Filters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Filter Type</strong></th>\n<th><strong>Name</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Bool</td>\n<td>billable</td>\n<td>true returns entries that can be automatically added to an invoice</td>\n</tr>\n<tr>\n<td>Bool</td>\n<td>billed</td>\n<td>true returns entries that have already been added to an invoice</td>\n</tr>\n<tr>\n<td>Equals</td>\n<td>client_id</td>\n<td>matches exact client id</td>\n</tr>\n<tr>\n<td>Bool</td>\n<td>include_deleted</td>\n<td>true returns deleted time entries</td>\n</tr>\n<tr>\n<td>Bool</td>\n<td>team</td>\n<td>true returns entries logged by all members of the business</td>\n</tr>\n<tr>\n<td>Bool</td>\n<td>include_unlogged</td>\n<td>true returns entries currently in progress for a running timer</td>\n</tr>\n<tr>\n<td>Between</td>\n<td>started_from</td>\n<td>matches entries that take place at or after the specified utc date/time</td>\n</tr>\n<tr>\n<td>Between</td>\n<td>started_to</td>\n<td>matches entries that take place before or at the specified utc date/time</td>\n</tr>\n<tr>\n<td>Between</td>\n<td>updated_since</td>\n<td>matches entries that have been updated at or after the specified utc date/time</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"field-descriptions\">Field Descriptions</h2>\n<p>underlined fields are required on creation</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>billable</td>\n<td>bool</td>\n<td>True for entries that can be automatically added to an invoice</td>\n</tr>\n<tr>\n<td>billed</td>\n<td>bool</td>\n<td>True for entries that have already been added to an invoice or manually marked as billed</td>\n</tr>\n<tr>\n<td>client_id</td>\n<td>int</td>\n<td>The unique identifier of the client to be billed for this entry</td>\n</tr>\n<tr>\n<td>duration</td>\n<td>int</td>\n<td>The length of time in seconds</td>\n</tr>\n<tr>\n<td>internal</td>\n<td>bool</td>\n<td>True if the time entry is not assigned to a client</td>\n</tr>\n<tr>\n<td>is_logged</td>\n<td>bool</td>\n<td>False if the time entry is being created from a running timer</td>\n</tr>\n<tr>\n<td>note</td>\n<td>string</td>\n<td>A short description of the work being done during the time</td>\n</tr>\n<tr>\n<td>project_id</td>\n<td>int</td>\n<td>The unique identifier of the project worked on during the time</td>\n</tr>\n<tr>\n<td>started_at</td>\n<td>datetime</td>\n<td>The date/time in UTC when the work started</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"1b8161a3-2eea-499f-bc30-9018c4b5666f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"692686d3-40e4-46fd-b454-8cab330d4cb4","type":"text/javascript","exec":[""]}}],"_postman_id":"bf6f5f17-15d8-4831-abb0-f24d969251f3","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Projects","item":[{"name":"Tasks","item":[{"name":"List Tasks","event":[{"listen":"test","script":{"id":"7b8a4a95-3f76-431f-8a79-4087f11519c2","exec":["let jsonData = JSON.parse(responseBody); ","pm.environment.set(\"taskId\", jsonData.response.result.tasks[0].taskid);"],"type":"text/javascript"}}],"id":"389fbb22-ebd4-4675-b39b-7279847a1da0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/projects/tasks\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","projects","tasks\n"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"1b09e673-02c3-45d0-848d-d7613bfdd4ce","name":"List Tasks","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/projects/tasks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gUQ1lZBwUXEQoWWRFTSxYeA0kJTwBTAlRcAwVXUFcBBwdRUVsPHRpXSBNVBgZUBVtWVltbCl5QCwVcG01XAF8RAWs="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:38:47 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:38:48 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"page\": 1,\n            \"pages\": 1,\n            \"per_page\": 15,\n            \"tasks\": [\n                {\n                    \"billable\": true,\n                    \"description\": \"\",\n                    \"id\": 55226,\n                    \"name\": \"Computer Hardware\",\n                    \"rate\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"taskid\": 55226,\n                    \"tax1\": 0,\n                    \"tax2\": 0,\n                    \"tdesc\": \"\",\n                    \"tname\": \"Computer Hardware\",\n                    \"updated\": \"2019-04-18 09:14:53\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"billable\": true,\n                    \"description\": \"Specific consulting services for a specific reason\",\n                    \"id\": 70986,\n                    \"name\": \"Consulting\",\n                    \"rate\": {\n                        \"amount\": \"45.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"taskid\": 70986,\n                    \"tax1\": 0,\n                    \"tax2\": 0,\n                    \"tdesc\": \"Specific consulting services for a specific reason\",\n                    \"tname\": \"Consulting\",\n                    \"updated\": \"2019-04-23 14:47:22\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"billable\": true,\n                    \"description\": \"Specific contracting services for a specific reason\",\n                    \"id\": 70988,\n                    \"name\": \"Contracting\",\n                    \"rate\": {\n                        \"amount\": \"45.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"taskid\": 70988,\n                    \"tax1\": 0,\n                    \"tax2\": 0,\n                    \"tdesc\": \"Specific contracting services for a specific reason\",\n                    \"tname\": \"Contracting\",\n                    \"updated\": \"2019-04-23 14:48:11\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"billable\": true,\n                    \"description\": \"Hourly rate for doing positive things\",\n                    \"id\": 70992,\n                    \"name\": \"Saving Planet\",\n                    \"rate\": {\n                        \"amount\": \"1000.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"taskid\": 70992,\n                    \"tax1\": 0,\n                    \"tax2\": 0,\n                    \"tdesc\": \"Hourly rate for doing positive things\",\n                    \"tname\": \"Saving Planet\",\n                    \"updated\": \"2019-04-23 14:50:57\",\n                    \"vis_state\": 0\n                }\n            ],\n            \"total\": 4\n        }\n    }\n}"}],"_postman_id":"389fbb22-ebd4-4675-b39b-7279847a1da0"},{"name":"Single Task ","event":[{"listen":"test","script":{"id":"5ef3cdef-e8ee-4579-8806-303d83896eb7","exec":[""],"type":"text/javascript"}}],"id":"96d30ba0-d50a-48ff-b6f3-8c860e4be287","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/projects/tasks/{{taskId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","projects","tasks","{{taskId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"9efc56b4-4013-48e9-b007-b88d6ed45775","name":"Single Task ","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/projects/tasks/{{taskId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gUQ1lZBwUXEQoWWRFTGhgCH1UXUQZYB1ZQBwFYX1oAAgZcWFcbHAZKRlUOClVUUFZUVl4HDAEHUQpHFQdQDUAHOQ=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:38:59 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:38:59 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"task\": {\n                \"billable\": true,\n                \"description\": \"\",\n                \"id\": 55226,\n                \"name\": \"Computer Hardware\",\n                \"rate\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"taskid\": 55226,\n                \"tax1\": 0,\n                \"tax2\": 0,\n                \"tdesc\": \"\",\n                \"tname\": \"Computer Hardware\",\n                \"updated\": \"2019-04-18 09:14:53\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"96d30ba0-d50a-48ff-b6f3-8c860e4be287"},{"name":"Create Task","event":[{"listen":"test","script":{"id":"9dfac332-342d-454b-b962-6712de0a303a","exec":["let jsonData = JSON.parse(responseBody); ","pm.environment.set(\"taskId\", jsonData.response.result.task.taskid);"],"type":"text/javascript"}}],"id":"e4345962-ae9b-4e90-9ebe-6d52608d744a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"task\": {\n   \"name\": \"Saving the planet\",\n   \"description\": \"Hourly rate for doing positive things\",\n   \"rate\": {\n   \t\t\"amount\": \"50.00\",\n   \t\t\"code\": \"USD\"\n\t\t}\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/projects/tasks","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","projects","tasks"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"305494d1-99da-4729-8723-e8f1c2f0b7e4","name":"Create Task","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"task\": {\n   \"name\": \"Saving the planet\",\n   \"description\": \"Hourly rate for doing positive things\",\n   \"rate\": {\n   \t\t\"amount\": \"50.00\",\n   \t\t\"code\": \"USD\"\n\t\t}\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/projects/tasks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gUQ1lZBwUXEQoWWRFTSxYeA0kJTwBQAlBcBgNVV1EABwFTWFQOHQZRVB0UB1RTBQdRUQhVCQoCCgFUAEMdB1IOF1Nq"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:39:06 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:39:06 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"task\": {\n                \"billable\": true,\n                \"description\": \"Hourly rate for doing positive things\",\n                \"id\": 74830,\n                \"name\": \"Saving the planet\",\n                \"rate\": {\n                    \"amount\": \"50.00\",\n                    \"code\": \"USD\"\n                },\n                \"taskid\": 74830,\n                \"tax1\": 0,\n                \"tax2\": 0,\n                \"tdesc\": \"Hourly rate for doing positive things\",\n                \"tname\": \"Saving the planet\",\n                \"updated\": \"2019-04-24 14:39:06\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"e4345962-ae9b-4e90-9ebe-6d52608d744a"},{"name":"Update Task","id":"2c224aec-83e0-4a98-bf99-d389629eb327","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n \"task\": {\n  \"name\": \"Saving Earth\",\n  \"rate\": {\n    \"amount\": \"1000.00\",\n    \"code\": \"USD\"\n   }\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/projects/tasks/{{taskId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","projects","tasks","{{taskId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"a6deb236-eed3-4bb5-b6a6-c2c949700766","name":"Update Task","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n \"task\": {\n  \"name\": \"Saving Earth\",\n  \"rate\": {\n    \"amount\": \"1000.00\",\n    \"code\": \"USD\"\n   }\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/projects/tasks/{{taskId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gUQ1lZBwUXEQoWWRFTGhgCH1UXUAFZA1tXBgVSVVMIAgdUWE4GAQNKRgAGAgRUBlcJV15UWgFQBANHFQdQDUAHOQ=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:39:22 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:39:22 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"task\": {\n                \"billable\": true,\n                \"description\": \"Hourly rate for doing positive things\",\n                \"id\": 74830,\n                \"name\": \"Saving Earth\",\n                \"rate\": {\n                    \"amount\": \"1000.00\",\n                    \"code\": \"USD\"\n                },\n                \"taskid\": 74830,\n                \"tax1\": 0,\n                \"tax2\": 0,\n                \"tdesc\": \"Hourly rate for doing positive things\",\n                \"tname\": \"Saving Earth\",\n                \"updated\": \"2019-04-24 14:39:22\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"2c224aec-83e0-4a98-bf99-d389629eb327"},{"name":"Delete Task","id":"16e1de20-a542-406f-ab73-51225a23b5d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n \"task\": {\n    \"vis_state\": 1\n   }\n}\n"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/projects/tasks/{{taskId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","projects","tasks","{{taskId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"7f7472b5-11aa-45be-8ae7-592d8e89fb65","name":"Delete Task","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n \"task\": {\n    \"vis_state\": 1\n   }\n}\n"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/projects/tasks/{{taskId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gUQ1lZBwUXEQoWWRFTGhgCH1UXUAFSC1tdBgdTVlQNAglRUlMbAg5KRgVTB1IAUltSVAsADlsNAABHFQdQDUAHOQ=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:39:45 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:39:45 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"task\": {\n                \"billable\": true,\n                \"description\": \"Hourly rate for doing positive things\",\n                \"id\": 74830,\n                \"name\": \"Saving Earth\",\n                \"rate\": {\n                    \"amount\": \"1000.00\",\n                    \"code\": \"USD\"\n                },\n                \"taskid\": 74830,\n                \"tax1\": 0,\n                \"tax2\": 0,\n                \"tdesc\": \"Hourly rate for doing positive things\",\n                \"tname\": \"Saving Earth\",\n                \"updated\": \"2019-04-24 14:39:45\",\n                \"vis_state\": 1\n            }\n        }\n    }\n}"}],"_postman_id":"16e1de20-a542-406f-ab73-51225a23b5d3"}],"id":"40ce352b-d686-45ee-9710-81c633047b6b","description":"<h2 id=\"general-info\">General Info</h2>\n<p>Tasks in FreshBooks represent services that your business offers to clients. Tasks are used to keep track of details of the service such as name and hourly rate.</p>\n","event":[{"listen":"prerequest","script":{"id":"7039e42b-0800-4f45-b87b-f84bfe5ba887","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"aab41857-ed22-4355-b87d-fa6ea12cb7a4","type":"text/javascript","exec":[""]}}],"_postman_id":"40ce352b-d686-45ee-9710-81c633047b6b","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Single Project","id":"05e26c40-35c2-4b92-a1eb-697ac3969bdf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/projects/business/{{businessId}}/projects/{{projectId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["projects","business","{{businessId}}","projects","{{projectId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"2d185400-3ed7-44c0-a7a4-5d28ff9b2006","name":"Single Project","originalRequest":{"method":"GET","header":[],"url":"https://api.freshbooks.com/projects/business/{{businessId}}/projects/{{projectId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1905.7.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllUBAQOU10TGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FDFZFVRYSBxlDUhULRERQBxVNEkINUgdbTBpAVhZWFEMCVlgURFgLAwBMERxUTVIZAAFUXAIBBFZVVFcJUw1XCg8YHwJJG1hUUABaBwcHVFMFDVEEUFVAG1dWChdUaw=="},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"14"},{"key":"X-RateLimit-Reset","value":"1557345999"},{"key":"Retry-After","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 08 May 2018 20:05:38 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Content-Length","value":"1653"},{"key":"Date","value":"Wed, 08 May 2019 20:05:38 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17361-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"project\": {\n        \"id\": 2976412,\n        \"title\": \"Very Custom Computer thing\",\n        \"description\": null,\n        \"due_date\": null,\n        \"client_id\": 31006,\n        \"internal\": false,\n        \"budget\": null,\n        \"fixed_price\": null,\n        \"rate\": null,\n        \"billing_method\": \"project_rate\",\n        \"project_type\": \"fixed_price\",\n        \"active\": true,\n        \"complete\": false,\n        \"sample\": false,\n        \"created_at\": \"2019-04-18T13:43:31\",\n        \"updated_at\": \"2019-04-18T13:43:31\",\n        \"logged_duration\": null,\n        \"services\": [\n            {\n                \"business_id\": 1966214,\n                \"id\": 3575792,\n                \"name\": \"Computer Hardware\",\n                \"billable\": true,\n                \"vis_state\": 0\n            }\n        ],\n        \"billed_amount\": \"0.00\",\n        \"billed_status\": \"unbilled\",\n        \"retainer_id\": null,\n        \"group\": {\n            \"id\": 4942784,\n            \"members\": [\n                {\n                    \"id\": 6446258,\n                    \"identity_id\": 1882548,\n                    \"role\": \"owner\",\n                    \"first_name\": \"Ryan\",\n                    \"last_name\": \"Marr\",\n                    \"email\": \"api.freshbooks@freshbooks.com\",\n                    \"company\": \"Postman Sandbox\",\n                    \"active\": true\n                }\n            ],\n            \"pending_invitations\": []\n        }\n    },\n    \"abilities\": [\n        {\n            \"name\": \"can_edit\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_archive\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_generate_invoice\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_delete\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_invite_team_member\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_manage_services\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_edit_hourly_budget\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_view_fixed_price\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_edit_fixed_price\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_edit_end_date\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_edit_flat_rate\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_edit_project_type\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_edit_title\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_view_review_tab\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_view_discuss_tab\",\n            \"value\": false\n        },\n        {\n            \"name\": \"can_track_time\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_create_comment\",\n            \"value\": true\n        }\n    ]\n}"}],"_postman_id":"05e26c40-35c2-4b92-a1eb-697ac3969bdf"},{"name":"List Projects","event":[{"listen":"test","script":{"id":"50a81ba0-6aa0-4af3-81a1-ff208113a343","exec":["let jsonData = JSON.parse(responseBody);","pm.environment.set(\"projectId\", jsonData.projects[0].id);"],"type":"text/javascript"}}],"id":"1887fb69-0f9f-481f-b547-61cc4fef6de4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/projects/business/{{businessId}}/projects","description":"<p>Remember to remove <code>Content-Type</code> headers when making a GET call on projects and time-tracking.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["projects","business","{{businessId}}","projects"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"b3c66acd-08f4-4a0a-9653-847ace76b13c","name":"List Projects","originalRequest":{"method":"GET","header":[],"url":"https://api.freshbooks.com/projects/business/{{businessId}}/projects"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1904.24.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllUBAQOU10TGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FDFZFVRYSBxlDUhULRERQBxVNEkINUgdbTEccQQBKDkQTUAdeRkUODAZbR0NGTVIbARlWUgYBA1FfVVADUA5SDAEMHh5UFUMAVVdUUA9VWAUCD1IIUlhQFR1RBwhCU24="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:24:44 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Content-Length","value":"2629"},{"key":"Date","value":"Wed, 24 Apr 2019 18:24:44 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"meta\": {\n        \"sort\": [],\n        \"total\": 5,\n        \"per_page\": 30,\n        \"page\": 1,\n        \"pages\": 1\n    },\n    \"projects\": [\n        {\n            \"id\": 2980878,\n            \"title\": \"K2 Hiking Guide\",\n            \"description\": null,\n            \"due_date\": \"2019-04-20\",\n            \"client_id\": 31006,\n            \"internal\": false,\n            \"budget\": null,\n            \"fixed_price\": \"2000.00\",\n            \"rate\": null,\n            \"billing_method\": null,\n            \"project_type\": \"fixed_price\",\n            \"active\": true,\n            \"complete\": false,\n            \"sample\": false,\n            \"created_at\": \"2019-04-19T18:25:00\",\n            \"updated_at\": \"2019-04-19T19:50:26\",\n            \"logged_duration\": null,\n            \"services\": [],\n            \"billed_amount\": \"0.00\",\n            \"billed_status\": \"unbilled\",\n            \"group_id\": 4951020\n        },\n        {\n            \"id\": 2980874,\n            \"title\": \"Applachian Hiking Guide\",\n            \"description\": null,\n            \"due_date\": \"2019-05-20\",\n            \"client_id\": 31006,\n            \"internal\": false,\n            \"budget\": null,\n            \"fixed_price\": \"1000.00\",\n            \"rate\": null,\n            \"billing_method\": null,\n            \"project_type\": \"fixed_price\",\n            \"active\": true,\n            \"complete\": false,\n            \"sample\": false,\n            \"created_at\": \"2019-04-19T18:22:43\",\n            \"updated_at\": \"2019-04-19T18:22:43\",\n            \"logged_duration\": null,\n            \"services\": [],\n            \"billed_amount\": \"0.00\",\n            \"billed_status\": \"unbilled\",\n            \"group_id\": 4951012\n        },\n        {\n            \"id\": 2980872,\n            \"title\": \"Applachian Hiking Guide\",\n            \"description\": null,\n            \"due_date\": \"2019-05-20\",\n            \"client_id\": 31006,\n            \"internal\": false,\n            \"budget\": null,\n            \"fixed_price\": \"1000.00\",\n            \"rate\": null,\n            \"billing_method\": null,\n            \"project_type\": \"fixed_price\",\n            \"active\": true,\n            \"complete\": false,\n            \"sample\": false,\n            \"created_at\": \"2019-04-19T18:22:06\",\n            \"updated_at\": \"2019-04-19T18:22:06\",\n            \"logged_duration\": null,\n            \"services\": [],\n            \"billed_amount\": \"0.00\",\n            \"billed_status\": \"unbilled\",\n            \"group_id\": 4951006\n        },\n        {\n            \"id\": 2980870,\n            \"title\": \"Hiking Guide\",\n            \"description\": null,\n            \"due_date\": \"2019-05-20\",\n            \"client_id\": 31006,\n            \"internal\": false,\n            \"budget\": null,\n            \"fixed_price\": \"500.00\",\n            \"rate\": null,\n            \"billing_method\": null,\n            \"project_type\": \"fixed_price\",\n            \"active\": true,\n            \"complete\": false,\n            \"sample\": false,\n            \"created_at\": \"2019-04-19T18:21:11\",\n            \"updated_at\": \"2019-04-19T18:21:11\",\n            \"logged_duration\": null,\n            \"services\": [],\n            \"billed_amount\": \"0.00\",\n            \"billed_status\": \"unbilled\",\n            \"group_id\": 4951004\n        },\n        {\n            \"id\": 2976412,\n            \"title\": \"Very Custom Computer thing\",\n            \"description\": null,\n            \"due_date\": null,\n            \"client_id\": 31006,\n            \"internal\": false,\n            \"budget\": null,\n            \"fixed_price\": null,\n            \"rate\": null,\n            \"billing_method\": \"project_rate\",\n            \"project_type\": \"fixed_price\",\n            \"active\": true,\n            \"complete\": false,\n            \"sample\": false,\n            \"created_at\": \"2019-04-18T13:43:31\",\n            \"updated_at\": \"2019-04-18T13:43:31\",\n            \"logged_duration\": null,\n            \"services\": [\n                {\n                    \"business_id\": 1966214,\n                    \"id\": 3575792,\n                    \"name\": \"Computer Hardware\",\n                    \"billable\": true,\n                    \"vis_state\": 0\n                }\n            ],\n            \"billed_amount\": \"0.00\",\n            \"billed_status\": \"unbilled\",\n            \"group_id\": 4942784\n        }\n    ]\n}"}],"_postman_id":"1887fb69-0f9f-481f-b547-61cc4fef6de4"},{"name":"Create Single Project","event":[{"listen":"test","script":{"id":"74cd4985-5696-4463-a6f7-5f7a5e8aa97d","exec":["let jsonData = JSON.parse(responseBody);","pm.environment.set(\"projectId\", jsonData.project.id);",""],"type":"text/javascript"}}],"id":"5bddadee-2a17-419b-9c98-1ea42dc418c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"project\": {\n    \"title\": \"Titikaka Hiking Guide\",\n    \"client_id\": {{customerId}},\n    \"project_type\": \"fixed_price\",\n    \"fixed_price\": \"3000\",\n    \"due_date\": \"2019-04-18\",\n    \"services\": \n    [\n    \t{\"id\": {{serviceid}}, \"billable\": true, \"vis_state\": 0}, {\"id\": {{serviceid}},\"billable\": true, \"vis_state\": 0}, {\"id\": {{serviceid}}, \"billable\": true, \"vis_state\": 0}, {\"id\": {{serviceid}}, \"billable\": true, \"vis_state\": 0}\n    \t]\n  }\n}"},"url":"https://api.freshbooks.com/projects/business/{{businessId}}/project","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["projects","business","{{businessId}}","project"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"e510b86f-3b82-4ba0-bbfa-7d1af8e7c0b5","name":"Create Single Project","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"project\": {\n    \"title\": \"Titikaka Hiking Guide\",\n    \"client_id\": {{customerId}},\n    \"project_type\": \"fixed_price\",\n    \"fixed_price\": \"3000\",\n    \"due_date\": \"2019-04-18\"\n  }\n}"},"url":"https://api.freshbooks.com/projects/business/{{businessId}}/projects"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1905.7.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllUBAQOU10TGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FDFZFVRYSBxlDUhULRERQBxVNEkINUgdbTEccQQBKDkQTUAdeRkUODAZbR0NGTVIbARlUVAcEB1VTVVoBUQhWAQsFBB9UDlQdQ1dSVVBSBFFRD1dVVldVAAIVSgJQWkAHOw=="},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"8"},{"key":"X-RateLimit-Reset","value":"1557346076"},{"key":"Retry-After","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 08 May 2018 20:06:55 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Content-Length","value":"759"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 08 May 2019 20:06:55 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17361-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"project\": {\n        \"id\": 3018266,\n        \"title\": \"Titikaka Hiking Guide\",\n        \"description\": null,\n        \"due_date\": \"2019-04-18\",\n        \"client_id\": 31006,\n        \"internal\": false,\n        \"budget\": null,\n        \"fixed_price\": \"3000.00\",\n        \"rate\": null,\n        \"billing_method\": null,\n        \"project_type\": \"fixed_price\",\n        \"active\": true,\n        \"complete\": false,\n        \"sample\": false,\n        \"created_at\": \"2019-05-08T20:06:55\",\n        \"updated_at\": \"2019-05-08T20:06:55\",\n        \"logged_duration\": null,\n        \"services\": [],\n        \"billed_amount\": \"0.00\",\n        \"billed_status\": \"unbilled\",\n        \"retainer_id\": null,\n        \"group\": {\n            \"id\": 5049390,\n            \"members\": [\n                {\n                    \"id\": 6578346,\n                    \"identity_id\": 37256,\n                    \"role\": \"owner\",\n                    \"first_name\": \"Marshall\",\n                    \"last_name\": \"Johnston\",\n                    \"email\": \"api.freshbooks@freshbooks.com\",\n                    \"company\": \"Postman Sandbox\",\n                    \"active\": true\n                }\n            ],\n            \"pending_invitations\": null\n        }\n    }\n}"}],"_postman_id":"5bddadee-2a17-419b-9c98-1ea42dc418c1"},{"name":"Update Project","id":"79393a27-17a1-4797-80c1-f38f71a5bc25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"project\": {\n    \"title\": \"K2 Hiking Guide\",\n    \"due_date\": \"2019-04-20\",\n    \"client_id\": {{customerId}}\n  }\n}"},"url":"https://api.freshbooks.com/projects/business/{{businessId}}/project/{{projectId}}","description":"<p>Update project with project title. </p>\n<p><em><code>client_id</code> in this case is <code>customerId</code></em></p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["projects","business","{{businessId}}","project","{{projectId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"3b891303-c2f5-4f1b-9238-f33f3c578404","name":"Update Project","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"project\": {\n    \"title\": \"K2 Hiking Guide\",\n    \"due_date\": \"2019-04-20\",\n    \"client_id\": {{customerId}}\n  }\n}"},"url":"https://api.freshbooks.com/projects/business/{{businessId}}/projects/{{projectId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1905.7.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllUBAQOU10TGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FDFZFVRYSBxlDUhULRERQBxVNEkINUgdbTBpAVhZWFEMCVlgURFgLAwBMERxUTVIZAwRfVQYGBFpfVFMIVApVAQsYAwNSFUMEUlVSVFNUVF5aWgcEUwAAFR1RBwhCU24="},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"9"},{"key":"X-RateLimit-Reset","value":"1557346118"},{"key":"Retry-After","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 08 May 2018 20:07:37 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Content-Length","value":"1552"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 08 May 2019 20:07:37 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17361-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"project\": {\n        \"id\": 3018266,\n        \"title\": \"K2 Hiking Guide\",\n        \"description\": null,\n        \"due_date\": \"2019-04-20\",\n        \"client_id\": 31006,\n        \"internal\": false,\n        \"budget\": null,\n        \"fixed_price\": \"3000.00\",\n        \"rate\": null,\n        \"billing_method\": null,\n        \"project_type\": \"fixed_price\",\n        \"active\": true,\n        \"complete\": false,\n        \"sample\": false,\n        \"created_at\": \"2019-05-08T20:06:55\",\n        \"updated_at\": \"2019-05-08T20:07:37\",\n        \"logged_duration\": null,\n        \"services\": [],\n        \"billed_amount\": \"0.00\",\n        \"billed_status\": \"unbilled\",\n        \"retainer_id\": null,\n        \"group\": {\n            \"id\": 5049390,\n            \"members\": [\n                {\n                    \"id\": 6578346,\n                    \"identity_id\": 37256,\n                    \"role\": \"owner\",\n                    \"first_name\": \"Marshall\",\n                    \"last_name\": \"Johnston\",\n                    \"email\": \"api.freshbooks@gmail.com\",\n                    \"company\": \"Postman Sandbox\",\n                    \"active\": true\n                }\n            ],\n            \"pending_invitations\": []\n        }\n    },\n    \"abilities\": [\n        {\n            \"name\": \"can_edit\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_archive\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_generate_invoice\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_delete\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_invite_team_member\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_manage_services\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_edit_hourly_budget\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_view_fixed_price\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_edit_fixed_price\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_edit_end_date\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_edit_flat_rate\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_edit_project_type\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_edit_title\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_view_review_tab\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_view_discuss_tab\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_track_time\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_create_comment\",\n            \"value\": true\n        }\n    ]\n}"}],"_postman_id":"79393a27-17a1-4797-80c1-f38f71a5bc25"},{"name":"Delete Project","id":"ce3205cc-152f-42bc-ac99-1712a78e034c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"project\": {\n    \"vis_state\": 1\n  }\n}"},"url":"https://my.freshbooks.com/service/api/comments/business/{{businessId}}/project/{{projectId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["service","api","comments","business","{{businessId}}","project","{{projectId}}"],"host":["my","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"80b05623-e7c9-4f61-a902-c12e94cdadce","name":"Delete Project","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"project\": {\n    \"vis_state\": 1\n  }\n}"},"url":"https://my.freshbooks.com/service/api/comments/business/{{businessId}}/project/{{projectId}}"},"status":"NO CONTENT","code":204,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1904.25.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllUBAQOU10TGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FDFZFVRYSBxlDUhULRERQBxVNEkINUgdbTBpAVhZWFEMCVlgURFgLAwBMERxUTVIZAQFSXQYCBFpSW1cBUg9WCgoYBgJJG1IAVVBRB1BWAldTCQADU1RAG1dWChdUaw=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:28:35 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:28:35 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17328-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":null},{"id":"f9853292-d103-41b8-a315-a0436176f513","name":"Delete Project","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"project\": {\n    \"vis_state\": 1\n  }\n}"},"url":"https://api.freshbooks.com/projects/business/{{businessId}}/projects/{{projectId}}"},"status":"NOT FOUND","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1904.6.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Content-Length","value":"79"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:25:22 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"error_type\": \"not_found\",\n    \"message\": \"The requested resource was not found.\"\n}"}],"_postman_id":"ce3205cc-152f-42bc-ac99-1712a78e034c"},{"name":"Service Rates","id":"ba15da66-22f8-48a7-9b97-c0b200c66225","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/comments/business/{{businessId}}/service_rates","description":"<p>Get all service rates associated with this project  </p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["comments","business","{{businessId}}","service_rates"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"0f1a81a5-8dea-4b2f-8720-c6051cd4c40d","name":"Service Rates","originalRequest":{"method":"GET","header":[],"url":"https://api.freshbooks.com/comments/business/{{businessId}}/service_rates"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1904.25.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllUBAQOU10TGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FDFZFVRYSBxlDUhULRERQBxVNEVUQTgtbXWtAUhFcEh8TVhELQ0UCA1lLVkISCAFSbkUHEFRFEU5WT1IeUwpUCAAHAQRRCVMCVQBVURoaUEpBXgIHBlFWVVAAAgcHAQFVA0FOVgNUEV1l"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Wed, 25 Apr 2018 17:24:51 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Content-Length","value":"352"},{"key":"Date","value":"Thu, 25 Apr 2019 17:24:51 GMT"},{"key":"Age","value":"0"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17341-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"service_rates\": [\n        {\n            \"rate\": \"0.00\",\n            \"service_id\": 3575792,\n            \"business_id\": 1966214\n        },\n        {\n            \"rate\": \"45.00\",\n            \"service_id\": 3595146,\n            \"business_id\": 1966214\n        },\n        {\n            \"rate\": \"45.00\",\n            \"service_id\": 3595148,\n            \"business_id\": 1966214\n        },\n        {\n            \"rate\": \"1000.00\",\n            \"service_id\": 3595152,\n            \"business_id\": 1966214\n        },\n        {\n            \"rate\": \"1000.00\",\n            \"service_id\": 3600268,\n            \"business_id\": 1966214\n        }\n    ]\n}"}],"_postman_id":"ba15da66-22f8-48a7-9b97-c0b200c66225"},{"name":"Update Service Rates","id":"0b0ba787-aac4-408d-ab5a-f9109514b64c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"project_service_rate\": {\n        \"rate\": 1065,\n        \"service_id\": \"3600268\",\n        \"project_id\": \"2991018\"\n    }\n}"},"url":"https://api.freshbooks.com/comments/business/{{businessId}}/project/{{projectId}}/service/{{serviceId}}/rate","description":"<p>You will need to update each project service independently with this endpoint</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["comments","business","{{businessId}}","project","{{projectId}}","service","{{serviceId}}","rate"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"0e426dc1-159a-411a-9843-52b4352172f7","name":"Update Project Service Rates","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"project_service_rate\": {\n        \"rate\": 1065,\n        \"service_id\": \"3600268\",\n        \"project_id\": \"2991018\"\n    }\n}"},"url":"https://api.freshbooks.com/comments/business/1966214/project/2991018/service/3600268/rate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1904.25.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllUBAQOU10TGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FDFZFVRYSBxlDUhULRERQBxVNEkINUgdbTGtBVhdPCFIEbBAFQlJPFAZLXEUWAgcNQUUJDlRVRz0VBhBGC1sHZ0pVRlZHFVEdUR1TVA8OV1NTAAYJXFJQAAcEUUgcBx9AA1BaAVZcUl5ZBlQAUlgFAkMfBAVaRAQ7"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Wed, 25 Apr 2018 17:20:02 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Content-Length","value":"115"},{"key":"Date","value":"Thu, 25 Apr 2019 17:20:02 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17368-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"project_service_rate\": {\n        \"rate\": \"1020.00\",\n        \"service_id\": 3600268,\n        \"business_id\": 1966214,\n        \"project_id\": 2991018\n    }\n}"}],"_postman_id":"0b0ba787-aac4-408d-ab5a-f9109514b64c"},{"name":"Team Member Rates","id":"be234174-9f90-43a4-a637-705a9ca269a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/comments/business/{{businessId}}/team_member_rates","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["comments","business","{{businessId}}","team_member_rates"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"76ad66e5-76ff-4393-a16d-be301f4201ff","name":"Team Member Rates","originalRequest":{"method":"GET","header":[],"url":"https://my.freshbooks.com/service/api/comments/business/{{businessId}}/team_member_rates"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1904.25.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllUBAQOU10TGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FDFZFVRYSBxlDUhULRERQBxVNFlUDVT1VXVlQVhdmE1AVVhFKRFISCRZKUFVeFQdWXGgLAVxUVhA5EQNEB0tAFAgYAh1UCFACVwVSVwUCVFJTDwQBUU1PBh0VBFwBAVdVUgEAUgBcWgwMUhAfA1gNQgRu"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Wed, 25 Apr 2018 17:29:00 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Content-Length","value":"156"},{"key":"Date","value":"Thu, 25 Apr 2019 17:29:00 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17341-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"team_member_rates\": [\n        {\n            \"rate\": \"35.00\",\n            \"identity_id\": 37256,\n            \"business_id\": 1966214\n        },\n        {\n            \"rate\": \"500.00\",\n            \"identity_id\": 1882548,\n            \"business_id\": 1966214\n        }\n    ]\n}"}],"_postman_id":"be234174-9f90-43a4-a637-705a9ca269a3"},{"name":"Update Team Member Rate","id":"6278b9f0-87b3-4035-afa8-b3870006fbf0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"team_member_rate\": {\n\t\t\"identity_id\": {{identityId}},\n\t\t\"rate\": 40\n\t}\n}"},"url":"https://api.freshbooks.com/comments/business/{{businessId}}/team_member_rate/{{identityId}}","description":"<p>You will need to update each project service independently with this endpoint</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["comments","business","{{businessId}}","team_member_rate","{{identityId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"eb9c0eb5-2f43-4249-b310-afeb727738ae","name":"Update Team Member Rate","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"team_member_rate\": {\n\t\t\"identity_id\": {{identityId}},\n\t\t\"rate\": 40\n\t}\n}"},"url":"https://api.freshbooks.com/comments/business/{{businessId}}/team_member_rate/{{identityId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1904.25.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllUBAQOU10TGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FDFZFVRYSBxlDUhULRERQBxVNFlUDVT1VXVlQVhdmE1AVVkwWU0QOExFbVgoQBANabloDCVNTQT0UAhZVQBRSFAgaAwJRCFgDUwdVVw8HVlJUCAQcUldOFQNVVlEGBAtTUFoHAVAPBgEaGFRSCUoEbA=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Wed, 25 Apr 2018 17:30:33 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Content-Length","value":"85"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Thu, 25 Apr 2019 17:30:33 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17368-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"team_member_rate\": {\n        \"rate\": \"40.00\",\n        \"identity_id\": 37256,\n        \"business_id\": 1966214\n    }\n}"}],"_postman_id":"6278b9f0-87b3-4035-afa8-b3870006fbf0"},{"name":"Invite Team Member to Project(s)","id":"aac4ab8a-8086-457e-83ed-e413bb24b89f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"capacity\": \"manager\",\n    \"to_email\": \"yourteammemberemail@freshbooks.com\",\n    \"invitable_id\": {{businessid}},\n    \"invitable_type\": \"business\",\n    \"groups\": [\n        {\n            \"group_id\": 6360979,\n            \"capacity\": \"manager\"\n        },\n        {\n            \"group_id\": 6360987,\n            \"capacity\": \"manager\"\n        },\n        {\n            \"group_id\": 6360952,\n            \"capacity\": \"manager\"\n        }\n    ]\n}"},"url":"https://api.freshbooks.com/auth/api/v1/users/invitation","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["auth","api","v1","users","invitation"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"aac4ab8a-8086-457e-83ed-e413bb24b89f"},{"name":"Invitation Rates","id":"b984e90d-e17e-4b39-99ab-a2cd9b3979b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/comments/business/{{businessId}}/invitation_rates","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["comments","business","{{businessId}}","invitation_rates"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"b27e68b2-20f6-4a58-88a4-5b6a2e4ddd71","name":"Invitation Rates","originalRequest":{"method":"GET","header":[],"url":"https://api.freshbooks.com/comments/business/{{businessId}}/invitation_rates"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1905.7.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllUBAQOU10TGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FDFZFVRYSBxlDUhULRERQBxVNC14UURZZTF1dXTpLAEUEQEwWU0QOExFbVgoNDxReRVYSDV5YbBAHFwdDQBRSFAgaAwNWAVgDWQNRVQ8FUFVbDgQcSVBOFQlWAlEBBVcGUltaAwALUQEaGFRSCUoEbA=="},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1557346217"},{"key":"Retry-After","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 08 May 2018 20:09:16 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Content-Length","value":"24"},{"key":"Date","value":"Wed, 08 May 2019 20:09:16 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17361-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"invitation_rates\": []\n}"}],"_postman_id":"b984e90d-e17e-4b39-99ab-a2cd9b3979b9"},{"name":"Create New Message in Project Discussion","id":"347ed580-3c52-41e5-b5e0-fb547912cc07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"thread\":\n\t\t{\n\t\t\"message\":\"This project will be amazing!\"\n\t\t}\n}"},"url":"https://api.freshbooks.com/comments/business/{{businessid}}/project/{{projectid}}/threads","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["comments","business","{{businessid}}","project","{{projectid}}","threads"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"347ed580-3c52-41e5-b5e0-fb547912cc07"},{"name":"List All Messages in Project Discussion","id":"6e2c7ec6-7207-43f9-ab99-812e8efd0891","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/comments/business/{{businessid}}/project/{{projectid}}/threads","description":"<p>Lists all messages in a specific Project's discussion page</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["comments","business","{{businessid}}","project","{{projectid}}","threads"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6e2c7ec6-7207-43f9-ab99-812e8efd0891"},{"name":"Add Comment to Project Discussion Message","id":"42097ab4-6b39-4ceb-9612-b479f64966c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"comment\": {\n        \"content\": \"Sounds like a plan!\"\n    }\n}"},"url":"https://api.freshbooks.com/comments/business/{{businessid}}/threads/{{threadid}}/comments","description":"<p>Adds a comment to a project discussion message</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["comments","business","{{businessid}}","threads","{{threadid}}","comments"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"42097ab4-6b39-4ceb-9612-b479f64966c1"}],"id":"1c8d4904-ae03-45a4-9ad9-dcd2b64bf2f8","description":"<h2 id=\"general-info\">General Info</h2>\n<p>Projects in FreshBooks are used to track business projects and related information such as hourly rate, service(s) being offered, projected end date...etc</p>\n<p><em>Requires Authorization</em></p>\n<h2 id=\"important-note\">Important Note</h2>\n<p>When using GET calls for Projects and Time Tracking, please leave out the <code>Content-Type</code> from your header.</p>\n<h2 id=\"includes\">Includes</h2>\n<p>There are no includes for projects.</p>\n","event":[{"listen":"prerequest","script":{"id":"c9d5e1f3-61e2-4021-8cad-fa31b6fe7bd5","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"19d1b99c-01c9-4c42-8d14-7025381b7980","type":"text/javascript","exec":[""]}}],"_postman_id":"1c8d4904-ae03-45a4-9ad9-dcd2b64bf2f8","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"My Team ","item":[{"name":"List Team Members","id":"976e7e17-00f3-43e8-a1a4-ff3189d2552a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/auth/api/v1/businesses/{{businessId}}/team_members","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["auth","api","v1","businesses","{{businessId}}","team_members"],"host":["api","freshbooks","com"],"query":[{"disabled":true,"description":{"content":"<p>If true, returns only the active team members</p>\n","type":"text/plain"},"key":"active","value":"false"},{"disabled":true,"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>Number of team members per page</p>\n","type":"text/plain"},"key":"per_page","value":"5"}],"variable":[]}},"response":[{"id":"0379c99e-68d5-4337-9f3e-fe41b2ee06d4","name":"List Team Members","originalRequest":{"method":"GET","header":[],"url":"{{baseurl}}/auth/api/v1/businesses/{{business_id}}/team_members"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 18 Apr 2023 12:31:32 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"ETag","value":"W/\"94d4e0b091da8655efa2752b343e0b3b\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"f79c4c9e-4b6b-4cd6-8a8a-bd03e1628af1"},{"key":"X-Runtime","value":"0.041146"},{"key":"X-API-VERSION","value":"2019-07-10"},{"key":"Content-Security-Policy","value":"default-src 'self'; object-src 'none'"},{"key":"Strict-Transport-Security","value":"max-age=31556926; includeSubDomains; preload"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": [\n        {\n            \"uuid\": \"dd6392d0-0639-40bd-9502-7d80c44de9f3\",\n            \"first_name\": \"John\",\n            \"middle_name\": null,\n            \"last_name\": \"Doe\",\n            \"email\": \"test@freshenv.com\",\n            \"job_title\": null,\n            \"street_1\": null,\n            \"street_2\": null,\n            \"city\": null,\n            \"province\": null,\n            \"country\": null,\n            \"postal_code\": null,\n            \"phone_number\": null,\n            \"business_id\": 6806492,\n            \"business_role_name\": \"business_employee\",\n            \"active\": false,\n            \"identity_id\": null,\n            \"invitation_date_accepted\": null,\n            \"created_at\": \"2023-01-24T17:17:56Z\",\n            \"updated_at\": \"2023-03-01T09:45:42Z\"\n        }\n    ],\n    \"meta\": {\n        \"page\": 1,\n        \"per_page\": 5,\n        \"total\": 1\n    }\n}"}],"_postman_id":"976e7e17-00f3-43e8-a1a4-ff3189d2552a"},{"name":"Single Team Member","id":"67f1dd78-681a-41c1-a9ff-1c7162edb71c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/auth/api/v1/businesses/{{businessId}}/team_members/{{team_member_uuid}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["auth","api","v1","businesses","{{businessId}}","team_members","{{team_member_uuid}}"],"host":["api","freshbooks","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"8afb5403-9512-44c2-971a-ad17c4725bbb","name":"Single Team Member","originalRequest":{"method":"GET","header":[],"url":"{{baseurl}}/auth/api/v1/businesses/{{business_id}}/team_members/{{team_member_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 18 Apr 2023 11:53:32 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"ETag","value":"W/\"97416d404abf1722ae6303ab172ca401\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"c130c4dd-0705-42db-9ee7-63fb2572666b"},{"key":"X-Runtime","value":"0.100363"},{"key":"X-API-VERSION","value":"2019-07-10"},{"key":"Content-Security-Policy","value":"default-src 'self'; object-src 'none'"},{"key":"Strict-Transport-Security","value":"max-age=31556926; includeSubDomains; preload"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"uuid\": \"879dd802-2ec2-4683-9165-8ecdfcae4e2a\",\n        \"first_name\": \"Jane\",\n        \"middle_name\": null,\n        \"last_name\": \"Doe\",\n        \"email\": \"test1@freshenv.com\",\n        \"job_title\": null,\n        \"street_1\": null,\n        \"street_2\": \"street 2\",\n        \"city\": null,\n        \"province\": null,\n        \"country\": \"United States\",\n        \"postal_code\": null,\n        \"phone_number\": null,\n        \"business_id\": 6806492,\n        \"business_role_name\": \"no_seat_employee\",\n        \"active\": true,\n        \"identity_id\": null,\n        \"invitation_date_accepted\": null,\n        \"created_at\": \"2023-03-22T16:52:01Z\",\n        \"updated_at\": \"2023-04-11T12:36:04Z\"\n    }\n}"}],"_postman_id":"67f1dd78-681a-41c1-a9ff-1c7162edb71c"},{"name":"Single Staff","id":"544d7eb9-3da6-4850-a8fc-0b79fcc819ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/users/staffs/{{staffId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","users","staffs","{{staffId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"f701a321-3ef6-45d5-8fb5-4a372a0e66fe","name":"Single Staff","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/users/staffs/{{staffId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gRQlNBEVwQFlEEXkAUCBgCHVQOVQBUAlpdAQNSVlcJCglWTU8GHRUEUFIGUAEAAVJRBgpaXFxQEB8DWA1CBG4="},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1557346267"},{"key":"Retry-After","value":"54"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 08 May 2018 20:10:12 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 08 May 2019 20:10:12 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17361-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"staff\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"api_token\": \"9249ac8633763523fe614cdeb28787b9\",\n                \"bus_phone\": \"\",\n                \"currency_code\": null,\n                \"display_name\": \"RyenMarr\",\n                \"email\": \"api.freshbooks@gmail.com\",\n                \"fax\": \"\",\n                \"fname\": \"Ryen\",\n                \"home_phone\": null,\n                \"id\": 1,\n                \"language\": \"en\",\n                \"last_login\": null,\n                \"level\": 3,\n                \"lname\": \"Marr\",\n                \"mob_phone\": \"\",\n                \"note\": null,\n                \"num_logins\": 0,\n                \"organization\": \"Postman Sandbox\",\n                \"p_city\": \"\",\n                \"p_code\": \"\",\n                \"p_country\": \"\",\n                \"p_province\": \"\",\n                \"p_street\": \"\",\n                \"p_street2\": \"\",\n                \"rate\": null,\n                \"role\": \"admin\",\n                \"signup_date\": \"2019-04-18 09:14:53\",\n                \"updated\": \"2019-04-24 14:37:58\",\n                \"userid\": 1,\n                \"username\": \"api.freshbooks@gmail.com\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"544d7eb9-3da6-4850-a8fc-0b79fcc819ac"},{"name":"List Staff","event":[{"listen":"test","script":{"exec":["let jsonData = JSON.parse(responseBody);","pm.environment.set(\"identityId\", jsonData.response.business_group.members[0].identity_id)"],"id":"dc83928b-9601-46de-97c2-dd717ae3201d","type":"text/javascript"}}],"id":"2677f2e2-ef31-450b-b5e5-5e6ef9d15964","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"https://api.freshbooks.com/auth/api/v1/users/business/{{businessId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["auth","api","v1","users","business","{{businessId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"4be1d913-4f49-4f9a-a9cc-afd90ad8638b","name":"List Staff","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"https://api.freshbooks.com/auth/api/v1/users/business/{{businessId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"ETag","value":"W/\"8cc492fe0ab5fdbd7afc687dfe9781bf\""},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"16b4dc9f-df36-4050-aa07-03208a1d1e74"},{"key":"X-Runtime","value":"0.036737"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSBAUHUFQTGhEhCQ0WQg1UDl1KG39aAV0NVBZSEAEZZQAFCBdyUxAIDVl1XhUUUEJQClxZMF8XTAtWXw4IYQpMFVQyVhZLVVYNCkEUAx5UTVIZAQRRUwkPAlJQUFQJUglaDQ0YHwJJG1gGVwYHUgYPAgBVWlIEXABAag=="},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1557346308"},{"key":"Retry-After","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 08 May 2018 20:10:50 GMT"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 08 May 2019 20:10:50 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17361-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"id\": 1966214,\n        \"name\": \"Postman Sandbox\",\n        \"account_id\": \"wkMd2g\",\n        \"business_group\": {\n            \"id\": 4942664,\n            \"category\": \"business\",\n            \"members\": [\n                {\n                    \"id\": 6446238,\n                    \"group_id\": 4942664,\n                    \"role\": \"business_partner\",\n                    \"identity_id\": 37256,\n                    \"first_name\": \"Marshall\",\n                    \"last_name\": \"Johnston\",\n                    \"email\": \"api.freshbooks@gmail.com\",\n                    \"company\": \"Postman Sandbox\",\n                    \"business_id\": 1966214,\n                    \"unacknowledged_change\": false,\n                    \"active\": true\n                },\n                {\n                    \"id\": 6475824,\n                    \"group_id\": 4942664,\n                    \"role\": \"business_accountant\",\n                    \"identity_id\": 75537,\n                    \"first_name\": \"Marshall\",\n                    \"last_name\": \"Johnston\",\n                    \"email\": \"api.freshbooks@gmail.com\",\n                    \"company\": \"Postman Sandbox\",\n                    \"business_id\": 1966214,\n                    \"unacknowledged_change\": false,\n                    \"active\": true\n                },\n                {\n                    \"id\": 6446130,\n                    \"group_id\": 4942664,\n                    \"role\": \"owner\",\n                    \"identity_id\": 1882548,\n                    \"first_name\": \"Ryan\",\n                    \"last_name\": \"Marr\",\n                    \"email\": \"api.freshbooks@gmail.com\",\n                    \"company\": \"Postman Sandbox\",\n                    \"business_id\": 1966214,\n                    \"unacknowledged_change\": false,\n                    \"active\": true\n                }\n            ]\n        },\n        \"date_format\": \"mm/dd/yyyy\",\n        \"address\": {\n            \"id\": 2421054,\n            \"street\": null,\n            \"city\": null,\n            \"province\": null,\n            \"country\": \"Canada\",\n            \"postal_code\": null\n        },\n        \"phone_number\": null,\n        \"business_clients\": []\n    }\n}"}],"_postman_id":"2677f2e2-ef31-450b-b5e5-5e6ef9d15964"},{"name":"Update Staff","id":"ba7193fd-c5ef-457e-ace9-480be6a925b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"staff\": {\n    \"fname\": \"Ryen\"\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/users/staffs/{{staffId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","users","staffs","{{staffId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"9248ae47-bc31-4aff-9c7c-12985fd8b24f","name":"Update Staff","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"staff\": {\n    \"fname\": \"Ryen\"\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/users/staffs/{{staffId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gRQlNBEVwQFlEEXkAUCBgCHVQMVQlUBFNRDgFXVlsACwZTTVYHHRVRUAAPUVNUWwACAQ9TDgwCEB8DWA1CBG4="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:37:58 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:37:58 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"staff\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"api_token\": \"9249ac8633763523fe614cdeb28787b9\",\n                \"bus_phone\": \"\",\n                \"currency_code\": null,\n                \"display_name\": \"RyenMarr\",\n                \"email\": \"api.freshbooks@gmail.com\",\n                \"fax\": \"\",\n                \"fname\": \"Ryen\",\n                \"home_phone\": null,\n                \"id\": 1,\n                \"language\": \"en\",\n                \"last_login\": null,\n                \"level\": 3,\n                \"lname\": \"Marr\",\n                \"mob_phone\": \"\",\n                \"note\": null,\n                \"num_logins\": 0,\n                \"organization\": \"Postman Sandbox\",\n                \"p_city\": \"\",\n                \"p_code\": \"\",\n                \"p_country\": \"\",\n                \"p_province\": \"\",\n                \"p_street\": \"\",\n                \"p_street2\": \"\",\n                \"rate\": null,\n                \"role\": \"admin\",\n                \"signup_date\": \"2019-04-18 09:14:53\",\n                \"updated\": \"2019-04-24 14:37:58\",\n                \"userid\": 1,\n                \"username\": \"rmarr@freshbooks.com\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"ba7193fd-c5ef-457e-ace9-480be6a925b3"},{"name":"Update Staff Rates","id":"ca8fdf1e-d59e-4f6c-bbb6-4f4b0a703c72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"team_member_rate\": {\n\t\t\"identity_id\": {{identityId}},\n\t\t\"rate\": 35\n\t}\n}"},"url":"https://api.freshbooks.com/comments/business/{{businessId}}/team_member_rate/{{identityId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["comments","business","{{businessId}}","team_member_rate","{{identityId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"bacd43f4-77de-45ea-ac78-779ea7261067","name":"Update Staff Rates","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"team_member_rate\": {\n\t\t\"identity_id\": {{identityId}},\n\t\t\"rate\": 35\n\t}\n}"},"url":"https://api.freshbooks.com/comments/business/{{businessId}}/team_member_rate/{{identityId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1904.25.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllUBAQOU10TGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FDFZFVRYSBxlDUhULRERQBxVNFlUDVT1VXVlQVhdmE1AVVkwWU0QOExFbVgoQBANabloDCVNTQT0UAhZVQBRSFAgaAwFUD1cCVARSUAYDUVNRDwAcUldOFVUEBAAGBgVbVAUGBAQOBwsaGFRSCUoEbA=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Wed, 25 Apr 2018 14:15:47 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Content-Length","value":"85"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Thu, 25 Apr 2019 14:15:47 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17325-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"team_member_rate\": {\n        \"rate\": \"35.00\",\n        \"identity_id\": 37256,\n        \"business_id\": 1966214\n    }\n}"}],"_postman_id":"ca8fdf1e-d59e-4f6c-bbb6-4f4b0a703c72"},{"name":"Delete Staff","id":"820fc9a5-7d9b-4ebd-a031-cf87b07564f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"staff\": {\n    \"vis_state\": 1\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/users/staffs/{{staffId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","users","staffs","{{staffId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"fdc425b5-effe-4bb8-9a46-646d3d2ed6e0","name":"Delete Staff","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"staff\": {\n    \"vis_state\": 1\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/users/staffs/{{staffId}}"},"status":"FORBIDDEN","code":403,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gRQlNBEVwQFlEEXkAUCBgCHVUBVQdTAlNdBwdTUlQAAwJTTVEOHRVSXQQCB1EHAVIGBF1XXAtREB8DWA1CBG4="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:33:53 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"errors\": [\n            {\n                \"errno\": 1003,\n                \"field\": null,\n                \"message\": \"Permission Denied.\",\n                \"object\": null,\n                \"value\": null\n            }\n        ]\n    }\n}"}],"_postman_id":"820fc9a5-7d9b-4ebd-a031-cf87b07564f3"}],"id":"e4366dde-2073-47a9-9be1-5d2f727078f0","description":"<p>wp:paragraph</p>\n<h1 id=\"team-members\">Team Members</h1>\n<h2 id=\"general-info\">General Info</h2>\n<p>The team members resource is how you interact with employees/users of your FreshBooks business. This supersedes the Staff resource which was used primarily by FreshBooks Classic.</p>\n<h1 id=\"staff\">Staff</h1>\n<h2 id=\"general-info-1\">General Info</h2>\n<p>Staff are your employees.</p>\n<h2 id=\"notice-do-not-create-staff-here\">Notice: Do not Create Staff Here!</h2>\n<p>Staff created via this endpoint are only Accounting representations of the staff members of your business, for the purpose of ownership of invoices, expenses, etc. Staff created here will not be able to log in or work with you.</p>\n<p>To create staff members for actual use (which will also create them in sync here), please use the Staff Invitation flow in the new FreshBooks' web interface.</p>\n","event":[{"listen":"prerequest","script":{"id":"03e13e8d-94b5-4ca7-b11e-9e4445541178","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e45bde8e-e12a-4d1f-b035-236ec9c1f646","type":"text/javascript","exec":[""]}}],"_postman_id":"e4366dde-2073-47a9-9be1-5d2f727078f0","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Reports","item":[{"name":"Invoice Details","id":"e66be71a-ecb8-476a-aa24-ca49b0f73246","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/reports/accounting/invoice_details","description":"<h2 id=\"invoice-details\">Invoice Details</h2>\n<p>The Invoice Details Report shows all the information involving your invoices</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","reports","accounting","invoice_details"],"host":["api","freshbooks","com"],"query":[{"disabled":true,"description":{"content":"<p>created during or after the given date i.e. <code>2019-01-01</code></p>\n","type":"text/plain"},"key":"start_date","value":"2019-01-01"},{"disabled":true,"description":{"content":"<p>created during or before the given date i.e. <code>2019-04-20</code></p>\n","type":"text/plain"},"key":"end_date","value":"2019-05-01"},{"disabled":true,"description":{"content":"<p>reports using the given currency as primary currency i.e.  <code>\"USD\"</code></p>\n","type":"text/plain"},"key":"currency_code","value":"USD"},{"disabled":true,"description":{"content":"<p>returns data from specific client(s) i.e. <code>31007, 32291</code></p>\n","type":"text/plain"},"key":"clientids","value":""},{"disabled":true,"description":{"content":"<p>returns invoices that has the same status as the given status. i.e. <code>\"draft\"</code>, <code>\"sent\"</code>, <code>\"paid\"</code>, etc.</p>\n","type":"text/plain"},"key":"statusids","value":""},{"disabled":true,"description":{"content":"<p>returns invoices with the specified date_type (<code>\"issue\"</code> or <code>\"paid\"</code>)</p>\n","type":"text/plain"},"key":"date_type","value":"issue"}],"variable":[]}},"response":[{"id":"9daaa401-a0b2-44d3-a5c5-86e158d0116c","name":"Invoice Details","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"","type":"text"}],"url":{"raw":"https://api.freshbooks.com/accounting/account/{{accountId}}/reports/accounting/invoice_details","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","{{accountId}}","reports","accounting","invoice_details"],"query":[{"key":"start_date","value":"2019-01-01","description":"created during or after the given date i.e. `2019-01-01`","disabled":true},{"key":"end_date","value":"2019-05-01","description":"created during or before the given date i.e. `2019-04-20`","disabled":true},{"key":"currency_code","value":"USD","description":"reports using the given currency as primary currency i.e.  `\"USD\"`","disabled":true},{"key":"clientids","value":"","description":"returns data from specific client(s) i.e. `31007, 32291`","type":"text","disabled":true},{"key":"statusids","value":"","description":"returns invoices that has the same status as the given status. i.e. `\"draft\"`, `\"sent\"`, `\"paid\"`, etc.","type":"text","disabled":true},{"key":"date_type","value":"issue","description":"returns invoices with the specified date_type (`\"issue\"` or `\"paid\"`)","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gWVEZcEBIQWFEBWw1NVkBbXQJLBEEOQRYXFBtRSlMWAwlQUFUBBgFfVgQABltXW04dUxRAW11VUQRUDlMEBAUGVVRVVERPXlJcFwQ/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:29:22 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:29:22 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"invoice_details\": {\n                \"clientids\": [],\n                \"clients\": [],\n                \"company_name\": \"Postman Sandbox\",\n                \"currency_code\": \"USD\",\n                \"date_type\": \"issue\",\n                \"download_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50aWQiOiJ3a01kMmciLCJ1c2VyaWQiOjEsImNvbnRhY3RpZCI6LTEsImxldmVsIjozLCJ0eXBlIjoicmVwb3J0Iiwib2JqZWN0aWQiOiJpbnZvaWNlX2RldGFpbHMiLCJwYXJhbXMiOnsic3RhcnRfZGF0ZSI6IjIwMTktMDQtMjQiLCJlbmRfZGF0ZSI6IjIwMTktMDQtMjQiLCJkYXRlX3R5cGUiOiJpc3N1ZSIsImN1cnJlbmN5X2NvZGUiOiJVU0QiLCJjbGllbnRpZHMiOltdLCJzdGF0dXNpZHMiOltdfSwiaWF0IjoxNTU2MTMwNTYyLCJleHAiOjE1NTg3MjI1NjJ9.aV3sb8ohrAx8q0cus1gk_DnRikgvKRjJdpGyIM0lKqQ\",\n                \"end_date\": \"2019-04-24\",\n                \"start_date\": \"2019-04-24\",\n                \"statusids\": [],\n                \"summary\": {\n                    \"outstanding\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"paid\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    }\n                },\n                \"summary_only\": false\n            }\n        }\n    }\n}"}],"_postman_id":"e66be71a-ecb8-476a-aa24-ca49b0f73246"},{"name":"Expense Details","id":"48b166c5-cd6c-4749-a0b5-142f1fbe69d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/reports/accounting/expense_details","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","reports","accounting","expense_details"],"host":["api","freshbooks","com"],"query":[{"disabled":true,"description":{"content":"<p>created during or after the given date i.e. <code>2019-01-01</code></p>\n","type":"text/plain"},"key":"start_date","value":"2019-01-01"},{"disabled":true,"description":{"content":"<p>created during or before the given date i.e. <code>2019-05-01</code></p>\n","type":"text/plain"},"key":"end_date","value":"2019-05-01"},{"disabled":true,"description":{"content":"<p>reports using the given currency as primary currency i.e. <code>\"USD\"</code></p>\n","type":"text/plain"},"key":"currency_code","value":"USD"},{"disabled":true,"description":{"content":"<p>Data returned is organized by the given argument. i.e. \n <code>\"parent_category\"</code>, <code>\"clients\"</code>, <code>\"vendor\"</code>, <code>\"author\"</code></p>\n","type":"text/plain"},"key":"group_by","value":"clients"},{"disabled":true,"description":{"content":"<p>true returns data without personal expenses included i.e. <code>0</code>, <code>1</code> </p>\n","type":"text/plain"},"key":"exclude_personal","value":"1"}],"variable":[]}},"response":[{"id":"f04a1630-f821-48c3-a919-8b37a8d74075","name":"Expense Details","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application","type":"text"}],"url":{"raw":"https://api.freshbooks.com/accounting/account/{{accountId}}/reports/accounting/expense_details","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","{{accountId}}","reports","accounting","expense_details"],"query":[{"key":"start_date","value":"2019-01-01","description":"created during or after the given date i.e. `2019-01-01`","disabled":true},{"key":"end_date","value":"2019-05-01","description":"created during or before the given date i.e. `2019-05-01`","disabled":true},{"key":"currency_code","value":"USD","description":"reports using the given currency as primary currency i.e. `\"USD\"`","disabled":true},{"key":"group_by","value":"clients","description":"Data returned is organized by the given argument. i.e. \n `\"parent_category\"`, `\"clients\"`, `\"vendor\"`, `\"author\"`","type":"text","disabled":true},{"key":"exclude_personal","value":"1","description":"true returns data without personal expenses included i.e. `0`, `1` ","disabled":true}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"48b166c5-cd6c-4749-a0b5-142f1fbe69d7"},{"name":"Bank Reconciliation Summary","id":"826ed328-50d7-407f-ab48-05e10b78c5d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountid}}/reports/accounting/bank_reconciliation_summary?currency_code=USD&date={{end_date}}&bank_accountid={{bank_accountid}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountid}}","reports","accounting","bank_reconciliation_summary"],"host":["api","freshbooks","com"],"query":[{"key":"currency_code","value":"USD"},{"key":"date","value":"{{end_date}}"},{"key":"bank_accountid","value":"{{bank_accountid}}"},{"disabled":true,"description":{"content":"<p>Data returned is organized by the given argument. i.e. \n <code>\"parent_category\"</code>, <code>\"clients\"</code>, <code>\"vendor\"</code>, <code>\"author\"</code></p>\n","type":"text/plain"},"key":"group_by","value":"clients"}],"variable":[]}},"response":[{"id":"6c3ead8c-19ee-4e5f-b19e-90634532a82f","name":"Expense Details","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application","type":"text"}],"url":{"raw":"https://api.freshbooks.com/accounting/account/{{accountId}}/reports/accounting/expense_details","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","{{accountId}}","reports","accounting","expense_details"],"query":[{"key":"start_date","value":"2019-01-01","description":"created during or after the given date i.e. `2019-01-01`","disabled":true},{"key":"end_date","value":"2019-05-01","description":"created during or before the given date i.e. `2019-05-01`","disabled":true},{"key":"currency_code","value":"USD","description":"reports using the given currency as primary currency i.e. `\"USD\"`","disabled":true},{"key":"group_by","value":"clients","description":"Data returned is organized by the given argument. i.e. \n `\"parent_category\"`, `\"clients\"`, `\"vendor\"`, `\"author\"`","type":"text","disabled":true},{"key":"exclude_personal","value":"1","description":"true returns data without personal expenses included i.e. `0`, `1` ","disabled":true}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"826ed328-50d7-407f-ab48-05e10b78c5d9"},{"name":"Profit/Loss Report","id":"eb820ad4-554a-464d-8688-a891d4359a1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/reports/accounting/profitloss_entity","description":"<p>The Profit/Loss Report shows all the information involving both your profits and losses</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","reports","accounting","profitloss_entity"],"host":["api","freshbooks","com"],"query":[{"disabled":true,"description":{"content":"<p>created during or after the given date i.e. <code>2019-01-01</code></p>\n","type":"text/plain"},"key":"start_date","value":"2019-01-01"},{"disabled":true,"description":{"content":"<p>created during or before the given date i.e. <code>2019-05-01</code></p>\n","type":"text/plain"},"key":"end_date","value":"2019-05-01"},{"disabled":true,"description":{"content":"<p>reports using the given currency as primary currency i.e. <code>\"USD\"</code></p>\n","type":"text/plain"},"key":"currency_code","value":"USD"},{"disabled":true,"description":{"content":"<p>True ignores billed payments and uses just collected payments i.e. <code>true</code>, <code>false</code></p>\n","type":"text/plain"},"key":"cash_based","value":"false"},{"disabled":true,"description":{"content":"<p>specifies how often data is calculated and stored. For example, \"3m\" would specify to return data grouped in three month intervals. i.e. <code>\"3m\"</code></p>\n","type":"text/plain"},"key":"resolution","value":"3m"}],"variable":[]}},"response":[{"id":"67998f58-1b56-46ce-8e0d-9f2de7d15917","name":"Profit/Loss Report","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://api.freshbooks.com/accounting/account/{{accountId}}/reports/accounting/profitloss_entity","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","{{accountId}}","reports","accounting","profitloss_entity"],"query":[{"key":"start_date","value":"2019-01-01","description":"created during or after the given date i.e. `2019-01-01`","disabled":true},{"key":"end_date","value":"2019-05-01","description":"created during or before the given date i.e. `2019-05-01`","disabled":true},{"key":"currency_code","value":"USD","description":"reports using the given currency as primary currency i.e. `\"USD\"`","type":"text","disabled":true},{"key":"cash_based","value":"false","description":"True ignores billed payments and uses just collected payments i.e. `true`, `false`","disabled":true},{"key":"resolution","value":"3m","description":"specifies how often data is calculated and stored. For example, \"3m\" would specify to return data grouped in three month intervals. i.e. `\"3m\"`","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gWVEZcEBIQWFEBWw1NVkBbXQJLBEEOQRYXFBtRSlMWAgVRWFAHBAdTUQMFBVpXVVYcTwlOGg8GUwIDC1JSVwpQVQ8BVwBBFFVRCBIHag=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:29:53 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:29:53 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"profitloss\": {\n                \"cash_based\": false,\n                \"company_name\": \"Postman Sandbox\",\n                \"currency_code\": \"USD\",\n                \"download_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50aWQiOiJ3a01kMmciLCJ1c2VyaWQiOjEsImNvbnRhY3RpZCI6LTEsImxldmVsIjozLCJ0eXBlIjoicmVwb3J0Iiwib2JqZWN0aWQiOiJwcm9maXRsb3NzIiwicGFyYW1zIjp7InN0YXJ0X2RhdGUiOiIyMDE5LTA0LTI0IiwiZW5kX2RhdGUiOiIyMDE5LTA0LTI0IiwicmVzb2x1dGlvbiI6bnVsbCwiY3VycmVuY3lfY29kZSI6IlVTRCIsImNhc2hfYmFzZWQiOmZhbHNlLCJyZXBvcnRfbW9kZSI6Im1vZGVybl9lbnRpdHkifSwiaWF0IjoxNTU2MTMwNTkzLCJleHAiOjE1NTg3MjI1OTN9.YbSTjVO5hTVP_l2bo0w2m5i_11IlLBD_KePsJp5FPIg\",\n                \"end_date\": \"2019-04-24\",\n                \"expenses\": [\n                    {\n                        \"children\": [\n                            {\n                                \"children\": [],\n                                \"data\": [],\n                                \"description\": \"Gas\",\n                                \"entry_type\": \"debit\",\n                                \"total\": {\n                                    \"amount\": \"141.12\",\n                                    \"code\": \"USD\"\n                                }\n                            }\n                        ],\n                        \"data\": [],\n                        \"description\": \"Car & Truck Expenses\",\n                        \"entry_type\": \"debit\",\n                        \"total\": {\n                            \"amount\": \"141.12\",\n                            \"code\": \"USD\"\n                        }\n                    }\n                ],\n                \"income\": [\n                    {\n                        \"children\": [],\n                        \"data\": [],\n                        \"description\": \"Sales\",\n                        \"entry_type\": \"credit\",\n                        \"total\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        }\n                    },\n                    {\n                        \"children\": [],\n                        \"data\": [],\n                        \"description\": \"Cost of Goods Sold\",\n                        \"entry_type\": \"credit\",\n                        \"total\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        }\n                    }\n                ],\n                \"labels\": [],\n                \"net_profit\": {\n                    \"children\": [],\n                    \"data\": [],\n                    \"description\": \"Net Profit (USD)\",\n                    \"entry_type\": \"credit\",\n                    \"total\": {\n                        \"amount\": \"-141.12\",\n                        \"code\": \"USD\"\n                    }\n                },\n                \"resolution\": null,\n                \"start_date\": \"2019-04-24\",\n                \"total_expenses\": {\n                    \"children\": [],\n                    \"data\": [],\n                    \"description\": \"Total Expenses\",\n                    \"entry_type\": \"debit\",\n                    \"total\": {\n                        \"amount\": \"141.12\",\n                        \"code\": \"USD\"\n                    }\n                },\n                \"total_income\": {\n                    \"children\": [],\n                    \"data\": [],\n                    \"description\": \"Gross Profit\",\n                    \"entry_type\": \"credit\",\n                    \"total\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    }\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"eb820ad4-554a-464d-8688-a891d4359a1a"},{"name":"Sales Tax Summary","id":"ec0ec230-2c55-4432-b2f3-e80eeca31949","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/reports/accounting/taxsummary?start_date=2019-01-01&end_date=2019-05-01&currency_code=USD&cash_based=true","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","reports","accounting","taxsummary"],"host":["api","freshbooks","com"],"query":[{"description":{"content":"<p>created during or after the given date i.e. <code>2019-01-01</code></p>\n","type":"text/plain"},"key":"start_date","value":"2019-01-01"},{"description":{"content":"<p>created during or before the given date i.e. <code>2019-05-01</code></p>\n","type":"text/plain"},"key":"end_date","value":"2019-05-01"},{"description":{"content":"<p>reports using the given currency as primary currency i.e. <code>\"USD\"</code></p>\n","type":"text/plain"},"key":"currency_code","value":"USD"},{"description":{"content":"<p>True ignores billed payments and uses just collected payments i.e. <code>true</code>, <code>false</code></p>\n","type":"text/plain"},"key":"cash_based","value":"true"}],"variable":[]}},"response":[{"id":"65625b43-5ea4-4d02-8dcb-6cbf2bf0e5a1","name":"Sales Tax Summary","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.freshbooks.com/accounting/account/{{accountId}}/reports/accounting/taxsummary?start_date=2019-01-01&end_date=2019-05-01&currency_code=USD&cash_based=true","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","{{accountId}}","reports","accounting","taxsummary"],"query":[{"key":"start_date","value":"2019-01-01","description":"created during or after the given date i.e. `2019-01-01`"},{"key":"end_date","value":"2019-05-01","description":"created during or before the given date i.e. `2019-05-01`"},{"key":"currency_code","value":"USD","description":"reports using the given currency as primary currency i.e. `\"USD\"`"},{"key":"cash_based","value":"true","description":"True ignores billed payments and uses just collected payments i.e. `true`, `false`"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gWVEZcEBIQWFEBWw1NVkBbXQJLBEEOQRYXFBtRSlMWAwldUVMPAgRTVwUEB1JRUVEcTwlOGghQUAJQAVQIUwsHAFAHUwRBFFVRCBIHag=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:30:19 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:30:19 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"taxsummary\": {\n                \"cash_based\": true,\n                \"currency_code\": \"USD\",\n                \"download_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50aWQiOiJ3a01kMmciLCJ1c2VyaWQiOjEsImNvbnRhY3RpZCI6LTEsImxldmVsIjozLCJ0eXBlIjoicmVwb3J0Iiwib2JqZWN0aWQiOiJ0YXhzdW1tYXJ5IiwicGFyYW1zIjp7InN0YXJ0X2RhdGUiOiIyMDE5LTAxLTAxIiwiZW5kX2RhdGUiOiIyMDE5LTA1LTAxIiwiY3VycmVuY3lfY29kZSI6IlVTRCIsImNhc2hfYmFzZWQiOnRydWV9LCJpYXQiOjE1NTYxMzA2MTksImV4cCI6MTU1ODcyMjYxOX0.7Ewyvilpqg_TzcPjGm70jfkLZhg-jAm6N0i5QJICrl8\",\n                \"end_date\": \"2019-05-01\",\n                \"start_date\": \"2019-01-01\",\n                \"taxes\": [\n                    {\n                        \"net_tax\": {\n                            \"amount\": \"-659.42\",\n                            \"code\": \"USD\"\n                        },\n                        \"net_taxable_amount\": {\n                            \"amount\": \"-4815.57\",\n                            \"code\": \"USD\"\n                        },\n                        \"tax_collected\": {\n                            \"amount\": \"146.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"tax_name\": \"HST\",\n                        \"tax_paid\": {\n                            \"amount\": \"805.42\",\n                            \"code\": \"USD\"\n                        },\n                        \"taxable_amount_collected\": {\n                            \"amount\": \"1380.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"taxable_amount_paid\": {\n                            \"amount\": \"6195.57\",\n                            \"code\": \"USD\"\n                        }\n                    },\n                    {\n                        \"net_tax\": {\n                            \"amount\": \"-18.34\",\n                            \"code\": \"USD\"\n                        },\n                        \"net_taxable_amount\": {\n                            \"amount\": \"-141.12\",\n                            \"code\": \"USD\"\n                        },\n                        \"tax_collected\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"tax_name\": \"other tax\",\n                        \"tax_paid\": {\n                            \"amount\": \"18.34\",\n                            \"code\": \"USD\"\n                        },\n                        \"taxable_amount_collected\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"taxable_amount_paid\": {\n                            \"amount\": \"141.12\",\n                            \"code\": \"USD\"\n                        }\n                    }\n                ],\n                \"total_invoiced\": {\n                    \"amount\": \"9891.00\",\n                    \"code\": \"USD\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"ec0ec230-2c55-4432-b2f3-e80eeca31949"},{"name":"Accounts Aging","id":"ab3c78ee-cc1b-40d0-9e04-48c7157b40b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/reports/accounting/accounts_aging","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","reports","accounting","accounts_aging"],"host":["api","freshbooks","com"],"query":[{"disabled":true,"description":{"content":"<p>created during or after the given date i.e. <code>2019-01-01</code></p>\n","type":"text/plain"},"key":"start_date","value":"2019-01-01"},{"disabled":true,"description":{"content":"<p>reports using the given currency as primary currency i.e. <code>\"USD\"</code></p>\n","type":"text/plain"},"key":"currency_code","value":"USD"}],"variable":[]}},"response":[{"id":"8461e1e7-5b4a-43bf-8992-1e6f05ffbbf7","name":"Accounts Aging","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.freshbooks.com/accounting/account/{{accountId}}/reports/accounting/accounts_aging","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","{{accountId}}","reports","accounting","accounts_aging"],"query":[{"key":"start_date","value":"2019-01-01","description":"created during or after the given date i.e. `2019-01-01`","disabled":true},{"key":"currency_code","value":"USD","description":"reports using the given currency as primary currency i.e. `\"USD\"`","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gWVEZcEBIQWFEBWw1NVkBbXQJLBEEOQRYXFBtRSlMWAghXWFEBAgJRUAgOAlReWlccTwlOGg4MU1cHCVJSUgsAAgUPBwNBFFVRCBIHag=="},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1557346447"},{"key":"Retry-After","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 08 May 2018 20:13:08 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 08 May 2019 20:13:08 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17361-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"accounts_aging\": {\n                \"accounts\": [\n                    {\n                        \"0-30\": {\n                            \"amount\": \"3830.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"31-60\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"61-90\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"91+\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"email\": \"first@company.com\",\n                        \"fname\": \"Nicolas\",\n                        \"lname\": \"one\",\n                        \"organization\": \"first company\",\n                        \"total\": {\n                            \"amount\": \"3830.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"userid\": 31006\n                    },\n                    {\n                        \"0-30\": {\n                            \"amount\": \"50.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"31-60\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"61-90\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"91+\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"email\": \"mwesthofer5i@imdb.com\",\n                        \"fname\": \"Myrta\",\n                        \"lname\": \"Westhofer\",\n                        \"organization\": \"Prosacco Group\",\n                        \"total\": {\n                            \"amount\": \"50.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"userid\": 32080\n                    },\n                    {\n                        \"0-30\": {\n                            \"amount\": \"398.48\",\n                            \"code\": \"USD\"\n                        },\n                        \"31-60\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"61-90\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"91+\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"email\": \"api.freshbooks@gmail.com\",\n                        \"fname\": \"Ryan\",\n                        \"lname\": \"Marr\",\n                        \"organization\": \"Ryan Marr\",\n                        \"total\": {\n                            \"amount\": \"398.48\",\n                            \"code\": \"USD\"\n                        },\n                        \"userid\": 75162\n                    }\n                ],\n                \"company_name\": \"Postman Sandbox\",\n                \"currency_code\": \"USD\",\n                \"download_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50aWQiOiJ3a01kMmciLCJ1c2VyaWQiOjMxMDA0LCJjb250YWN0aWQiOi0xLCJsZXZlbCI6LTIwLCJ0eXBlIjoicmVwb3J0Iiwib2JqZWN0aWQiOiJhY2NvdW50c19hZ2luZyIsInBhcmFtcyI6eyJlbmRfZGF0ZSI6IjIwMTktMDUtMDgiLCJjdXJyZW5jeV9jb2RlIjoiVVNEIn0sImlhdCI6MTU1NzM0NjM4OCwiZXhwIjoxNTU5OTM4Mzg4fQ.Usasm7HQKxakFm5gFDAYMez__vLM5_VETtWdvdqJMeQ\",\n                \"end_date\": \"2019-05-08\",\n                \"totals\": {\n                    \"0-30\": {\n                        \"amount\": \"4278.48\",\n                        \"code\": \"USD\"\n                    },\n                    \"31-60\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"61-90\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"91+\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"total\": {\n                        \"amount\": \"4278.48\",\n                        \"code\": \"USD\"\n                    }\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"ab3c78ee-cc1b-40d0-9e04-48c7157b40b0"},{"name":"Payments Collected","id":"9368f20f-fe8b-4bde-99c6-bad08fd7c98e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/reports/accounting/payments_collected","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","reports","accounting","payments_collected"],"host":["api","freshbooks","com"],"query":[{"disabled":true,"description":{"content":"<p>created during or after the given date i.e. <code>2019-01-01</code></p>\n","type":"text/plain"},"key":"start_date","value":"2019-01-01"},{"disabled":true,"description":{"content":"<p>created during or before the given date i.e. <code>2019-05-01</code></p>\n","type":"text/plain"},"key":"end_date","value":"2019-05-01"},{"disabled":true,"description":{"content":"<p>reports using the given currency as primary currency i.e. <code>\"USD\"</code></p>\n","type":"text/plain"},"key":"currency_code","value":"USD"},{"disabled":true,"description":{"content":"<p>returns data from specific client(s) i.e. <code>31007, 32291</code></p>\n","type":"text/plain"},"key":"clientids","value":null},{"disabled":true,"description":{"content":"<p>returns data from clients who used the specific method of payment i.e. <code>\"Visa\"</code>, <code>\"Cash\"</code>, etc.</p>\n","type":"text/plain"},"key":"payment_method","value":"Visa"}],"variable":[]}},"response":[{"id":"0156b2c8-499f-4736-851f-0d8938658d47","name":"Payments Collected","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.freshbooks.com/accounting/account/{{accountId}}/reports/accounting/payments_collected","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","{{accountId}}","reports","accounting","payments_collected"],"query":[{"key":"start_date","value":"2019-01-01","description":"created during or after the given date i.e. `2019-01-01`","disabled":true},{"key":"end_date","value":"2019-05-01","description":"created during or before the given date i.e. `2019-05-01`","disabled":true},{"key":"currency_code","value":"USD","description":"reports using the given currency as primary currency i.e. `\"USD\"`","disabled":true},{"key":"clientids","value":null,"description":"returns data from specific client(s) i.e. `31007, 32291`","disabled":true},{"key":"payment_method","value":"Visa","description":"returns data from clients who used the specific method of payment i.e. `\"Visa\"`, `\"Cash\"`, etc.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gWVEZcEBIQWFEBWw1NVkBbXQJLBEEOQRYXFBtRSlMWAwdUWFcCCA5XUwUCCltTUlAcTwlOGgkBBFZVDgAAU1dWBwFTVgJBFFVRCBIHag=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:30:39 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:30:39 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"payments_collected\": {\n                \"clientids\": [],\n                \"currency_codes\": [],\n                \"download_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50aWQiOiJ3a01kMmciLCJ1c2VyaWQiOjEsImNvbnRhY3RpZCI6LTEsImxldmVsIjozLCJ0eXBlIjoicmVwb3J0Iiwib2JqZWN0aWQiOiJwYXltZW50c19jb2xsZWN0ZWQiLCJwYXJhbXMiOnsic3RhcnRfZGF0ZSI6IjIwMTktMDQtMjQiLCJlbmRfZGF0ZSI6IjIwMTktMDQtMjQiLCJjdXJyZW5jeV9jb2RlcyI6bnVsbCwiY2xpZW50aWRzIjpudWxsLCJwYXltZW50X21ldGhvZHMiOm51bGx9LCJpYXQiOjE1NTYxMzA2MzksImV4cCI6MTU1ODcyMjYzOX0.MzRz-wIKOTpSjvsp90JGLQmO1oIA92SqLz93tPlHCRU\",\n                \"end_date\": \"2019-04-24\",\n                \"payment_methods\": [],\n                \"payments\": [],\n                \"start_date\": \"2019-04-24\",\n                \"totals\": []\n            }\n        }\n    }\n}"}],"_postman_id":"9368f20f-fe8b-4bde-99c6-bad08fd7c98e"},{"name":"Item Sales","id":"ba69c017-983d-4a4f-894a-70b4db52092d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/wkMd2g/reports/accounting/item_sales?start_date=2019-01-01&end_date=2019-12-31&currency_code=USD&clientids=31006&item_names=Fanny Pack&statusids=paid","description":"<p>See how much money you're making from each item to sell.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","wkMd2g","reports","accounting","item_sales"],"host":["api","freshbooks","com"],"query":[{"description":{"content":"<p>created during or after the given date i.e. <code>2019-01-01</code></p>\n","type":"text/plain"},"key":"start_date","value":"2019-01-01"},{"description":{"content":"<p>created during or before the given date i.e. <code>2019-12-31</code></p>\n","type":"text/plain"},"key":"end_date","value":"2019-12-31"},{"key":"currency_code","value":"USD"},{"key":"clientids","value":"31006"},{"key":"item_names","value":"Fanny Pack"},{"key":"statusids","value":"paid"}],"variable":[]}},"response":[{"id":"8dcd8288-ef74-4a77-8885-3f26fc779df9","name":"Item Sales","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.freshbooks.com/accounting/account/wkMd2g/reports/accounting/item_sales?start_date=2019-01-01&end_date=2019-12-31&currency_code=USD&clientids=31006&item_names=Fanny Pack&statusids=paid","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","wkMd2g","reports","accounting","item_sales"],"query":[{"key":"start_date","value":"2019-01-01","description":"created during or after the given date i.e. `2019-01-01`"},{"key":"end_date","value":"2019-12-31","description":"created during or before the given date i.e. `2019-12-31`"},{"key":"currency_code","value":"USD"},{"key":"clientids","value":"31006"},{"key":"item_names","value":"Fanny Pack"},{"key":"statusids","value":"paid"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gWVEZcEBIQWFEBWw1NVkBbXQJLBEEOQRYXFBtRSlMWAgBTU1UDAQJTUAkGCldRU1EcTwlOGgkMBVJTXVZUUQdbUQAEVF9BFFVRCBIHag=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:30:47 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:30:47 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"item_sales\": {\n                \"clientids\": [],\n                \"company_name\": \"Postman Sandbox\",\n                \"currency_code\": \"USD\",\n                \"download_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50aWQiOiJ3a01kMmciLCJ1c2VyaWQiOjEsImNvbnRhY3RpZCI6LTEsImxldmVsIjozLCJ0eXBlIjoicmVwb3J0Iiwib2JqZWN0aWQiOiJpdGVtX3NhbGVzIiwicGFyYW1zIjp7InN0YXJ0X2RhdGUiOiIyMDE5LTAxLTAxIiwiZW5kX2RhdGUiOiIyMDE5LTEyLTMxIiwiY3VycmVuY3lfY29kZSI6IlVTRCIsImNsaWVudGlkcyI6bnVsbCwic3RhdHVzaWRzIjpbXSwiaXRlbV9uYW1lcyI6W119LCJpYXQiOjE1NTYxMzA2NDcsImV4cCI6MTU1ODcyMjY0N30.h4AnC-DagiYu5Qp-qdFfa7DD5lZVJmYbUEnWTbuKoQc\",\n                \"end_date\": \"2019-12-31\",\n                \"item_names\": [],\n                \"items\": [\n                    {\n                        \"invoices\": [\n                            {\n                                \"amount\": {\n                                    \"amount\": \"2800.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"create_date\": \"2019-04-20\",\n                                \"discount\": {\n                                    \"amount\": \"0.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"fname\": \"Nicolas\",\n                                \"invoice_number\": \"0000005\",\n                                \"invoiceid\": 26398,\n                                \"lname\": \"one\",\n                                \"organization\": \"first company\",\n                                \"qty\": \"1\",\n                                \"unit_cost\": {\n                                    \"amount\": \"2800.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"v3_status\": \"overdue\"\n                            },\n                            {\n                                \"amount\": {\n                                    \"amount\": \"2800.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"create_date\": \"2019-04-20\",\n                                \"discount\": {\n                                    \"amount\": \"0.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"fname\": \"Nicolas\",\n                                \"invoice_number\": \"0000008\",\n                                \"invoiceid\": 28006,\n                                \"lname\": \"one\",\n                                \"organization\": \"first company\",\n                                \"qty\": \"1\",\n                                \"unit_cost\": {\n                                    \"amount\": \"2800.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"v3_status\": \"draft\"\n                            }\n                        ],\n                        \"name\": \"Acting Services\",\n                        \"total\": {\n                            \"amount\": \"5600.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"total_discount\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"total_qty\": \"2\"\n                    },\n                    {\n                        \"invoices\": [\n                            {\n                                \"amount\": {\n                                    \"amount\": \"100.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"create_date\": \"2019-04-20\",\n                                \"discount\": {\n                                    \"amount\": \"0.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"fname\": \"Beaufort\",\n                                \"invoice_number\": \"0000010\",\n                                \"invoiceid\": 29610,\n                                \"lname\": \"Michelin\",\n                                \"organization\": \"Witting, McDermott and Gutmann\",\n                                \"qty\": \"1\",\n                                \"unit_cost\": {\n                                    \"amount\": \"100.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"v3_status\": \"draft\"\n                            },\n                            {\n                                \"amount\": {\n                                    \"amount\": \"100.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"create_date\": \"2019-04-20\",\n                                \"discount\": {\n                                    \"amount\": \"0.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"fname\": \"Tarra\",\n                                \"invoice_number\": \"0000011\",\n                                \"invoiceid\": 29616,\n                                \"lname\": \"Arblaster\",\n                                \"organization\": \"Hermann-Jast\",\n                                \"qty\": \"1\",\n                                \"unit_cost\": {\n                                    \"amount\": \"100.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"v3_status\": \"draft\"\n                            },\n                            {\n                                \"amount\": {\n                                    \"amount\": \"100.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"create_date\": \"2019-04-20\",\n                                \"discount\": {\n                                    \"amount\": \"0.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"fname\": \"Nicolas\",\n                                \"invoice_number\": \"0000012\",\n                                \"invoiceid\": 29618,\n                                \"lname\": \"one\",\n                                \"organization\": \"first company\",\n                                \"qty\": \"1\",\n                                \"unit_cost\": {\n                                    \"amount\": \"100.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"v3_status\": \"overdue\"\n                            },\n                            {\n                                \"amount\": {\n                                    \"amount\": \"100.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"create_date\": \"2019-04-20\",\n                                \"discount\": {\n                                    \"amount\": \"0.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"fname\": \"Nicolas\",\n                                \"invoice_number\": \"0000013\",\n                                \"invoiceid\": 34420,\n                                \"lname\": \"one\",\n                                \"organization\": \"first company\",\n                                \"qty\": \"1\",\n                                \"unit_cost\": {\n                                    \"amount\": \"100.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"v3_status\": \"paid\"\n                            }\n                        ],\n                        \"name\": \"Belay Device\",\n                        \"total\": {\n                            \"amount\": \"400.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"total_discount\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"total_qty\": \"4\"\n                    },\n                    {\n                        \"invoices\": [\n                            {\n                                \"amount\": {\n                                    \"amount\": \"500.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"create_date\": \"2019-04-20\",\n                                \"discount\": {\n                                    \"amount\": \"0.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"fname\": \"Nicolas\",\n                                \"invoice_number\": \"0000005\",\n                                \"invoiceid\": 26398,\n                                \"lname\": \"one\",\n                                \"organization\": \"first company\",\n                                \"qty\": \"1\",\n                                \"unit_cost\": {\n                                    \"amount\": \"500.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"v3_status\": \"overdue\"\n                            }\n                        ],\n                        \"name\": \"Celebration\",\n                        \"total\": {\n                            \"amount\": \"500.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"total_discount\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"total_qty\": \"1\"\n                    },\n                    {\n                        \"invoices\": [\n                            {\n                                \"amount\": {\n                                    \"amount\": \"500.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"create_date\": \"2019-04-20\",\n                                \"discount\": {\n                                    \"amount\": \"0.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"fname\": \"Nicolas\",\n                                \"invoice_number\": \"0000008\",\n                                \"invoiceid\": 28006,\n                                \"lname\": \"one\",\n                                \"organization\": \"first company\",\n                                \"qty\": \"1\",\n                                \"unit_cost\": {\n                                    \"amount\": \"500.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"v3_status\": \"draft\"\n                            },\n                            {\n                                \"amount\": {\n                                    \"amount\": \"80.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"create_date\": \"2019-04-20\",\n                                \"discount\": {\n                                    \"amount\": \"0.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"fname\": \"Beaufort\",\n                                \"invoice_number\": \"0000010\",\n                                \"invoiceid\": 29610,\n                                \"lname\": \"Michelin\",\n                                \"organization\": \"Witting, McDermott and Gutmann\",\n                                \"qty\": \"1\",\n                                \"unit_cost\": {\n                                    \"amount\": \"80.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"v3_status\": \"draft\"\n                            },\n                            {\n                                \"amount\": {\n                                    \"amount\": \"80.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"create_date\": \"2019-04-20\",\n                                \"discount\": {\n                                    \"amount\": \"0.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"fname\": \"Tarra\",\n                                \"invoice_number\": \"0000011\",\n                                \"invoiceid\": 29616,\n                                \"lname\": \"Arblaster\",\n                                \"organization\": \"Hermann-Jast\",\n                                \"qty\": \"1\",\n                                \"unit_cost\": {\n                                    \"amount\": \"80.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"v3_status\": \"draft\"\n                            },\n                            {\n                                \"amount\": {\n                                    \"amount\": \"80.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"create_date\": \"2019-04-20\",\n                                \"discount\": {\n                                    \"amount\": \"0.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"fname\": \"Nicolas\",\n                                \"invoice_number\": \"0000012\",\n                                \"invoiceid\": 29618,\n                                \"lname\": \"one\",\n                                \"organization\": \"first company\",\n                                \"qty\": \"1\",\n                                \"unit_cost\": {\n                                    \"amount\": \"80.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"v3_status\": \"overdue\"\n                            },\n                            {\n                                \"amount\": {\n                                    \"amount\": \"80.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"create_date\": \"2019-04-20\",\n                                \"discount\": {\n                                    \"amount\": \"0.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"fname\": \"Nicolas\",\n                                \"invoice_number\": \"0000013\",\n                                \"invoiceid\": 34420,\n                                \"lname\": \"one\",\n                                \"organization\": \"first company\",\n                                \"qty\": \"1\",\n                                \"unit_cost\": {\n                                    \"amount\": \"80.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"v3_status\": \"paid\"\n                            }\n                        ],\n                        \"name\": \"Climbing Helmet\",\n                        \"total\": {\n                            \"amount\": \"820.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"total_discount\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"total_qty\": \"5\"\n                    },\n                    {\n                        \"invoices\": [\n                            {\n                                \"amount\": {\n                                    \"amount\": \"500.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"create_date\": \"2019-04-18\",\n                                \"discount\": {\n                                    \"amount\": \"0.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"fname\": \"Nicolas\",\n                                \"invoice_number\": \"0000001\",\n                                \"invoiceid\": 24042,\n                                \"lname\": \"one\",\n                                \"organization\": \"first company\",\n                                \"qty\": \"1\",\n                                \"unit_cost\": {\n                                    \"amount\": \"500.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"v3_status\": \"sent\"\n                            }\n                        ],\n                        \"name\": \"Computer Hardware\",\n                        \"total\": {\n                            \"amount\": \"500.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"total_discount\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"total_qty\": \"1\"\n                    },\n                    {\n                        \"invoices\": [\n                            {\n                                \"amount\": {\n                                    \"amount\": \"500.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"create_date\": \"2019-04-18\",\n                                \"discount\": {\n                                    \"amount\": \"0.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"fname\": \"Nicolas\",\n                                \"invoice_number\": \"0000001\",\n                                \"invoiceid\": 24042,\n                                \"lname\": \"one\",\n                                \"organization\": \"first company\",\n                                \"qty\": \"1\",\n                                \"unit_cost\": {\n                                    \"amount\": \"500.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"v3_status\": \"sent\"\n                            }\n                        ],\n                        \"name\": \"Computer Hardware 1\",\n                        \"total\": {\n                            \"amount\": \"500.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"total_discount\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"total_qty\": \"1\"\n                    },\n                    {\n                        \"invoices\": [\n                            {\n                                \"amount\": {\n                                    \"amount\": \"50.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"create_date\": \"2019-04-19\",\n                                \"discount\": {\n                                    \"amount\": \"0.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"fname\": \"Myrta\",\n                                \"invoice_number\": \"0000003\",\n                                \"invoiceid\": 26250,\n                                \"lname\": \"Westhofer\",\n                                \"organization\": \"Prosacco Group\",\n                                \"qty\": \"1\",\n                                \"unit_cost\": {\n                                    \"amount\": \"50.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"v3_status\": \"paid\"\n                            },\n                            {\n                                \"amount\": {\n                                    \"amount\": \"50.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"create_date\": \"2019-04-20\",\n                                \"discount\": {\n                                    \"amount\": \"0.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"fname\": \"Myrta\",\n                                \"invoice_number\": \"0000007\",\n                                \"invoiceid\": 28002,\n                                \"lname\": \"Westhofer\",\n                                \"organization\": \"Prosacco Group\",\n                                \"qty\": \"1\",\n                                \"unit_cost\": {\n                                    \"amount\": \"50.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"v3_status\": \"draft\"\n                            }\n                        ],\n                        \"name\": \"Fanny Pack\",\n                        \"total\": {\n                            \"amount\": \"100.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"total_discount\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"total_qty\": \"2\"\n                    },\n                    {\n                        \"invoices\": [\n                            {\n                                \"amount\": {\n                                    \"amount\": \"5000.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"create_date\": \"2019-04-20\",\n                                \"discount\": {\n                                    \"amount\": \"0.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"fname\": \"Nicolas\",\n                                \"invoice_number\": \"0000002\",\n                                \"invoiceid\": 24068,\n                                \"lname\": \"one\",\n                                \"organization\": \"first company\",\n                                \"qty\": \"1\",\n                                \"unit_cost\": {\n                                    \"amount\": \"5000.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"v3_status\": \"paid\"\n                            },\n                            {\n                                \"amount\": {\n                                    \"amount\": \"4100.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"create_date\": \"2019-04-20\",\n                                \"discount\": {\n                                    \"amount\": \"0.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"fname\": \"Nicolas\",\n                                \"invoice_number\": \"0000004\",\n                                \"invoiceid\": 26384,\n                                \"lname\": \"one\",\n                                \"organization\": \"first company\",\n                                \"qty\": \"1\",\n                                \"unit_cost\": {\n                                    \"amount\": \"4100.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"v3_status\": \"draft\"\n                            }\n                        ],\n                        \"name\": \"Paperwork\",\n                        \"total\": {\n                            \"amount\": \"9100.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"total_discount\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"total_qty\": \"2\"\n                    },\n                    {\n                        \"invoices\": [\n                            {\n                                \"amount\": {\n                                    \"amount\": \"3000.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"create_date\": \"2019-04-20\",\n                                \"discount\": {\n                                    \"amount\": \"0.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"fname\": \"Nicolas\",\n                                \"invoice_number\": \"0000002\",\n                                \"invoiceid\": 24068,\n                                \"lname\": \"one\",\n                                \"organization\": \"first company\",\n                                \"qty\": \"1\",\n                                \"unit_cost\": {\n                                    \"amount\": \"3000.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"v3_status\": \"paid\"\n                            },\n                            {\n                                \"amount\": {\n                                    \"amount\": \"2800.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"create_date\": \"2019-04-20\",\n                                \"discount\": {\n                                    \"amount\": \"0.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"fname\": \"Nicolas\",\n                                \"invoice_number\": \"0000004\",\n                                \"invoiceid\": 26384,\n                                \"lname\": \"one\",\n                                \"organization\": \"first company\",\n                                \"qty\": \"1\",\n                                \"unit_cost\": {\n                                    \"amount\": \"2800.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"v3_status\": \"draft\"\n                            }\n                        ],\n                        \"name\": \"TV Ads\",\n                        \"total\": {\n                            \"amount\": \"5800.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"total_discount\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"total_qty\": \"2\"\n                    }\n                ],\n                \"start_date\": \"2019-01-01\",\n                \"statusids\": [],\n                \"total\": {\n                    \"amount\": \"23320.00\",\n                    \"code\": \"USD\"\n                },\n                \"total_discount\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"total_qty\": \"20\"\n            }\n        }\n    }\n}"}],"_postman_id":"ba69c017-983d-4a4f-894a-70b4db52092d"},{"name":"Revenue By Client","id":"a7de5969-a4e1-4133-8b25-dae794c232a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/reports/accounting/revenue_by_client?sales_type=collected","description":"<p>A breakdown of how much each of your clients is bringing in.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","reports","accounting","revenue_by_client"],"host":["api","freshbooks","com"],"query":[{"disabled":true,"key":"start_date","value":"2019-01-01"},{"disabled":true,"key":"end_date","value":"2019-12-31"},{"disabled":true,"key":"currency_code","value":"USD"},{"disabled":true,"key":"clientids%5B%5D","value":"31006"},{"key":"sales_type","value":"collected"}],"variable":[]}},"response":[{"id":"5d6523ab-8532-4dd4-9b23-fe3124e8fcc7","name":"Revenue By Client","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://api.freshbooks.com/accounting/account/{{accountId}}/reports/accounting/revenue_by_client?sales_type=collected","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","{{accountId}}","reports","accounting","revenue_by_client"],"query":[{"key":"start_date","value":"2019-01-01","disabled":true},{"key":"end_date","value":"2019-12-31","disabled":true},{"key":"currency_code","value":"USD","disabled":true},{"key":"clientids%5B%5D","value":"31006","disabled":true},{"key":"sales_type","value":"collected"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gWVEZcEBIQWFEBWw1NVkBbXQJLBEEOQRYXFBtRSlMWAwhXUFUPAw9XUwkCA1dRVVAcTwlOGg9RAgZcXFQAAgMBUg8PUVVBFFVRCBIHag=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:31:18 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:31:18 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"revenue_by_client\": {\n                \"clientids\": [],\n                \"clients\": [],\n                \"currency_code\": \"USD\",\n                \"download_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50aWQiOiJ3a01kMmciLCJ1c2VyaWQiOjEsImNvbnRhY3RpZCI6LTEsImxldmVsIjozLCJ0eXBlIjoicmVwb3J0Iiwib2JqZWN0aWQiOiJyZXZlbnVlX2J5X2NsaWVudCIsInBhcmFtcyI6eyJzdGFydF9kYXRlIjoiMjAxOS0wNC0yNCIsImVuZF9kYXRlIjoiMjAxOS0wNC0yNCIsImN1cnJlbmN5X2NvZGUiOiJVU0QiLCJjbGllbnRpZHMiOm51bGwsInNhbGVzX3R5cGUiOiJjb2xsZWN0ZWQifSwiaWF0IjoxNTU2MTMwNjc4LCJleHAiOjE1NTg3MjI2Nzh9.0jW6aVkfU850-zwX3YdShkwl6v9T0WGKZZKWkOKRAi8\",\n                \"end_date\": \"2019-04-24\",\n                \"labels\": [\n                    \"2019-04-01\"\n                ],\n                \"sales_type\": \"collected\",\n                \"start_date\": \"2019-04-24\",\n                \"total_sales\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"total_sales_data\": [\n                    {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    }\n                ]\n            }\n        }\n    }\n}"},{"id":"5e1a93d0-135d-4903-b5de-c6fd32350f65","name":"Revenue By Client","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://api.freshbooks.com/accounting/account/{{accountId}}/reports/accounting/revenue_by_client","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","{{accountId}}","reports","accounting","revenue_by_client"],"query":[{"key":"start_date","value":"2019-01-01","disabled":true},{"key":"end_date","value":"2019-12-31","disabled":true},{"key":"currency_code","value":"USD","disabled":true},{"key":"clientids%5B%5D","value":"31006","disabled":true},{"key":"sales_type","value":"collected","disabled":true}]}},"status":"UNPROCESSABLE ENTITY","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gWVEZcEBIQWFEBWw1NVkBbXQJLBEEOQRYXFBtRSlMWAwddVFQDAgRUXQcEA1FQUlEcTwlOGgwHU1BXCVkIBQRaVARRVwJBFFVRCBIHag=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Content-Length","value":"227"},{"key":"Date","value":"Wed, 24 Apr 2019 18:30:56 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"errors\": [\n            {\n                \"errno\": 1004,\n                \"field\": \"sales_type\",\n                \"message\": \"Invalid value '' for field 'sales_type'.\",\n                \"object\": \"report\",\n                \"value\": \"\"\n            }\n        ]\n    }\n}"}],"_postman_id":"a7de5969-a4e1-4133-8b25-dae794c232a2"},{"name":"Balance Sheet","id":"cba4634d-4c5f-442c-ac09-eb4e72ed6867","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/reports/accounting/balance_sheet?dates[]=2019-04-19&dates[]=2019-04-25&currency_code=USD","description":"<p>A snapshot of your company's assets, liabilities and equity at any given point in time.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","reports","accounting","balance_sheet"],"host":["api","freshbooks","com"],"query":[{"description":{"content":"<p>will need to explain [] as anything before this date</p>\n","type":"text/plain"},"key":"dates[]","value":"2019-04-19"},{"key":"dates[]","value":"2019-04-25"},{"key":"currency_code","value":"USD"}],"variable":[]}},"response":[{"id":"a3c6385b-35ca-48eb-af8b-248bd258e257","name":"Balance Sheet","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.freshbooks.com/accounting/account/{{accountId}}/reports/accounting/balance_sheet?dates[]=2019-04-19&dates[]=2019-04-25&currency_code=USD","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","{{accountId}}","reports","accounting","balance_sheet"],"query":[{"key":"dates[]","value":"2019-04-19","description":"will need to explain [] as anything before this date"},{"key":"dates[]","value":"2019-04-25"},{"key":"currency_code","value":"USD"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gWVEZcEBIQWFEBWw1NVkBbXQJLBEEOQRYXFBtRSlMWAwlcU1QFAgZWVAMOA1VQUlUcTwlOGg5VB1dVAAMBUlEHUgBRBwdBFFVRCBIHag=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:31:43 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:31:43 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"balance_sheet\": {\n                \"assets_total\": [\n                    {\n                        \"balance\": {\n                            \"amount\": \"-1380.98\",\n                            \"code\": \"USD\"\n                        },\n                        \"date\": \"2019-04-19\"\n                    },\n                    {\n                        \"balance\": {\n                            \"amount\": \"10345.56\",\n                            \"code\": \"USD\"\n                        },\n                        \"date\": \"2019-04-25\"\n                    }\n                ],\n                \"company_name\": \"Postman Sandbox\",\n                \"currency_code\": \"USD\",\n                \"data\": [\n                    {\n                        \"account_type\": \"asset\",\n                        \"accounts\": [\n                            {\n                                \"account_name\": \"Cash\",\n                                \"account_number\": \"1000\",\n                                \"balances\": [\n                                    {\n                                        \"balance\": {\n                                            \"amount\": \"5744.02\",\n                                            \"code\": \"USD\"\n                                        },\n                                        \"date\": \"2019-04-19\"\n                                    },\n                                    {\n                                        \"balance\": {\n                                            \"amount\": \"6310.56\",\n                                            \"code\": \"USD\"\n                                        },\n                                        \"date\": \"2019-04-25\"\n                                    }\n                                ],\n                                \"sub_accounts\": [\n                                    {\n                                        \"balances\": [\n                                            {\n                                                \"balance\": {\n                                                    \"amount\": \"5744.02\",\n                                                    \"code\": \"USD\"\n                                                },\n                                                \"date\": \"2019-04-19\"\n                                            },\n                                            {\n                                                \"balance\": {\n                                                    \"amount\": \"6310.56\",\n                                                    \"code\": \"USD\"\n                                                },\n                                                \"date\": \"2019-04-25\"\n                                            }\n                                        ],\n                                        \"sub_account_name\": \"Petty Cash\",\n                                        \"sub_account_number\": \"1\"\n                                    }\n                                ]\n                            },\n                            {\n                                \"account_name\": \"Accounts Receivable\",\n                                \"account_number\": \"1200\",\n                                \"balances\": [\n                                    {\n                                        \"balance\": {\n                                            \"amount\": \"-7125.00\",\n                                            \"code\": \"USD\"\n                                        },\n                                        \"date\": \"2019-04-19\"\n                                    },\n                                    {\n                                        \"balance\": {\n                                            \"amount\": \"4035.00\",\n                                            \"code\": \"USD\"\n                                        },\n                                        \"date\": \"2019-04-25\"\n                                    }\n                                ],\n                                \"sub_accounts\": [\n                                    {\n                                        \"balances\": [\n                                            {\n                                                \"balance\": {\n                                                    \"amount\": \"-7125.00\",\n                                                    \"code\": \"USD\"\n                                                },\n                                                \"date\": \"2019-04-19\"\n                                            },\n                                            {\n                                                \"balance\": {\n                                                    \"amount\": \"4435.00\",\n                                                    \"code\": \"USD\"\n                                                },\n                                                \"date\": \"2019-04-25\"\n                                            }\n                                        ],\n                                        \"sub_account_name\": \"Accounts Receivable\",\n                                        \"sub_account_number\": \"1\"\n                                    },\n                                    {\n                                        \"balances\": [\n                                            {\n                                                \"balance\": {\n                                                    \"amount\": \"0.00\",\n                                                    \"code\": \"USD\"\n                                                },\n                                                \"date\": \"2019-04-19\"\n                                            },\n                                            {\n                                                \"balance\": {\n                                                    \"amount\": \"-400.00\",\n                                                    \"code\": \"USD\"\n                                                },\n                                                \"date\": \"2019-04-25\"\n                                            }\n                                        ],\n                                        \"sub_account_name\": \"Customer Deposits\",\n                                        \"sub_account_number\": \"2\"\n                                    }\n                                ]\n                            }\n                        ],\n                        \"balances\": [\n                            {\n                                \"balance\": {\n                                    \"amount\": \"-1380.98\",\n                                    \"code\": \"USD\"\n                                },\n                                \"date\": \"2019-04-19\"\n                            },\n                            {\n                                \"balance\": {\n                                    \"amount\": \"10345.56\",\n                                    \"code\": \"USD\"\n                                },\n                                \"date\": \"2019-04-25\"\n                            }\n                        ],\n                        \"category\": \"current\"\n                    },\n                    {\n                        \"account_type\": \"liability\",\n                        \"accounts\": [\n                            {\n                                \"account_name\": \"Taxes Payable\",\n                                \"account_number\": \"2001\",\n                                \"balances\": [\n                                    {\n                                        \"balance\": {\n                                            \"amount\": \"205.00\",\n                                            \"code\": \"USD\"\n                                        },\n                                        \"date\": \"2019-04-19\"\n                                    },\n                                    {\n                                        \"balance\": {\n                                            \"amount\": \"211.00\",\n                                            \"code\": \"USD\"\n                                        },\n                                        \"date\": \"2019-04-25\"\n                                    }\n                                ],\n                                \"sub_accounts\": [\n                                    {\n                                        \"balances\": [\n                                            {\n                                                \"balance\": {\n                                                    \"amount\": \"205.00\",\n                                                    \"code\": \"USD\"\n                                                },\n                                                \"date\": \"2019-04-19\"\n                                            },\n                                            {\n                                                \"balance\": {\n                                                    \"amount\": \"211.00\",\n                                                    \"code\": \"USD\"\n                                                },\n                                                \"date\": \"2019-04-25\"\n                                            }\n                                        ],\n                                        \"sub_account_name\": \"HST\",\n                                        \"sub_account_number\": \"1\"\n                                    }\n                                ]\n                            },\n                            {\n                                \"account_name\": \"Customer Credit\",\n                                \"account_number\": \"2003\",\n                                \"balances\": [\n                                    {\n                                        \"balance\": {\n                                            \"amount\": \"3120.00\",\n                                            \"code\": \"USD\"\n                                        },\n                                        \"date\": \"2019-04-19\"\n                                    },\n                                    {\n                                        \"balance\": {\n                                            \"amount\": \"3120.00\",\n                                            \"code\": \"USD\"\n                                        },\n                                        \"date\": \"2019-04-25\"\n                                    }\n                                ],\n                                \"sub_accounts\": [\n                                    {\n                                        \"balances\": [\n                                            {\n                                                \"balance\": {\n                                                    \"amount\": \"3120.00\",\n                                                    \"code\": \"USD\"\n                                                },\n                                                \"date\": \"2019-04-19\"\n                                            },\n                                            {\n                                                \"balance\": {\n                                                    \"amount\": \"3120.00\",\n                                                    \"code\": \"USD\"\n                                                },\n                                                \"date\": \"2019-04-25\"\n                                            }\n                                        ],\n                                        \"sub_account_name\": \"Customer Credit\",\n                                        \"sub_account_number\": \"1\"\n                                    }\n                                ]\n                            }\n                        ],\n                        \"balances\": [\n                            {\n                                \"balance\": {\n                                    \"amount\": \"3325.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"date\": \"2019-04-19\"\n                            },\n                            {\n                                \"balance\": {\n                                    \"amount\": \"3331.00\",\n                                    \"code\": \"USD\"\n                                },\n                                \"date\": \"2019-04-25\"\n                            }\n                        ],\n                        \"category\": \"current\"\n                    },\n                    {\n                        \"account_type\": \"equity\",\n                        \"accounts\": [\n                            {\n                                \"account_name\": \"Net Income\",\n                                \"account_number\": null,\n                                \"balances\": [\n                                    {\n                                        \"balance\": {\n                                            \"amount\": \"-4705.98\",\n                                            \"code\": \"USD\"\n                                        },\n                                        \"date\": \"2019-04-19\"\n                                    },\n                                    {\n                                        \"balance\": {\n                                            \"amount\": \"7014.56\",\n                                            \"code\": \"USD\"\n                                        },\n                                        \"date\": \"2019-04-25\"\n                                    }\n                                ],\n                                \"sub_accounts\": []\n                            }\n                        ],\n                        \"balances\": [\n                            {\n                                \"balance\": {\n                                    \"amount\": \"-4705.98\",\n                                    \"code\": \"USD\"\n                                },\n                                \"date\": \"2019-04-19\"\n                            },\n                            {\n                                \"balance\": {\n                                    \"amount\": \"7014.56\",\n                                    \"code\": \"USD\"\n                                },\n                                \"date\": \"2019-04-25\"\n                            }\n                        ],\n                        \"category\": null\n                    }\n                ],\n                \"dates\": [\n                    \"2019-04-19\",\n                    \"2019-04-25\"\n                ],\n                \"download_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50aWQiOiJ3a01kMmciLCJ1c2VyaWQiOjEsImNvbnRhY3RpZCI6LTEsImxldmVsIjozLCJ0eXBlIjoicmVwb3J0Iiwib2JqZWN0aWQiOiJiYWxhbmNlX3NoZWV0IiwicGFyYW1zIjp7ImRhdGVzIjpbIjIwMTktMDQtMTkiLCIyMDE5LTA0LTI1Il0sImN1cnJlbmN5X2NvZGUiOiJVU0QifSwiaWF0IjoxNTU2MTMwNzAzLCJleHAiOjE1NTg3MjI3MDN9.FziuxTK2nbj1xfrefdPjL9J7_a5tFjBneqTp5juy4D0\",\n                \"liabilities_and_equity_total\": [\n                    {\n                        \"balance\": {\n                            \"amount\": \"-1380.98\",\n                            \"code\": \"USD\"\n                        },\n                        \"date\": \"2019-04-19\"\n                    },\n                    {\n                        \"balance\": {\n                            \"amount\": \"10345.56\",\n                            \"code\": \"USD\"\n                        },\n                        \"date\": \"2019-04-25\"\n                    }\n                ]\n            }\n        }\n    }\n}"}],"_postman_id":"cba4634d-4c5f-442c-ac09-eb4e72ed6867"},{"name":"Trial Balance","id":"323a64f3-5113-48e2-9de8-5d3bfdee4297","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/reports/accounting/trial_balance?start_date=2019-01-01&end_date=2019-12-31&currency_code=USD","description":"<p>A quick gut check to make sure your books are balanced.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","reports","accounting","trial_balance"],"host":["api","freshbooks","com"],"query":[{"key":"start_date","value":"2019-01-01"},{"key":"end_date","value":"2019-12-31"},{"key":"currency_code","value":"USD"}],"variable":[]}},"response":[{"id":"85eaf202-6df6-4229-9e64-f9a8f31fd1f8","name":"Trial Balance","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.freshbooks.com/accounting/account/{{accountId}}/reports/accounting/trial_balance?start_date=2019-01-01&end_date=2019-12-31&currency_code=USD","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","{{accountId}}","reports","accounting","trial_balance"],"query":[{"key":"start_date","value":"2019-01-01"},{"key":"end_date","value":"2019-12-31"},{"key":"currency_code","value":"USD"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gWVEZcEBIQWFEBWw1NVkBbXQJLBEEOQRYXFBtRSlMWAwhSU1MDBANUVwkOClNQU1AcTwlOGgkEVwVcDgNVWVEAVgUCV1NBFFVRCBIHag=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:31:55 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:31:55 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"trial_balance\": {\n                \"company_name\": \"Postman Sandbox\",\n                \"currency_code\": \"USD\",\n                \"data\": [\n                    {\n                        \"account_name\": \"Cash\",\n                        \"account_number\": \"1000\",\n                        \"account_sub_name\": \"Petty Cash\",\n                        \"account_sub_number\": \"1\",\n                        \"credit\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"debit\": {\n                            \"amount\": \"6350.55\",\n                            \"code\": \"USD\"\n                        },\n                        \"sub_accountid\": 635972\n                    },\n                    {\n                        \"account_name\": \"Accounts Receivable\",\n                        \"account_number\": \"1200\",\n                        \"account_sub_name\": \"Accounts Receivable\",\n                        \"account_sub_number\": \"1\",\n                        \"credit\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"debit\": {\n                            \"amount\": \"4435.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"sub_accountid\": 635974\n                    },\n                    {\n                        \"account_name\": \"Accounts Receivable\",\n                        \"account_number\": \"1200\",\n                        \"account_sub_name\": \"Customer Deposits\",\n                        \"account_sub_number\": \"2\",\n                        \"credit\": {\n                            \"amount\": \"400.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"debit\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"sub_accountid\": 635976\n                    },\n                    {\n                        \"account_name\": \"Taxes Payable\",\n                        \"account_number\": \"2001\",\n                        \"account_sub_name\": \"HST\",\n                        \"account_sub_number\": \"1\",\n                        \"credit\": {\n                            \"amount\": \"211.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"debit\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"sub_accountid\": 636766\n                    },\n                    {\n                        \"account_name\": \"Customer Credit\",\n                        \"account_number\": \"2003\",\n                        \"account_sub_name\": \"Customer Credit\",\n                        \"account_sub_number\": \"1\",\n                        \"credit\": {\n                            \"amount\": \"3120.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"debit\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"sub_accountid\": 635990\n                    },\n                    {\n                        \"account_name\": \"Revenue\",\n                        \"account_number\": \"4000\",\n                        \"account_sub_name\": \"Sales\",\n                        \"account_sub_number\": \"1\",\n                        \"credit\": {\n                            \"amount\": \"14215.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"debit\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"sub_accountid\": 636000\n                    },\n                    {\n                        \"account_name\": \"Operating Expenses\",\n                        \"account_number\": \"6000\",\n                        \"account_sub_name\": \"Other Expenses\",\n                        \"account_sub_number\": \"1\",\n                        \"credit\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"debit\": {\n                            \"amount\": \"6195.57\",\n                            \"code\": \"USD\"\n                        },\n                        \"sub_accountid\": 636768\n                    },\n                    {\n                        \"account_name\": \"Operating Expenses\",\n                        \"account_number\": \"6000\",\n                        \"account_sub_name\": \"Car & Truck Expenses\",\n                        \"account_sub_number\": \"3\",\n                        \"credit\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"debit\": {\n                            \"amount\": \"141.12\",\n                            \"code\": \"USD\"\n                        },\n                        \"sub_accountid\": 849638\n                    },\n                    {\n                        \"account_name\": \"Taxes Paid\",\n                        \"account_number\": \"6001\",\n                        \"account_sub_name\": \"HST\",\n                        \"account_sub_number\": \"1\",\n                        \"credit\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"debit\": {\n                            \"amount\": \"805.42\",\n                            \"code\": \"USD\"\n                        },\n                        \"sub_accountid\": 636770\n                    },\n                    {\n                        \"account_name\": \"Taxes Paid\",\n                        \"account_number\": \"6001\",\n                        \"account_sub_name\": \"other tax\",\n                        \"account_sub_number\": \"2\",\n                        \"credit\": {\n                            \"amount\": \"0.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"debit\": {\n                            \"amount\": \"18.34\",\n                            \"code\": \"USD\"\n                        },\n                        \"sub_accountid\": 849640\n                    },\n                    {\n                        \"account_name\": \"total\",\n                        \"account_number\": null,\n                        \"account_sub_name\": null,\n                        \"account_sub_number\": null,\n                        \"credit\": {\n                            \"amount\": \"17946.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"debit\": {\n                            \"amount\": \"17946.00\",\n                            \"code\": \"USD\"\n                        },\n                        \"sub_accountid\": null\n                    }\n                ],\n                \"download_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50aWQiOiJ3a01kMmciLCJ1c2VyaWQiOjEsImNvbnRhY3RpZCI6LTEsImxldmVsIjozLCJ0eXBlIjoicmVwb3J0Iiwib2JqZWN0aWQiOiJ0cmlhbF9iYWxhbmNlIiwicGFyYW1zIjp7InN0YXJ0X2RhdGUiOiIyMDE5LTAxLTAxIiwiZW5kX2RhdGUiOiIyMDE5LTEyLTMxIiwiY3VycmVuY3lfY29kZSI6IlVTRCJ9LCJpYXQiOjE1NTYxMzA3MTUsImV4cCI6MTU1ODcyMjcxNX0.NEZhIwWtFcRvvENs2voz9pR5PrOP_n7CbBYgf1sznGg\",\n                \"end_date\": \"2019-12-31\",\n                \"start_date\": \"2019-01-01\"\n            }\n        }\n    }\n}"}],"_postman_id":"323a64f3-5113-48e2-9de8-5d3bfdee4297"},{"name":"General Ledger","id":"3adc8cfe-77fc-49bf-ba5e-add588ea21b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/journal_entry_accounts/journal_entry_accounts","description":"<p>A complete record of your transactions to help you prepare financial statements.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","journal_entry_accounts","journal_entry_accounts"],"host":["api","freshbooks","com"],"query":[{"disabled":true,"key":"search%5Bcurrency_code%5D","value":"USD"},{"disabled":true,"key":"search%5Bstart_date%5D","value":"2019-04-01"},{"disabled":true,"key":"search%5Bend_date%5D","value":"2019-04-30"}],"variable":[]}},"response":[{"id":"6b604097-cc85-4f1e-93ef-3bf1f90f9dda","name":"General Ledger","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://api.freshbooks.com/accounting/account/{{accountId}}/journal_entry_accounts/journal_entry_accounts","protocol":"https","host":["api","freshbooks","com"],"path":["accounting","account","{{accountId}}","journal_entry_accounts","journal_entry_accounts"],"query":[{"key":"search%5Bcurrency_code%5D","value":"USD","disabled":true},{"key":"search%5Bstart_date%5D","value":"2019-04-01","disabled":true},{"key":"search%5Bend_date%5D","value":"2019-04-30","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gOXkNBDAcPPVUMTBBBZ1VRUApMD0USCQgLQ0UPBw9dXUQWGANUUlgTCkVFEU5WT1IeUwhUDwwFBgFdClYEUwdWVQIbTFdPGgUDU1hTBwYFAFUED1dQUwJAHARZDktdaQ=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:32:11 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:32:11 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"journal_entry_accounts\": [\n                {\n                    \"account_name\": \"Cash\",\n                    \"account_number\": \"1000\",\n                    \"account_type\": \"asset\",\n                    \"accountid\": 545882,\n                    \"balance\": \"340.54\",\n                    \"currency_code\": \"USD\",\n                    \"id\": 545882,\n                    \"sub_accounts\": [\n                        {\n                            \"account_sub_name\": \"Petty Cash\",\n                            \"account_sub_number\": \"1\",\n                            \"account_type\": \"asset\",\n                            \"balance\": \"340.54\",\n                            \"currency_code\": \"USD\",\n                            \"custom\": false,\n                            \"id\": 635972,\n                            \"parentid\": 545882,\n                            \"sub_accountid\": 635972\n                        }\n                    ]\n                },\n                {\n                    \"account_name\": \"Accounts Receivable\",\n                    \"account_number\": \"1200\",\n                    \"account_type\": \"asset\",\n                    \"accountid\": 545884,\n                    \"balance\": \"-500\",\n                    \"currency_code\": \"USD\",\n                    \"id\": 545884,\n                    \"sub_accounts\": [\n                        {\n                            \"account_sub_name\": \"Accounts Receivable\",\n                            \"account_sub_number\": \"1\",\n                            \"account_type\": \"asset\",\n                            \"balance\": \"-500\",\n                            \"currency_code\": \"USD\",\n                            \"custom\": false,\n                            \"id\": 635974,\n                            \"parentid\": 545884,\n                            \"sub_accountid\": 635974\n                        },\n                        {\n                            \"account_sub_name\": \"Customer Deposits\",\n                            \"account_sub_number\": \"2\",\n                            \"account_type\": \"asset\",\n                            \"balance\": \"0\",\n                            \"currency_code\": \"USD\",\n                            \"custom\": false,\n                            \"id\": 635976,\n                            \"parentid\": 545884,\n                            \"sub_accountid\": 635976\n                        }\n                    ]\n                },\n                {\n                    \"account_name\": \"Property, Plant, and Equipment\",\n                    \"account_number\": \"1500\",\n                    \"account_type\": \"asset\",\n                    \"accountid\": 545886,\n                    \"balance\": \"0\",\n                    \"currency_code\": \"USD\",\n                    \"id\": 545886,\n                    \"sub_accounts\": [\n                        {\n                            \"account_sub_name\": \"Office Equipment\",\n                            \"account_sub_number\": \"1\",\n                            \"account_type\": \"asset\",\n                            \"balance\": \"0\",\n                            \"currency_code\": \"USD\",\n                            \"custom\": false,\n                            \"id\": 635978,\n                            \"parentid\": 545886,\n                            \"sub_accountid\": 635978\n                        },\n                        {\n                            \"account_sub_name\": \"Furniture\",\n                            \"account_sub_number\": \"2\",\n                            \"account_type\": \"asset\",\n                            \"balance\": \"0\",\n                            \"currency_code\": \"USD\",\n                            \"custom\": false,\n                            \"id\": 635980,\n                            \"parentid\": 545886,\n                            \"sub_accountid\": 635980\n                        }\n                    ]\n                },\n                {\n                    \"account_name\": \"Deferred Discounts\",\n                    \"account_number\": \"1600\",\n                    \"account_type\": \"asset\",\n                    \"accountid\": 545888,\n                    \"balance\": \"0\",\n                    \"currency_code\": \"USD\",\n                    \"id\": 545888,\n                    \"sub_accounts\": [\n                        {\n                            \"account_sub_name\": \"Deferred Discounts\",\n                            \"account_sub_number\": \"1\",\n                            \"account_type\": \"asset\",\n                            \"balance\": \"0\",\n                            \"currency_code\": \"USD\",\n                            \"custom\": false,\n                            \"id\": 635982,\n                            \"parentid\": 545888,\n                            \"sub_accountid\": 635982\n                        }\n                    ]\n                },\n                {\n                    \"account_name\": \"Accounts Payable\",\n                    \"account_number\": \"2000\",\n                    \"account_type\": \"liability\",\n                    \"accountid\": 545890,\n                    \"balance\": \"0\",\n                    \"currency_code\": \"USD\",\n                    \"id\": 545890,\n                    \"sub_accounts\": [\n                        {\n                            \"account_sub_name\": \"Accrued Payroll\",\n                            \"account_sub_number\": \"1\",\n                            \"account_type\": \"liability\",\n                            \"balance\": \"0\",\n                            \"currency_code\": \"USD\",\n                            \"custom\": false,\n                            \"id\": 635984,\n                            \"parentid\": 545890,\n                            \"sub_accountid\": 635984\n                        },\n                        {\n                            \"account_sub_name\": \"Accrued Rent\",\n                            \"account_sub_number\": \"2\",\n                            \"account_type\": \"liability\",\n                            \"balance\": \"0\",\n                            \"currency_code\": \"USD\",\n                            \"custom\": false,\n                            \"id\": 635986,\n                            \"parentid\": 545890,\n                            \"sub_accountid\": 635986\n                        }\n                    ]\n                },\n                {\n                    \"account_name\": \"Taxes Payable\",\n                    \"account_number\": \"2001\",\n                    \"account_type\": \"liability\",\n                    \"accountid\": 545892,\n                    \"balance\": \"0\",\n                    \"currency_code\": \"USD\",\n                    \"id\": 545892,\n                    \"sub_accounts\": [\n                        {\n                            \"account_sub_name\": \"HST\",\n                            \"account_sub_number\": \"1\",\n                            \"account_type\": \"liability\",\n                            \"balance\": \"0\",\n                            \"currency_code\": \"USD\",\n                            \"custom\": false,\n                            \"id\": 636766,\n                            \"parentid\": 545892,\n                            \"sub_accountid\": 636766\n                        }\n                    ]\n                },\n                {\n                    \"account_name\": \"Unearned Revenue\",\n                    \"account_number\": \"2002\",\n                    \"account_type\": \"liability\",\n                    \"accountid\": 545894,\n                    \"balance\": \"0\",\n                    \"currency_code\": \"USD\",\n                    \"id\": 545894,\n                    \"sub_accounts\": [\n                        {\n                            \"account_sub_name\": \"Unearned Revenue\",\n                            \"account_sub_number\": \"1\",\n                            \"account_type\": \"liability\",\n                            \"balance\": \"0\",\n                            \"currency_code\": \"USD\",\n                            \"custom\": false,\n                            \"id\": 635988,\n                            \"parentid\": 545894,\n                            \"sub_accountid\": 635988\n                        }\n                    ]\n                },\n                {\n                    \"account_name\": \"Customer Credit\",\n                    \"account_number\": \"2003\",\n                    \"account_type\": \"liability\",\n                    \"accountid\": 545896,\n                    \"balance\": \"0\",\n                    \"currency_code\": \"USD\",\n                    \"id\": 545896,\n                    \"sub_accounts\": [\n                        {\n                            \"account_sub_name\": \"Customer Credit\",\n                            \"account_sub_number\": \"1\",\n                            \"account_type\": \"liability\",\n                            \"balance\": \"0\",\n                            \"currency_code\": \"USD\",\n                            \"custom\": false,\n                            \"id\": 635990,\n                            \"parentid\": 545896,\n                            \"sub_accountid\": 635990\n                        }\n                    ]\n                },\n                {\n                    \"account_name\": \"Credit Cards\",\n                    \"account_number\": \"2004\",\n                    \"account_type\": \"liability\",\n                    \"accountid\": 545898,\n                    \"balance\": \"0\",\n                    \"currency_code\": \"USD\",\n                    \"id\": 545898,\n                    \"sub_accounts\": []\n                },\n                {\n                    \"account_name\": \"Owner's Equity\",\n                    \"account_number\": \"3000\",\n                    \"account_type\": \"equity\",\n                    \"accountid\": 545900,\n                    \"balance\": \"0\",\n                    \"currency_code\": \"USD\",\n                    \"id\": 545900,\n                    \"sub_accounts\": [\n                        {\n                            \"account_sub_name\": \"Owner's Equity\",\n                            \"account_sub_number\": \"1\",\n                            \"account_type\": \"equity\",\n                            \"balance\": \"0\",\n                            \"currency_code\": \"USD\",\n                            \"custom\": false,\n                            \"id\": 635992,\n                            \"parentid\": 545900,\n                            \"sub_accountid\": 635992\n                        },\n                        {\n                            \"account_sub_name\": \"Common Stock\",\n                            \"account_sub_number\": \"2\",\n                            \"account_type\": \"equity\",\n                            \"balance\": \"0\",\n                            \"currency_code\": \"USD\",\n                            \"custom\": false,\n                            \"id\": 635994,\n                            \"parentid\": 545900,\n                            \"sub_accountid\": 635994\n                        },\n                        {\n                            \"account_sub_name\": \"Retained Earnings\",\n                            \"account_sub_number\": \"3\",\n                            \"account_type\": \"equity\",\n                            \"balance\": \"0\",\n                            \"currency_code\": \"USD\",\n                            \"custom\": false,\n                            \"id\": 635996,\n                            \"parentid\": 545900,\n                            \"sub_accountid\": 635996\n                        }\n                    ]\n                },\n                {\n                    \"account_name\": \"Opening Balance\",\n                    \"account_number\": \"3001\",\n                    \"account_type\": \"equity\",\n                    \"accountid\": 545902,\n                    \"balance\": \"0\",\n                    \"currency_code\": \"USD\",\n                    \"id\": 545902,\n                    \"sub_accounts\": [\n                        {\n                            \"account_sub_name\": \"Opening Balance Adjustments\",\n                            \"account_sub_number\": \"4\",\n                            \"account_type\": \"equity\",\n                            \"balance\": \"0\",\n                            \"currency_code\": \"USD\",\n                            \"custom\": false,\n                            \"id\": 635998,\n                            \"parentid\": 545902,\n                            \"sub_accountid\": 635998\n                        }\n                    ]\n                },\n                {\n                    \"account_name\": \"Revenue\",\n                    \"account_number\": \"4000\",\n                    \"account_type\": \"income\",\n                    \"accountid\": 545904,\n                    \"balance\": \"0\",\n                    \"currency_code\": \"USD\",\n                    \"id\": 545904,\n                    \"sub_accounts\": [\n                        {\n                            \"account_sub_name\": \"Sales\",\n                            \"account_sub_number\": \"1\",\n                            \"account_type\": \"income\",\n                            \"balance\": \"0\",\n                            \"currency_code\": \"USD\",\n                            \"custom\": false,\n                            \"id\": 636000,\n                            \"parentid\": 545904,\n                            \"sub_accountid\": 636000\n                        },\n                        {\n                            \"account_sub_name\": \"Billed Expenses\",\n                            \"account_sub_number\": \"2\",\n                            \"account_type\": \"income\",\n                            \"balance\": \"0\",\n                            \"currency_code\": \"USD\",\n                            \"custom\": false,\n                            \"id\": 636002,\n                            \"parentid\": 545904,\n                            \"sub_accountid\": 636002\n                        },\n                        {\n                            \"account_sub_name\": \"Discounts\",\n                            \"account_sub_number\": \"3\",\n                            \"account_type\": \"income\",\n                            \"balance\": \"0\",\n                            \"currency_code\": \"USD\",\n                            \"custom\": false,\n                            \"id\": 636004,\n                            \"parentid\": 545904,\n                            \"sub_accountid\": 636004\n                        }\n                    ]\n                },\n                {\n                    \"account_name\": \"Cost of Goods Sold\",\n                    \"account_number\": \"5000\",\n                    \"account_type\": \"expense\",\n                    \"accountid\": 545906,\n                    \"balance\": \"0\",\n                    \"currency_code\": \"USD\",\n                    \"id\": 545906,\n                    \"sub_accounts\": []\n                },\n                {\n                    \"account_name\": \"Operating Expenses\",\n                    \"account_number\": \"6000\",\n                    \"account_type\": \"expense\",\n                    \"accountid\": 545908,\n                    \"balance\": \"141.12\",\n                    \"currency_code\": \"USD\",\n                    \"id\": 545908,\n                    \"sub_accounts\": [\n                        {\n                            \"account_sub_name\": \"Other Expenses\",\n                            \"account_sub_number\": \"1\",\n                            \"account_type\": \"expense\",\n                            \"balance\": \"0\",\n                            \"currency_code\": \"USD\",\n                            \"custom\": false,\n                            \"id\": 636768,\n                            \"parentid\": 545908,\n                            \"sub_accountid\": 636768\n                        },\n                        {\n                            \"account_sub_name\": \"Rent or Lease\",\n                            \"account_sub_number\": \"2\",\n                            \"account_type\": \"expense\",\n                            \"balance\": \"0\",\n                            \"currency_code\": \"USD\",\n                            \"custom\": false,\n                            \"id\": 760282,\n                            \"parentid\": 545908,\n                            \"sub_accountid\": 760282\n                        },\n                        {\n                            \"account_sub_name\": \"Car & Truck Expenses\",\n                            \"account_sub_number\": \"3\",\n                            \"account_type\": \"expense\",\n                            \"balance\": \"141.12\",\n                            \"currency_code\": \"USD\",\n                            \"custom\": false,\n                            \"id\": 849638,\n                            \"parentid\": 545908,\n                            \"sub_accountid\": 849638\n                        }\n                    ]\n                },\n                {\n                    \"account_name\": \"Taxes Paid\",\n                    \"account_number\": \"6001\",\n                    \"account_type\": \"expense\",\n                    \"accountid\": 545910,\n                    \"balance\": \"18.34\",\n                    \"currency_code\": \"USD\",\n                    \"id\": 545910,\n                    \"sub_accounts\": [\n                        {\n                            \"account_sub_name\": \"HST\",\n                            \"account_sub_number\": \"1\",\n                            \"account_type\": \"expense\",\n                            \"balance\": \"0\",\n                            \"currency_code\": \"USD\",\n                            \"custom\": false,\n                            \"id\": 636770,\n                            \"parentid\": 545910,\n                            \"sub_accountid\": 636770\n                        },\n                        {\n                            \"account_sub_name\": \"other tax\",\n                            \"account_sub_number\": \"2\",\n                            \"account_type\": \"expense\",\n                            \"balance\": \"18.34\",\n                            \"currency_code\": \"USD\",\n                            \"custom\": false,\n                            \"id\": 849640,\n                            \"parentid\": 545910,\n                            \"sub_accountid\": 849640\n                        }\n                    ]\n                }\n            ],\n            \"page\": 1,\n            \"pages\": 1,\n            \"per_page\": 15,\n            \"total\": 15\n        }\n    }\n}"}],"_postman_id":"3adc8cfe-77fc-49bf-ba5e-add588ea21b3"},{"name":"Time Entry Details","id":"103e730a-aa8b-40aa-8950-5131d1ca02d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/comments/business/{{businessId}}/time_entries/search","description":"<p>A detailed summary of how much time you and/or your team tracked over a period of time. </p>\n<p><em>Reminder to not use <code>Content-Type</code> when calling for time-entry details</em></p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["comments","business","{{businessId}}","time_entries","search"],"host":["api","freshbooks","com"],"query":[{"disabled":true,"description":{"content":"<p>Group by clients, vendor, </p>\n","type":"text/plain"},"key":"group_by","value":"clients"},{"disabled":true,"description":{"content":"<p>Boolean, includes JWT token if true. </p>\n","type":"text/plain"},"key":"include_jwt","value":"true"},{"disabled":true,"key":"timezone","value":"America%2FToronto"},{"disabled":true,"key":"billable","value":"1"},{"disabled":true,"key":"billed","value":"1"},{"disabled":true,"description":{"content":"<p>Filter by Project using <code>project_id</code></p>\n","type":"text/plain"},"key":"project_id","value":"2980874"},{"disabled":true,"description":{"content":"<p>Filter by Staff using <code>identity_id</code></p>\n","type":"text/plain"},"key":"identity_id","value":"37256"},{"disabled":true,"key":"date_gte","value":"2019-03-01T05%3A00%3A00Z"},{"disabled":true,"key":"date_lte","value":"2019-04-01T03%3A59%3A59Z"},{"disabled":true,"key":"sort","value":"-started_at"}],"variable":[]}},"response":[{"id":"2c235d40-4984-4716-8375-5a4ff997474e","name":"Time Entry Details","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text","disabled":true}],"url":{"raw":"https://api.freshbooks.com/comments/business/{{businessId}}/time_entries/search","protocol":"https","host":["api","freshbooks","com"],"path":["comments","business","{{businessId}}","time_entries","search"],"query":[{"key":"group_by","value":"clients","description":"Group by clients, vendor, ","disabled":true},{"key":"include_jwt","value":"true","description":"Boolean, includes JWT token if true. ","disabled":true},{"key":"timezone","value":"America%2FToronto","disabled":true},{"key":"billable","value":"1","disabled":true},{"key":"billed","value":"1","disabled":true},{"key":"project_id","value":"2980874","description":"Filter by Project using `project_id`","disabled":true},{"key":"identity_id","value":"37256","description":"Filter by Staff using `identity_id`","disabled":true},{"key":"date_gte","value":"2019-03-01T05%3A00%3A00Z","disabled":true},{"key":"date_lte","value":"2019-04-01T03%3A59%3A59Z","disabled":true},{"key":"sort","value":"-started_at","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1904.25.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllUBAQOU10TGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FDFZFVRYSBxlDUhULRERQBxVNFlkPXT1dVkBAWgBKPkIEUhAHXhkTAxBXRkIHBFhDWFoDO1RYRxAPBhFvEV0DSltcEB9VFVEfUANRUQcOVVVaDgoHVldXAQMbS1UdFFZUUlUHVlJaUQsJBFZWV11DHQdSDhdTag=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:32:22 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Content-Length","value":"5298"},{"key":"Date","value":"Wed, 24 Apr 2019 18:32:22 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"time_entries\": [\n        {\n            \"id\": 47654134,\n            \"identity_id\": 37256,\n            \"timer\": null,\n            \"is_logged\": true,\n            \"started_at\": \"2016-08-16T20:00:00Z\",\n            \"created_at\": \"2019-04-18T20:50:28Z\",\n            \"duration\": 7200,\n            \"client_id\": 31006,\n            \"project_id\": 2976412,\n            \"pending_client\": null,\n            \"pending_project\": null,\n            \"pending_task\": null,\n            \"task_id\": null,\n            \"service_id\": null,\n            \"note\": \"Stuff\",\n            \"active\": true,\n            \"billable\": false,\n            \"billed\": false,\n            \"internal\": false,\n            \"retainer_id\": null,\n            \"highlight\": null\n        },\n        {\n            \"id\": 47634496,\n            \"identity_id\": 1882548,\n            \"timer\": null,\n            \"is_logged\": true,\n            \"started_at\": \"2016-08-16T20:00:00Z\",\n            \"created_at\": \"2019-04-18T15:16:32Z\",\n            \"duration\": 7200,\n            \"client_id\": 31006,\n            \"project_id\": 2976412,\n            \"pending_client\": null,\n            \"pending_project\": null,\n            \"pending_task\": null,\n            \"task_id\": null,\n            \"service_id\": null,\n            \"note\": \"Stuff\",\n            \"active\": true,\n            \"billable\": false,\n            \"billed\": false,\n            \"internal\": false,\n            \"retainer_id\": null,\n            \"highlight\": null\n        },\n        {\n            \"id\": 47630482,\n            \"identity_id\": 1882548,\n            \"timer\": null,\n            \"is_logged\": true,\n            \"started_at\": \"2019-04-19T04:00:00Z\",\n            \"created_at\": \"2019-04-18T14:11:34Z\",\n            \"duration\": 10800,\n            \"client_id\": 31006,\n            \"project_id\": 2976412,\n            \"pending_client\": null,\n            \"pending_project\": null,\n            \"pending_task\": null,\n            \"task_id\": null,\n            \"service_id\": 3575792,\n            \"note\": null,\n            \"active\": true,\n            \"billable\": false,\n            \"billed\": false,\n            \"internal\": false,\n            \"retainer_id\": null,\n            \"highlight\": null\n        },\n        {\n            \"id\": 47630476,\n            \"identity_id\": 1882548,\n            \"timer\": null,\n            \"is_logged\": true,\n            \"started_at\": \"2019-04-15T04:00:00Z\",\n            \"created_at\": \"2019-04-18T14:11:34Z\",\n            \"duration\": 7200,\n            \"client_id\": 31006,\n            \"project_id\": 2976412,\n            \"pending_client\": null,\n            \"pending_project\": null,\n            \"pending_task\": null,\n            \"task_id\": null,\n            \"service_id\": 3575792,\n            \"note\": null,\n            \"active\": true,\n            \"billable\": false,\n            \"billed\": false,\n            \"internal\": false,\n            \"retainer_id\": null,\n            \"highlight\": null\n        },\n        {\n            \"id\": 47654186,\n            \"identity_id\": 37256,\n            \"timer\": null,\n            \"is_logged\": true,\n            \"started_at\": \"2019-04-18T20:00:00Z\",\n            \"created_at\": \"2019-04-18T20:51:22Z\",\n            \"duration\": 7200,\n            \"client_id\": 31006,\n            \"project_id\": 2976412,\n            \"pending_client\": null,\n            \"pending_project\": null,\n            \"pending_task\": null,\n            \"task_id\": null,\n            \"service_id\": null,\n            \"note\": \"Stuff\",\n            \"active\": true,\n            \"billable\": false,\n            \"billed\": false,\n            \"internal\": false,\n            \"retainer_id\": null,\n            \"highlight\": null\n        },\n        {\n            \"id\": 47630480,\n            \"identity_id\": 1882548,\n            \"timer\": null,\n            \"is_logged\": true,\n            \"started_at\": \"2019-04-18T04:00:00Z\",\n            \"created_at\": \"2019-04-18T14:11:34Z\",\n            \"duration\": 7200,\n            \"client_id\": 31006,\n            \"project_id\": 2976412,\n            \"pending_client\": null,\n            \"pending_project\": null,\n            \"pending_task\": null,\n            \"task_id\": null,\n            \"service_id\": 3575792,\n            \"note\": null,\n            \"active\": true,\n            \"billable\": false,\n            \"billed\": false,\n            \"internal\": false,\n            \"retainer_id\": null,\n            \"highlight\": null\n        },\n        {\n            \"id\": 47630478,\n            \"identity_id\": 1882548,\n            \"timer\": null,\n            \"is_logged\": true,\n            \"started_at\": \"2019-04-17T04:00:00Z\",\n            \"created_at\": \"2019-04-18T14:11:34Z\",\n            \"duration\": 7200,\n            \"client_id\": 31006,\n            \"project_id\": 2976412,\n            \"pending_client\": null,\n            \"pending_project\": null,\n            \"pending_task\": null,\n            \"task_id\": null,\n            \"service_id\": 3575792,\n            \"note\": null,\n            \"active\": true,\n            \"billable\": false,\n            \"billed\": false,\n            \"internal\": false,\n            \"retainer_id\": null,\n            \"highlight\": null\n        },\n        {\n            \"id\": 47632920,\n            \"identity_id\": 1882548,\n            \"timer\": null,\n            \"is_logged\": true,\n            \"started_at\": \"2016-08-16T20:00:00Z\",\n            \"created_at\": \"2019-04-18T14:58:17Z\",\n            \"duration\": 7200,\n            \"client_id\": 31006,\n            \"project_id\": 2976412,\n            \"pending_client\": null,\n            \"pending_project\": null,\n            \"pending_task\": null,\n            \"task_id\": null,\n            \"service_id\": null,\n            \"note\": \"Stuff\",\n            \"active\": true,\n            \"billable\": false,\n            \"billed\": false,\n            \"internal\": false,\n            \"retainer_id\": null,\n            \"highlight\": null\n        },\n        {\n            \"id\": 47632874,\n            \"identity_id\": 1882548,\n            \"timer\": null,\n            \"is_logged\": true,\n            \"started_at\": \"2016-08-16T20:00:00Z\",\n            \"created_at\": \"2019-04-18T14:57:34Z\",\n            \"duration\": 7200,\n            \"client_id\": 31006,\n            \"project_id\": 2976412,\n            \"pending_client\": null,\n            \"pending_project\": null,\n            \"pending_task\": null,\n            \"task_id\": null,\n            \"service_id\": null,\n            \"note\": \"Stuff\",\n            \"active\": true,\n            \"billable\": false,\n            \"billed\": false,\n            \"internal\": false,\n            \"retainer_id\": null,\n            \"highlight\": null\n        }\n    ],\n    \"meta\": {\n        \"total\": 9,\n        \"per_page\": 30,\n        \"page\": 1,\n        \"pages\": 1,\n        \"total_logged\": 0,\n        \"total_unbilled\": 0\n    },\n    \"aggregations\": null,\n    \"download_token\": null,\n    \"abilities\": [\n        {\n            \"time_entry_id\": 47654134,\n            \"abilities\": [\n                {\n                    \"name\": \"can_edit\",\n                    \"value\": true\n                },\n                {\n                    \"name\": \"can_delete\",\n                    \"value\": true\n                }\n            ]\n        },\n        {\n            \"time_entry_id\": 47634496,\n            \"abilities\": [\n                {\n                    \"name\": \"can_edit\",\n                    \"value\": true\n                },\n                {\n                    \"name\": \"can_delete\",\n                    \"value\": true\n                }\n            ]\n        },\n        {\n            \"time_entry_id\": 47630482,\n            \"abilities\": [\n                {\n                    \"name\": \"can_edit\",\n                    \"value\": true\n                },\n                {\n                    \"name\": \"can_delete\",\n                    \"value\": true\n                }\n            ]\n        },\n        {\n            \"time_entry_id\": 47630476,\n            \"abilities\": [\n                {\n                    \"name\": \"can_edit\",\n                    \"value\": true\n                },\n                {\n                    \"name\": \"can_delete\",\n                    \"value\": true\n                }\n            ]\n        },\n        {\n            \"time_entry_id\": 47654186,\n            \"abilities\": [\n                {\n                    \"name\": \"can_edit\",\n                    \"value\": true\n                },\n                {\n                    \"name\": \"can_delete\",\n                    \"value\": true\n                }\n            ]\n        },\n        {\n            \"time_entry_id\": 47630480,\n            \"abilities\": [\n                {\n                    \"name\": \"can_edit\",\n                    \"value\": true\n                },\n                {\n                    \"name\": \"can_delete\",\n                    \"value\": true\n                }\n            ]\n        },\n        {\n            \"time_entry_id\": 47630478,\n            \"abilities\": [\n                {\n                    \"name\": \"can_edit\",\n                    \"value\": true\n                },\n                {\n                    \"name\": \"can_delete\",\n                    \"value\": true\n                }\n            ]\n        },\n        {\n            \"time_entry_id\": 47632920,\n            \"abilities\": [\n                {\n                    \"name\": \"can_edit\",\n                    \"value\": true\n                },\n                {\n                    \"name\": \"can_delete\",\n                    \"value\": true\n                }\n            ]\n        },\n        {\n            \"time_entry_id\": 47632874,\n            \"abilities\": [\n                {\n                    \"name\": \"can_edit\",\n                    \"value\": true\n                },\n                {\n                    \"name\": \"can_delete\",\n                    \"value\": true\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"103e730a-aa8b-40aa-8950-5131d1ca02d7"},{"name":"Download CSV Report","id":"1777c7e3-376d-44a1-82a3-e918b5864e6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/links/reports/{{downloadToken}}/invoice_details.csv","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","links","reports","{{downloadToken}}","invoice_details.csv"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1777c7e3-376d-44a1-82a3-e918b5864e6b"},{"name":"Client Account Statement","event":[{"listen":"test","script":{"id":"1819a57a-78e9-4bf6-a977-6aed3202d0e8","exec":["let jsonData = JSON.parse(responseBody);","pm.environment.set(\"downloadToken\", jsonData.response.result.account_statement.download_token);"],"type":"text/javascript"}}],"id":"e9885a2d-16d7-419d-a664-a5e8f598808e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/reports/accounting/account_statement?start_date=2020-01-01&end_date=2020-12-31&clientid={{customerId}}&currency_code=USD","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","reports","accounting","account_statement"],"host":["api","freshbooks","com"],"query":[{"key":"start_date","value":"2020-01-01"},{"key":"end_date","value":"2020-12-31"},{"key":"clientid","value":"{{customerId}}"},{"key":"currency_code","value":"USD"}],"variable":[]}},"response":[],"_postman_id":"e9885a2d-16d7-419d-a664-a5e8f598808e"}],"id":"be38c06d-a7d2-41e1-a1bb-6360fa59c9dc","description":"<h2 id=\"general-info\">General Info</h2>\n<p>Reports in FreshBooks provide detailed data on various aspects of your business. There are seven types of reports you are able to access.</p>\n<p><em>Requires Authorization</em></p>\n<ul>\n<li>Invoice Details</li>\n<li>Expense Details</li>\n<li>Profit/Loss</li>\n<li>Aging Accounts</li>\n<li>Tax Summary</li>\n<li>Payments Collected</li>\n<li>Item Sales</li>\n<li>Revenue by Client</li>\n<li>Balance Sheet</li>\n<li>Trial Balance</li>\n<li>General Ledger </li>\n<li>Time Entry Details</li>\n</ul>\n<h2 id=\"includes\">Includes</h2>\n<p>There are no includes for reports</p>\n","event":[{"listen":"prerequest","script":{"id":"0640b692-0db6-4316-8d09-f2ca57eff5fb","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"34e1723c-23a4-4d61-b48b-edcc14541150","type":"text/javascript","exec":[""]}}],"_postman_id":"be38c06d-a7d2-41e1-a1bb-6360fa59c9dc","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Accounting","item":[{"name":"Accounts","item":[{"name":"List Accounts","event":[{"listen":"test","script":{"id":"3d3ff7fd-254c-4426-9b55-ba1efa188109","exec":["let jsonData = JSON.parse(responseBody);","pm.environment.set(\"account_uuid\", jsonData.data[0].uuid);"],"type":"text/javascript"}}],"id":"5e4528fb-a4e6-404c-88c1-935d6e36719a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/businesses/{{business_uuid}}/ledger_accounts/accounts","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","businesses","{{business_uuid}}","ledger_accounts","accounts"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"5a3a21f9-0063-47b8-badd-41b2d3b79ea6","name":"List Accounts","originalRequest":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/businesses/{{business_uuid}}/ledger_accounts/accounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 27 Sep 2022 10:13:43 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin"},{"key":"Allow","value":"GET, POST, HEAD"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"X-API-VERSION","value":"2019-07-10"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Content-Security-Policy","value":"default-src 'self'; object-src 'none'"},{"key":"Strict-Transport-Security","value":"max-age=31556926; includeSubDomains; preload"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"X-RateLimit-Reset","value":"1664273684"},{"key":"Retry-After","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"uuid\": \"e17f9556-c99f-4fdb-ad8b-089ac4798bae\",\n            \"name\": \"Cash\",\n            \"number\": \"1000\",\n            \"description\": \"\",\n            \"type\": \"asset\",\n            \"sub_type\": \"Cash & Bank\",\n            \"system_account_name\": \"Cash\",\n            \"parent_account\": null,\n            \"sub_accounts\": [\n                \"34bb2ff8-8c1b-4142-a66b-b6c35b2e143a\"\n            ],\n            \"auto_created\": true,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.668685Z\"\n        },\n        {\n            \"uuid\": \"34bb2ff8-8c1b-4142-a66b-b6c35b2e143a\",\n            \"name\": \"Petty Cash\",\n            \"number\": \"1000-1\",\n            \"description\": \"\",\n            \"type\": \"asset\",\n            \"sub_type\": \"Cash & Bank\",\n            \"system_account_name\": \"Petty Cash\",\n            \"parent_account\": \"e17f9556-c99f-4fdb-ad8b-089ac4798bae\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.681477Z\"\n        },\n        {\n            \"uuid\": \"06356edf-47a7-4189-993e-a77039788e3d\",\n            \"name\": \"Accounts Receivable\",\n            \"number\": \"1200\",\n            \"description\": \"\",\n            \"type\": \"asset\",\n            \"sub_type\": \"Current Asset\",\n            \"system_account_name\": \"Accounts Receivable\",\n            \"parent_account\": null,\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.668777Z\"\n        },\n        {\n            \"uuid\": \"9777db1d-c099-41e3-9112-cfd8500d3294\",\n            \"name\": \"Customer Deposits\",\n            \"number\": \"1201\",\n            \"description\": \"\",\n            \"type\": \"asset\",\n            \"sub_type\": \"Current Asset\",\n            \"parent_account\": null,\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.668831Z\"\n        },\n        {\n            \"uuid\": \"fa478aca-7a23-430b-8164-b88879c40e83\",\n            \"name\": \"Deferred Discounts\",\n            \"number\": \"1202\",\n            \"description\": \"\",\n            \"type\": \"asset\",\n            \"sub_type\": \"Current Asset\",\n            \"system_account_name\": \"Deferred Discounts\",\n            \"parent_account\": null,\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.668930Z\"\n        },\n        {\n            \"uuid\": \"b21d58c8-da74-4101-9a23-15a28d70a564\",\n            \"name\": \"Deposits\",\n            \"number\": \"1203\",\n            \"description\": \"\",\n            \"type\": \"asset\",\n            \"sub_type\": \"Current Asset\",\n            \"parent_account\": null,\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.669551Z\"\n        },\n        {\n            \"uuid\": \"759c2e1a-b0e4-45eb-92be-e61411e00e0d\",\n            \"name\": \"Prepaid Expenses\",\n            \"number\": \"1204\",\n            \"description\": \"\",\n            \"type\": \"asset\",\n            \"sub_type\": \"Current Asset\",\n            \"parent_account\": null,\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.669599Z\"\n        },\n        {\n            \"uuid\": \"75b8cb53-499c-41d4-8c8a-67837aaac37a\",\n            \"name\": \"Property, Plant, and Equipment\",\n            \"number\": \"1500\",\n            \"description\": \"\",\n            \"type\": \"asset\",\n            \"sub_type\": \"Property, Plant, and Equipment\",\n            \"parent_account\": null,\n            \"sub_accounts\": [\n                \"263d101a-71b6-40c4-8394-9f828509ce9f\",\n                \"1cac879a-c955-4f8d-8830-7181059e38b8\",\n                \"993b8e08-732e-4bf8-8738-39b9c4964d6f\",\n                \"82bfe6e6-d14a-45a5-895c-973aaef6647f\"\n            ],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.668881Z\"\n        },\n        {\n            \"uuid\": \"1cac879a-c955-4f8d-8830-7181059e38b8\",\n            \"name\": \"Furniture\",\n            \"number\": \"1500-1\",\n            \"description\": \"\",\n            \"type\": \"asset\",\n            \"sub_type\": \"Property, Plant, and Equipment\",\n            \"parent_account\": \"75b8cb53-499c-41d4-8c8a-67837aaac37a\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.681633Z\"\n        },\n        {\n            \"uuid\": \"993b8e08-732e-4bf8-8738-39b9c4964d6f\",\n            \"name\": \"Furniture - Accumulated Depreciation\",\n            \"number\": \"1500-2\",\n            \"description\": \"\",\n            \"type\": \"asset\",\n            \"sub_type\": \"Property, Plant, and Equipment\",\n            \"parent_account\": \"75b8cb53-499c-41d4-8c8a-67837aaac37a\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.684383Z\"\n        },\n        {\n            \"uuid\": \"263d101a-71b6-40c4-8394-9f828509ce9f\",\n            \"name\": \"Office Equipment\",\n            \"number\": \"1500-3\",\n            \"description\": \"\",\n            \"type\": \"asset\",\n            \"sub_type\": \"Property, Plant, and Equipment\",\n            \"parent_account\": \"75b8cb53-499c-41d4-8c8a-67837aaac37a\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.681578Z\"\n        },\n        {\n            \"uuid\": \"82bfe6e6-d14a-45a5-895c-973aaef6647f\",\n            \"name\": \"Office Equipment - Accumulated Depreciation\",\n            \"number\": \"1500-4\",\n            \"description\": \"\",\n            \"type\": \"asset\",\n            \"sub_type\": \"Property, Plant, and Equipment\",\n            \"parent_account\": \"75b8cb53-499c-41d4-8c8a-67837aaac37a\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.684433Z\"\n        },\n        {\n            \"uuid\": \"3e401335-85fc-4fd7-bf12-738c859631c9\",\n            \"name\": \"Accounts Payable\",\n            \"number\": \"2000\",\n            \"description\": \"\",\n            \"type\": \"liability\",\n            \"sub_type\": \"Current Liability\",\n            \"system_account_name\": \"Accounts Payable\",\n            \"parent_account\": null,\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.668980Z\"\n        },\n        {\n            \"uuid\": \"4bd0d92d-5534-4e8f-96cf-b09a35f6f91c\",\n            \"name\": \"Accruals\",\n            \"number\": \"2001\",\n            \"description\": \"\",\n            \"type\": \"liability\",\n            \"sub_type\": \"Current Liability\",\n            \"parent_account\": null,\n            \"sub_accounts\": [\n                \"b18327ab-9fb7-47a6-9105-463568bf0898\",\n                \"451fda13-e9e6-492c-8aaa-a09c1d8e761c\"\n            ],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.669648Z\"\n        },\n        {\n            \"uuid\": \"b18327ab-9fb7-47a6-9105-463568bf0898\",\n            \"name\": \"Accrued Payroll\",\n            \"number\": \"2001-1\",\n            \"description\": \"\",\n            \"type\": \"liability\",\n            \"sub_type\": \"Current Liability\",\n            \"parent_account\": \"4bd0d92d-5534-4e8f-96cf-b09a35f6f91c\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.681685Z\"\n        },\n        {\n            \"uuid\": \"451fda13-e9e6-492c-8aaa-a09c1d8e761c\",\n            \"name\": \"Accrued Rent\",\n            \"number\": \"2001-2\",\n            \"description\": \"\",\n            \"type\": \"liability\",\n            \"sub_type\": \"Current Liability\",\n            \"parent_account\": \"4bd0d92d-5534-4e8f-96cf-b09a35f6f91c\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.681737Z\"\n        },\n        {\n            \"uuid\": \"17916f4a-c8f4-4765-8112-8943d7e3ca6f\",\n            \"name\": \"Credit Cards\",\n            \"number\": \"2003\",\n            \"description\": \"\",\n            \"type\": \"liability\",\n            \"sub_type\": \"Current Liability\",\n            \"system_account_name\": \"Credit Cards\",\n            \"parent_account\": null,\n            \"sub_accounts\": [],\n            \"auto_created\": true,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.669211Z\"\n        },\n        {\n            \"uuid\": \"c95039f5-310e-4a5c-bbf8-3e2056917c49\",\n            \"name\": \"Customer Credit\",\n            \"number\": \"2004\",\n            \"description\": \"\",\n            \"type\": \"liability\",\n            \"sub_type\": \"Current Liability\",\n            \"system_account_name\": \"Customer Credit\",\n            \"parent_account\": null,\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.669138Z\"\n        },\n        {\n            \"uuid\": \"999b1c38-2bca-42cf-80c6-0b682f854e71\",\n            \"name\": \"Taxes Payable\",\n            \"number\": \"2005\",\n            \"description\": \"\",\n            \"type\": \"liability\",\n            \"sub_type\": \"Current Liability\",\n            \"system_account_name\": \"Taxes Payable\",\n            \"parent_account\": null,\n            \"sub_accounts\": [\n                \"3057fa0a-e7af-4f90-9c3e-90de8fc5f256\",\n                \"12cc0027-4bcf-4bfd-9de9-a483fffc861c\"\n            ],\n            \"auto_created\": true,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.669031Z\"\n        },\n        {\n            \"uuid\": \"3057fa0a-e7af-4f90-9c3e-90de8fc5f256\",\n            \"name\": \"Income Tax Payable\",\n            \"number\": \"2005-1\",\n            \"description\": \"\",\n            \"type\": \"liability\",\n            \"sub_type\": \"Current Liability\",\n            \"parent_account\": \"999b1c38-2bca-42cf-80c6-0b682f854e71\",\n            \"sub_accounts\": [],\n            \"auto_created\": true,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.684482Z\"\n        },\n        {\n            \"uuid\": \"12cc0027-4bcf-4bfd-9de9-a483fffc861c\",\n            \"name\": \"Property Tax Payable\",\n            \"number\": \"2005-2\",\n            \"description\": \"\",\n            \"type\": \"liability\",\n            \"sub_type\": \"Current Liability\",\n            \"parent_account\": \"999b1c38-2bca-42cf-80c6-0b682f854e71\",\n            \"sub_accounts\": [],\n            \"auto_created\": true,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.684544Z\"\n        },\n        {\n            \"uuid\": \"ab15851f-20ca-4b12-b360-ecce9078be28\",\n            \"name\": \"Unearned Revenue\",\n            \"number\": \"2006\",\n            \"description\": \"\",\n            \"type\": \"liability\",\n            \"sub_type\": \"Current Liability\",\n            \"system_account_name\": \"Unearned Revenue\",\n            \"parent_account\": null,\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.669089Z\"\n        },\n        {\n            \"uuid\": \"d6926738-4375-47d1-8b09-16f86bd9807f\",\n            \"name\": \"Common Stock\",\n            \"number\": \"3000\",\n            \"description\": \"\",\n            \"type\": \"equity\",\n            \"sub_type\": \"Equity\",\n            \"parent_account\": null,\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.669311Z\"\n        },\n        {\n            \"uuid\": \"c693199d-6f4e-434e-93d8-e4e955a2df6e\",\n            \"name\": \"Opening Balance\",\n            \"number\": \"3001\",\n            \"description\": \"\",\n            \"type\": \"equity\",\n            \"sub_type\": \"Equity\",\n            \"parent_account\": null,\n            \"sub_accounts\": [\n                \"7ee56551-dd27-4ec3-9648-fb31df5ed9f8\"\n            ],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.669407Z\"\n        },\n        {\n            \"uuid\": \"7ee56551-dd27-4ec3-9648-fb31df5ed9f8\",\n            \"name\": \"Opening Balance Adjustments\",\n            \"number\": \"3001-1\",\n            \"description\": \"\",\n            \"type\": \"equity\",\n            \"sub_type\": \"Equity\",\n            \"system_account_name\": \"Opening Balance Adjustments\",\n            \"parent_account\": \"c693199d-6f4e-434e-93d8-e4e955a2df6e\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.681789Z\"\n        },\n        {\n            \"uuid\": \"649ee8ba-0192-429d-a9c5-433728257174\",\n            \"name\": \"Owner's Equity\",\n            \"number\": \"3002\",\n            \"description\": \"\",\n            \"type\": \"equity\",\n            \"sub_type\": \"Equity\",\n            \"system_account_name\": \"Owner's Equity\",\n            \"parent_account\": null,\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.669261Z\"\n        },\n        {\n            \"uuid\": \"94fe1077-021a-46d6-a6cb-e09c49042642\",\n            \"name\": \"Retained Earnings\",\n            \"number\": \"3003\",\n            \"description\": \"\",\n            \"type\": \"equity\",\n            \"sub_type\": \"Equity\",\n            \"system_account_name\": \"Retained Earnings\",\n            \"parent_account\": null,\n            \"sub_accounts\": [\n                \"21bfb704-0621-4549-a802-4f861ea8bf41\"\n            ],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.669358Z\"\n        },\n        {\n            \"uuid\": \"21bfb704-0621-4549-a802-4f861ea8bf41\",\n            \"name\": \"Dividends\",\n            \"number\": \"3003-1\",\n            \"description\": \"\",\n            \"type\": \"equity\",\n            \"sub_type\": \"Equity\",\n            \"parent_account\": \"94fe1077-021a-46d6-a6cb-e09c49042642\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.684334Z\"\n        },\n        {\n            \"uuid\": \"83cb7d45-537a-447a-9dd4-3ff0d57effd0\",\n            \"name\": \"Revenue\",\n            \"number\": \"4000\",\n            \"description\": \"\",\n            \"type\": \"income\",\n            \"sub_type\": \"Income\",\n            \"parent_account\": null,\n            \"sub_accounts\": [\n                \"f5af8792-a601-4ba4-ba9c-d966bbb27753\",\n                \"1757dcb4-ed1f-45f9-a35b-d547422146d5\",\n                \"1b9f5eb2-7583-4498-b19b-916cc3a41206\",\n                \"786cb5cc-1888-46c9-98fb-793b74c062c4\",\n                \"a967be98-b6d4-4c72-bb4a-fdd5912159d2\"\n            ],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.669454Z\"\n        },\n        {\n            \"uuid\": \"1757dcb4-ed1f-45f9-a35b-d547422146d5\",\n            \"name\": \"Billed Expenses\",\n            \"number\": \"4000-1\",\n            \"description\": \"\",\n            \"type\": \"income\",\n            \"sub_type\": \"Income\",\n            \"system_account_name\": \"Billed Expenses\",\n            \"parent_account\": \"83cb7d45-537a-447a-9dd4-3ff0d57effd0\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.681895Z\"\n        },\n        {\n            \"uuid\": \"1b9f5eb2-7583-4498-b19b-916cc3a41206\",\n            \"name\": \"Discounts\",\n            \"number\": \"4000-2\",\n            \"description\": \"\",\n            \"type\": \"income\",\n            \"sub_type\": \"Income\",\n            \"system_account_name\": \"Discounts\",\n            \"parent_account\": \"83cb7d45-537a-447a-9dd4-3ff0d57effd0\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.681947Z\"\n        },\n        {\n            \"uuid\": \"f5af8792-a601-4ba4-ba9c-d966bbb27753\",\n            \"name\": \"Sales\",\n            \"number\": \"4000-3\",\n            \"description\": \"\",\n            \"type\": \"income\",\n            \"sub_type\": \"Income\",\n            \"system_account_name\": \"Sales\",\n            \"parent_account\": \"83cb7d45-537a-447a-9dd4-3ff0d57effd0\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.681842Z\"\n        },\n        {\n            \"uuid\": \"786cb5cc-1888-46c9-98fb-793b74c062c4\",\n            \"name\": \"Sales Credit\",\n            \"number\": \"4000-4\",\n            \"description\": \"\",\n            \"type\": \"income\",\n            \"sub_type\": \"Income\",\n            \"parent_account\": \"83cb7d45-537a-447a-9dd4-3ff0d57effd0\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.681999Z\"\n        },\n        {\n            \"uuid\": \"a967be98-b6d4-4c72-bb4a-fdd5912159d2\",\n            \"name\": \"Uncategorized Income\",\n            \"number\": \"4000-5\",\n            \"description\": \"\",\n            \"type\": \"income\",\n            \"sub_type\": \"Income\",\n            \"system_account_name\": \"Uncategorized Income\",\n            \"parent_account\": \"83cb7d45-537a-447a-9dd4-3ff0d57effd0\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.684282Z\"\n        },\n        {\n            \"uuid\": \"4b57b1cd-e8be-4777-8d66-675f596f21fc\",\n            \"name\": \"Cost of Goods Sold\",\n            \"number\": \"5000\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Cost of Goods Sold\",\n            \"parent_account\": null,\n            \"sub_accounts\": [\n                \"c799a7f3-ed39-4f3d-ab23-e923759029ca\",\n                \"bad84f65-d60a-43b9-8be7-abef16de7c05\"\n            ],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.670444Z\"\n        },\n        {\n            \"uuid\": \"c799a7f3-ed39-4f3d-ab23-e923759029ca\",\n            \"name\": \"Cost of Billed Expenses\",\n            \"number\": \"5000-1\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Cost of Goods Sold\",\n            \"parent_account\": \"4b57b1cd-e8be-4777-8d66-675f596f21fc\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.684167Z\"\n        },\n        {\n            \"uuid\": \"bad84f65-d60a-43b9-8be7-abef16de7c05\",\n            \"name\": \"Cost of Shipping & Handling\",\n            \"number\": \"5000-2\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Cost of Goods Sold\",\n            \"parent_account\": \"4b57b1cd-e8be-4777-8d66-675f596f21fc\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.684232Z\"\n        },\n        {\n            \"uuid\": \"2c3c37e9-8d20-415c-bd28-2f46e76e1e2a\",\n            \"name\": \"Advertising\",\n            \"number\": \"6001\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": null,\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.669701Z\"\n        },\n        {\n            \"uuid\": \"16035986-56ad-4c83-90a4-7690278e2080\",\n            \"name\": \"Car & Truck Expenses\",\n            \"number\": \"6002\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": null,\n            \"sub_accounts\": [\n                \"e1d7be24-60a2-440b-bd20-2061fb6e72b6\",\n                \"6a754c69-ec0d-4ede-b451-419cc50efbc2\",\n                \"a3c137bd-5a41-4d8e-88e0-58e1e4c0f24f\",\n                \"a2b97c92-b0ab-4d3f-8e8f-f24465d69289\",\n                \"2f9454d8-cde5-4cac-a9d2-c4b1f619343c\"\n            ],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.669749Z\"\n        },\n        {\n            \"uuid\": \"e1d7be24-60a2-440b-bd20-2061fb6e72b6\",\n            \"name\": \"Gas\",\n            \"number\": \"6002-1\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"16035986-56ad-4c83-90a4-7690278e2080\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.682053Z\"\n        },\n        {\n            \"uuid\": \"6a754c69-ec0d-4ede-b451-419cc50efbc2\",\n            \"name\": \"Mileage\",\n            \"number\": \"6002-2\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"16035986-56ad-4c83-90a4-7690278e2080\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.682107Z\"\n        },\n        {\n            \"uuid\": \"a3c137bd-5a41-4d8e-88e0-58e1e4c0f24f\",\n            \"name\": \"Repairs\",\n            \"number\": \"6002-3\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"16035986-56ad-4c83-90a4-7690278e2080\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.682157Z\"\n        },\n        {\n            \"uuid\": \"a2b97c92-b0ab-4d3f-8e8f-f24465d69289\",\n            \"name\": \"Vehicle Insurance\",\n            \"number\": \"6002-4\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"16035986-56ad-4c83-90a4-7690278e2080\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.682232Z\"\n        },\n        {\n            \"uuid\": \"2f9454d8-cde5-4cac-a9d2-c4b1f619343c\",\n            \"name\": \"Vehicle Licensing\",\n            \"number\": \"6002-5\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"16035986-56ad-4c83-90a4-7690278e2080\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.682283Z\"\n        },\n        {\n            \"uuid\": \"8a5c56cb-cdf8-4d4e-a17f-4035b64e0780\",\n            \"name\": \"Contractors\",\n            \"number\": \"6003\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": null,\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.669797Z\"\n        },\n        {\n            \"uuid\": \"592bc39e-2f05-4ea2-ba4d-899cdca2c1ab\",\n            \"name\": \"Education and Training\",\n            \"number\": \"6004\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": null,\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.669845Z\"\n        },\n        {\n            \"uuid\": \"7b2538a1-c35f-4638-9646-5a5705ab5d16\",\n            \"name\": \"Employee Benefits\",\n            \"number\": \"6005\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": null,\n            \"sub_accounts\": [\n                \"e25d6ebf-638c-4eb3-be75-d00160a8d1ae\",\n                \"5389462f-8b5f-48c3-bc62-ae86535078e9\",\n                \"d2366e10-ff37-425b-b9df-0d142d7d6602\"\n            ],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.669892Z\"\n        },\n        {\n            \"uuid\": \"e25d6ebf-638c-4eb3-be75-d00160a8d1ae\",\n            \"name\": \"Accident Insurance\",\n            \"number\": \"6005-1\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"7b2538a1-c35f-4638-9646-5a5705ab5d16\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.682333Z\"\n        },\n        {\n            \"uuid\": \"5389462f-8b5f-48c3-bc62-ae86535078e9\",\n            \"name\": \"Health Insurance\",\n            \"number\": \"6005-2\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"7b2538a1-c35f-4638-9646-5a5705ab5d16\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.682383Z\"\n        },\n        {\n            \"uuid\": \"d2366e10-ff37-425b-b9df-0d142d7d6602\",\n            \"name\": \"Life Insurance\",\n            \"number\": \"6005-3\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"7b2538a1-c35f-4638-9646-5a5705ab5d16\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.682433Z\"\n        },\n        {\n            \"uuid\": \"a1581b63-e4e9-446c-b2ae-f5ee8303857c\",\n            \"name\": \"Meals & Entertainment\",\n            \"number\": \"6006\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": null,\n            \"sub_accounts\": [\n                \"6f87d7e1-e937-4007-87de-ce9944eefe43\",\n                \"1716eea9-ec36-4ea6-93de-227b81749ae9\"\n            ],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.669940Z\"\n        },\n        {\n            \"uuid\": \"6f87d7e1-e937-4007-87de-ce9944eefe43\",\n            \"name\": \"Entertainment\",\n            \"number\": \"6006-1\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"a1581b63-e4e9-446c-b2ae-f5ee8303857c\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.682483Z\"\n        },\n        {\n            \"uuid\": \"1716eea9-ec36-4ea6-93de-227b81749ae9\",\n            \"name\": \"Restaurants/Dining\",\n            \"number\": \"6006-2\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"a1581b63-e4e9-446c-b2ae-f5ee8303857c\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.682539Z\"\n        },\n        {\n            \"uuid\": \"20fe8ae2-098c-48a6-ab7f-a814afb6fe8e\",\n            \"name\": \"Office Expenses & Postage\",\n            \"number\": \"6007\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": null,\n            \"sub_accounts\": [\n                \"1cf8bc81-fa6f-453e-ae77-34ee430e39bc\",\n                \"62d90ade-29cc-41ce-b8a7-c50d523e8f4f\",\n                \"7458375c-8f7a-45c8-9d63-c1eeb56a2fc9\",\n                \"6a9941dd-f173-4fe8-b8dc-5185dbe99389\",\n                \"437297ec-76c7-4e50-af4b-d44926701c7e\",\n                \"d213c04d-61fc-43e9-bf91-72dbdf4370f4\",\n                \"59204548-4950-482f-9a64-f8ab6fb05072\",\n                \"9709550c-0ab9-4247-8a9e-7f6b4c9a0048\"\n            ],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.669987Z\"\n        },\n        {\n            \"uuid\": \"1cf8bc81-fa6f-453e-ae77-34ee430e39bc\",\n            \"name\": \"Hardware\",\n            \"number\": \"6007-1\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"20fe8ae2-098c-48a6-ab7f-a814afb6fe8e\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.682589Z\"\n        },\n        {\n            \"uuid\": \"62d90ade-29cc-41ce-b8a7-c50d523e8f4f\",\n            \"name\": \"Office Supplies\",\n            \"number\": \"6007-2\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"20fe8ae2-098c-48a6-ab7f-a814afb6fe8e\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.682641Z\"\n        },\n        {\n            \"uuid\": \"7458375c-8f7a-45c8-9d63-c1eeb56a2fc9\",\n            \"name\": \"Packaging\",\n            \"number\": \"6007-3\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"20fe8ae2-098c-48a6-ab7f-a814afb6fe8e\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.682691Z\"\n        },\n        {\n            \"uuid\": \"6a9941dd-f173-4fe8-b8dc-5185dbe99389\",\n            \"name\": \"Postage\",\n            \"number\": \"6007-4\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"20fe8ae2-098c-48a6-ab7f-a814afb6fe8e\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.682741Z\"\n        },\n        {\n            \"uuid\": \"437297ec-76c7-4e50-af4b-d44926701c7e\",\n            \"name\": \"Printing\",\n            \"number\": \"6007-5\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"20fe8ae2-098c-48a6-ab7f-a814afb6fe8e\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.682791Z\"\n        },\n        {\n            \"uuid\": \"d213c04d-61fc-43e9-bf91-72dbdf4370f4\",\n            \"name\": \"Shipping & Couriers\",\n            \"number\": \"6007-6\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"20fe8ae2-098c-48a6-ab7f-a814afb6fe8e\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.682841Z\"\n        },\n        {\n            \"uuid\": \"59204548-4950-482f-9a64-f8ab6fb05072\",\n            \"name\": \"Software\",\n            \"number\": \"6007-7\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"20fe8ae2-098c-48a6-ab7f-a814afb6fe8e\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.682891Z\"\n        },\n        {\n            \"uuid\": \"9709550c-0ab9-4247-8a9e-7f6b4c9a0048\",\n            \"name\": \"Stationery\",\n            \"number\": \"6007-8\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"20fe8ae2-098c-48a6-ab7f-a814afb6fe8e\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.682941Z\"\n        },\n        {\n            \"uuid\": \"2369f244-d9fa-4ab8-b40d-682928b5f1b0\",\n            \"name\": \"Other Expenses\",\n            \"number\": \"6008\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": null,\n            \"sub_accounts\": [\n                \"9667d6fc-0cfc-4cfd-b324-4c9187f08777\",\n                \"f20b1647-8077-4638-8163-708c3a77fd3f\",\n                \"aba037b0-5cdc-4ba2-98f4-7fa3a3927d0a\",\n                \"74b530f8-b44a-4f48-8868-c4a6f3303070\",\n                \"595d43e6-87ed-49c5-9974-cb9b23ba7ba7\",\n                \"59a9a4e0-492e-42d0-a471-c5a851d2f690\",\n                \"b4de779d-a5ad-4773-aa58-27f67518189f\",\n                \"3edff4fe-95e2-4107-8bf7-dae6bea1b82b\",\n                \"f1f7e817-e186-4883-8ce0-cb2171a594d7\",\n                \"42f4802c-9345-45dc-9502-7fea30a0b5dd\",\n                \"3cc589cb-d5ab-498d-8e55-fa568a3bc45d\",\n                \"01f0f3aa-e198-4ddf-920c-54826df1e812\"\n            ],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.670035Z\"\n        },\n        {\n            \"uuid\": \"9667d6fc-0cfc-4cfd-b324-4c9187f08777\",\n            \"name\": \"Bank Fees\",\n            \"number\": \"6008-1\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"2369f244-d9fa-4ab8-b40d-682928b5f1b0\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.682991Z\"\n        },\n        {\n            \"uuid\": \"42f4802c-9345-45dc-9502-7fea30a0b5dd\",\n            \"name\": \"Subscriptions/Dues/Memberships\",\n            \"number\": \"6008-10\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"2369f244-d9fa-4ab8-b40d-682928b5f1b0\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.683461Z\"\n        },\n        {\n            \"uuid\": \"3cc589cb-d5ab-498d-8e55-fa568a3bc45d\",\n            \"name\": \"Taxes & Licenses\",\n            \"number\": \"6008-11\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"2369f244-d9fa-4ab8-b40d-682928b5f1b0\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.683516Z\"\n        },\n        {\n            \"uuid\": \"01f0f3aa-e198-4ddf-920c-54826df1e812\",\n            \"name\": \"Wages\",\n            \"number\": \"6008-12\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"2369f244-d9fa-4ab8-b40d-682928b5f1b0\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.683568Z\"\n        },\n        {\n            \"uuid\": \"f20b1647-8077-4638-8163-708c3a77fd3f\",\n            \"name\": \"Business Insurance\",\n            \"number\": \"6008-2\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"2369f244-d9fa-4ab8-b40d-682928b5f1b0\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.683043Z\"\n        },\n        {\n            \"uuid\": \"aba037b0-5cdc-4ba2-98f4-7fa3a3927d0a\",\n            \"name\": \"Commissions\",\n            \"number\": \"6008-3\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"2369f244-d9fa-4ab8-b40d-682928b5f1b0\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.683094Z\"\n        },\n        {\n            \"uuid\": \"74b530f8-b44a-4f48-8868-c4a6f3303070\",\n            \"name\": \"Depreciation\",\n            \"number\": \"6008-4\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"2369f244-d9fa-4ab8-b40d-682928b5f1b0\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.683144Z\"\n        },\n        {\n            \"uuid\": \"595d43e6-87ed-49c5-9974-cb9b23ba7ba7\",\n            \"name\": \"Interest - Mortgage\",\n            \"number\": \"6008-5\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"2369f244-d9fa-4ab8-b40d-682928b5f1b0\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.683208Z\"\n        },\n        {\n            \"uuid\": \"59a9a4e0-492e-42d0-a471-c5a851d2f690\",\n            \"name\": \"Interest - Other\",\n            \"number\": \"6008-6\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"2369f244-d9fa-4ab8-b40d-682928b5f1b0\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.683259Z\"\n        },\n        {\n            \"uuid\": \"b4de779d-a5ad-4773-aa58-27f67518189f\",\n            \"name\": \"Online Services\",\n            \"number\": \"6008-7\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"2369f244-d9fa-4ab8-b40d-682928b5f1b0\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.683309Z\"\n        },\n        {\n            \"uuid\": \"3edff4fe-95e2-4107-8bf7-dae6bea1b82b\",\n            \"name\": \"Reference Materials\",\n            \"number\": \"6008-8\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"2369f244-d9fa-4ab8-b40d-682928b5f1b0\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.683360Z\"\n        },\n        {\n            \"uuid\": \"f1f7e817-e186-4883-8ce0-cb2171a594d7\",\n            \"name\": \"Repairs & Maintenance\",\n            \"number\": \"6008-9\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"2369f244-d9fa-4ab8-b40d-682928b5f1b0\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.683411Z\"\n        },\n        {\n            \"uuid\": \"c49a8591-fb2f-4199-89f6-696ec6a98362\",\n            \"name\": \"Personal\",\n            \"number\": \"6009\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": null,\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.670083Z\"\n        },\n        {\n            \"uuid\": \"dbd0fb66-1f3c-457f-84b1-d53e20796a5b\",\n            \"name\": \"Professional Services\",\n            \"number\": \"6010\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": null,\n            \"sub_accounts\": [\n                \"0358d451-7563-4d4b-9136-9b8a34922c45\",\n                \"764357d2-a371-4764-bed6-801fedd0b3ff\"\n            ],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.670130Z\"\n        },\n        {\n            \"uuid\": \"0358d451-7563-4d4b-9136-9b8a34922c45\",\n            \"name\": \"Accounting\",\n            \"number\": \"6010-1\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"dbd0fb66-1f3c-457f-84b1-d53e20796a5b\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.683618Z\"\n        },\n        {\n            \"uuid\": \"764357d2-a371-4764-bed6-801fedd0b3ff\",\n            \"name\": \"Legal Fees\",\n            \"number\": \"6010-2\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"dbd0fb66-1f3c-457f-84b1-d53e20796a5b\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.683668Z\"\n        },\n        {\n            \"uuid\": \"e2a377c1-6659-42f1-9c2c-43d0068fc618\",\n            \"name\": \"Rent or Lease\",\n            \"number\": \"6011\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": null,\n            \"sub_accounts\": [\n                \"e8a16584-9547-44f1-81ce-e3c7437406e7\",\n                \"d9ec7b55-c5fe-4ff5-8c7b-21f47b935400\",\n                \"11253fef-8d7e-4e40-8051-1384acd8896f\",\n                \"39007ca4-f57b-4b07-977a-85035ed4961d\"\n            ],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.670194Z\"\n        },\n        {\n            \"uuid\": \"e8a16584-9547-44f1-81ce-e3c7437406e7\",\n            \"name\": \"Equipment\",\n            \"number\": \"6011-1\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"e2a377c1-6659-42f1-9c2c-43d0068fc618\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.683718Z\"\n        },\n        {\n            \"uuid\": \"d9ec7b55-c5fe-4ff5-8c7b-21f47b935400\",\n            \"name\": \"Machinery\",\n            \"number\": \"6011-2\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"e2a377c1-6659-42f1-9c2c-43d0068fc618\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.683768Z\"\n        },\n        {\n            \"uuid\": \"11253fef-8d7e-4e40-8051-1384acd8896f\",\n            \"name\": \"Office Space\",\n            \"number\": \"6011-3\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"e2a377c1-6659-42f1-9c2c-43d0068fc618\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.683817Z\"\n        },\n        {\n            \"uuid\": \"39007ca4-f57b-4b07-977a-85035ed4961d\",\n            \"name\": \"Vehicles\",\n            \"number\": \"6011-4\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"e2a377c1-6659-42f1-9c2c-43d0068fc618\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.683867Z\"\n        },\n        {\n            \"uuid\": \"612fb5fe-e9d1-445b-bf8d-cec2fdc30293\",\n            \"name\": \"Supplies\",\n            \"number\": \"6012\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": null,\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.670246Z\"\n        },\n        {\n            \"uuid\": \"e1967618-8e84-4498-b32c-9acd6d9a5ba4\",\n            \"name\": \"Travel\",\n            \"number\": \"6013\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": null,\n            \"sub_accounts\": [\n                \"570f0917-326b-47bc-92f2-0665e67943da\",\n                \"4df1c6bd-0f22-41f9-ad46-f254907baadd\",\n                \"6a8bd9fd-5dc9-4d53-b7b8-53f5a225e216\"\n            ],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.670296Z\"\n        },\n        {\n            \"uuid\": \"570f0917-326b-47bc-92f2-0665e67943da\",\n            \"name\": \"Airfare\",\n            \"number\": \"6013-1\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"e1967618-8e84-4498-b32c-9acd6d9a5ba4\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.683917Z\"\n        },\n        {\n            \"uuid\": \"4df1c6bd-0f22-41f9-ad46-f254907baadd\",\n            \"name\": \"Hotel/Lodging/Accommodation\",\n            \"number\": \"6013-2\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"e1967618-8e84-4498-b32c-9acd6d9a5ba4\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.683966Z\"\n        },\n        {\n            \"uuid\": \"6a8bd9fd-5dc9-4d53-b7b8-53f5a225e216\",\n            \"name\": \"Taxi & Parking\",\n            \"number\": \"6013-3\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"e1967618-8e84-4498-b32c-9acd6d9a5ba4\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.684019Z\"\n        },\n        {\n            \"uuid\": \"8db0c486-ee4d-4105-a514-3ff92233e34a\",\n            \"name\": \"Uncategorized Expenses\",\n            \"number\": \"6014\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"system_account_name\": \"Uncategorized Expenses\",\n            \"parent_account\": null,\n            \"sub_accounts\": [],\n            \"auto_created\": true,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.670344Z\"\n        },\n        {\n            \"uuid\": \"a054fdd4-ebaa-496e-8265-965c750475d1\",\n            \"name\": \"Utilities\",\n            \"number\": \"6015\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": null,\n            \"sub_accounts\": [\n                \"945c595f-ddb7-49a7-ac33-4f0192391164\",\n                \"444e6798-a0f2-42eb-b51a-385436ffd737\"\n            ],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.670396Z\"\n        },\n        {\n            \"uuid\": \"945c595f-ddb7-49a7-ac33-4f0192391164\",\n            \"name\": \"Gas & Electrical\",\n            \"number\": \"6015-1\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"a054fdd4-ebaa-496e-8265-965c750475d1\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.684068Z\"\n        },\n        {\n            \"uuid\": \"444e6798-a0f2-42eb-b51a-385436ffd737\",\n            \"name\": \"Phone\",\n            \"number\": \"6015-2\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"parent_account\": \"a054fdd4-ebaa-496e-8265-965c750475d1\",\n            \"sub_accounts\": [],\n            \"auto_created\": false,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.684118Z\"\n        },\n        {\n            \"uuid\": \"6ce30236-3c6f-417f-bd87-9c0a8d158968\",\n            \"name\": \"Sales Taxes Paid\",\n            \"number\": \"6016\",\n            \"description\": \"\",\n            \"type\": \"expense\",\n            \"sub_type\": \"Operating Expense\",\n            \"system_account_name\": \"Sales Taxes Paid\",\n            \"parent_account\": null,\n            \"sub_accounts\": [],\n            \"auto_created\": true,\n            \"state\": \"active\",\n            \"updated_at\": \"2022-09-22T08:47:04.669502Z\"\n        }\n    ]\n}"}],"_postman_id":"5e4528fb-a4e6-404c-88c1-935d6e36719a"},{"name":"Single Account","id":"319e1b3b-9bf7-45f8-8c52-ee22e8740551","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/businesses/{{business_uuid}}/ledger_accounts/accounts/{{account_uuid}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","businesses","{{business_uuid}}","ledger_accounts","accounts","{{account_uuid}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"bf593321-c5ee-4e50-b2df-fee6e525348c","name":"Single Account","originalRequest":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/businesses/{{business_uuid}}/ledger_accounts/accounts/{{account_uuid}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 27 Sep 2022 10:15:14 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin"},{"key":"Allow","value":"GET, HEAD, PUT"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"X-API-VERSION","value":"2019-07-10"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Content-Security-Policy","value":"default-src 'self'; object-src 'none'"},{"key":"Strict-Transport-Security","value":"max-age=31556926; includeSubDomains; preload"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"X-RateLimit-Reset","value":"1664273774"},{"key":"Retry-After","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"uuid\": \"e17f9556-c99f-4fdb-ad8b-089ac4798bae\",\n        \"name\": \"Cash\",\n        \"number\": \"1000\",\n        \"description\": \"\",\n        \"type\": \"asset\",\n        \"sub_type\": \"Cash & Bank\",\n        \"system_account_name\": \"Cash\",\n        \"parent_account\": null,\n        \"sub_accounts\": [\n            \"34bb2ff8-8c1b-4142-a66b-b6c35b2e143a\"\n        ],\n        \"auto_created\": true,\n        \"state\": \"active\",\n        \"updated_at\": \"2022-09-22T08:47:04.668685Z\"\n    }\n}"}],"_postman_id":"319e1b3b-9bf7-45f8-8c52-ee22e8740551"},{"name":"Create Account","id":"144199e1-5e43-4f3b-93af-0fe57425ae2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Store Cash 3\",\n    \"number\": \"1003\",\n    \"description\": \"Account for Store Cash\",\n    \"sub_type\": \"Cash & Bank\",\n    \"parent_account\": \"e17f9556-c99f-4fdb-ad8b-089ac4798bae\",\n    \"system_account_name\": null,\n    \"auto_created\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/businesses/{{business_uuid}}/ledger_accounts/accounts","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","businesses","{{business_uuid}}","ledger_accounts","accounts"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"dec4ed4f-e2c3-44ad-9a2e-1943a418efca","name":"Create Parent Account","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Store Cash 2\",\n    \"number\": \"1002\",\n    \"description\": \"Account for Store Cash\",\n    \"sub_type\": \"Cash & Bank\",\n    \"system_account_name\": null,\n    \"auto_created\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/businesses/{{business_uuid}}/ledger_accounts/accounts"},"status":"CREATED","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 27 Sep 2022 10:02:11 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"294"},{"key":"Allow","value":"GET, POST, HEAD"},{"key":"Vary","value":"Origin"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"X-API-VERSION","value":"2019-07-10"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Content-Security-Policy","value":"default-src 'self'; object-src 'none'"},{"key":"Strict-Transport-Security","value":"max-age=31556926; includeSubDomains; preload"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"X-RateLimit-Reset","value":"1664272991"},{"key":"Retry-After","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"uuid\": \"86b37b85-be3e-41a5-83a5-ec3f2b2b406c\",\n        \"name\": \"Store Cash 2\",\n        \"number\": \"1002\",\n        \"description\": \"Account for Store Cash\",\n        \"type\": \"asset\",\n        \"sub_type\": \"Cash & Bank\",\n        \"parent_account\": null,\n        \"sub_accounts\": [],\n        \"auto_created\": false,\n        \"state\": \"active\",\n        \"updated_at\": \"2022-09-27T10:02:11.077973Z\"\n    }\n}"},{"id":"327db155-d0f3-4f97-b016-d4d87b83bfab","name":"Create Sub Account","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Store Cash 3\",\n    \"number\": \"1003\",\n    \"description\": \"Account for Store Cash\",\n    \"sub_type\": \"Cash & Bank\",\n    \"parent_account\": \"e17f9556-c99f-4fdb-ad8b-089ac4798bae\",\n    \"system_account_name\": null,\n    \"auto_created\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/businesses/{{business_uuid}}/ledger_accounts/accounts"},"status":"CREATED","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 27 Sep 2022 10:19:09 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"328"},{"key":"Allow","value":"GET, POST, HEAD"},{"key":"Vary","value":"Origin"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"X-API-VERSION","value":"2019-07-10"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Content-Security-Policy","value":"default-src 'self'; object-src 'none'"},{"key":"Strict-Transport-Security","value":"max-age=31556926; includeSubDomains; preload"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"598"},{"key":"X-RateLimit-Reset","value":"1664274010"},{"key":"Retry-After","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"uuid\": \"17795260-cab6-45b7-838f-ce375ca1e918\",\n        \"name\": \"Store Cash 3\",\n        \"number\": \"1003\",\n        \"description\": \"Account for Store Cash\",\n        \"type\": \"asset\",\n        \"sub_type\": \"Cash & Bank\",\n        \"parent_account\": \"e17f9556-c99f-4fdb-ad8b-089ac4798bae\",\n        \"sub_accounts\": [],\n        \"auto_created\": false,\n        \"state\": \"active\",\n        \"updated_at\": \"2022-09-27T10:19:09.219961Z\"\n    }\n}"}],"_postman_id":"144199e1-5e43-4f3b-93af-0fe57425ae2d"},{"name":"Update Account","id":"ec8f2661-5fa5-46c1-9f83-2badabf99722","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"uuid\": \"12e355dd-eb0f-40a6-bedb-5b1e1cf38be6\",\n    \"name\": \"Store Cash\",\n    \"number\": \"1001\",\n    \"description\": \"Account for Store Cash\",\n    \"type\": \"asset\",\n    \"sub_type\": \"Cash & Bank\",\n    \"parent_account\": null,\n    \"sub_accounts\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/businesses/{{business_uuid}}/ledger_accounts/accounts/{{account_uuid}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","businesses","{{business_uuid}}","ledger_accounts","accounts","{{account_uuid}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"f3317692-2cbf-4d73-9daa-6f6a55a328b7","name":"Update Account","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"// (Move from sub Account to Parent)\n{\n    \"uuid\": \"12e355dd-eb0f-40a6-bedb-5b1e1cf38be6\",\n    \"name\": \"Store Cash\",\n    \"number\": \"1001\",\n    \"description\": \"Account for Store Cash\",\n    \"type\": \"asset\",\n    \"sub_type\": \"Cash & Bank\",\n    \"parent_account\": null,\n    \"sub_accounts\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/accounting/businesses/{{business_uuid}}/ledger_accounts/accounts/{{account_uuid}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 27 Sep 2022 10:27:36 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Origin"},{"key":"Allow","value":"GET, HEAD, PUT"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"X-API-VERSION","value":"2019-07-10"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Content-Security-Policy","value":"default-src 'self'; object-src 'none'"},{"key":"Strict-Transport-Security","value":"max-age=31556926; includeSubDomains; preload"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"X-RateLimit-Reset","value":"1664274517"},{"key":"Retry-After","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"uuid\": \"12e355dd-eb0f-40a6-bedb-5b1e1cf38be6\",\n        \"name\": \"Store Cash\",\n        \"number\": \"1001\",\n        \"description\": \"Account for Store Cash\",\n        \"type\": \"asset\",\n        \"sub_type\": \"Cash & Bank\",\n        \"parent_account\": null,\n        \"sub_accounts\": [],\n        \"auto_created\": false,\n        \"state\": \"active\",\n        \"updated_at\": \"2022-09-27T10:27:36.485733Z\"\n    }\n}"}],"_postman_id":"ec8f2661-5fa5-46c1-9f83-2badabf99722"},{"name":"List Account types","id":"ace040d6-7396-48b0-adad-65771001e741","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/ledger_accounts/types","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","ledger_accounts","types"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ace040d6-7396-48b0-adad-65771001e741"},{"name":"List Sub types","id":"b0ed5b96-99d4-4392-9f0e-375a106ac1b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/ledger_accounts/sub_types","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","ledger_accounts","sub_types"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b0ed5b96-99d4-4392-9f0e-375a106ac1b0"},{"name":"Single Sub type","id":"687b9a33-7a85-4a2a-8c0a-e546257923e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/ledger_accounts/sub_types/{{subTypeId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","ledger_accounts","sub_types","{{subTypeId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"687b9a33-7a85-4a2a-8c0a-e546257923e7"}],"id":"93a47934-22d4-4615-a2a7-bcc16dfe8dfe","_postman_id":"93a47934-22d4-4615-a2a7-bcc16dfe8dfe","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Journal Entries","item":[{"name":"Add Journal Entry","id":"087759fd-1121-459d-a2d7-14635ca40e3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"journal_entry\": {\n    \"details\": [\n      {\n        \"sub_accountid\": \"635974\",\n        \"debit\": \"200\"\n      },\n      {\n        \"sub_accountid\": \"635976\",\n        \"credit\": \"200\"\n      }\n    ],\n    \"currency_code\": \"USD\",\n    \"description\": \"Here is a basic description of the journal entry made.\",\n    \"name\": \"JournalEntry\",\n    \"user_entered_date\": \"2019-04-20\"\n  }\n}"},"url":"https://my.freshbooks.com/service/api/accounting/account/{{accountId}}/journal_entries/journal_entries","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["service","api","accounting","account","{{accountId}}","journal_entries","journal_entries"],"host":["my","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"9a63ee00-ee11-40ce-8f6e-9bf8bbefb8b1","name":"Add Journal Entry","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"journal_entry\": {\n    \"details\": [\n      {\n        \"sub_accountid\": \"635974\",\n        \"debit\": \"200\"\n      },\n      {\n        \"sub_accountid\": \"635976\",\n        \"credit\": \"200\"\n      }\n    ],\n    \"currency_code\": \"USD\",\n    \"description\": \"Here is a basic description of the journal entry made.\",\n    \"name\": \"JournalEntry\",\n    \"user_entered_date\": \"2019-04-20\"\n  }\n}"},"url":"https://my.freshbooks.com/service/api/accounting/account/{{accountId}}/journal_entries/journal_entries"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gOXkNBDAcPPVUMTBBRXUcIWQpME18AXwcKQkUYFAZLXEUWAgcVHQdKVB8HAlFWUFEFUQtSAQ4HAwBRAU0CVgBORlRVBFEAWVFRXFQDBFdWB10TGlUDChAHbQ=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:46:24 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:46:24 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17363-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"journal_entry\": {\n                \"currency_code\": \"USD\",\n                \"description\": \"Here is a basic description of the journal entry made.\",\n                \"details\": [\n                    {\n                        \"credit\": null,\n                        \"currency_code\": \"USD\",\n                        \"debit\": \"200\",\n                        \"description\": \"Here is a basic description of the journal entry made.\",\n                        \"detailid\": 1313598,\n                        \"id\": 1313598,\n                        \"name\": \"JournalEntry\",\n                        \"sub_accountid\": 635974,\n                        \"user_entered_date\": \"2019-04-20\"\n                    },\n                    {\n                        \"credit\": \"200\",\n                        \"currency_code\": \"USD\",\n                        \"debit\": null,\n                        \"description\": \"Here is a basic description of the journal entry made.\",\n                        \"detailid\": 1313600,\n                        \"id\": 1313600,\n                        \"name\": \"JournalEntry\",\n                        \"sub_accountid\": 635976,\n                        \"user_entered_date\": \"2019-04-20\"\n                    }\n                ],\n                \"entryid\": 629310,\n                \"id\": 629310,\n                \"name\": \"JournalEntry\",\n                \"user_entered_date\": \"2019-04-20\"\n            }\n        }\n    }\n}"}],"_postman_id":"087759fd-1121-459d-a2d7-14635ca40e3e"},{"name":"Journal Entry Details","id":"1182edab-2016-4ede-ad0b-f1e7e97ce597","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/journal_entries/journal_entry_details","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","journal_entries","journal_entry_details"],"host":["api","freshbooks","com"],"query":[{"disabled":true,"description":{"content":"<p>Refers to sub account associated in your Chart of Accounts</p>\n","type":"text/plain"},"key":"search[sub_accountid]","value":"635976"},{"disabled":true,"key":"search[start_date]","value":"2019-01-01"},{"disabled":true,"key":"search[end_date]","value":"2019-12-31"}],"variable":[]}},"response":[{"id":"c175cd18-d495-4d10-b98f-e34ae8e55ab8","name":"Journal Entry Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://my.freshbooks.com/service/api/accounting/account/{{accountId}}/journal_entries/journal_entry_details","protocol":"https","host":["my","freshbooks","com"],"path":["service","api","accounting","account","{{accountId}}","journal_entries","journal_entry_details"],"query":[{"key":"search%5Bsub_accountid%5D","value":"635976","description":"Refers to sub account associated in your Chart of Accounts","disabled":true},{"key":"search%5Bstart_date%5D","value":"2019-01-01","disabled":true},{"key":"search%5Bend_date%5D","value":"2019-12-31","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gOXkNBDAcPPVUMTBBRXUcIWQpME18AXwcKQkUYAgZMUlkIEwdEXkIUB1QUH1JKU0wBUQhVAAwNCgtRCVICUwNRSBsGTURUWlAAB1lTBQZUX1QCD1EBRE8EUQ5LB2U="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:46:40 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:46:41 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17363-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"journal_entry_details\": [\n                {\n                    \"account\": {\n                        \"account_name\": \"Operating Expenses\",\n                        \"account_number\": \"6000\",\n                        \"account_type\": \"expense\",\n                        \"accountid\": 545908,\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 545908\n                    },\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"balance\": {\n                        \"amount\": \"70.56\",\n                        \"code\": \"USD\"\n                    },\n                    \"credit\": null,\n                    \"debit\": {\n                        \"amount\": \"70.56\",\n                        \"code\": \"USD\"\n                    },\n                    \"description\": \"Purchased Gasoline for deliveries\",\n                    \"detail_type\": \"expense\",\n                    \"detailid\": 1305458,\n                    \"entry\": {\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"clientid\": null,\n                        \"creditid\": null,\n                        \"entryid\": 625716,\n                        \"expenseid\": 1825568,\n                        \"id\": 625716,\n                        \"incomeid\": null,\n                        \"invoiceid\": null,\n                        \"paymentid\": null\n                    },\n                    \"id\": 1305458,\n                    \"name\": \"Expense\",\n                    \"sub_account\": {\n                        \"account_sub_name\": \"Car & Truck Expenses\",\n                        \"account_sub_number\": \"3\",\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 849638,\n                        \"parentid\": 545908,\n                        \"sub_accountid\": 849638\n                    },\n                    \"user_entered_date\": \"2019-04-24\"\n                },\n                {\n                    \"account\": {\n                        \"account_name\": \"Taxes Paid\",\n                        \"account_number\": \"6001\",\n                        \"account_type\": \"expense\",\n                        \"accountid\": 545910,\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 545910\n                    },\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"balance\": {\n                        \"amount\": \"9.17\",\n                        \"code\": \"USD\"\n                    },\n                    \"credit\": null,\n                    \"debit\": {\n                        \"amount\": \"9.17\",\n                        \"code\": \"USD\"\n                    },\n                    \"description\": null,\n                    \"detail_type\": \"tax\",\n                    \"detailid\": 1305460,\n                    \"entry\": {\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"clientid\": null,\n                        \"creditid\": null,\n                        \"entryid\": 625716,\n                        \"expenseid\": 1825568,\n                        \"id\": 625716,\n                        \"incomeid\": null,\n                        \"invoiceid\": null,\n                        \"paymentid\": null\n                    },\n                    \"id\": 1305460,\n                    \"name\": \"Expense\",\n                    \"sub_account\": {\n                        \"account_sub_name\": \"other tax\",\n                        \"account_sub_number\": \"2\",\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 849640,\n                        \"parentid\": 545910,\n                        \"sub_accountid\": 849640\n                    },\n                    \"user_entered_date\": \"2019-04-24\"\n                },\n                {\n                    \"account\": {\n                        \"account_name\": \"Cash\",\n                        \"account_number\": \"1000\",\n                        \"account_type\": \"asset\",\n                        \"accountid\": 545882,\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 545882\n                    },\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"balance\": {\n                        \"amount\": \"-79.73\",\n                        \"code\": \"USD\"\n                    },\n                    \"credit\": {\n                        \"amount\": \"79.73\",\n                        \"code\": \"USD\"\n                    },\n                    \"debit\": null,\n                    \"description\": \"Purchased Gasoline for deliveries\",\n                    \"detail_type\": \"expense\",\n                    \"detailid\": 1305462,\n                    \"entry\": {\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"clientid\": null,\n                        \"creditid\": null,\n                        \"entryid\": 625716,\n                        \"expenseid\": 1825568,\n                        \"id\": 625716,\n                        \"incomeid\": null,\n                        \"invoiceid\": null,\n                        \"paymentid\": null\n                    },\n                    \"id\": 1305462,\n                    \"name\": \"Expense\",\n                    \"sub_account\": {\n                        \"account_sub_name\": \"Petty Cash\",\n                        \"account_sub_number\": \"1\",\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 635972,\n                        \"parentid\": 545882,\n                        \"sub_accountid\": 635972\n                    },\n                    \"user_entered_date\": \"2019-04-24\"\n                },\n                {\n                    \"account\": {\n                        \"account_name\": \"Cash\",\n                        \"account_number\": \"1000\",\n                        \"account_type\": \"asset\",\n                        \"accountid\": 545882,\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 545882\n                    },\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"balance\": {\n                        \"amount\": \"500.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"credit\": null,\n                    \"debit\": {\n                        \"amount\": \"500.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"description\": \"This is deferred revenue\",\n                    \"detail_type\": \"adjustment\",\n                    \"detailid\": 1273242,\n                    \"entry\": {\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"clientid\": null,\n                        \"creditid\": null,\n                        \"entryid\": 610564,\n                        \"expenseid\": null,\n                        \"id\": 610564,\n                        \"incomeid\": null,\n                        \"invoiceid\": null,\n                        \"paymentid\": null\n                    },\n                    \"id\": 1273242,\n                    \"name\": \"Deferred Revenue\",\n                    \"sub_account\": {\n                        \"account_sub_name\": \"Petty Cash\",\n                        \"account_sub_number\": \"1\",\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 635972,\n                        \"parentid\": 545882,\n                        \"sub_accountid\": 635972\n                    },\n                    \"user_entered_date\": \"2019-04-24\"\n                },\n                {\n                    \"account\": {\n                        \"account_name\": \"Accounts Receivable\",\n                        \"account_number\": \"1200\",\n                        \"account_type\": \"asset\",\n                        \"accountid\": 545884,\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 545884\n                    },\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"balance\": {\n                        \"amount\": \"-500.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"credit\": {\n                        \"amount\": \"500.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"debit\": null,\n                    \"description\": \"This is deferred revenue\",\n                    \"detail_type\": \"adjustment\",\n                    \"detailid\": 1273244,\n                    \"entry\": {\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"clientid\": null,\n                        \"creditid\": null,\n                        \"entryid\": 610564,\n                        \"expenseid\": null,\n                        \"id\": 610564,\n                        \"incomeid\": null,\n                        \"invoiceid\": null,\n                        \"paymentid\": null\n                    },\n                    \"id\": 1273244,\n                    \"name\": \"Deferred Revenue\",\n                    \"sub_account\": {\n                        \"account_sub_name\": \"Accounts Receivable\",\n                        \"account_sub_number\": \"1\",\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 635974,\n                        \"parentid\": 545884,\n                        \"sub_accountid\": 635974\n                    },\n                    \"user_entered_date\": \"2019-04-24\"\n                },\n                {\n                    \"account\": {\n                        \"account_name\": \"Operating Expenses\",\n                        \"account_number\": \"6000\",\n                        \"account_type\": \"expense\",\n                        \"accountid\": 545908,\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 545908\n                    },\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"balance\": {\n                        \"amount\": \"70.56\",\n                        \"code\": \"USD\"\n                    },\n                    \"credit\": null,\n                    \"debit\": {\n                        \"amount\": \"70.56\",\n                        \"code\": \"USD\"\n                    },\n                    \"description\": \"Purchased Gasoline for deliveries\",\n                    \"detail_type\": \"expense\",\n                    \"detailid\": 1305504,\n                    \"entry\": {\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"clientid\": null,\n                        \"creditid\": null,\n                        \"entryid\": 625738,\n                        \"expenseid\": 1825574,\n                        \"id\": 625738,\n                        \"incomeid\": null,\n                        \"invoiceid\": null,\n                        \"paymentid\": null\n                    },\n                    \"id\": 1305504,\n                    \"name\": \"Expense\",\n                    \"sub_account\": {\n                        \"account_sub_name\": \"Car & Truck Expenses\",\n                        \"account_sub_number\": \"3\",\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 849638,\n                        \"parentid\": 545908,\n                        \"sub_accountid\": 849638\n                    },\n                    \"user_entered_date\": \"2019-04-24\"\n                },\n                {\n                    \"account\": {\n                        \"account_name\": \"Taxes Paid\",\n                        \"account_number\": \"6001\",\n                        \"account_type\": \"expense\",\n                        \"accountid\": 545910,\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 545910\n                    },\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"balance\": {\n                        \"amount\": \"9.17\",\n                        \"code\": \"USD\"\n                    },\n                    \"credit\": null,\n                    \"debit\": {\n                        \"amount\": \"9.17\",\n                        \"code\": \"USD\"\n                    },\n                    \"description\": null,\n                    \"detail_type\": \"tax\",\n                    \"detailid\": 1305506,\n                    \"entry\": {\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"clientid\": null,\n                        \"creditid\": null,\n                        \"entryid\": 625738,\n                        \"expenseid\": 1825574,\n                        \"id\": 625738,\n                        \"incomeid\": null,\n                        \"invoiceid\": null,\n                        \"paymentid\": null\n                    },\n                    \"id\": 1305506,\n                    \"name\": \"Expense\",\n                    \"sub_account\": {\n                        \"account_sub_name\": \"other tax\",\n                        \"account_sub_number\": \"2\",\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 849640,\n                        \"parentid\": 545910,\n                        \"sub_accountid\": 849640\n                    },\n                    \"user_entered_date\": \"2019-04-24\"\n                },\n                {\n                    \"account\": {\n                        \"account_name\": \"Cash\",\n                        \"account_number\": \"1000\",\n                        \"account_type\": \"asset\",\n                        \"accountid\": 545882,\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 545882\n                    },\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"balance\": {\n                        \"amount\": \"-79.73\",\n                        \"code\": \"USD\"\n                    },\n                    \"credit\": {\n                        \"amount\": \"79.73\",\n                        \"code\": \"USD\"\n                    },\n                    \"debit\": null,\n                    \"description\": \"Purchased Gasoline for deliveries\",\n                    \"detail_type\": \"expense\",\n                    \"detailid\": 1305508,\n                    \"entry\": {\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"clientid\": null,\n                        \"creditid\": null,\n                        \"entryid\": 625738,\n                        \"expenseid\": 1825574,\n                        \"id\": 625738,\n                        \"incomeid\": null,\n                        \"invoiceid\": null,\n                        \"paymentid\": null\n                    },\n                    \"id\": 1305508,\n                    \"name\": \"Expense\",\n                    \"sub_account\": {\n                        \"account_sub_name\": \"Petty Cash\",\n                        \"account_sub_number\": \"1\",\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 635972,\n                        \"parentid\": 545882,\n                        \"sub_accountid\": 635972\n                    },\n                    \"user_entered_date\": \"2019-04-24\"\n                },\n                {\n                    \"account\": {\n                        \"account_name\": \"Accounts Receivable\",\n                        \"account_number\": \"1200\",\n                        \"account_type\": \"asset\",\n                        \"accountid\": 545884,\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 545884\n                    },\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"balance\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"credit\": null,\n                    \"debit\": {\n                        \"amount\": \"0.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"description\": \"\",\n                    \"detail_type\": \"total\",\n                    \"detailid\": 1269690,\n                    \"entry\": {\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"clientid\": 32082,\n                        \"creditid\": null,\n                        \"entryid\": 608824,\n                        \"expenseid\": null,\n                        \"id\": 608824,\n                        \"incomeid\": null,\n                        \"invoiceid\": 29604,\n                        \"paymentid\": null\n                    },\n                    \"id\": 1269690,\n                    \"name\": \"Invoice 0000009\",\n                    \"sub_account\": {\n                        \"account_sub_name\": \"Accounts Receivable\",\n                        \"account_sub_number\": \"1\",\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 635974,\n                        \"parentid\": 545884,\n                        \"sub_accountid\": 635974\n                    },\n                    \"user_entered_date\": \"2019-04-22\"\n                },\n                {\n                    \"account\": {\n                        \"account_name\": \"Accounts Receivable\",\n                        \"account_number\": \"1200\",\n                        \"account_type\": \"asset\",\n                        \"accountid\": 545884,\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 545884\n                    },\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"balance\": {\n                        \"amount\": \"180.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"credit\": null,\n                    \"debit\": {\n                        \"amount\": \"180.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"description\": \"\",\n                    \"detail_type\": \"total\",\n                    \"detailid\": 1311502,\n                    \"entry\": {\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"clientid\": 31006,\n                        \"creditid\": null,\n                        \"entryid\": 628326,\n                        \"expenseid\": null,\n                        \"id\": 628326,\n                        \"incomeid\": null,\n                        \"invoiceid\": 34420,\n                        \"paymentid\": null\n                    },\n                    \"id\": 1311502,\n                    \"name\": \"Invoice 0000013\",\n                    \"sub_account\": {\n                        \"account_sub_name\": \"Accounts Receivable\",\n                        \"account_sub_number\": \"1\",\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 635974,\n                        \"parentid\": 545884,\n                        \"sub_accountid\": 635974\n                    },\n                    \"user_entered_date\": \"2019-04-20\"\n                },\n                {\n                    \"account\": {\n                        \"account_name\": \"Revenue\",\n                        \"account_number\": \"4000\",\n                        \"account_type\": \"income\",\n                        \"accountid\": 545904,\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 545904\n                    },\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"balance\": {\n                        \"amount\": \"80.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"credit\": {\n                        \"amount\": \"80.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"debit\": null,\n                    \"description\": \"Climbing Helmet\",\n                    \"detail_type\": \"sales\",\n                    \"detailid\": 1311504,\n                    \"entry\": {\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"clientid\": 31006,\n                        \"creditid\": null,\n                        \"entryid\": 628326,\n                        \"expenseid\": null,\n                        \"id\": 628326,\n                        \"incomeid\": null,\n                        \"invoiceid\": 34420,\n                        \"paymentid\": null\n                    },\n                    \"id\": 1311504,\n                    \"name\": \"Invoice 0000013\",\n                    \"sub_account\": {\n                        \"account_sub_name\": \"Sales\",\n                        \"account_sub_number\": \"1\",\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 636000,\n                        \"parentid\": 545904,\n                        \"sub_accountid\": 636000\n                    },\n                    \"user_entered_date\": \"2019-04-20\"\n                },\n                {\n                    \"account\": {\n                        \"account_name\": \"Revenue\",\n                        \"account_number\": \"4000\",\n                        \"account_type\": \"income\",\n                        \"accountid\": 545904,\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 545904\n                    },\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"balance\": {\n                        \"amount\": \"100.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"credit\": {\n                        \"amount\": \"100.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"debit\": null,\n                    \"description\": \"Belay Device\",\n                    \"detail_type\": \"sales\",\n                    \"detailid\": 1311506,\n                    \"entry\": {\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"clientid\": 31006,\n                        \"creditid\": null,\n                        \"entryid\": 628326,\n                        \"expenseid\": null,\n                        \"id\": 628326,\n                        \"incomeid\": null,\n                        \"invoiceid\": 34420,\n                        \"paymentid\": null\n                    },\n                    \"id\": 1311506,\n                    \"name\": \"Invoice 0000013\",\n                    \"sub_account\": {\n                        \"account_sub_name\": \"Sales\",\n                        \"account_sub_number\": \"1\",\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 636000,\n                        \"parentid\": 545904,\n                        \"sub_accountid\": 636000\n                    },\n                    \"user_entered_date\": \"2019-04-20\"\n                },\n                {\n                    \"account\": {\n                        \"account_name\": \"Accounts Receivable\",\n                        \"account_number\": \"1200\",\n                        \"account_type\": \"asset\",\n                        \"accountid\": 545884,\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 545884\n                    },\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"balance\": {\n                        \"amount\": \"200.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"credit\": null,\n                    \"debit\": {\n                        \"amount\": \"200.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"description\": \"Here is a basic description of the journal entry made.\",\n                    \"detail_type\": \"adjustment\",\n                    \"detailid\": 1313598,\n                    \"entry\": {\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"clientid\": null,\n                        \"creditid\": null,\n                        \"entryid\": 629310,\n                        \"expenseid\": null,\n                        \"id\": 629310,\n                        \"incomeid\": null,\n                        \"invoiceid\": null,\n                        \"paymentid\": null\n                    },\n                    \"id\": 1313598,\n                    \"name\": \"JournalEntry\",\n                    \"sub_account\": {\n                        \"account_sub_name\": \"Accounts Receivable\",\n                        \"account_sub_number\": \"1\",\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 635974,\n                        \"parentid\": 545884,\n                        \"sub_accountid\": 635974\n                    },\n                    \"user_entered_date\": \"2019-04-20\"\n                },\n                {\n                    \"account\": {\n                        \"account_name\": \"Accounts Receivable\",\n                        \"account_number\": \"1200\",\n                        \"account_type\": \"asset\",\n                        \"accountid\": 545884,\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 545884\n                    },\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"balance\": {\n                        \"amount\": \"-200.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"credit\": {\n                        \"amount\": \"200.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"debit\": null,\n                    \"description\": \"Here is a basic description of the journal entry made.\",\n                    \"detail_type\": \"adjustment\",\n                    \"detailid\": 1313600,\n                    \"entry\": {\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"clientid\": null,\n                        \"creditid\": null,\n                        \"entryid\": 629310,\n                        \"expenseid\": null,\n                        \"id\": 629310,\n                        \"incomeid\": null,\n                        \"invoiceid\": null,\n                        \"paymentid\": null\n                    },\n                    \"id\": 1313600,\n                    \"name\": \"JournalEntry\",\n                    \"sub_account\": {\n                        \"account_sub_name\": \"Customer Deposits\",\n                        \"account_sub_number\": \"2\",\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 635976,\n                        \"parentid\": 545884,\n                        \"sub_accountid\": 635976\n                    },\n                    \"user_entered_date\": \"2019-04-20\"\n                },\n                {\n                    \"account\": {\n                        \"account_name\": \"Accounts Receivable\",\n                        \"account_number\": \"1200\",\n                        \"account_type\": \"asset\",\n                        \"accountid\": 545884,\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 545884\n                    },\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"balance\": {\n                        \"amount\": \"3300.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"credit\": null,\n                    \"debit\": {\n                        \"amount\": \"3300.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"description\": \"\",\n                    \"detail_type\": \"total\",\n                    \"detailid\": 1033808,\n                    \"entry\": {\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"clientid\": 31006,\n                        \"creditid\": null,\n                        \"entryid\": 496504,\n                        \"expenseid\": null,\n                        \"id\": 496504,\n                        \"incomeid\": null,\n                        \"invoiceid\": 26398,\n                        \"paymentid\": null\n                    },\n                    \"id\": 1033808,\n                    \"name\": \"Invoice 0000005\",\n                    \"sub_account\": {\n                        \"account_sub_name\": \"Accounts Receivable\",\n                        \"account_sub_number\": \"1\",\n                        \"accounting_systemid\": \"wkMd2g\",\n                        \"id\": 635974,\n                        \"parentid\": 545884,\n                        \"sub_accountid\": 635974\n                    },\n                    \"user_entered_date\": \"2019-04-20\"\n                }\n            ],\n            \"page\": 1,\n            \"pages\": 7,\n            \"per_page\": 15,\n            \"total\": 96\n        }\n    }\n}"}],"_postman_id":"1182edab-2016-4ede-ad0b-f1e7e97ce597"},{"name":"Accounts","id":"fff636e6-11ce-4f0e-ad9d-ba1974f02f3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/journal_entry_accounts/journal_entry_accounts","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","journal_entry_accounts","journal_entry_accounts"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fff636e6-11ce-4f0e-ad9d-ba1974f02f3d"}],"id":"48f7ef1f-2132-42ca-945d-c23f9b53f3cc","_postman_id":"48f7ef1f-2132-42ca-945d-c23f9b53f3cc","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Other Income","item":[{"name":"List Other Income","event":[{"listen":"test","script":{"id":"8eb31df6-d970-4511-9704-7e77b4560efe","exec":["let jsonData = JSON.parse(responseBody);","pm.environment.set(\"incomeId\", jsonData.response.result.other_income[0].incomeid);"],"type":"text/javascript"}}],"id":"e389412c-6e6d-4ed6-a98f-3b125f6d164c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/other_incomes/other_incomes","description":"<p>List all available other income instances.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","other_incomes","other_incomes"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"52d151a1-a063-49a4-9c3d-0ad82071bf9b","name":"List Other Income","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/other_incomes/other_incomes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gLRV5WEDkKDFMNVQdLAltGWwBLCF8CXA8BRRVNVk8IHQFQVVsFAgVXVAACB1JSUVsHThVTFBpWVlBTDQMAWAtVAQ4EBFMFGh9WBQ0RUmw="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:19:25 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:19:25 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"other_income\": [\n                {\n                    \"amount\": {\n                        \"amount\": \"125.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"category_name\": \"online_sales\",\n                    \"created_at\": \"2019-04-19 08:51:14\",\n                    \"date\": \"2019-04-19\",\n                    \"incomeid\": 2122,\n                    \"note\": \"Nepalese Hand-sewn Pouch\",\n                    \"payment_type\": \"VISA\",\n                    \"source\": \"Squarespace Site\",\n                    \"taxes\": [],\n                    \"updated_at\": \"2019-04-19 08:58:09\",\n                    \"vis_state\": 0\n                },\n                {\n                    \"amount\": {\n                        \"amount\": \"1300.00\",\n                        \"code\": \"USD\"\n                    },\n                    \"category_name\": \"online_sales\",\n                    \"created_at\": \"2019-04-18 09:40:34\",\n                    \"date\": \"2019-04-18\",\n                    \"incomeid\": 1872,\n                    \"note\": null,\n                    \"payment_type\": null,\n                    \"source\": \"Shopify\",\n                    \"taxes\": [\n                        {\n                            \"amount\": \"140\",\n                            \"name\": \"HST\"\n                        }\n                    ],\n                    \"updated_at\": \"2019-04-18 09:40:34\",\n                    \"vis_state\": 0\n                }\n            ],\n            \"page\": 1,\n            \"pages\": 1,\n            \"per_page\": 15,\n            \"total\": 2\n        }\n    }\n}"}],"_postman_id":"e389412c-6e6d-4ed6-a98f-3b125f6d164c"},{"name":"Create Single Other Income","id":"24ea22b1-5185-4fdb-b4c2-3159741c92e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"other_income\": {\n    \"amount\": {\n      \"amount\": \"113.00\",\n      \"code\": \"USD\"\n    },\n    \"category_name\": \"online_sales\",\n    \"date\": \"2019-04-20\",\n    \"note\": \"Han Solo portrait\",\n    \"payment_type\": \"Visa\",\n    \"source\": \"Etsy\",\n    \"taxes\": [\n      {\n        \"amount\": \"3\",\n        \"name\": \"HST\"\n      }\n    ]\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/other_incomes/other_incomes","description":"<p>This allows you to create a single entry for other income you collected (or will collect) through other means outside of FreshBooks.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","other_incomes","other_incomes"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"dbe90d1f-7f3f-4c7e-918a-c1d55b643151","name":"Create Single Other Income","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"other_income\": {\n    \"amount\": {\n      \"amount\": \"113.00\",\n      \"code\": \"USD\"\n    },\n    \"category_name\": \"online_sales\",\n    \"date\": \"2019-04-20\",\n    \"note\": \"Han Solo portrait\",\n    \"payment_type\": \"Visa\",\n    \"source\": \"Etsy\",\n    \"taxes\": [\n      {\n        \"amount\": \"3\",\n        \"name\": \"HST\"\n      }\n    ]\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/other_incomes/other_incomes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gLRV5WEDkKDFMNVQdLAltGWwBLCF8CXA8BRRVNVk8IHQFRUVoHBgZSVgMDBFRfU1YDTgtQDBQWAANXCVMHVwdUBVQFAl5bXBEcAgAORFRq"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:20:41 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:20:41 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"other_income\": {\n                \"amount\": {\n                    \"amount\": \"113.00\",\n                    \"code\": \"USD\"\n                },\n                \"category_name\": \"online_sales\",\n                \"created_at\": \"2019-04-24 14:20:41\",\n                \"date\": \"2019-04-20\",\n                \"incomeid\": 2852,\n                \"note\": \"Han Solo portrait\",\n                \"payment_type\": \"VISA\",\n                \"source\": \"Etsy\",\n                \"taxes\": [\n                    {\n                        \"amount\": \"3\",\n                        \"name\": \"HST\"\n                    }\n                ],\n                \"updated_at\": \"2019-04-24 14:20:41\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"24ea22b1-5185-4fdb-b4c2-3159741c92e4"},{"name":"Update Single Other Income","id":"257fa9c7-4716-4842-a78f-149092a73da1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"other_income\": {\n    \"amount\": {\n      \"amount\": \"125.00\",\n      \"code\": \"USD\"\n    },\n    \"date\": \"2019-04-19\",\n    \"source\": \"Squarespace Site\"\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/other_incomes/other_incomes/{{incomeId}}","description":"<p>Edit the source of this other income, the amount and the date. </p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","other_incomes","other_incomes","{{incomeId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"59e4b844-3fc6-49d3-af78-edb9161ef2d5","name":"Update Single Other Income","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"other_income\": {\n    \"amount\": {\n      \"amount\": \"125.00\",\n      \"code\": \"USD\"\n    },\n    \"date\": \"2019-04-19\",\n    \"source\": \"Squarespace Site\"\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/other_incomes/other_incomes/{{incomeId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gLRV5WEDkKDFMNVQdLAltGWwBLCF8CXA8BFBtRSlMWAQJWV1MPAgNXUAUDClBUW1ccUw1XFBoDUAUDC1FSUwMABVAHB1JUGh9WBQ0RUmw="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:20:54 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:20:54 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"other_income\": {\n                \"amount\": {\n                    \"amount\": \"125.00\",\n                    \"code\": \"USD\"\n                },\n                \"category_name\": \"online_sales\",\n                \"created_at\": \"2019-04-19 08:51:14\",\n                \"date\": \"2019-04-19\",\n                \"incomeid\": 2122,\n                \"note\": \"Nepalese Hand-sewn Pouch\",\n                \"payment_type\": \"VISA\",\n                \"source\": \"Squarespace Site\",\n                \"taxes\": [],\n                \"updated_at\": \"2019-04-19 08:58:09\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"257fa9c7-4716-4842-a78f-149092a73da1"},{"name":"Delete Single Other Income","event":[{"listen":"prerequest","script":{"id":"3e0fee41-369e-459c-8ba4-231df7b843d3","exec":[""],"type":"text/javascript"}}],"id":"61e489d2-888c-409a-adb0-2669585a882c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"other_income\": {\n    \"vis_state\": 1\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/other_incomes/other_incomes/{{incomeId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","other_incomes","other_incomes","{{incomeId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"6d6735ac-2c5b-4c8f-9d7a-887a08313481","name":"Delete Single Other Income","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"other_income\": {\n    \"vis_state\": 1\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/other_incomes/other_incomes/{{incomeId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gLRV5WEDkKDFMNVQdLAltGWwBLCF8CXA8BFBtRSlMWAgdRVFQPBA9WUgMBB1ZXV04EVBRAAQFXAQJQClkAUldWAAEOAkRPXlJcFwQ/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:21:15 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:21:15 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"other_income\": {\n                \"amount\": {\n                    \"amount\": \"125.00\",\n                    \"code\": \"USD\"\n                },\n                \"category_name\": \"online_sales\",\n                \"created_at\": \"2019-04-19 08:51:14\",\n                \"date\": \"2019-04-19\",\n                \"incomeid\": 2122,\n                \"note\": \"Nepalese Hand-sewn Pouch\",\n                \"payment_type\": \"VISA\",\n                \"source\": \"Squarespace Site\",\n                \"taxes\": [],\n                \"updated_at\": \"2019-04-19 08:58:09\",\n                \"vis_state\": 1\n            }\n        }\n    }\n}"}],"_postman_id":"61e489d2-888c-409a-adb0-2669585a882c"}],"id":"f1852892-4399-42c8-bbbb-2ee285f58c48","description":"<h2 id=\"general-info\">General Info</h2>\n<p>Other Income is for recording income that doesn't require an invoice and is received through other means.</p>\n<p>This non-invoicable income can be from selling through online stores (like Shopify and Etsy), at fairs, selling ads, or renting space, for example.</p>\n","event":[{"listen":"prerequest","script":{"id":"59d0ead3-6c70-4a1f-b4f1-351861b92927","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d1b90113-fc21-4427-b33f-b3ccbd9843f4","type":"text/javascript","exec":[""]}}],"_postman_id":"f1852892-4399-42c8-bbbb-2ee285f58c48","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Taxes","item":[{"name":"List Taxes","event":[{"listen":"test","script":{"id":"316ee627-f24d-4ce5-a381-fba273deb812","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"taxId\", jsonData.response.result.taxes[0].id);"],"type":"text/javascript"}}],"id":"09361c03-8e78-4637-bd46-4bb89269aa0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/taxes/taxes","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","taxes","taxes"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"20c19711-2568-4c17-abc4-00bb4e7efef5","name":"List Taxes","originalRequest":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/taxes/taxes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gQUE5WEVwXA0gHS0AUCBgCHVUAVANWAVdQBwdVUFIMAQVcTU8GHRUCUgZQUlECAQBRVl4DXgsGEB8DWA1CBG4="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:40:20 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:40:20 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"page\": 1,\n            \"pages\": 1,\n            \"per_page\": 15,\n            \"taxes\": [\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"amount\": \"13\",\n                    \"compound\": false,\n                    \"id\": 3264,\n                    \"name\": \"other tax\",\n                    \"number\": \"TAX-123456\",\n                    \"taxid\": 3264,\n                    \"updated\": \"2019-04-18 11:47:12\"\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"amount\": \"0\",\n                    \"compound\": false,\n                    \"id\": 3294,\n                    \"name\": \"some tax\",\n                    \"number\": null,\n                    \"taxid\": 3294,\n                    \"updated\": \"2019-04-18 11:44:56\"\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"amount\": \"0\",\n                    \"compound\": false,\n                    \"id\": 3300,\n                    \"name\": \"some taxv2\",\n                    \"number\": null,\n                    \"taxid\": 3300,\n                    \"updated\": \"2019-04-18 11:53:44\"\n                }\n            ],\n            \"total\": 3\n        }\n    }\n}"}],"_postman_id":"09361c03-8e78-4637-bd46-4bb89269aa0d"},{"name":"Get Single Tax","id":"638aa339-fe7a-49cf-b04b-84f73bb4980b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/taxes/taxes/{{taxId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","taxes","taxes","{{taxId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"c06ceaf0-e6e3-4b80-a85d-5db6a2583412","name":"Get Single Tax","originalRequest":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/taxes/taxes/{{taxId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gQUE5WEVwXA0hAFFIUCBoCBVMIUwNTClFQAQVTX1MIBxxJUE4VCAICUgUHVlFTUAdTWllVXRoYVFIJSgRs"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:40:29 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:40:29 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"tax\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"amount\": \"13\",\n                \"compound\": false,\n                \"id\": 3264,\n                \"name\": \"other tax\",\n                \"number\": \"TAX-123456\",\n                \"taxid\": 3264,\n                \"updated\": \"2019-04-18 11:47:12\"\n            }\n        }\n    }\n}"}],"_postman_id":"638aa339-fe7a-49cf-b04b-84f73bb4980b"},{"name":"Create Single Tax","event":[{"listen":"test","script":{"id":"c7392f2f-2b65-4480-a221-53932b521c74","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"taxId\", jsonData.response.result.tax.id);"],"type":"text/javascript"}}],"id":"4209da1c-3b60-438f-89ed-18a91742525b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"tax\": {\n    \"name\": \"RST\"\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/taxes/taxes","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","taxes","taxes"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"4726de38-7e30-4ef5-a265-4a3d36cdf427","name":"Create Single Tax","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"tax\": {\n    \"name\": \"some taxv2\"\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/taxes/taxes"},"status":"UNPROCESSABLE ENTITY","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gQUE5WEVwXA0gHS0AUCBgCHVUAUwlSBlZWAARSVlYOBQRIVVEbE1QFAlAFA1QCBlBRWlxQAQgWHlUEVRJUPA=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Content-Length","value":"233"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:40:39 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"errors\": [\n            {\n                \"errno\": 13002,\n                \"field\": \"name\",\n                \"message\": \"The tax name 'some taxv2' is already in use.\",\n                \"object\": \"tax\",\n                \"value\": \"some taxv2\"\n            }\n        ]\n    }\n}"},{"id":"d9d665e0-8174-4bb6-818a-90f08f0277f4","name":"Create Single Tax","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"tax\": {\n    \"name\": \"RST\"\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/taxes/taxes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gQUE5WEVwXA0gHS0AUCBgCHVQNUgdWClRVDg9SU1cMCgJWTVEBHRVTAlcPUANUWlIAUg4ECVsEEB8DWA1CBG4="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:41:03 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:41:03 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"tax\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"amount\": \"0\",\n                \"compound\": false,\n                \"id\": 4518,\n                \"name\": \"RST\",\n                \"number\": null,\n                \"taxid\": 4518,\n                \"updated\": \"2019-04-24 14:41:03\"\n            }\n        }\n    }\n}"}],"_postman_id":"4209da1c-3b60-438f-89ed-18a91742525b"},{"name":"Update Single Tax","id":"cce7a45a-e606-475b-919c-560e6038d019","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"tax\": {\n    \"name\": \"TST\"\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/taxes/taxes/{{taxId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","taxes","taxes","{{taxId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"33fa3233-39f2-4f8f-984a-4334cb7b8e2a","name":"Update Single Tax","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"tax\": {\n    \"name\": \"TST\"\n  }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/taxes/taxes/{{taxId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gQUE5WEVwXA0hAFFIUCBoCC1IJVwVYC1NQAAdUUVIKChxXV04VV1RVBgkOUABVU1cCUwBSWhoYVFIJSgRs"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:42:04 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:42:04 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"tax\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"amount\": \"0\",\n                \"compound\": false,\n                \"id\": 4518,\n                \"name\": \"TST\",\n                \"number\": null,\n                \"taxid\": 4518,\n                \"updated\": \"2019-04-24 14:42:04\"\n            }\n        }\n    }\n}"}],"_postman_id":"cce7a45a-e606-475b-919c-560e6038d019"},{"name":"Delete Single Tax","id":"e0204f37-9edb-47eb-a7d4-0d504d3fb4e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/taxes/taxes/{{taxId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","taxes","taxes","{{taxId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"49ff8b10-3a4e-4a9e-b706-f188149e9955","name":"Delete Single Tax","originalRequest":{"method":"DELETE","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/taxes/taxes/{{taxId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gQUE5WEVwXA0hAFFIUCBoCClQOVgJRAFFVAgVRXloABxxUTUBWBg8FBVIAUFBeUQYGAwxSGhRSU18WXDw="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:42:15 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 18:42:15 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {}\n}"}],"_postman_id":"e0204f37-9edb-47eb-a7d4-0d504d3fb4e9"}],"id":"8f25cf04-e884-4231-893d-1b2fccc43a17","_postman_id":"8f25cf04-e884-4231-893d-1b2fccc43a17","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}}],"id":"29a18c80-b7df-45c1-b95f-7073f6f3d8e0","event":[{"listen":"prerequest","script":{"id":"f43217cb-816c-49b3-a492-f8c789836c77","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c3b5a77e-fab8-4092-8568-7f9c9707fc36","type":"text/javascript","exec":[""]}}],"_postman_id":"29a18c80-b7df-45c1-b95f-7073f6f3d8e0","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Uploader","item":[{"name":"Upload Logo or Proposal Image","event":[{"listen":"test","script":{"id":"2f511603-572a-4798-9bf6-6cb96bf85db2","exec":["let jsonData = JSON.parse(responseBody); ","pm.environment.set(\"uploadImg\", \"\\'\" + jsonData.image.jwt + \"\\\"\")"],"type":"text/javascript"}}],"id":"5a303877-88e4-42a3-9fda-6c0d4113ddc8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"content","type":"file","value":null}]},"url":"https://api.freshbooks.com/uploads/account/{{accountId}}/images","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["uploads","account","{{accountId}}","images"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"abff41be-a33b-4fba-a0a8-37c542db85e1","name":"Upload Logo","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"multipart/form-data","type":"text","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"content","type":"file"}]},"url":"https://api.freshbooks.com/uploads/account/{{accountId}}/images"},"status":"CREATED","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1902.2.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllRBQIEU1UTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4TE1RcUQATTEVURAkRQ1VWEUgKD1EFXRECUVlTVABKE1QSXBcWVVJDSlMUAh5UV1AGAwNfUgYDBFdWVFECTgtSDwoMCh9HX1IJVAIGUlIHVFQHXAoJBUNOUVBbFQFs"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 17:11:52 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Content-Length","value":"1324"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Wed, 24 Apr 2019 17:11:52 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17356-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"image\": {\n        \"jwt\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50Ijo0MjM2NDEwLCJvcmlnaW5hbF9maWxlbmFtZSI6InRvcm9udG8tc2t5bGluZS5qcGciLCJidWNrZXQiOiJ1cGxvYWRzIiwiZmlsZW5hbWUiOiJ1cGxvYWQtOTE5ODE2MGY5NGNhMjk3ZTE3NGE2MDJmNDA4OTlhM2M5Zjc2MDk5ZCIsImxlbmd0aCI6MzA3MDY4LCJrZXkiOiInZG9jcy0nLTQyMzY0MTAvdXBsb2FkLTkxOTgxNjBmOTRjYTI5N2UxNzRhNjAyZjQwODk5YTNjOWY3NjA5OWQifQ.yAfSd2cIAf2GONitgBmimMCHxvH9OYij7g0WMsiLsaE\",\n        \"public_id\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50Ijo0MjM2NDEwLCJvcmlnaW5hbF9maWxlbmFtZSI6InRvcm9udG8tc2t5bGluZS5qcGciLCJidWNrZXQiOiJ1cGxvYWRzIiwiZmlsZW5hbWUiOiJ1cGxvYWQtOTE5ODE2MGY5NGNhMjk3ZTE3NGE2MDJmNDA4OTlhM2M5Zjc2MDk5ZCIsImxlbmd0aCI6MzA3MDY4LCJrZXkiOiInZG9jcy0nLTQyMzY0MTAvdXBsb2FkLTkxOTgxNjBmOTRjYTI5N2UxNzRhNjAyZjQwODk5YTNjOWY3NjA5OWQifQ.yAfSd2cIAf2GONitgBmimMCHxvH9OYij7g0WMsiLsaE\",\n        \"filename\": \"upload-9198160f94ca297e174a602f40899a3c9f76099d\"\n    },\n    \"link\": \"https://my.freshbooks.com/service/uploads/images/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50Ijo0MjM2NDEwLCJvcmlnaW5hbF9maWxlbmFtZSI6InRvcm9udG8tc2t5bGluZS5qcGciLCJidWNrZXQiOiJ1cGxvYWRzIiwiZmlsZW5hbWUiOiJ1cGxvYWQtOTE5ODE2MGY5NGNhMjk3ZTE3NGE2MDJmNDA4OTlhM2M5Zjc2MDk5ZCIsImxlbmd0aCI6MzA3MDY4LCJrZXkiOiInZG9jcy0nLTQyMzY0MTAvdXBsb2FkLTkxOTgxNjBmOTRjYTI5N2UxNzRhNjAyZjQwODk5YTNjOWY3NjA5OWQifQ.yAfSd2cIAf2GONitgBmimMCHxvH9OYij7g0WMsiLsaE\"\n}"}],"_postman_id":"5a303877-88e4-42a3-9fda-6c0d4113ddc8"},{"name":"Upload Expense Receipt","event":[{"listen":"test","script":{"id":"2f511603-572a-4798-9bf6-6cb96bf85db2","exec":["let jsonData = JSON.parse(responseBody); ","pm.environment.set(\"uploadFile\", \"\\'\" + jsonData.attachment.jwt + \"\\\"\")"],"type":"text/javascript"}}],"id":"5387268b-00bc-4d70-be10-a158bbcd23ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"content","type":"file","value":null}]},"url":"https://api.freshbooks.com/uploads/account/{{accountId}}/attachments","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["uploads","account","{{accountId}}","attachments"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5387268b-00bc-4d70-be10-a158bbcd23ab"},{"name":"Upload Image Without AccountId","event":[{"listen":"test","script":{"id":"2f511603-572a-4798-9bf6-6cb96bf85db2","exec":["let jsonData = JSON.parse(responseBody); ","pm.environment.set(\"uploadFile\", \"\\'\" + jsonData.attachment.jwt + \"\\\"\")"],"type":"text/javascript"}}],"id":"f4099f92-c2b1-47df-86bf-ee2f9d2c2a91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"content","type":"file","value":null}]},"url":"https://api.freshbooks.com/uploads/images","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["uploads","images"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f4099f92-c2b1-47df-86bf-ee2f9d2c2a91"}],"id":"685c3b51-e1e2-4ed2-acc5-9d1935b15280","description":"<p>This is used to upload expense receipts, company logos, or other images that need to be attached to items.</p>\n","event":[{"listen":"prerequest","script":{"id":"dc29edd8-12de-4527-a596-f847ea9c1d1b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6e2f48bd-dce1-4360-b2ea-b1e5e703a2a2","type":"text/javascript","exec":[""]}}],"_postman_id":"685c3b51-e1e2-4ed2-acc5-9d1935b15280","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Webhooks","item":[{"name":"Register for Callback","id":"fb78c21c-8c52-4acf-baa5-b10c7799415e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"callback\": {\n        \"event\": \"invoice.create\",\n        \"uri\": \"http://your_server.com/webhooks/ready\"\n    }\n}"},"url":"https://api.freshbooks.com/events/account/{{accountId}}/events/callbacks","description":"<h2 id=\"events\">Events</h2>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["events","account","{{accountId}}","events","callbacks"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fb78c21c-8c52-4acf-baa5-b10c7799415e"},{"name":"List Webhook Callbacks","id":"0cd47307-2b4f-41ad-8668-1c797c487336","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/events/account/{{accountId}}/events/callbacks","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["events","account","{{accountId}}","events","callbacks"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"c7d33488-5bdd-4b5d-a872-008728e2e3da","name":"List Webhook Callbacks","originalRequest":{"method":"GET","header":[],"url":"https://api.freshbooks.com/events/account/{{accountId}}/events/callbacks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1905.1.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllXAAUBUlATGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4UBkhWURAEEBlDUhULRERQBxVNAVEOVABZW19BHRdcEl4UQQEBDFQACg9aUlMPEhBSQlgTFlJTEU5WT1IeUABSDggFAAVWCVUHUwVWUgMbTFdPGlcIBVNaVVVSV1UCAwNXVlpAHARZDktdaQ=="},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"19"},{"key":"X-RateLimit-Reset","value":"1557346662"},{"key":"Retry-After","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 08 May 2018 20:16:41 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Content-Length","value":"94"},{"key":"Date","value":"Wed, 08 May 2019 20:16:41 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17361-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"callbacks\": [],\n            \"page\": 1,\n            \"pages\": 0,\n            \"per_page\": 15,\n            \"total\": 0\n        }\n    }\n}"}],"_postman_id":"0cd47307-2b4f-41ad-8668-1c797c487336"},{"name":"Verify Webhook Callback","id":"79a4d7fc-4e2d-46ea-a232-4441a8b71547","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"callback\": {\n        \"callback_id\": {{callbackId}},\n        \"verifier\": \"{{verifier}}\"\n    }\n}"},"url":"https://api.freshbooks.com/events/account/{{accountId}}/events/callbacks/{{callbackId}}","description":"<h2 id=\"verifying-webhooks\">Verifying Webhooks</h2>\n<p>Each Webhook sent by FreshBooks includes a header, X-FreshBooks-Hmac-SHA256, with a base64-encoded signature generated using with the data sent in the request and token originally sent in the web hook verification process as a secret.</p>\n<p>When you receive the webhook, you can verify that it came from FreshBooks by computing the signature and comparing it against the header.</p>\n<p>When generating your cryptographic hash function, you will have two inputs. </p>\n<ol>\n<li>Your string input will be the response parameters which you will need to enter as a JSON String.</li>\n</ol>\n<p>i.e. <code>message = '{\"name\": \"client.update\", \"object_id\": \"177864\", \"user_id\": \"1\", \"account_id\": \"K1pdgJ\"}'</code> </p>\n<ol>\n<li>Your verifier (or 'secret') is sent as a response from your initial webhook registration.</li>\n</ol>\n<p>It is also important that you maintain spaces between all colons and commas.  </p>\n<p>You will also need to make sure that your verifier is a base64 encoded string. </p>\n<p>Here is an example script in Python: </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>import base64\nimport hmac\nimport hashlib\n\nverifier = \"UWQfd9zCzxmVwFZWKqqKwLxqz8gvzGdAn\"\nmessage = '{\"name\": \"client.update\", \"object_id\": \"177864\", \"user_id\": \"1\", \"account_id\": \"FrEsHb\"}'\ndig = hmac.new(\n    verifier,\n    msg=message,\n    digestmod=hashlib.sha256\n).digest()\nprint(base64.b64encode(dig).decode())\n</code></pre><p>and an example in Node.js:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>const crypto = require('crypto')\nconst utf8 = require('utf8');\n\nconst hmac = hmac256(utf8.encode('{\"name\": \"client.update\", \"object_id\": \"177864\", \"user_id\": \"1\", \"account_id\": \"FrEsHb\"}'),\n\n  Buffer.from(utf8.encode('UWQfd9zCzxmVwFZWKqqKwLxqz8gvzGdAn')),\n\n  'base64')\n\nconsole.log(hmac)\n\n\n\nfunction hmac256(data, authKey, encoding) {\n\n  const x = crypto.createHmac('sha256', authKey)\n  x.update(data)\n  return x.digest(encoding)\n}\n</code></pre>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["events","account","{{accountId}}","events","callbacks","{{callbackId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"79a4d7fc-4e2d-46ea-a232-4441a8b71547"},{"name":"Resend Verification Code","id":"626eca8f-440c-43c8-9a08-b513209cf2e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"callback\": {\n        \"callback_id\": 2001,\n        \"resend\": true\n    }\n}"},"url":"https://api.freshbooks.com/events/account/{{accountId}}/events/callbacks/{{callbackId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["events","account","{{accountId}}","events","callbacks","{{callbackId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"626eca8f-440c-43c8-9a08-b513209cf2e2"},{"name":"Delete Webhook Callback","id":"0f38ab82-5e7f-4e12-9a85-fd8081e951ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.freshbooks.com/events/account/{{accountId}}/events/callbacks/{{callbackId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["events","account","{{accountId}}","events","callbacks","{{callbackId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0f38ab82-5e7f-4e12-9a85-fd8081e951ad"}],"id":"37b77180-dd24-4181-a0c0-fc65abc11b6a","description":"<h2 id=\"what-are-webhooks\">What are Webhooks?</h2>\n<p>Webhooks allow you to keep your application in sync with FreshBooks. You can subscribe to FreshBooks Webhooks to receive real-time notifications from FreshBooks to your application.</p>\n<p>Webhooks are a simple mechanism for sending notifications between APIs using HTTP POST callbacks. Webhooks allow you to specify a URI that you would like FreshBooks to POST information to any time certain events happen in a system. For instance, if you would like to receive a notification every time one of your users creates an invoice in FreshBooks, you can register a callback for the invoice.create method.</p>\n<h2 id=\"registering-webhooks\">Registering WebHooks</h2>\n<p>Webhooks can be created with a POST to the callbacks endpoint. In order to ensure that you are the true owner of a callback URI being registered, we've implemented a very simple verification mechanism. When a callback is first registered, we will automatically send an HTTP POST request containing a unique verification code as well as a unique id for the callback record being verified. Simply send the verification code and the callback id back to us via a PUT to the callback API and notifications will begin being sent to your registered callback URI. You can ask us to resend the verification code at any time with a PUT call containing a resend variable in the body.</p>\n<p>NOTE: You may want to consider storing this verification code for future use, as it will be used as the secret to calculate signatures used to verify webhooks are from FreshBooks (see below).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>*<em>Field *</em></th>\n<th>*<em>Type *</em></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>The event registered for</td>\n</tr>\n<tr>\n<td>object_id</td>\n<td>int</td>\n<td>The unique identifier of the webhook callback</td>\n</tr>\n<tr>\n<td>verifier</td>\n<td>bool</td>\n<td>True if the webhook callback has been verified</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"receiving-webhooks\">Receiving Webhooks</h2>\n<p>When an event of the type registered occurs, FreshBooks will send a POST request to the registered URI with the following form-urlencoded parameters:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>http://your_server.com/webhooks/ready?name=invoice.create&amp;object_id=1234567&amp;account_id=6BApk&amp;business_id=6543&amp;identity_id=1234user_id=1\n\n</code></pre><p>This means that the user with <strong>identity_id</strong> <code>1234</code> in the account/business created an invoice with the id <code>1234567</code>. Because some FreshBooks resources use account, and others business (See <a href=\"https://www.freshbooks.com/api/identity_model\">Identity Model</a>), both the <strong>account_id</strong> and <strong>business_id</strong> are provided. You can then call the FreshBooks API invoice resource, passing in <strong>invoice_id</strong> <code>1234567</code> in order to get details about the invoice.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>*<em>Field *</em></th>\n<th>*<em>Type *</em></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>The event registered for (eg. <code>estimate.create</code>)</td>\n</tr>\n<tr>\n<td>object_id</td>\n<td>int</td>\n<td>The unique identifier of the webhook callback</td>\n</tr>\n<tr>\n<td>account_id</td>\n<td>string</td>\n<td>The unique identifier of the FreshBooks account</td>\n</tr>\n<tr>\n<td>business_id</td>\n<td>int</td>\n<td>The unique identifier of the FreshBooks business</td>\n</tr>\n<tr>\n<td>identity_id</td>\n<td>int</td>\n<td>The unique identifier of the FreshBooks user that performed the action</td>\n</tr>\n<tr>\n<td>user_id</td>\n<td>int</td>\n<td>Deprecated. The FreshBooks user that performed the action. This was used by FreshBooks Classic.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"failed-callbacks\">Failed Callbacks</h2>\n<p>Once your Webhooks are set up and verified, you will start receiving events. If FreshBooks receives anything other than a 2xx HTTP response code (including 3xx HTTP redirection codes) we will consider the attempt as failed. Webhooks HTTP POST requests have a ten second timeout set, and if there is no response within this time then the attempt is also considered failed. To avoid timeouts, consider deferring app processing until after a response to the webhook has been sent.</p>\n<p>Failed requests will be retried periodically. After several failures, the message will be dropped and no further delivery attempts will be made.</p>\n<p>If the webhook URL registered returns only failures over a long period, FreshBooks may disable the webhook. It can be easily re-enabled later by resending the verification token.</p>\n<h2 id=\"verifying-webhooks\">Verifying Webhooks</h2>\n<p>Each Webhook sent by FreshBooks includes a header, X-FreshBooks-Hmac-SHA256, with a base64-encoded signature generated using with the data sent in the request and token originally sent in the web hook verification process as a secret.</p>\n<p>When you receive the webhook, you can verify that it came from FreshBooks by computing the signature and comparing it against the header.</p>\n<h2 id=\"valid-events\">Valid Events</h2>\n<p>Events in FreshBooks are identified by the combination of a noun and a verb (i.e. <strong>invoice.create</strong>). You can subscribe to all supported events related to a noun by using only the noun part (i.e. <strong>invoice</strong>). Note that callbacks are notified when these events occur from within the FreshBooks application or from another application that uses the FreshBooks API.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Noun / Entity</th>\n<th>Verb / Action</th>\n<th>Supported Event</th>\n<th>Scope</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>bill</td>\n<td>*</td>\n<td>bill</td>\n<td><code>user:bills:read</code></td>\n</tr>\n<tr>\n<td>bill</td>\n<td>create</td>\n<td>bill.create</td>\n<td></td>\n</tr>\n<tr>\n<td>bill</td>\n<td>update</td>\n<td>bill.update</td>\n<td></td>\n</tr>\n<tr>\n<td>bill</td>\n<td>delete</td>\n<td>bill.delete</td>\n<td></td>\n</tr>\n<tr>\n<td>bill_vendor</td>\n<td>*</td>\n<td>bill_vendor</td>\n<td><code>user:bill_vendors:read</code></td>\n</tr>\n<tr>\n<td>bill_vendor</td>\n<td>create</td>\n<td>bill_vendor.create</td>\n<td></td>\n</tr>\n<tr>\n<td>bill_vendor</td>\n<td>update</td>\n<td>bill_vendor.update</td>\n<td></td>\n</tr>\n<tr>\n<td>bill_vendor</td>\n<td>delete</td>\n<td>bill_vendor.delete</td>\n<td></td>\n</tr>\n<tr>\n<td>category</td>\n<td>*</td>\n<td>category</td>\n<td><code>user:expenses:read</code></td>\n</tr>\n<tr>\n<td>category</td>\n<td>create</td>\n<td>category.create</td>\n<td></td>\n</tr>\n<tr>\n<td>category</td>\n<td>update</td>\n<td>category.update</td>\n<td></td>\n</tr>\n<tr>\n<td>category</td>\n<td>delete</td>\n<td>category.delete</td>\n<td></td>\n</tr>\n<tr>\n<td>client</td>\n<td>*</td>\n<td>client</td>\n<td><code>user:clients:read</code></td>\n</tr>\n<tr>\n<td>client</td>\n<td>create</td>\n<td>client.create</td>\n<td></td>\n</tr>\n<tr>\n<td>client</td>\n<td>update</td>\n<td>client.update</td>\n<td></td>\n</tr>\n<tr>\n<td>client</td>\n<td>delete</td>\n<td>client.delete</td>\n<td></td>\n</tr>\n<tr>\n<td>credit_note</td>\n<td>*</td>\n<td>credit_note</td>\n<td><code>user:credit_notes:read</code></td>\n</tr>\n<tr>\n<td>credit_note</td>\n<td>create</td>\n<td>credit_note.create</td>\n<td></td>\n</tr>\n<tr>\n<td>credit_note</td>\n<td>update</td>\n<td>credit_note.update</td>\n<td></td>\n</tr>\n<tr>\n<td>credit_note</td>\n<td>delete</td>\n<td>credit_note.delete</td>\n<td></td>\n</tr>\n<tr>\n<td>estimate</td>\n<td>*</td>\n<td>estimate</td>\n<td><code>user:estimates:read</code></td>\n</tr>\n<tr>\n<td>estimate</td>\n<td>create</td>\n<td>estimate.create</td>\n<td></td>\n</tr>\n<tr>\n<td>estimate</td>\n<td>update</td>\n<td>estimate.update</td>\n<td></td>\n</tr>\n<tr>\n<td>estimate</td>\n<td>delete</td>\n<td>estimate.delete</td>\n<td></td>\n</tr>\n<tr>\n<td>expense</td>\n<td>*</td>\n<td>expense</td>\n<td><code>user:expenses:read</code></td>\n</tr>\n<tr>\n<td>expense</td>\n<td>create</td>\n<td>expense.create</td>\n<td></td>\n</tr>\n<tr>\n<td>expense</td>\n<td>update</td>\n<td>expense.update</td>\n<td></td>\n</tr>\n<tr>\n<td>expense</td>\n<td>delete</td>\n<td>expense.delete</td>\n<td></td>\n</tr>\n<tr>\n<td>invoice</td>\n<td>*</td>\n<td>invoice</td>\n<td><code>user:invoices:read</code></td>\n</tr>\n<tr>\n<td>invoice</td>\n<td>create</td>\n<td>invoice.create</td>\n<td></td>\n</tr>\n<tr>\n<td>invoice</td>\n<td>update</td>\n<td>invoice.update</td>\n<td></td>\n</tr>\n<tr>\n<td>invoice</td>\n<td>delete</td>\n<td>invoice.delete</td>\n<td></td>\n</tr>\n<tr>\n<td>item</td>\n<td>*</td>\n<td>item</td>\n<td><code>user:billable_items:read</code></td>\n</tr>\n<tr>\n<td>item</td>\n<td>create</td>\n<td>item.create</td>\n<td></td>\n</tr>\n<tr>\n<td>item</td>\n<td>update</td>\n<td>item.update</td>\n<td></td>\n</tr>\n<tr>\n<td>item</td>\n<td>delete</td>\n<td>item.delete</td>\n<td></td>\n</tr>\n<tr>\n<td>payment</td>\n<td>*</td>\n<td>payment</td>\n<td><code>user:payments:read</code></td>\n</tr>\n<tr>\n<td>payment</td>\n<td>create</td>\n<td>payment.create</td>\n<td></td>\n</tr>\n<tr>\n<td>payment</td>\n<td>update</td>\n<td>payment.update</td>\n<td></td>\n</tr>\n<tr>\n<td>payment</td>\n<td>delete</td>\n<td>payment.delete</td>\n<td></td>\n</tr>\n<tr>\n<td>project</td>\n<td>*</td>\n<td>project</td>\n<td><code>user:projects:read</code></td>\n</tr>\n<tr>\n<td>project</td>\n<td>create</td>\n<td>project.create</td>\n<td></td>\n</tr>\n<tr>\n<td>project</td>\n<td>update</td>\n<td>project.update</td>\n<td></td>\n</tr>\n<tr>\n<td>project</td>\n<td>delete</td>\n<td>project.delete</td>\n<td></td>\n</tr>\n<tr>\n<td>recurring</td>\n<td>*</td>\n<td>recurring</td>\n<td><code>user:invoices:read</code></td>\n</tr>\n<tr>\n<td>recurring</td>\n<td>create</td>\n<td>recurring.create</td>\n<td></td>\n</tr>\n<tr>\n<td>recurring</td>\n<td>update</td>\n<td>recurring.update</td>\n<td></td>\n</tr>\n<tr>\n<td>recurring</td>\n<td>delete</td>\n<td>recurring.delete</td>\n<td></td>\n</tr>\n<tr>\n<td>service</td>\n<td>*</td>\n<td>service</td>\n<td><code>user:billable_items:read</code></td>\n</tr>\n<tr>\n<td>service</td>\n<td>create</td>\n<td>service.create</td>\n<td></td>\n</tr>\n<tr>\n<td>service</td>\n<td>update</td>\n<td>service.update</td>\n<td></td>\n</tr>\n<tr>\n<td>service</td>\n<td>delete</td>\n<td>service.delete</td>\n<td></td>\n</tr>\n<tr>\n<td>tax</td>\n<td>*</td>\n<td>tax</td>\n<td><code>user:taxes:read</code></td>\n</tr>\n<tr>\n<td>tax</td>\n<td>create</td>\n<td>tax.create</td>\n<td></td>\n</tr>\n<tr>\n<td>tax</td>\n<td>update</td>\n<td>tax.update</td>\n<td></td>\n</tr>\n<tr>\n<td>tax</td>\n<td>delete</td>\n<td>tax.delete</td>\n<td></td>\n</tr>\n<tr>\n<td>time_entry</td>\n<td>*</td>\n<td>time_entry</td>\n<td><code>user:time_entries:read</code></td>\n</tr>\n<tr>\n<td>time_entry</td>\n<td>create</td>\n<td>time_entry.create</td>\n<td></td>\n</tr>\n<tr>\n<td>time_entry</td>\n<td>update</td>\n<td>time_entry.update</td>\n<td></td>\n</tr>\n<tr>\n<td>time_entry</td>\n<td>delete</td>\n<td>time_entry.delete</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"95895274-f6c8-47a9-ae29-6031efc5b236","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"983e74e3-7b2d-420b-8d81-c8c9a9ee7177","type":"text/javascript","exec":[""]}}],"_postman_id":"37b77180-dd24-4181-a0c0-fc65abc11b6a","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Settings","item":[{"name":"Abilities","item":[{"name":"Abilities","id":"6cc721c6-b346-4b06-8a03-c4161b49b3a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/projects/business/{{businessId}}/abilities","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["projects","business","{{businessId}}","abilities"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"00f22636-4cb9-4115-9dd0-8603c1013113","name":"Abilities","originalRequest":{"method":"GET","header":[],"url":"https://api.freshbooks.com/projects/business/{{businessId}}/abilities"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-Version","value":"1904.22.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVllUBAQOU10TGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FDFZFVRYSBxlDUhULRERQBxVNA1ILVAtMUVFBHRdcEl4UQQEBDFYDDw9RR1kBEhBSQlgTFlJTEU5WT1IeUg1TCw4FBwVVAVMAVABRVhoaUEpBWwYBAlJbUwIDVVxUAAJUVkFOVgNUEV1l"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Mon, 23 Apr 2018 17:47:51 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Content-Length","value":"477"},{"key":"Date","value":"Tue, 23 Apr 2019 17:47:51 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17335-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"abilities\": [\n        {\n            \"name\": \"can_view_projects\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_create_projects\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_create_services\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_view_services\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_view_time_entries\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_create_time_entries\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_mark_time_entries_billed\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_view_team_time_entries\",\n            \"value\": true\n        },\n        {\n            \"name\": \"can_view_time_tracking_settings\",\n            \"value\": true\n        }\n    ]\n}"}],"_postman_id":"6cc721c6-b346-4b06-8a03-c4161b49b3a8"}],"id":"e0668be0-d87b-4d52-9ef9-db95716d235c","_postman_id":"e0668be0-d87b-4d52-9ef9-db95716d235c","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Businesses","item":[{"name":"Delete Business - Subscription","id":"0c8249a3-fbe7-4953-8192-725e28f5633f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://my.freshbooks.com/service/api/auth/api/v1/billing/account/0XaOw/subscription","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["service","api","auth","api","v1","billing","account","0XaOw","subscription"],"host":["my","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"49ff3b5f-d2a2-4a6c-a942-316c0a05f73e","name":"Delete Business","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://my.freshbooks.com/service/api/auth/api/v1/billing/account/0XaOw/subscription"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"ETag","value":"W/\"ab140244cd2fd2892fec183c503c0f95\""},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"1359c7ab-413c-442e-8016-1e9c48ebc154"},{"key":"X-Runtime","value":"0.362960"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSBAUHU1MTGhEhCQ0WQg1UDl1KG39aAV0NVBZSEAEZZQAFCBdyUxAIDVl1XhUUUEJQClxZMF8XTAtWXw4IYQpMFVQyVhZLVVYNCkEUAx5UTVIZAgFSVAEFAlpXV1cHVwlbDRQZAx9HDlIGWQIABwdSBFBbWQMAUEM/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Wed, 25 Apr 2018 15:44:49 GMT"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Thu, 25 Apr 2019 15:44:49 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17372-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": true\n}"}],"_postman_id":"0c8249a3-fbe7-4953-8192-725e28f5633f"},{"name":"Delete Business","id":"5f35e623-47ab-470b-bcaf-f9303b87e286","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"https://api.freshbooks.com/auth/api/v1/users/business/685582","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["auth","api","v1","users","business","685582"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"4f7c4838-59a5-402b-bc30-be1e7b94e93c","name":"Delete Business","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://my.freshbooks.com/service/api/auth/api/v1/users/business/497510"},"status":"NO CONTENT","code":204,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"2d1d905b-493b-439a-8f4b-3e947c92ee58"},{"key":"X-Runtime","value":"0.097614"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSBAUHUFQTGhEhCQ0WQg1UDl1KG39aAV0NVBZSEAEZZQAFCBdyUxAIDVl1XhUUUEJQClxZMF8XTAtWXw4IYQpMFVQyVhZLVVYNCkEUAx5UTVIZAQ5eUgkHClBQVFAHUAFWAQoYHwJJG1gAVgNXVAYGVgBXDAIIVlBAag=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Wed, 25 Apr 2018 15:46:47 GMT"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Thu, 25 Apr 2019 15:46:47 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17372-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":null},{"id":"67f98dd2-7d0c-4ce8-a73c-b56310b84b63","name":"Delete Business - Must Delete Subscription first","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://my.freshbooks.com/service/api/auth/api/v1/users/business/813619"},"status":"UNPROCESSABLE ENTITY","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"0089ca2b-f273-4796-b854-e39734868831"},{"key":"X-Runtime","value":"0.082632"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSBAUHUFQTGhEhCQ0WQg1UDl1KG39aAV0NVBZSEAEZZQAFCBdyUxAIDVl1XhUUUEJQClxZMF8XTAtWXw4IYQpMFVQyVhZLVVYNCkEUAx5UTVIZAQ9VUgkGC1ReUlYIWghRDwkYHwJJG1BVVwVRAgUCV1UHXVdWAgVAag=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Content-Length","value":"99"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Thu, 25 Apr 2019 15:51:10 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17372-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"invalid_resource\",\n    \"error_description\": \"Validation failed: Subscription is still active.\"\n}"}],"_postman_id":"5f35e623-47ab-470b-bcaf-f9303b87e286"},{"name":"Add Business","id":"d90e7c73-457f-41da-9252-84b31715f88f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Kevin's Corral\",\n    \"date_format\": \"mm/dd/yyyy\",\n    \"address_attributes\": {\n        \"country\": \"Canada\"\n    },\n    \"phone_number_attributes\": null\n}"},"url":"https://api.freshbooks.com/auth/api/v1/users/business","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["auth","api","v1","users","business"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"839ef039-3d45-48fe-95c1-5cbe20a5d57c","name":"Add Business","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Kevin's Corral\",\n    \"date_format\": \"mm/dd/yyyy\",\n    \"address_attributes\": {\n        \"country\": \"Canada\"\n    },\n    \"phone_number_attributes\": null\n}"},"url":"https://my.freshbooks.com/service/api/auth/api/v1/users/business"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"ETag","value":"W/\"ece9403d440d4badd777fca953dd9580\""},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"49e5ba95-b7dc-42c7-b0c3-8d61d99d1f39"},{"key":"X-Runtime","value":"0.670145"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSBAUHUFQTGhEhCQ0WQg1UDl1KG39aAV0NVBZSEAEZZQAFCBdyUxAIDVl1XhUUUEJQClxZMF8XTAtWXw4IYQpMFVQyVhZLVVYNCkEUAx5UTVIZBwBXVgUEBFNVWlAIUApQDxQZAx9HDlIAVQpQBQBUV1AFXFUBXUM/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Wed, 25 Apr 2018 16:51:20 GMT"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Thu, 25 Apr 2019 16:51:20 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17366-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"id\": 1986590,\n        \"name\": \"Kevin's Corral\",\n        \"account_id\": \"lwy0vG\",\n        \"business_group\": {\n            \"id\": 4977602,\n            \"category\": \"business\",\n            \"members\": [\n                {\n                    \"id\": 6487912,\n                    \"group_id\": 4977602,\n                    \"role\": \"owner\",\n                    \"identity_id\": 37256,\n                    \"first_name\": \"Marshall\",\n                    \"last_name\": \"Johnston\",\n                    \"email\": \"api.freshbooks@gmail.com\",\n                    \"company\": \"Kevin's Corral\",\n                    \"business_id\": 1986590,\n                    \"unacknowledged_change\": false,\n                    \"active\": true\n                }\n            ]\n        },\n        \"date_format\": \"mm/dd/yyyy\",\n        \"address\": {\n            \"id\": 2448988,\n            \"street\": null,\n            \"city\": null,\n            \"province\": null,\n            \"country\": \"Canada\",\n            \"postal_code\": null\n        },\n        \"phone_number\": null,\n        \"business_clients\": []\n    }\n}"}],"_postman_id":"d90e7c73-457f-41da-9252-84b31715f88f"},{"name":"Provision FreshBooks Payments","id":"af84f53a-0701-4228-8fbe-05e572e0ae3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"fname\": \"Marshall\",\n    \"lname\": \"Johnston\",\n    \"email\": \"api.freshbooks@gmail.com\",\n    \"orgname\": \"Kevin's Corral\",\n    \"redirect_base_uri\": \"https://my.freshbooks.com/#/gatewayConnectRedirect/fbpay/\",\n    \"country\": \"CA\",\n    \"allow_multiple_provision\": true\n}"},"url":"https://api.freshbooks.com/payments/account/{{accountId}}/gateway/fbpay","description":"<p>This endpoint is used to provision the ability to use FreshBooks Payments on your invoices. This is typically called at the beginning of new account setup. if you create a new account via the API and don't call this endpoint you will have to manually provision your payment processing account from the settings under \"Accept Online Payments\".</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["payments","account","{{accountId}}","gateway","fbpay"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"6cd80ba8-d0aa-4328-8d8d-bf56125403ed","name":"Add FreshBooks Payments","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"fname\": \"Marshall\",\n    \"lname\": \"Johnston\",\n    \"email\": \"mjohnston@freshbooks.com\",\n    \"orgname\": \"Kevin's Corral\",\n    \"redirect_base_uri\": \"https://my.freshbooks.com/#/gatewayConnectRedirect/fbpay/\",\n    \"country\": \"CA\",\n    \"allow_multiple_provision\": true\n}"},"url":"https://my.freshbooks.com/service/api/payments/account/lwy0vG/gateway/fbpay"},"status":"CREATED","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-CardApp-Version","value":"1904.32.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABV1FUDwYGV1QTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FAkpXURQRTEVURAkRQ1VWEUgEA0QHTwNBFlJQQwRAT0MEQA0RRFQEXAJbUF8RDxZoVlYSAUZXSj0UBhFfF0oBXWdSUEMEQEMdUR9SSgQDVFZSCgoJXFRaBwgEVFIDGgFVV09AAlsAWwsJUAAHUApXCQMGUkYaUQAKEF1u"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Wed, 25 Apr 2018 16:57:41 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Content-Length","value":"4"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Thu, 25 Apr 2019 16:57:41 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17366-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"null"}],"_postman_id":"af84f53a-0701-4228-8fbe-05e572e0ae3a"},{"name":"Gateway Details","id":"c565ad01-4054-4fe2-9210-a7f899ef3dcd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/payments/account/{{accountId}}/gateway","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["payments","account","{{accountId}}","gateway"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"06b28ab6-f224-442c-8ef3-4bc10765df8b","name":"Gateway Details","originalRequest":{"method":"GET","header":[],"url":"https://api.freshbooks.com/payments/account/{{accountId}}/gateway"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-CardApp-Version","value":"1905.6.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABV1FUDwYGV1QTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FAkpXURQRTEVURAkRQ1VWEUgEA0QHTwNBFkZXQApME1IECQUFQlIWBxpKVkMLFBBUVBVKVB0GHVpVWloEUQFaAAwFCgZSAFAdTAJORgQHVQRTDQUAVVFWVVRVVl0TGlUDChAHbQ=="},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1557346766"},{"key":"Retry-After","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 08 May 2018 20:18:28 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Content-Length","value":"2097"},{"key":"Date","value":"Wed, 08 May 2019 20:18:28 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17361-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"gateway_connections\": [\n        {\n            \"stripe\": {\n                \"currencies\": [\n                    \"AED\",\n                    \"AFN\",\n                    \"ALL\",\n                    \"AMD\",\n                    \"ANG\",\n                    \"AOA\",\n                    \"ARS\",\n                    \"AUD\",\n                    \"AWG\",\n                    \"AZN\",\n                    \"BAM\",\n                    \"BBD\",\n                    \"BDT\",\n                    \"BGN\",\n                    \"BIF\",\n                    \"BMD\",\n                    \"BND\",\n                    \"BOB\",\n                    \"BRL\",\n                    \"BSD\",\n                    \"BWP\",\n                    \"BZD\",\n                    \"CAD\",\n                    \"CDF\",\n                    \"CHF\",\n                    \"CLP\",\n                    \"CNY\",\n                    \"COP\",\n                    \"CRC\",\n                    \"CVE\",\n                    \"CZK\",\n                    \"DJF\",\n                    \"DKK\",\n                    \"DOP\",\n                    \"DZD\",\n                    \"EGP\",\n                    \"ETB\",\n                    \"EUR\",\n                    \"FJD\",\n                    \"FKP\",\n                    \"GBP\",\n                    \"GEL\",\n                    \"GIP\",\n                    \"GMD\",\n                    \"GNF\",\n                    \"GTQ\",\n                    \"GYD\",\n                    \"HKD\",\n                    \"HNL\",\n                    \"HRK\",\n                    \"HTG\",\n                    \"HUF\",\n                    \"IDR\",\n                    \"ILS\",\n                    \"INR\",\n                    \"ISK\",\n                    \"JMD\",\n                    \"JPY\",\n                    \"KES\",\n                    \"KGS\",\n                    \"KHR\",\n                    \"KMF\",\n                    \"KRW\",\n                    \"KYD\",\n                    \"KZT\",\n                    \"LAK\",\n                    \"LBP\",\n                    \"LKR\",\n                    \"LRD\",\n                    \"LSL\",\n                    \"MAD\",\n                    \"MDL\",\n                    \"MGA\",\n                    \"MKD\",\n                    \"MMK\",\n                    \"MNT\",\n                    \"MOP\",\n                    \"MRO\",\n                    \"MUR\",\n                    \"MVR\",\n                    \"MWK\",\n                    \"MXN\",\n                    \"MYR\",\n                    \"MZN\",\n                    \"NAD\",\n                    \"NGN\",\n                    \"NIO\",\n                    \"NOK\",\n                    \"NPR\",\n                    \"NZD\",\n                    \"PAB\",\n                    \"PEN\",\n                    \"PGK\",\n                    \"PHP\",\n                    \"PKR\",\n                    \"PLN\",\n                    \"PYG\",\n                    \"QAR\",\n                    \"RON\",\n                    \"RSD\",\n                    \"RUB\",\n                    \"RWF\",\n                    \"SAR\",\n                    \"SBD\",\n                    \"SCR\",\n                    \"SEK\",\n                    \"SGD\",\n                    \"SHP\",\n                    \"SLL\",\n                    \"SOS\",\n                    \"SRD\",\n                    \"STD\",\n                    \"SZL\",\n                    \"THB\",\n                    \"TJS\",\n                    \"TOP\",\n                    \"TRY\",\n                    \"TTD\",\n                    \"TWD\",\n                    \"TZS\",\n                    \"UAH\",\n                    \"UGX\",\n                    \"USD\",\n                    \"UYU\",\n                    \"UZS\",\n                    \"VND\",\n                    \"VUV\",\n                    \"WST\",\n                    \"XAF\",\n                    \"XCD\",\n                    \"XOF\",\n                    \"XPF\",\n                    \"YER\",\n                    \"ZAR\",\n                    \"ZMW\"\n                ],\n                \"country\": \"CA\",\n                \"gateway_user_id\": \"acct_198989W3477IY7l9murJy\",\n                \"id\": \"b5d4f07757ff444db095d4877878f3bc6\",\n                \"user_state\": \"registered\",\n                \"email\": \"api.freshbooks@gmail.com\"\n            },\n            \"fbpay\": {\n                \"currencies\": [\n                    \"CAD\"\n                ],\n                \"account_id\": \"27873233720\",\n                \"action_reasons\": [\n                    \"kyc\",\n                    \"bank_account\"\n                ],\n                \"country\": \"CA\",\n                \"tos_accepted\": true,\n                \"email\": \"api.freshbooks@gmail.com\",\n                \"manage_account_url\": \"https://wepay.com/account/2430223721\",\n                \"state\": \"complete_kyc\",\n                \"bank_info\": {\n                    \"bank_name\": null,\n                    \"withdrawal_period\": null,\n                    \"last_payment_date\": null,\n                    \"withdrawal_schedule\": [],\n                    \"next_payout_date\": null,\n                    \"incoming_pending_amount\": \"0\",\n                    \"last_payment_amount\": null,\n                    \"withdrawal_type\": null,\n                    \"outgoing_withdrawal_schedule\": [],\n                    \"total_payout\": \"0\"\n                },\n                \"pricing\": {\n                    \"ach_tier_3\": null,\n                    \"percent_amex\": \"3.50\",\n                    \"percent_non_amex_with_card\": \"2.70\",\n                    \"percent_non_amex\": \"2.90\",\n                    \"percent_virtual_terminal\": \"3.50\",\n                    \"percent_amex_with_card\": \"3.40\",\n                    \"ach_tier_1\": null,\n                    \"ach_tier_2\": null,\n                    \"tier_id\": 105,\n                    \"per_transaction_fee\": \"0.30\"\n                },\n                \"visa_debit_accepted\": false,\n                \"id\": \"1074c55d1195cd470e0989b60a2f4ffad68c\",\n                \"bank_transfer_enabled\": true\n            }\n        }\n    ]\n}"}],"_postman_id":"c565ad01-4054-4fe2-9210-a7f899ef3dcd"}],"id":"762b3a60-00bf-46e8-83ad-b123e24011cf","description":"<p>Create and delete businesses    </p>\n","_postman_id":"762b3a60-00bf-46e8-83ad-b123e24011cf","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Gateways","item":[{"name":"List Gateways","id":"a85a89bf-e683-44c3-93bb-1d71ec9806c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/payments/account/{{accountId}}/gateway","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["payments","account","{{accountId}}","gateway"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"e9b36fc6-4877-4a94-9c96-c620cefedd2a","name":"List Gateways","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/payments/account/{{accountId}}/gateway"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"X-CardApp-Version","value":"1904.32.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABV1FUDwYGV1QTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FAkpXURQRTEVURAkRQ1VWEUgEA0QHTwNBFkZXQApME1IECQUFQlIWBxpKVkMLFBBUVBVKVB0HHVJWV1EFUQhWDgwFBQFWD1IdTAJORlcBBVNTCgBTBwUGUVUPX1MTGlUDChAHbQ=="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:04:28 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Content-Length","value":"2097"},{"key":"Date","value":"Wed, 24 Apr 2019 18:04:28 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"gateway_connections\": [\n        {\n            \"stripe\": {\n                \"currencies\": [\n                    \"AED\",\n                    \"AFN\",\n                    \"ALL\",\n                    \"AMD\",\n                    \"ANG\",\n                    \"AOA\",\n                    \"ARS\",\n                    \"AUD\",\n                    \"AWG\",\n                    \"AZN\",\n                    \"BAM\",\n                    \"BBD\",\n                    \"BDT\",\n                    \"BGN\",\n                    \"BIF\",\n                    \"BMD\",\n                    \"BND\",\n                    \"BOB\",\n                    \"BRL\",\n                    \"BSD\",\n                    \"BWP\",\n                    \"BZD\",\n                    \"CAD\",\n                    \"CDF\",\n                    \"CHF\",\n                    \"CLP\",\n                    \"CNY\",\n                    \"COP\",\n                    \"CRC\",\n                    \"CVE\",\n                    \"CZK\",\n                    \"DJF\",\n                    \"DKK\",\n                    \"DOP\",\n                    \"DZD\",\n                    \"EGP\",\n                    \"ETB\",\n                    \"EUR\",\n                    \"FJD\",\n                    \"FKP\",\n                    \"GBP\",\n                    \"GEL\",\n                    \"GIP\",\n                    \"GMD\",\n                    \"GNF\",\n                    \"GTQ\",\n                    \"GYD\",\n                    \"HKD\",\n                    \"HNL\",\n                    \"HRK\",\n                    \"HTG\",\n                    \"HUF\",\n                    \"IDR\",\n                    \"ILS\",\n                    \"INR\",\n                    \"ISK\",\n                    \"JMD\",\n                    \"JPY\",\n                    \"KES\",\n                    \"KGS\",\n                    \"KHR\",\n                    \"KMF\",\n                    \"KRW\",\n                    \"KYD\",\n                    \"KZT\",\n                    \"LAK\",\n                    \"LBP\",\n                    \"LKR\",\n                    \"LRD\",\n                    \"LSL\",\n                    \"MAD\",\n                    \"MDL\",\n                    \"MGA\",\n                    \"MKD\",\n                    \"MMK\",\n                    \"MNT\",\n                    \"MOP\",\n                    \"MRO\",\n                    \"MUR\",\n                    \"MVR\",\n                    \"MWK\",\n                    \"MXN\",\n                    \"MYR\",\n                    \"MZN\",\n                    \"NAD\",\n                    \"NGN\",\n                    \"NIO\",\n                    \"NOK\",\n                    \"NPR\",\n                    \"NZD\",\n                    \"PAB\",\n                    \"PEN\",\n                    \"PGK\",\n                    \"PHP\",\n                    \"PKR\",\n                    \"PLN\",\n                    \"PYG\",\n                    \"QAR\",\n                    \"RON\",\n                    \"RSD\",\n                    \"RUB\",\n                    \"RWF\",\n                    \"SAR\",\n                    \"SBD\",\n                    \"SCR\",\n                    \"SEK\",\n                    \"SGD\",\n                    \"SHP\",\n                    \"SLL\",\n                    \"SOS\",\n                    \"SRD\",\n                    \"STD\",\n                    \"SZL\",\n                    \"THB\",\n                    \"TJS\",\n                    \"TOP\",\n                    \"TRY\",\n                    \"TTD\",\n                    \"TWD\",\n                    \"TZS\",\n                    \"UAH\",\n                    \"UGX\",\n                    \"USD\",\n                    \"UYU\",\n                    \"UZS\",\n                    \"VND\",\n                    \"VUV\",\n                    \"WST\",\n                    \"XAF\",\n                    \"XCD\",\n                    \"XOF\",\n                    \"XPF\",\n                    \"YER\",\n                    \"ZAR\",\n                    \"ZMW\"\n                ],\n                \"country\": \"CA\",\n                \"gateway_user_id\": \"acct_19SW34IY7l9murJy\",\n                \"id\": \"b5d4f07757ff444db095d4854b8f3bc6\",\n                \"user_state\": \"registered\",\n                \"email\": \"mjohnston@freshbooks.com\"\n            },\n            \"fbpay\": {\n                \"currencies\": [\n                    \"CAD\"\n                ],\n                \"account_id\": \"243033720\",\n                \"action_reasons\": [\n                    \"kyc\",\n                    \"bank_account\"\n                ],\n                \"country\": \"CA\",\n                \"tos_accepted\": true,\n                \"email\": \"rmarr@freshbooks.com\",\n                \"manage_account_url\": \"https://wepay.com/account/243033720\",\n                \"state\": \"complete_kyc\",\n                \"bank_info\": {\n                    \"bank_name\": null,\n                    \"withdrawal_period\": null,\n                    \"last_payment_date\": null,\n                    \"withdrawal_schedule\": [],\n                    \"next_payout_date\": null,\n                    \"incoming_pending_amount\": \"0\",\n                    \"last_payment_amount\": null,\n                    \"withdrawal_type\": null,\n                    \"outgoing_withdrawal_schedule\": [],\n                    \"total_payout\": \"0\"\n                },\n                \"pricing\": {\n                    \"ach_tier_3\": null,\n                    \"percent_amex\": \"3.50\",\n                    \"percent_non_amex_with_card\": \"2.70\",\n                    \"percent_non_amex\": \"2.90\",\n                    \"percent_virtual_terminal\": \"3.50\",\n                    \"percent_amex_with_card\": \"3.40\",\n                    \"ach_tier_1\": null,\n                    \"ach_tier_2\": null,\n                    \"tier_id\": 105,\n                    \"per_transaction_fee\": \"0.30\"\n                },\n                \"visa_debit_accepted\": false,\n                \"id\": \"1074c55d95cd470eb0b60a2f4ffad68c\",\n                \"bank_transfer_enabled\": true\n            }\n        }\n    ]\n}"}],"_postman_id":"a85a89bf-e683-44c3-93bb-1d71ec9806c8"}],"id":"460345d7-2d46-45a5-9021-f61cd7455378","_postman_id":"460345d7-2d46-45a5-9021-f61cd7455378","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Systems","item":[{"name":"Get System ","id":"27870e1f-4196-41cb-b9ea-95716afd3eae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/systems/systems/{{businessId}}","description":"<p>The value of <code>&lt;id&gt;</code> here is only meaningful if a user has access to multiple systems. See the Identity Model for more information.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","systems","systems","{{businessId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"942cad20-1e4e-4625-a3a7-547f8383b70a","name":"Get System ","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/systems/systems/{{businessId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gXSEVHBwsQWEMbSxZdVRYeA0kJTwFZC1VXAgRZXlANAgRQUVYEHRpXSBNUVlBfBwAFAQlUDw8GVwFUG01XAF8RAWs="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:38:32 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:38:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"system\": {\n                \"accountid\": \"wkMd2g\",\n                \"active\": true,\n                \"auto_bill\": 5,\n                \"billing_status\": \"uptodate\",\n                \"bus_phone\": \"\",\n                \"business_type\": null,\n                \"business_uuid\": null,\n                \"city\": \"\",\n                \"code\": \"\",\n                \"country\": \"Canada\",\n                \"currency_code\": \"USD\",\n                \"date\": \"2019-04-18 09:14:53\",\n                \"discountid\": null,\n                \"dst\": true,\n                \"duration\": 12,\n                \"email\": \"api.freshbooks@gmail.com\",\n                \"fax\": \"\",\n                \"gst_amount\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"heard_about_us_via\": null,\n                \"id\": 4236410,\n                \"info_email\": \"api.freshbooks@gmail.com\",\n                \"ip\": \"62.205.194.4\",\n                \"landing_url\": null,\n                \"masterlock_billing\": true,\n                \"migrated_to_smux_at\": null,\n                \"mob_phone\": \"\",\n                \"modern_system\": true,\n                \"name\": \"Postman Sandbox\",\n                \"num_clients\": null,\n                \"num_staff\": null,\n                \"payment_amount\": {\n                    \"amount\": \"0.00\",\n                    \"code\": \"USD\"\n                },\n                \"payment_frequency\": 1,\n                \"province\": \"\",\n                \"referralid\": \"multibiz\",\n                \"referring_url\": null,\n                \"salutation\": null,\n                \"size_limit\": null,\n                \"split_token\": null,\n                \"street\": \"\",\n                \"street2\": null,\n                \"systemid\": 4236410,\n                \"test_system\": false,\n                \"timezone\": \"UTC\",\n                \"timezoneid\": 14,\n                \"vat_name\": null,\n                \"vat_number\": null\n            }\n        }\n    }\n}"}],"_postman_id":"27870e1f-4196-41cb-b9ea-95716afd3eae"}],"id":"b62d8241-fba7-47b8-800d-f9f759aa33a4","description":"<h2 id=\"general-info\">General Info</h2>\n<p>An Accounting System represents an entity that can send invoices. It is the central point of association between all of a single Administrator of a single Business’ Invoices, Clients, Staff, Expenses, and Reports.</p>\n<p><em>Requires Authorization</em></p>\n<h2 id=\"includes\">Includes</h2>\n<p>There are no includes for Systems.</p>\n<h2 id=\"filters\">Filters</h2>\n<p>There are no filters for systems.</p>\n","event":[{"listen":"prerequest","script":{"id":"6cae7b88-24c9-4852-89d7-cc95356212a1","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9a41d7e5-61ca-42cd-b6f0-6c4fc32e520e","type":"text/javascript","exec":[""]}}],"_postman_id":"b62d8241-fba7-47b8-800d-f9f759aa33a4","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Items and Services","item":[{"name":"Single Item","event":[{"listen":"test","script":{"id":"5e13e3f8-44a3-43d4-8af7-78e4c0293a12","exec":["let jsonData = JSON.parse(responseBody);","pm.environment.set(\"itemId\", jsonData.response.result.item.id);"],"type":"text/javascript"}}],"id":"c7d2edeb-ace3-4fa5-b9fa-58f15cf246b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/items/items/{{itemId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","items","items","{{itemId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"9ad464e5-ea65-4ff2-9c7f-f9ad2dc60276","name":"Single Item w/ added SKU","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/items/items/303664"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNRVNeEVwKFlUPGk4IFAQcAlEAVAhTAlRVBwBZU1sACwdITFMbEw9WBwgGVlVUBQQHBAtTCVoWHlUEVRJUPA=="},{"key":"X-RateLimit-Limit","value":"500"},{"key":"X-RateLimit-Remaining","value":"499"},{"key":"X-RateLimit-Reset","value":"1561052088"},{"key":"Retry-After","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Wed, 20 Jun 2018 17:33:47 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 20 Jun 2019 17:33:47 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17355-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"item\": {\n                \"accounting_systemid\": \"E86Qp\",\n                \"description\": \"AirTV\",\n                \"id\": 303664,\n                \"inventory\": null,\n                \"itemid\": 303664,\n                \"name\": \"1 Month Subscription\",\n                \"qty\": \"0\",\n                \"sku\": null,\n                \"tax1\": 0,\n                \"tax2\": 0,\n                \"unit_cost\": {\n                    \"amount\": \"75.00\",\n                    \"code\": \"CAD\"\n                },\n                \"updated\": \"2019-01-16 11:52:08\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"},{"id":"b084c7b2-6d61-43d8-9f21-e716f7c4b5bd","name":"Single Item","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/items/items/{{itemId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNRVNeEVwKFlUPGk4IFAQcAVULUgFUA1VcAwdXUlUBBANITFMbE1ZUAlVTA1tXW1tSUg0BWgEWHlUEVRJUPA=="},{"key":"X-RateLimit-Limit","value":"500"},{"key":"X-RateLimit-Remaining","value":"499"},{"key":"X-RateLimit-Reset","value":"1561053382"},{"key":"Retry-After","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Wed, 20 Jun 2018 17:55:21 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 20 Jun 2019 17:55:21 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"item\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"description\": \"Just a touring pack\",\n                \"id\": 59724,\n                \"inventory\": \"4\",\n                \"itemid\": 59724,\n                \"name\": \"Alan Touring Pack\",\n                \"qty\": \"10\",\n                \"sku\": \"SDK2919361221\",\n                \"tax1\": 0,\n                \"tax2\": 0,\n                \"unit_cost\": {\n                    \"amount\": \"550.00\",\n                    \"code\": \"USD\"\n                },\n                \"updated\": \"2019-06-20 13:50:24\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"},{"id":"c059de58-deee-4823-a2bc-a7824efbb1ae","name":"Single Item","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/items/items/{{itemId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNRVNeEVwKFlUPGk4IFAQcA1IAWQVYCldcAgZYUVoBCxxJUE4VBA8CBlRXUFoDAFUCBwAAXhoYVFIJSgRs"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 24 Apr 2018 18:18:58 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 24 Apr 2019 18:18:58 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"item\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"description\": \"Just a touring pack\",\n                \"id\": 59726,\n                \"inventory\": \"4\",\n                \"itemid\": 59726,\n                \"name\": \"Touring Pack\",\n                \"qty\": \"10\",\n                \"tax1\": 0,\n                \"tax2\": 0,\n                \"unit_cost\": {\n                    \"amount\": \"550.00\",\n                    \"code\": \"USD\"\n                },\n                \"updated\": \"2019-04-19 08:38:19\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"},{"id":"cc72ef89-0fe3-44a6-9255-581ba6b9fedf","name":"Single Item w/ SKU","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/items/items/{{itemId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNRVNeEVwKFlUPGk4IFAQcAl0IVgdRAFNVBwVXUVMACghITFMbEwEFAAADBVIAUFYGUV1WDFsWHlUEVRJUPA=="},{"key":"X-RateLimit-Limit","value":"500"},{"key":"X-RateLimit-Remaining","value":"499"},{"key":"X-RateLimit-Reset","value":"1561053195"},{"key":"Retry-After","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Wed, 20 Jun 2018 17:52:14 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Age","value":"0"},{"key":"Age","value":"0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 20 Jun 2019 17:52:14 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17369-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"item\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"description\": \"Just a touring pack\",\n                \"id\": 59724,\n                \"inventory\": \"4\",\n                \"itemid\": 59724,\n                \"name\": \"Alan Touring Pack\",\n                \"qty\": \"10\",\n                \"sku\": \"SDK2919361221\",\n                \"tax1\": 0,\n                \"tax2\": 0,\n                \"unit_cost\": {\n                    \"amount\": \"550.00\",\n                    \"code\": \"USD\"\n                },\n                \"updated\": \"2019-06-20 13:50:24\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"c7d2edeb-ace3-4fa5-b9fa-58f15cf246b5"},{"name":"Create Item","event":[{"listen":"test","script":{"id":"120b4c32-ba70-4a26-9394-8001d1d57400","exec":["var jsonData = JSON.parse(responseBody);","pm.environment.set(\"itemId\", jsonData.response.result.item.id);",""],"type":"text/javascript"}}],"id":"d5ee2622-97be-40d7-915e-e75278efe871","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":" {\n\t\"item\": {\n\t\t\"name\": \"Packback\",\n\t\t\"qty\": \"10\",\n\t\t\"inventory\": \"50\",\n\t\t\"unit_cost\": {\n\t\t\t\"amount\": \"550.00\",\n\t\t\t\"code\": \"CAD\"\n\t\t},\n\t\t\"vis_state\": 0,\n\t\t\"description\": \"65L Brack Pack\",\n\t\t\"sku\": \"KS994RUR\"\n\t}\n }"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/items/items","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","items","items"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"9893a20b-1e7c-4d43-acb8-0e238b2fefed","name":"Create Item","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":" {\n \"item\": {\n        \"name\": \"Backpack\",\n        \"qty\": \"20\",\n        \"inventory\": \"55\",\n        \"unit_cost\": {\n          \"amount\": \"750.00\",\n          \"code\": \"CAD\"\n        },\n        \"vis_state\": 0,\n        \"description\": \"Backpack with ferns\"\n      }\n }"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/items/items"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNRVNeEVwKFlUPS0AUCBgCHVQBVQFXB1pSAwZQVFAIBwdIU1cAHRUHXAUGV1ZVUVIAAVxUCAEFEB8DWA1CBG4="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Thu, 19 Apr 2018 12:09:32 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Fri, 19 Apr 2019 12:09:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17357-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"item\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"description\": \"Backpack with ferns\",\n                \"id\": 59704,\n                \"inventory\": \"55\",\n                \"itemid\": 59704,\n                \"name\": \"Backpack\",\n                \"qty\": \"20\",\n                \"tax1\": 0,\n                \"tax2\": 0,\n                \"unit_cost\": {\n                    \"amount\": \"750.00\",\n                    \"code\": \"USD\"\n                },\n                \"updated\": \"2019-04-19 08:09:32\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"d5ee2622-97be-40d7-915e-e75278efe871"},{"name":"List Items","event":[{"listen":"test","script":{"id":"120b4c32-ba70-4a26-9394-8001d1d57400","exec":["var jsonData = JSON.parse(responseBody);","pm.environment.set(\"itemId\", jsonData.response.result.items[5].id);",""],"type":"text/javascript"}}],"id":"c84cbb2f-464a-4576-9a87-ea24f027d573","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/items/items","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","items","items"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"bed7d51d-97c0-4d86-9938-247e6c6050b0","name":"Create Item","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":" {\n \"item\": {\n        \"name\": \"Backpack\",\n        \"qty\": \"20\",\n        \"inventory\": \"55\",\n        \"unit_cost\": {\n          \"amount\": \"750.00\",\n          \"code\": \"CAD\"\n        },\n        \"vis_state\": 0,\n        \"description\": \"Backpack with ferns\"\n      }\n }"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/items/items"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNRVNeEVwKFlUPS0AUCBgCHVQBVQFXB1pSAwZQVFAIBwdIU1cAHRUHXAUGV1ZVUVIAAVxUCAEFEB8DWA1CBG4="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Thu, 19 Apr 2018 12:09:32 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Fri, 19 Apr 2019 12:09:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17357-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"item\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"description\": \"Backpack with ferns\",\n                \"id\": 59704,\n                \"inventory\": \"55\",\n                \"itemid\": 59704,\n                \"name\": \"Backpack\",\n                \"qty\": \"20\",\n                \"tax1\": 0,\n                \"tax2\": 0,\n                \"unit_cost\": {\n                    \"amount\": \"750.00\",\n                    \"code\": \"USD\"\n                },\n                \"updated\": \"2019-04-19 08:09:32\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"c84cbb2f-464a-4576-9a87-ea24f027d573"},{"name":"List Items Filtered by SKU","event":[{"listen":"test","script":{"id":"120b4c32-ba70-4a26-9394-8001d1d57400","exec":["var jsonData = JSON.parse(responseBody);","pm.environment.set(\"itemId\", jsonData.response.result.items[5].id);",""],"type":"text/javascript"}}],"id":"842575b9-3cb3-4df3-b8b7-3b02cd4f7873","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/items/items?search%5Bsku%5D={{sku}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","items","items"],"host":["api","freshbooks","com"],"query":[{"key":"search%5Bsku%5D","value":"{{sku}}"}],"variable":[]}},"response":[],"_postman_id":"842575b9-3cb3-4df3-b8b7-3b02cd4f7873"},{"name":"Update Item","event":[{"listen":"test","script":{"id":"120b4c32-ba70-4a26-9394-8001d1d57400","exec":["var jsonData = JSON.parse(responseBody);","pm.environment.set(\"itemId\", jsonData.response.result.item.itemId);",""],"type":"text/javascript"}}],"id":"27a83790-8cab-49a1-881e-dd0da9907f6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"item\": {\n\t\t\"name\": \"Touring Pack\",\n\t\t\"description\": \"Just a touring pack\",\n\t\t\"inventory\": \"4\"\n\t}\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/items/items/{{itemId}}","description":"<p>Changing the name, description and the inventory level of the current item.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","items","items","{{itemId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"8d204156-1210-474b-81c9-1728ab2c5f08","name":"Create Item","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":" {\n \"item\": {\n        \"name\": \"Backpack\",\n        \"qty\": \"20\",\n        \"inventory\": \"55\",\n        \"unit_cost\": {\n          \"amount\": \"750.00\",\n          \"code\": \"CAD\"\n        },\n        \"vis_state\": 0,\n        \"description\": \"Backpack with ferns\"\n      }\n }"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/items/items"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNRVNeEVwKFlUPS0AUCBgCHVQBVQFXB1pSAwZQVFAIBwdIU1cAHRUHXAUGV1ZVUVIAAVxUCAEFEB8DWA1CBG4="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Thu, 19 Apr 2018 12:09:32 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Fri, 19 Apr 2019 12:09:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17357-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"item\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"description\": \"Backpack with ferns\",\n                \"id\": 59704,\n                \"inventory\": \"55\",\n                \"itemid\": 59704,\n                \"name\": \"Backpack\",\n                \"qty\": \"20\",\n                \"tax1\": 0,\n                \"tax2\": 0,\n                \"unit_cost\": {\n                    \"amount\": \"750.00\",\n                    \"code\": \"USD\"\n                },\n                \"updated\": \"2019-04-19 08:09:32\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"27a83790-8cab-49a1-881e-dd0da9907f6b"},{"name":"Delete Item","event":[{"listen":"test","script":{"id":"120b4c32-ba70-4a26-9394-8001d1d57400","exec":[""],"type":"text/javascript"}}],"id":"9dfc894d-620c-48b7-9162-eda382c3543c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"item\": {\n\t\t\"vis_state\": 1\n\t}\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/items/items/{{itemId}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","items","items","{{itemId}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"82f8db4b-c73a-40a1-b598-2c39eb4be777","name":"Create Item","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":" {\n \"item\": {\n        \"name\": \"Backpack\",\n        \"qty\": \"20\",\n        \"inventory\": \"55\",\n        \"unit_cost\": {\n          \"amount\": \"750.00\",\n          \"code\": \"CAD\"\n        },\n        \"vis_state\": 0,\n        \"description\": \"Backpack with ferns\"\n      }\n }"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/items/items"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gNRVNeEVwKFlUPS0AUCBgCHVQBVQFXB1pSAwZQVFAIBwdIU1cAHRUHXAUGV1ZVUVIAAVxUCAEFEB8DWA1CBG4="},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Thu, 19 Apr 2018 12:09:32 GMT"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Fri, 19 Apr 2019 12:09:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17357-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"result\": {\n            \"item\": {\n                \"accounting_systemid\": \"wkMd2g\",\n                \"description\": \"Backpack with ferns\",\n                \"id\": 59704,\n                \"inventory\": \"55\",\n                \"itemid\": 59704,\n                \"name\": \"Backpack\",\n                \"qty\": \"20\",\n                \"tax1\": 0,\n                \"tax2\": 0,\n                \"unit_cost\": {\n                    \"amount\": \"750.00\",\n                    \"code\": \"USD\"\n                },\n                \"updated\": \"2019-04-19 08:09:32\",\n                \"vis_state\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"9dfc894d-620c-48b7-9162-eda382c3543c"},{"name":"List Taxes","id":"5b598b70-197a-4882-bee2-b0ba4daae6d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountid}}/taxes/taxes","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountid}}","taxes","taxes"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5b598b70-197a-4882-bee2-b0ba4daae6d8"},{"name":"Single Tax","id":"ef9b9bfa-323b-49ac-b400-b20e77815d42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountid}}/taxes/taxes/{{taxid}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountid}}","taxes","taxes","{{taxid}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ef9b9bfa-323b-49ac-b400-b20e77815d42"},{"name":"Single Tax","id":"55b16821-1610-4a8d-9bac-dc68c1fc2e9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountid}}/taxes/taxes/{{taxid}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountid}}","taxes","taxes","{{taxid}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"55b16821-1610-4a8d-9bac-dc68c1fc2e9b"},{"name":"Update Tax","id":"16ce8d01-5973-4ef3-b32b-8a5f3c2e783f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"tax\": {\n        \"name\": \"HST\",\n        \"number\": null,\n        \"amount\": 13\n    }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountid}}/taxes/taxes/{{taxid}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountid}}","taxes","taxes","{{taxid}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"16ce8d01-5973-4ef3-b32b-8a5f3c2e783f"},{"name":"Create Single Tax","id":"bf31ffc3-f114-4bb1-92a7-db8963476d17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"tax\": {\n        \"name\": \"HST\",\n        \"number\": null,\n        \"amount\": 13\n    }\n}"},"url":"https://api.freshbooks.com/accounting/account/{{accountid}}/taxes/taxes","urlObject":{"protocol":"https","path":["accounting","account","{{accountid}}","taxes","taxes"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bf31ffc3-f114-4bb1-92a7-db8963476d17"},{"name":"Create Service","id":"04107446-e044-4cc3-8429-4dfbbbc172c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":" {\n\t\"billable_item\": {\n        \"name\": \"Workingg hard\",\n        \"billable\": true,\n        \"description\": \"Cool dude\",\n        \"tax1\": null,\n        \"tax2\": null, \n        \"unit_cost\": {\n        \t\"amount\": \"50\",\n        \t\"code\": \"CAD\"\n        }\n\t}\n }"},"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/billable_items/billable_items","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","billable_items","billable_items"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"04107446-e044-4cc3-8429-4dfbbbc172c5"},{"name":"List Services","id":"e7aa9ecf-14aa-4d3e-a7f0-15f62406adef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/comments/business/{{businessid}}/services","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["comments","business","{{businessid}}","services"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e7aa9ecf-14aa-4d3e-a7f0-15f62406adef"},{"name":"Single Service","id":"1b251cad-f75b-4bdc-af06-2c0447a33010","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/accounting/account/{{accountId}}/billable_items/{{id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["accounting","account","{{accountId}}","billable_items","{{id}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1b251cad-f75b-4bdc-af06-2c0447a33010"},{"name":"Get a Single Service","id":"56db1327-d1d9-45cc-bab9-3dbe8040f739","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/comments/business/{{businessid}}/service/{{serviceid}}","description":"<p>Retrieves information for a single service ID</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["comments","business","{{businessid}}","service","{{serviceid}}"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"56db1327-d1d9-45cc-bab9-3dbe8040f739"},{"name":"Get a Single Service Rate","id":"d80e3c58-4345-48b3-8a1e-f1e8cad23a2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/comments/business/{{businessid}}/service/{{serviceid}}/rate","description":"<p>Retrieves information for a single service ID</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["comments","business","{{businessid}}","service","{{serviceid}}","rate"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d80e3c58-4345-48b3-8a1e-f1e8cad23a2d"}],"id":"61b33909-2e1a-40e8-ad69-b024c355a0d9","description":"<h2 id=\"general-info\">General Info</h2>\n<p>Items are stored from invoice lines to make invoicing easier in the future.</p>\n","event":[{"listen":"prerequest","script":{"id":"b011d3ff-8112-4d3f-9099-e002c0642a52","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ef004160-e7cb-4c28-a86d-9fe8577cdd16","type":"text/javascript","exec":[""]}}],"_postman_id":"61b33909-2e1a-40e8-ad69-b024c355a0d9","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Developer","item":[{"name":"Create new application","id":"7c6a7136-1fb5-4b84-b70d-14a0b73c5949","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{ \n   \"name\": \"<app_name>\",\n   \"redirect_uri\":\"<app redirect uri>\",\n   \"description\":\"<app descripttion>\",\n   \"website_url\":\"<link to app website>\",\n   \"settings_url\":\"<link to app settings>\",\n   \"logo_public_id\":\"<jwt returned from post https://api.freshbooks.com/uploads/images>\"\n}"},"url":"https://api.freshbooks.com/auth/api/v1/partners/applications","description":"<p>This can help you create a new application on FreshBooks</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["auth","api","v1","partners","applications"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7c6a7136-1fb5-4b84-b70d-14a0b73c5949"},{"name":"Get all applications","event":[{"listen":"test","script":{"id":"b1d9f4fe-91be-4810-be9e-c9044d535f23","exec":[""],"type":"text/javascript"}}],"id":"5044ed11-fecd-4b5d-9e31-be45a6f2e6af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/auth/api/v1/partners/applications","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["auth","api","v1","partners","applications"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"757905dc-b9ca-4e4a-8ae5-4a6bb5928e95","name":"Identity Info Call","originalRequest":{"method":"GET","header":[],"url":"https://api.freshbooks.com/auth/api/v1/users/me"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"ETag","value":"W/\"b2adeb13ce0a58bd5a71f53ad9f08221\""},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"014650ef-7287-413d-b939-df524aca9e7c"},{"key":"X-Runtime","value":"0.218088"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABVlVSBAUHUFQTGhEhCQ0WQg1UDl1KG39aAV0NVBZSEAEZZQAFCBdGQwETERlcUkgXWVlETBUOF0g9UQZdVkBbRwxcEhNNA0xUGgdPVFIBAQNVUlQAAAZXVgEAAk5LUk4SVA1XWgoMVAdUAQUJWQVVUhRq"},{"key":"X-RateLimit-Limit","value":"20"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"X-RateLimit-Reset","value":"1557343937"},{"key":"Retry-After","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Expires","value":"Tue, 08 May 2018 19:31:17 GMT"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Via","value":"1.1 varnish"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 08 May 2019 19:31:17 GMT"},{"key":"Age","value":"0"},{"key":"Connection","value":"keep-alive"},{"key":"X-Served-By","value":"cache-mdw17330-MDW"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Country","value":"CA"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"id\": 37256,\n        \"profile\": {\n            \"setup_complete\": true,\n            \"first_name\": \"Marshall\",\n            \"last_name\": \"Johnston\",\n            \"phone_number\": null,\n            \"address\": null,\n            \"professions\": [\n                {\n                    \"id\": 58182,\n                    \"business_id\": null,\n                    \"title\": null,\n                    \"company\": \"Executive Recruiter\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 67186,\n                    \"business_id\": null,\n                    \"title\": \"Other Accounting and Finance\",\n                    \"company\": \"Executive Recruiter\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 678903,\n                    \"business_id\": null,\n                    \"title\": \"House Cleaning\",\n                    \"company\": \"Executive Recruiter\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 678904,\n                    \"business_id\": null,\n                    \"title\": \"Window Cleaning\",\n                    \"company\": \"Executive Recruiter\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 678905,\n                    \"business_id\": null,\n                    \"title\": \"Cleaning Services\",\n                    \"company\": \"Executive Recruiter\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 702335,\n                    \"business_id\": null,\n                    \"title\": \"Software as a Service\",\n                    \"company\": \"Executive Recruiter\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 702775,\n                    \"business_id\": null,\n                    \"title\": \"Construction\",\n                    \"company\": \"Executive Recruiter\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 770535,\n                    \"business_id\": null,\n                    \"title\": \"Restaurant\",\n                    \"company\": \"Executive Recruiter\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 818391,\n                    \"business_id\": null,\n                    \"title\": \"Hospitality\",\n                    \"company\": \"Executive Recruiter\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 893211,\n                    \"business_id\": null,\n                    \"title\": \"Catering Services\",\n                    \"company\": \"Executive Recruiter\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 902347,\n                    \"business_id\": null,\n                    \"title\": \"Digital Marketing Services\",\n                    \"company\": \"Executive Recruiter\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 1068601,\n                    \"business_id\": 813619,\n                    \"title\": \"Catering Services\",\n                    \"company\": \"Encore Catering\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 1086673,\n                    \"business_id\": 825065,\n                    \"title\": \"Event Management\",\n                    \"company\": \"Some Awards\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 1134147,\n                    \"business_id\": 855397,\n                    \"title\": \"Catering Services\",\n                    \"company\": \"Barbarido's\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 1200673,\n                    \"business_id\": 909393,\n                    \"title\": \"Accommodation\",\n                    \"company\": \"Marshall's Demo\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 1250531,\n                    \"business_id\": 954179,\n                    \"title\": \"Management Consulting\",\n                    \"company\": \"Baltimore FD \",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 1582769,\n                    \"business_id\": 1246821,\n                    \"title\": \"Health Care\",\n                    \"company\": \"Tanzania\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 1587535,\n                    \"business_id\": 1250903,\n                    \"title\": \"Catering Services\",\n                    \"company\": \"Bebe Catering\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 1658015,\n                    \"business_id\": 1313109,\n                    \"title\": \"Consulting\",\n                    \"company\": \"Field Drillers Inc. \",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 2052070,\n                    \"business_id\": 1654536,\n                    \"title\": \"Auto Glass Installation\",\n                    \"company\": \"Paul's Auto Body\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 2236630,\n                    \"business_id\": 1803032,\n                    \"title\": \"Pool Services\",\n                    \"company\": \"Trees\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 2427152,\n                    \"business_id\": 1962882,\n                    \"title\": \"Consulting\",\n                    \"company\": \"Marshall Johnston\",\n                    \"designation\": null\n                },\n                {\n                    \"id\": 2454866,\n                    \"business_id\": 1986556,\n                    \"title\": \"ABA Therapy\",\n                    \"company\": \"Caroline's Corral\",\n                    \"designation\": null\n                }\n            ]\n        },\n        \"first_name\": \"Marshall\",\n        \"last_name\": \"Johnston\",\n        \"email\": \"api.freshbooks@gmail.com\",\n        \"language\": \"en\",\n        \"confirmed_at\": \"2016-01-21T18:18:54Z\",\n        \"created_at\": \"2016-01-21T18:18:38Z\",\n        \"unconfirmed_email\": null,\n        \"setup_complete\": true,\n        \"phone_numbers\": [\n            {\n                \"title\": \"\",\n                \"phone_number\": null\n            }\n        ],\n        \"addresses\": [\n            null\n        ],\n        \"profession\": {\n            \"id\": 58182,\n            \"business_id\": null,\n            \"title\": null,\n            \"company\": \"Executive Recruiter\",\n            \"designation\": null\n        },\n        \"links\": {\n            \"me\": \"/service/auth/api/v1/users?id=37256\",\n            \"roles\": \"/service/auth/api/v1/users/role/37256\"\n        },\n        \"permissions\": {\n            \"rAlTo\": {\n                \"advanced_accounting.access\": true,\n                \"advanced_payments.access\": true,\n                \"auto_bank_import.access\": true,\n                \"autobill.limit\": -1,\n                \"bank_import.access\": true,\n                \"client.limit\": 1000,\n                \"document.limit\": 2,\n                \"edit_subject_line.access\": true,\n                \"late_fee.access\": true,\n                \"late_reminder.access\": true,\n                \"payments_fees_report.access\": true,\n                \"recurring_revenue_report.access\": true,\n                \"remove_branding.access\": true,\n                \"staff.limit\": 2,\n                \"business_accountant.limit\": 10,\n                \"onboarding_checklist.access\": true,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true\n            },\n            \"E86QZ\": {\n                \"advanced_accounting.access\": true,\n                \"advanced_payments.access\": true,\n                \"auto_bank_import.access\": true,\n                \"autobill.limit\": -1,\n                \"bank_import.access\": true,\n                \"business_accountant.limit\": 10,\n                \"client.limit\": 1000,\n                \"document.limit\": 2,\n                \"edit_subject_line.access\": true,\n                \"late_fee.access\": true,\n                \"late_reminder.access\": true,\n                \"payments_fees_report.access\": true,\n                \"quickbooks_integration.access\": true,\n                \"recurring_revenue_report.access\": true,\n                \"remove_branding.access\": true,\n                \"staff.limit\": 12,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"rich_proposals.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"attachments.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"retainers.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true,\n                \"inline_expense_edit.access\": true,\n                \"helios_virtual_terminal_advertising.beta.access\": true\n            },\n            \"RmpKp\": {\n                \"client.limit\": -1,\n                \"staff.limit\": -1,\n                \"attachments.access\": true,\n                \"advanced_accounting.access\": true,\n                \"business_accountant.limit\": 10,\n                \"proposals_candidate.access\": true,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"rich_proposals.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true,\n                \"inline_expense_edit.access\": true,\n                \"helios_virtual_terminal_advertising.beta.access\": true\n            },\n            \"J9hAK\": {\n                \"advanced_accounting.access\": true,\n                \"auto_bank_import.access\": true,\n                \"autobill.limit\": -1,\n                \"bank_import.access\": true,\n                \"client.limit\": 1000,\n                \"document.limit\": 2,\n                \"edit_subject_line.access\": true,\n                \"late_fee.access\": true,\n                \"late_reminder.access\": true,\n                \"recurring_revenue_report.access\": true,\n                \"remove_branding.access\": true,\n                \"business_accountant.limit\": 10,\n                \"onboarding_checklist.access\": true,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true,\n                \"helios_virtual_terminal_advertising.beta.access\": true\n            },\n            \"gr1ndR\": {\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"advanced_accounting.access\": true,\n                \"business_accountant.limit\": 10,\n                \"proposals_candidate.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"esignatures.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true\n            },\n            \"apwodA\": {\n                \"advanced_accounting.access\": true,\n                \"advanced_payments.access\": true,\n                \"auto_bank_import.access\": true,\n                \"autobill.limit\": -1,\n                \"bank_import.access\": true,\n                \"client.limit\": 4000,\n                \"document.limit\": 2,\n                \"edit_subject_line.access\": true,\n                \"late_fee.access\": true,\n                \"late_reminder.access\": true,\n                \"payments_fees_report.access\": true,\n                \"quickbooks_integration.access\": true,\n                \"recurring_revenue_report.access\": true,\n                \"remove_branding.access\": true,\n                \"staff.limit\": 2,\n                \"business_accountant.limit\": 10,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"rich_proposals.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"esignatures.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"helios_sync_throttle.beta.access\": true\n            },\n            \"XgGiT\": {\n                \"client.limit\": -1,\n                \"staff.limit\": -1,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true\n            },\n            \"7lwxR\": {\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"advanced_accounting.access\": true,\n                \"business_accountant.limit\": 10,\n                \"proposals_candidate.access\": true,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true\n            },\n            \"4WMVg\": {\n                \"client.limit\": -1,\n                \"late_fee.access\": true,\n                \"late_reminder.access\": true,\n                \"staff.limit\": -1,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true,\n                \"helios_virtual_terminal_advertising.beta.access\": true\n            },\n            \"x34yX\": {\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true\n            },\n            \"e1rYq\": {\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true\n            },\n            \"3ErwB\": {\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true\n            },\n            \"8NppA\": {\n                \"advanced_accounting.access\": true,\n                \"advanced_payments.access\": true,\n                \"auto_bank_import.access\": true,\n                \"autobill.limit\": -1,\n                \"bank_import.access\": true,\n                \"business_accountant.limit\": 10,\n                \"client.limit\": 1000,\n                \"document.limit\": 2,\n                \"edit_subject_line.access\": true,\n                \"late_fee.access\": true,\n                \"late_reminder.access\": true,\n                \"payments_fees_report.access\": true,\n                \"recurring_revenue_report.access\": true,\n                \"remove_branding.access\": true,\n                \"staff.limit\": 2,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"rich_proposals.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true,\n                \"inline_expense_edit.access\": true,\n                \"helios_virtual_terminal_advertising.beta.access\": true\n            },\n            \"j1412\": {\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"esignatures.access\": true\n            },\n            \"BRAVo\": {\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"esignatures.access\": true,\n                \"auto_bank_import.access\": true\n            },\n            \"M1oaR\": {\n                \"client.limit\": -1,\n                \"late_fee.access\": true,\n                \"late_reminder.access\": true,\n                \"staff.limit\": -1,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"esignatures.access\": true,\n                \"auto_bank_import.access\": true\n            },\n            \"E4MaY\": {\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"esignatures.access\": true,\n                \"auto_bank_import.access\": true\n            },\n            \"M1GeK\": {\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"esignatures.access\": true,\n                \"auto_bank_import.access\": true\n            },\n            \"7Po26\": {\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"advanced_accounting.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"esignatures.access\": true,\n                \"auto_bank_import.access\": true\n            },\n            \"ZaZdo\": {\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"advanced_accounting.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"esignatures.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"helios_sync_throttle.beta.access\": true\n            },\n            \"pPLMZ\": {\n                \"advanced_accounting.access\": true,\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"business_accountant.limit\": 10,\n                \"proposals_candidate.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"esignatures.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true\n            },\n            \"EeCnZ\": {\n                \"advanced_accounting.access\": true,\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"esignatures.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true\n            },\n            \"pe4MW\": {\n                \"advanced_accounting.access\": true,\n                \"attachments.access\": true,\n                \"client.limit\": -1,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"esignatures.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true\n            },\n            \"oN6yL\": {\n                \"advanced_accounting.access\": true,\n                \"advanced_payments.access\": true,\n                \"auto_bank_import.access\": true,\n                \"autobill.limit\": -1,\n                \"bank_import.access\": true,\n                \"client.limit\": 1000,\n                \"document.limit\": 2,\n                \"edit_subject_line.access\": true,\n                \"late_fee.access\": true,\n                \"late_reminder.access\": true,\n                \"remove_branding.access\": true,\n                \"staff.limit\": 3,\n                \"business_accountant.limit\": 10,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"rich_proposals.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true,\n                \"inline_expense_edit.access\": true,\n                \"helios_virtual_terminal_advertising.beta.access\": true\n            },\n            \"dowO0g\": {\n                \"advanced_accounting.access\": true,\n                \"advanced_payments.access\": true,\n                \"auto_bank_import.access\": true,\n                \"autobill.limit\": -1,\n                \"bank_import.access\": true,\n                \"business_accountant.limit\": 10,\n                \"client.limit\": 1000,\n                \"document.limit\": 2,\n                \"edit_subject_line.access\": true,\n                \"late_fee.access\": true,\n                \"late_reminder.access\": true,\n                \"payments_fees_report.access\": true,\n                \"recurring_revenue_report.access\": true,\n                \"remove_branding.access\": true,\n                \"staff.limit\": 2,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"proposals_candidate.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true,\n                \"inline_expense_edit.access\": true,\n                \"helios_virtual_terminal_advertising.beta.access\": true\n            },\n            \"yA0R2P\": {\n                \"advanced_accounting.access\": true,\n                \"attachments.access\": true,\n                \"business_accountant.limit\": 10,\n                \"client.limit\": -1,\n                \"proposals_candidate.access\": true,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true\n            },\n            \"LJZ1p3\": {\n                \"advanced_accounting.access\": true,\n                \"attachments.access\": true,\n                \"business_accountant.limit\": 10,\n                \"client.limit\": -1,\n                \"proposals_candidate.access\": true,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true,\n                \"inline_expense_edit.access\": true,\n                \"helios_virtual_terminal_advertising.beta.access\": true\n            },\n            \"wkMd2g\": {\n                \"advanced_accounting.access\": true,\n                \"attachments.access\": true,\n                \"business_accountant.limit\": 10,\n                \"client.limit\": -1,\n                \"proposals_candidate.access\": true,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true,\n                \"inline_expense_edit.access\": true,\n                \"helios_virtual_terminal_advertising.beta.access\": true\n            },\n            \"3x42x2\": {\n                \"advanced_accounting.access\": true,\n                \"attachments.access\": true,\n                \"business_accountant.limit\": 10,\n                \"client.limit\": -1,\n                \"proposals_candidate.access\": true,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true,\n                \"inline_expense_edit.access\": true,\n                \"helios_virtual_terminal_advertising.beta.access\": true\n            },\n            \"lWn0vG\": {\n                \"advanced_accounting.access\": true,\n                \"attachments.access\": true,\n                \"business_accountant.limit\": 10,\n                \"client.limit\": -1,\n                \"proposals_candidate.access\": true,\n                \"rich_proposals.access\": true,\n                \"staff.limit\": -1,\n                \"BetaHeliosAsyncExpenses.access\": true,\n                \"beta_mobile_create_expense_subcategory.access\": true,\n                \"ios_beta_zendesk_widget.access\": true,\n                \"mobile_receipt_rebilling.access\": true,\n                \"helios_pushnotifications.beta.access\": true,\n                \"ios_beta_payment_schedules.access\": true,\n                \"helios_rebill_time.access\": true,\n                \"esignatures.access\": true,\n                \"helios_dashboard.access\": true,\n                \"helios_late_fee_reminder.beta.access\": true,\n                \"helios_bulk_actions_invoices.beta.access\": true,\n                \"auto_bank_import.access\": true,\n                \"helios_virtual_terminal.beta.access\": true,\n                \"helios_expense_rebilling.beta.access\": true,\n                \"helios_company_taxes.beta.access\": true,\n                \"helios_invoice_archive.beta.access\": true,\n                \"accountant_invite.access\": true,\n                \"helios_sync_throttle.beta.access\": true,\n                \"BankReconciliation.access\": true,\n                \"helios_push_resource_to_use_execute.beta.access\": true,\n                \"new_time_tracking.access\": true,\n                \"bank_rec_smart_match.access\": true,\n                \"balance_sheet.access\": true,\n                \"invoice_v2_search.access\": true,\n                \"import_items_csv.access\": true,\n                \"export_clients_csv.access\": true,\n                \"helios_virtual_terminal_tutorial.beta.access\": true,\n                \"helios_virtual_terminal_advertising.beta.access\": true\n            }\n        },\n        \"groups\": [\n            {\n                \"id\": 1967,\n                \"group_id\": 633,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 1968,\n                \"group_id\": 634,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 193155,\n                \"group_id\": 78460,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 966552,\n                \"group_id\": 56153,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 36312,\n                \"active\": true\n            },\n            {\n                \"id\": 1543573,\n                \"group_id\": 792990,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 36312,\n                \"active\": true\n            },\n            {\n                \"id\": 1918970,\n                \"group_id\": 1127872,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2114592,\n                \"group_id\": 1308603,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2141881,\n                \"group_id\": 1332745,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2141913,\n                \"group_id\": 1332775,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2156423,\n                \"group_id\": 1346356,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2156547,\n                \"group_id\": 1346480,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2157276,\n                \"group_id\": 1347190,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2168935,\n                \"group_id\": 1358272,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2192234,\n                \"group_id\": 1380180,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2192248,\n                \"group_id\": 1380191,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2192266,\n                \"group_id\": 1380195,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2192463,\n                \"group_id\": 1380246,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2222920,\n                \"group_id\": 1407623,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 497510,\n                \"active\": true\n            },\n            {\n                \"id\": 2234009,\n                \"group_id\": 1417581,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2260191,\n                \"group_id\": 1441554,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 514480,\n                \"active\": true\n            },\n            {\n                \"id\": 2262129,\n                \"group_id\": 1443426,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 514821,\n                \"active\": true\n            },\n            {\n                \"id\": 2262144,\n                \"group_id\": 1443440,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 514821,\n                \"active\": true\n            },\n            {\n                \"id\": 2262150,\n                \"group_id\": 1443446,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 514821,\n                \"active\": true\n            },\n            {\n                \"id\": 2274722,\n                \"group_id\": 1454635,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2506133,\n                \"group_id\": 1657416,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2542007,\n                \"group_id\": 1216849,\n                \"role\": \"business_partner\",\n                \"identity_id\": 37256,\n                \"business_id\": 416850,\n                \"active\": true\n            },\n            {\n                \"id\": 2542009,\n                \"group_id\": 1689219,\n                \"role\": \"business_partner\",\n                \"identity_id\": 37256,\n                \"business_id\": 416850,\n                \"active\": true\n            },\n            {\n                \"id\": 2629614,\n                \"group_id\": 1764389,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 571231,\n                \"active\": true\n            },\n            {\n                \"id\": 2721471,\n                \"group_id\": 1841410,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 595416,\n                \"active\": true\n            },\n            {\n                \"id\": 2762225,\n                \"group_id\": 1873770,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 608077,\n                \"active\": true\n            },\n            {\n                \"id\": 2860148,\n                \"group_id\": 1240045,\n                \"role\": \"business_employee\",\n                \"identity_id\": 37256,\n                \"business_id\": 425898,\n                \"active\": true\n            },\n            {\n                \"id\": 2885859,\n                \"group_id\": 1984013,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2885865,\n                \"group_id\": 1984018,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 2936109,\n                \"group_id\": 2029459,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 425898,\n                \"active\": true\n            },\n            {\n                \"id\": 2987810,\n                \"group_id\": 2078022,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3045577,\n                \"group_id\": 2132385,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 677357,\n                \"active\": true\n            },\n            {\n                \"id\": 3045917,\n                \"group_id\": 2132721,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 677357,\n                \"active\": true\n            },\n            {\n                \"id\": 3090170,\n                \"group_id\": 2174786,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 685582,\n                \"active\": true\n            },\n            {\n                \"id\": 3090389,\n                \"group_id\": 2078064,\n                \"role\": \"business_partner\",\n                \"identity_id\": 37256,\n                \"business_id\": 661907,\n                \"active\": true\n            },\n            {\n                \"id\": 3090519,\n                \"group_id\": 2175115,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 685582,\n                \"active\": true\n            },\n            {\n                \"id\": 3126739,\n                \"group_id\": 2208000,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3296645,\n                \"group_id\": 2356217,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 425898,\n                \"active\": true\n            },\n            {\n                \"id\": 3302553,\n                \"group_id\": 2361523,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 661907,\n                \"active\": true\n            },\n            {\n                \"id\": 3317919,\n                \"group_id\": 2375849,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 425898,\n                \"active\": true\n            },\n            {\n                \"id\": 3379781,\n                \"group_id\": 2429471,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 425898,\n                \"active\": true\n            },\n            {\n                \"id\": 3452251,\n                \"group_id\": 2482343,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3497857,\n                \"group_id\": 2522977,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 813619,\n                \"active\": true\n            },\n            {\n                \"id\": 3511533,\n                \"group_id\": 2512601,\n                \"role\": \"business_partner\",\n                \"identity_id\": 37256,\n                \"business_id\": 808743,\n                \"active\": true\n            },\n            {\n                \"id\": 3511535,\n                \"group_id\": 2512661,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 808743,\n                \"active\": true\n            },\n            {\n                \"id\": 3521561,\n                \"group_id\": 2543985,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 825065,\n                \"active\": true\n            },\n            {\n                \"id\": 3521587,\n                \"group_id\": 2544005,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 825065,\n                \"active\": true\n            },\n            {\n                \"id\": 3549881,\n                \"group_id\": 2563183,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3558265,\n                \"group_id\": 2567483,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3600089,\n                \"group_id\": 2603609,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 425898,\n                \"active\": true\n            },\n            {\n                \"id\": 3600127,\n                \"group_id\": 2603647,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 855397,\n                \"active\": true\n            },\n            {\n                \"id\": 3663479,\n                \"group_id\": 2658605,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 425898,\n                \"active\": true\n            },\n            {\n                \"id\": 3666257,\n                \"group_id\": 2660359,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3673357,\n                \"group_id\": 2665759,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 661907,\n                \"active\": true\n            },\n            {\n                \"id\": 3713221,\n                \"group_id\": 2695983,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3713231,\n                \"group_id\": 2695991,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3713285,\n                \"group_id\": 2696043,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3767059,\n                \"group_id\": 2724855,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3767085,\n                \"group_id\": 2724881,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3767125,\n                \"group_id\": 2724919,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 909393,\n                \"active\": true\n            },\n            {\n                \"id\": 3786939,\n                \"group_id\": 2739387,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3795701,\n                \"group_id\": 2746983,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 3843903,\n                \"group_id\": 2788307,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 425898,\n                \"active\": true\n            },\n            {\n                \"id\": 3873747,\n                \"group_id\": 2814103,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 954179,\n                \"active\": true\n            },\n            {\n                \"id\": 3882989,\n                \"group_id\": 2822315,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 954179,\n                \"active\": true\n            },\n            {\n                \"id\": 3883021,\n                \"group_id\": 2822343,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 954179,\n                \"active\": true\n            },\n            {\n                \"id\": 3968689,\n                \"group_id\": 2895155,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 452001,\n                \"active\": true\n            },\n            {\n                \"id\": 3968751,\n                \"group_id\": 2895215,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 452001,\n                \"active\": true\n            },\n            {\n                \"id\": 4090165,\n                \"group_id\": 3001003,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 4237723,\n                \"group_id\": 3063119,\n                \"role\": \"business_employee\",\n                \"identity_id\": 37256,\n                \"business_id\": 1057557,\n                \"active\": true\n            },\n            {\n                \"id\": 4237725,\n                \"group_id\": 3100077,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 1057557,\n                \"active\": true\n            },\n            {\n                \"id\": 4247387,\n                \"group_id\": 3132913,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 1057557,\n                \"active\": true\n            },\n            {\n                \"id\": 4294517,\n                \"group_id\": 3172349,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 4301745,\n                \"group_id\": 3148707,\n                \"role\": \"business_partner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1099865,\n                \"active\": true\n            },\n            {\n                \"id\": 4338615,\n                \"group_id\": 3208833,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 4351319,\n                \"group_id\": 3219007,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 1057557,\n                \"active\": true\n            },\n            {\n                \"id\": 4452935,\n                \"group_id\": 3303489,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 4595775,\n                \"group_id\": 3425997,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1246821,\n                \"active\": true\n            },\n            {\n                \"id\": 4595785,\n                \"group_id\": 3426007,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1246821,\n                \"active\": true\n            },\n            {\n                \"id\": 4595793,\n                \"group_id\": 3426015,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1246821,\n                \"active\": true\n            },\n            {\n                \"id\": 4608649,\n                \"group_id\": 3436901,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1250903,\n                \"active\": true\n            },\n            {\n                \"id\": 4777839,\n                \"group_id\": 3583639,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 1057557,\n                \"active\": true\n            },\n            {\n                \"id\": 4808823,\n                \"group_id\": 3610711,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1313109,\n                \"active\": true\n            },\n            {\n                \"id\": 4808867,\n                \"group_id\": 3610749,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1313109,\n                \"active\": true\n            },\n            {\n                \"id\": 4808879,\n                \"group_id\": 3610757,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1313109,\n                \"active\": true\n            },\n            {\n                \"id\": 4952689,\n                \"group_id\": 3735237,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 5075911,\n                \"group_id\": 3840605,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 5644650,\n                \"group_id\": 4306410,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1654536,\n                \"active\": true\n            },\n            {\n                \"id\": 5846162,\n                \"group_id\": 4474476,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 5857762,\n                \"group_id\": 4484876,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 5865014,\n                \"group_id\": 4489970,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 5893762,\n                \"group_id\": 4515298,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 6029562,\n                \"group_id\": 4625244,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1803032,\n                \"active\": true\n            },\n            {\n                \"id\": 6094496,\n                \"group_id\": 4679496,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 6095326,\n                \"group_id\": 4680186,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 6133242,\n                \"group_id\": 4707850,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 6137044,\n                \"group_id\": 4710934,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 6197200,\n                \"group_id\": 4760726,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 6270530,\n                \"group_id\": 4811212,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 6386150,\n                \"group_id\": 4895364,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 6439728,\n                \"group_id\": 4937264,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1962882,\n                \"active\": true\n            },\n            {\n                \"id\": 6446238,\n                \"group_id\": 4942664,\n                \"role\": \"business_partner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1966214,\n                \"active\": true\n            },\n            {\n                \"id\": 6456062,\n                \"group_id\": 4951004,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1966214,\n                \"active\": true\n            },\n            {\n                \"id\": 6456064,\n                \"group_id\": 4951006,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1966214,\n                \"active\": true\n            },\n            {\n                \"id\": 6456070,\n                \"group_id\": 4951012,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1966214,\n                \"active\": true\n            },\n            {\n                \"id\": 6456078,\n                \"group_id\": 4951020,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1966214,\n                \"active\": true\n            },\n            {\n                \"id\": 6487858,\n                \"group_id\": 4977548,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1986556,\n                \"active\": true\n            },\n            {\n                \"id\": 6487912,\n                \"group_id\": 4977602,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1986590,\n                \"active\": true\n            },\n            {\n                \"id\": 6488028,\n                \"group_id\": 4977692,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1986590,\n                \"active\": true\n            },\n            {\n                \"id\": 6488068,\n                \"group_id\": 4977720,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1986590,\n                \"active\": true\n            },\n            {\n                \"id\": 6488090,\n                \"group_id\": 4977738,\n                \"role\": \"owner\",\n                \"identity_id\": 37256,\n                \"business_id\": 1966214,\n                \"active\": true\n            },\n            {\n                \"id\": 6538632,\n                \"group_id\": 5016490,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            },\n            {\n                \"id\": 6539348,\n                \"group_id\": 5016820,\n                \"role\": \"manager\",\n                \"identity_id\": 37256,\n                \"business_id\": 27,\n                \"active\": true\n            }\n        ],\n        \"subscription_statuses\": {\n            \"rALYo\": \"active\",\n            \"E86Qp\": \"active\",\n            \"RnPKp\": \"active\",\n            \"J7nAK\": \"active\",\n            \"gjndR\": \"active\",\n            \"apw1A\": \"active\",\n            \"0XaOw\": \"cancelled\",\n            \"7lwxr\": \"cancelled\",\n            \"4VMVg\": \"active\",\n            \"x33xX\": \"cancelled\",\n            \"e1yRq\": \"cancelled\",\n            \"3eRwB\": \"cancelled\",\n            \"8nPPA\": \"active\",\n            \"j1322\": \"cancelled\",\n            \"B3AVo\": \"trial_expired\",\n            \"M1OaR\": \"cancelled\",\n            \"E3MAY\": \"cancelled\",\n            \"M1GeK\": \"cancelled\",\n            \"7PO26\": \"cancelled\",\n            \"ZAZdo\": \"cancelled\",\n            \"0PJMZ\": \"active_trial\",\n            \"Ee0nZ\": \"cancelled\",\n            \"pe6MW\": \"cancelled\",\n            \"oM6yL\": \"active\",\n            \"dowQ0g\": \"active\",\n            \"yA0R2P\": \"cancelled\",\n            \"LJZ1p4\": \"active_trial\",\n            \"wkMd2g\": \"active_trial\",\n            \"3x62x2\": \"active_trial\",\n            \"lwy0vG\": \"active_trial\"\n        },\n        \"integrations\": {},\n        \"business_memberships\": [\n            {\n                \"id\": 1967,\n                \"role\": \"owner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiIyMTAxMTkzIiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.g2bdKjluvezQKSYQ7uUZJu7Gjt21YImy5VYd3zshGsA\",\n                \"business\": {\n                    \"id\": 27,\n                    \"name\": \"Coconut Marketing\",\n                    \"account_id\": \"E86Qp\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 2253622,\n                        \"street\": \"15 N Echo Ave.\",\n                        \"city\": \"Toronto\",\n                        \"province\": \"Ontario\",\n                        \"country\": \"Canada\",\n                        \"postal_code\": \"92840\"\n                    },\n                    \"phone_number\": {\n                        \"id\": 76482,\n                        \"phone_number\": \"416-436-8583\"\n                    },\n                    \"business_clients\": [\n                        {\n                            \"id\": 27619,\n                            \"business_id\": 27,\n                            \"account_id\": \"owGZ6\",\n                            \"userid\": 316723,\n                            \"client_business\": {\n                                \"business_id\": 27\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 20019,\n                                \"account_id\": \"owGZ6\"\n                            }\n                        },\n                        {\n                            \"id\": 3839,\n                            \"business_id\": 27,\n                            \"account_id\": \"Ex8B1\",\n                            \"userid\": 270493,\n                            \"client_business\": {\n                                \"business_id\": 27\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 20109,\n                                \"account_id\": \"Ex8B1\"\n                            }\n                        },\n                        {\n                            \"id\": 3840,\n                            \"business_id\": 27,\n                            \"account_id\": \"kyRVK\",\n                            \"userid\": 23360,\n                            \"client_business\": {\n                                \"business_id\": 27\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 47224,\n                                \"account_id\": \"kyRVK\"\n                            }\n                        }\n                    ]\n                }\n            },\n            {\n                \"id\": 966552,\n                \"role\": \"manager\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": null,\n                \"business\": {\n                    \"id\": 36312,\n                    \"name\": \"Matthew's Sticker Stadium\",\n                    \"account_id\": \"RnPKp\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 51679,\n                        \"street\": \"1655 Dupont Street\",\n                        \"city\": \"Toronto\",\n                        \"province\": \"Ontario\",\n                        \"country\": \"Canada\",\n                        \"postal_code\": \"M5R0B5\"\n                    },\n                    \"phone_number\": {\n                        \"id\": 161510,\n                        \"phone_number\": \"1-866-303-4114\"\n                    },\n                    \"business_clients\": []\n                }\n            },\n            {\n                \"id\": 2262129,\n                \"role\": \"owner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiIzMDkxNDY4IiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.WsMUqte6GLdp3LT5q5ECquJdB77NM_Zg8YVRuAo966Y\",\n                \"business\": {\n                    \"id\": 514821,\n                    \"name\": \"Coconut Advertising - Hubspot\",\n                    \"account_id\": \"4VMVg\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 2407852,\n                        \"street\": \"\",\n                        \"city\": \"\",\n                        \"province\": \"\",\n                        \"country\": \"Canada\",\n                        \"postal_code\": \"\"\n                    },\n                    \"phone_number\": null,\n                    \"business_clients\": []\n                }\n            },\n            {\n                \"id\": 2542007,\n                \"role\": \"business_partner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiIzMDA2OTc1IiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.7_iwHndI39jj9xLX01HsFQ2RgvTbyQFa6iQXuXrKqzc\",\n                \"business\": {\n                    \"id\": 416850,\n                    \"name\": \"Marshall Johnston\",\n                    \"account_id\": \"gjndR\",\n                    \"date_format\": \"dd/mm/yyyy\",\n                    \"address\": {\n                        \"id\": 693054,\n                        \"street\": \"1655 Dupont Street\",\n                        \"city\": \"Toronto\",\n                        \"province\": \"Ontario\",\n                        \"country\": \"Canada\",\n                        \"postal_code\": \"M5P2X8\"\n                    },\n                    \"phone_number\": {\n                        \"id\": 146034,\n                        \"phone_number\": \"866-734-9224\"\n                    },\n                    \"business_clients\": [\n                        {\n                            \"id\": 117202,\n                            \"business_id\": 416850,\n                            \"account_id\": \"apw1A\",\n                            \"userid\": 229211,\n                            \"client_business\": {\n                                \"business_id\": 416850\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 425898,\n                                \"account_id\": \"apw1A\"\n                            }\n                        },\n                        {\n                            \"id\": 114674,\n                            \"business_id\": 416850,\n                            \"account_id\": \"8nPPA\",\n                            \"userid\": 20720,\n                            \"client_business\": {\n                                \"business_id\": 416850\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 677357,\n                                \"account_id\": \"8nPPA\"\n                            }\n                        },\n                        {\n                            \"id\": 285383,\n                            \"business_id\": 416850,\n                            \"account_id\": \"peaNk\",\n                            \"userid\": 2397,\n                            \"client_business\": {\n                                \"business_id\": 416850\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 1280095,\n                                \"account_id\": \"peaNk\"\n                            }\n                        }\n                    ]\n                }\n            },\n            {\n                \"id\": 2860148,\n                \"role\": \"business_employee\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": null,\n                \"business\": {\n                    \"id\": 425898,\n                    \"name\": \"FreshBooks\",\n                    \"account_id\": \"apw1A\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 685202,\n                        \"street\": \"1655 Dupont Street Suite 250\",\n                        \"city\": \"Toronto\",\n                        \"province\": \"Ontario\",\n                        \"country\": \"Canada\",\n                        \"postal_code\": \"M6P 3T1\"\n                    },\n                    \"phone_number\": {\n                        \"id\": 149414,\n                        \"phone_number\": \"1-888-705-1295\"\n                    },\n                    \"business_clients\": [\n                        {\n                            \"id\": 108865,\n                            \"business_id\": 425898,\n                            \"account_id\": \"a1Y0k\",\n                            \"userid\": 1515,\n                            \"client_business\": {\n                                \"business_id\": 425898\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 647222,\n                                \"account_id\": \"a1Y0k\"\n                            }\n                        },\n                        {\n                            \"id\": 131449,\n                            \"business_id\": 425898,\n                            \"account_id\": \"kqxBE\",\n                            \"userid\": 82835,\n                            \"client_business\": {\n                                \"business_id\": 425898\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 702119,\n                                \"account_id\": \"kqxBE\"\n                            }\n                        },\n                        {\n                            \"id\": 136065,\n                            \"business_id\": 425898,\n                            \"account_id\": \"6WX3P\",\n                            \"userid\": 73,\n                            \"client_business\": {\n                                \"business_id\": 425898\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 767501,\n                                \"account_id\": \"6WX3P\"\n                            }\n                        },\n                        {\n                            \"id\": 136741,\n                            \"business_id\": 425898,\n                            \"account_id\": \"AVBnO\",\n                            \"userid\": 1157,\n                            \"client_business\": {\n                                \"business_id\": 425898\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 770241,\n                                \"account_id\": \"AVBnO\"\n                            }\n                        },\n                        {\n                            \"id\": 159781,\n                            \"business_id\": 425898,\n                            \"account_id\": \"0lW1W\",\n                            \"userid\": 60921,\n                            \"client_business\": {\n                                \"business_id\": 425898\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 823675,\n                                \"account_id\": \"0lW1W\"\n                            }\n                        }\n                    ]\n                }\n            },\n            {\n                \"id\": 3045577,\n                \"role\": \"owner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiIzMjI5MDI4IiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.x3bAIqnHW1t-WVdoDOMj8DfQdHsIdVEHyU7ptGks6_U\",\n                \"business\": {\n                    \"id\": 677357,\n                    \"name\": \"Trillium (FreshBooks) Catering\",\n                    \"account_id\": \"8nPPA\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 671351,\n                        \"street\": \"2 Gladstone Ave.\",\n                        \"city\": \"Toronto\",\n                        \"province\": \"Ontario\",\n                        \"country\": \"Canada\",\n                        \"postal_code\": \"M6J 0B2\"\n                    },\n                    \"phone_number\": {\n                        \"id\": 237559,\n                        \"phone_number\": \"416-436-8583\"\n                    },\n                    \"business_clients\": []\n                }\n            },\n            {\n                \"id\": 3090389,\n                \"role\": \"business_partner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiI3Njc4MzQiLCJjcmVhdGVkX2F0IjoiMjAxOS0wNS0wOFQxOTozMToxNyswMDowMCJ9.9K7RPNnwenNwZiGcOdIyB-jSGtrwaPAQypMR0RgFr_M\",\n                \"business\": {\n                    \"id\": 661907,\n                    \"name\": \"Strawberry Jam Marketing\",\n                    \"account_id\": \"rALYo\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 654317,\n                        \"street\": \"\",\n                        \"city\": \"\",\n                        \"province\": \"New York\",\n                        \"country\": \"United States\",\n                        \"postal_code\": \"\"\n                    },\n                    \"phone_number\": null,\n                    \"business_clients\": [\n                        {\n                            \"id\": 129977,\n                            \"business_id\": 661907,\n                            \"account_id\": \"XYEoL\",\n                            \"userid\": 78603,\n                            \"client_business\": {\n                                \"business_id\": 661907\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 742411,\n                                \"account_id\": \"XYEoL\"\n                            }\n                        }\n                    ]\n                }\n            },\n            {\n                \"id\": 3497857,\n                \"role\": \"owner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiIzMzM1NjA3IiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.Bg--PBJxoDap7G0DmfFP92TYbgX6E2KKTmxeQuoKvOU\",\n                \"business\": {\n                    \"id\": 813619,\n                    \"name\": \"Encore Catering\",\n                    \"account_id\": \"M1OaR\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 851427,\n                        \"street\": null,\n                        \"city\": null,\n                        \"province\": null,\n                        \"country\": \"Canada\",\n                        \"postal_code\": null\n                    },\n                    \"phone_number\": null,\n                    \"business_clients\": []\n                }\n            },\n            {\n                \"id\": 3511533,\n                \"role\": \"business_partner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiIzMzMxOTY1IiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.XHKg_84_MDCJ3ofDkMMBquDUNr6MH16jtWAwUpwEOUI\",\n                \"business\": {\n                    \"id\": 808743,\n                    \"name\": \"Retailors Group\",\n                    \"account_id\": \"B3AVo\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 844509,\n                        \"street\": \"113A - 2255 Dundas St W\",\n                        \"city\": \"Mississauga\",\n                        \"province\": \"Ontario\",\n                        \"country\": \"Canada\",\n                        \"postal_code\": \"L5K 1R6\"\n                    },\n                    \"phone_number\": {\n                        \"id\": 292605,\n                        \"phone_number\": \"4162687241\"\n                    },\n                    \"business_clients\": []\n                }\n            },\n            {\n                \"id\": 4237723,\n                \"role\": \"business_employee\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": null,\n                \"business\": {\n                    \"id\": 1057557,\n                    \"name\": \"NetClick Marketing and Advertising\",\n                    \"account_id\": \"0PJMZ\",\n                    \"date_format\": \"dd/mm/yyyy\",\n                    \"address\": {\n                        \"id\": 1182443,\n                        \"street\": \"007 Bond Street\",\n                        \"city\": \"Toronto\",\n                        \"province\": \"Ontario\",\n                        \"country\": \"Canada\",\n                        \"postal_code\": \"A1B2C3\"\n                    },\n                    \"phone_number\": {\n                        \"id\": 413933,\n                        \"phone_number\": \"8887349224\"\n                    },\n                    \"business_clients\": [\n                        {\n                            \"id\": 231291,\n                            \"business_id\": 1057557,\n                            \"account_id\": \"6Z7L4\",\n                            \"userid\": 540267,\n                            \"client_business\": {\n                                \"business_id\": 1057557\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 757,\n                                \"account_id\": \"6Z7L4\"\n                            }\n                        },\n                        {\n                            \"id\": 227033,\n                            \"business_id\": 1057557,\n                            \"account_id\": \"VQAAG\",\n                            \"userid\": 266483,\n                            \"client_business\": {\n                                \"business_id\": 1057557\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 332432,\n                                \"account_id\": \"VQAAG\"\n                            }\n                        }\n                    ]\n                }\n            },\n            {\n                \"id\": 4301745,\n                \"role\": \"business_partner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiIyNjA1MDg4IiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.OALFxNhq3MC52b9-zxcyZZiTqOHoqlhVwJKZfsGGv1M\",\n                \"business\": {\n                    \"id\": 1099865,\n                    \"name\": \"FreshBooks\",\n                    \"account_id\": \"J7nAK\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 1239887,\n                        \"street\": \"1655 Dupont St. Suite 250\",\n                        \"city\": \"Toronto\",\n                        \"province\": \"Ontario\",\n                        \"country\": \"Canada\",\n                        \"postal_code\": \"M6P 3T1\"\n                    },\n                    \"phone_number\": {\n                        \"id\": 434493,\n                        \"phone_number\": \"416 780-2701\"\n                    },\n                    \"business_clients\": []\n                }\n            },\n            {\n                \"id\": 4808823,\n                \"role\": \"owner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiIzNzI3NDgxIiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.wM47sYbse2c_ziHIwzvOzhJs4Ta55fBULUTzj2zxijw\",\n                \"business\": {\n                    \"id\": 1313109,\n                    \"name\": \"Ontario Chiropractic Association\",\n                    \"account_id\": \"oM6yL\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 1533803,\n                        \"street\": \"20 Victoria St. \",\n                        \"city\": \"Toronto\",\n                        \"province\": \"Ontario\",\n                        \"country\": \"Canada\",\n                        \"postal_code\": \"M6j 0B2\"\n                    },\n                    \"phone_number\": {\n                        \"id\": 553251,\n                        \"phone_number\": \"4164368583\"\n                    },\n                    \"business_clients\": [\n                        {\n                            \"id\": 293559,\n                            \"business_id\": 1313109,\n                            \"account_id\": \"26JzY\",\n                            \"userid\": 436623,\n                            \"client_business\": {\n                                \"business_id\": 1313109\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 19101,\n                                \"account_id\": \"26JzY\"\n                            }\n                        },\n                        {\n                            \"id\": 293571,\n                            \"business_id\": 1313109,\n                            \"account_id\": \"VQAAG\",\n                            \"userid\": 294161,\n                            \"client_business\": {\n                                \"business_id\": 1313109\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 332432,\n                                \"account_id\": \"VQAAG\"\n                            }\n                        },\n                        {\n                            \"id\": 293569,\n                            \"business_id\": 1313109,\n                            \"account_id\": \"05xly\",\n                            \"userid\": 269979,\n                            \"client_business\": {\n                                \"business_id\": 1313109\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 611912,\n                                \"account_id\": \"05xly\"\n                            }\n                        },\n                        {\n                            \"id\": 293567,\n                            \"business_id\": 1313109,\n                            \"account_id\": \"Y433O\",\n                            \"userid\": 196165,\n                            \"client_business\": {\n                                \"business_id\": 1313109\n                            },\n                            \"account_business\": {\n                                \"account_business_id\": 1003057,\n                                \"account_id\": \"Y433O\"\n                            }\n                        }\n                    ]\n                }\n            },\n            {\n                \"id\": 5644650,\n                \"role\": \"owner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiIzOTk3MjE2IiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.dWOgLwXuBQtd5IiknW4TObUuufHMXKEdXasuJ3HnfiM\",\n                \"business\": {\n                    \"id\": 1654536,\n                    \"name\": \"Valesso Cardlock\",\n                    \"account_id\": \"dowQ0g\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 2018418,\n                        \"street\": \"1224 Birmingham Rd. \",\n                        \"city\": \"Mobile\",\n                        \"province\": \"Alabama\",\n                        \"country\": \"United States\",\n                        \"postal_code\": \"36525\"\n                    },\n                    \"phone_number\": {\n                        \"id\": 767436,\n                        \"phone_number\": \"223-745-9783\"\n                    },\n                    \"business_clients\": []\n                }\n            },\n            {\n                \"id\": 6439728,\n                \"role\": \"owner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiI0MjMzODkwIiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.fC0KR7TF3Bdo3lr9FRQ2m0axb_IF3u4pkJsluf2fLtc\",\n                \"business\": {\n                    \"id\": 1962882,\n                    \"name\": \"Marshall Johnston\",\n                    \"account_id\": \"LJZ1p4\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 2416464,\n                        \"street\": \"2 Gladstone Ave.\",\n                        \"city\": \"Toronto\",\n                        \"province\": \"Ontario\",\n                        \"country\": \"Canada\",\n                        \"postal_code\": \"M6J0B2\"\n                    },\n                    \"phone_number\": {\n                        \"id\": 944268,\n                        \"phone_number\": \"416-436-8583\"\n                    },\n                    \"business_clients\": []\n                }\n            },\n            {\n                \"id\": 6446238,\n                \"role\": \"business_partner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiI0MjM2NDEwIiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.YmpVLa262YNgC5YbEW0LLLPYywJJ8BF_Dzc61JykL-0\",\n                \"business\": {\n                    \"id\": 1966214,\n                    \"name\": \"Postman Sandbox\",\n                    \"account_id\": \"wkMd2g\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 2421054,\n                        \"street\": null,\n                        \"city\": null,\n                        \"province\": null,\n                        \"country\": \"Canada\",\n                        \"postal_code\": null\n                    },\n                    \"phone_number\": null,\n                    \"business_clients\": []\n                }\n            },\n            {\n                \"id\": 6487858,\n                \"role\": \"owner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiI0MjUxNTQwIiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.S7OjD1kSh38EqHswdO2ow-QyFIx32HPG_N_dfAZj0qU\",\n                \"business\": {\n                    \"id\": 1986556,\n                    \"name\": \"Caroline's Corral\",\n                    \"account_id\": \"3x62x2\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 2448954,\n                        \"street\": null,\n                        \"city\": null,\n                        \"province\": null,\n                        \"country\": \"Canada\",\n                        \"postal_code\": null\n                    },\n                    \"phone_number\": null,\n                    \"business_clients\": []\n                }\n            },\n            {\n                \"id\": 6487912,\n                \"role\": \"owner\",\n                \"unacknowledged_change\": false,\n                \"fasttrack_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJmYXN0dHJhY2tfaWRlbnRpdHlfaWQiOiIzNzI1NiIsImZhc3R0cmFja19zeXN0ZW1faWQiOiI0MjUxNTY2IiwiY3JlYXRlZF9hdCI6IjIwMTktMDUtMDhUMTk6MzE6MTcrMDA6MDAifQ.lFv_X5eynZ_fCgVQYezU_EViJBnNlfbU-nLxcw7ruJg\",\n                \"business\": {\n                    \"id\": 1986590,\n                    \"name\": \"Kevin's Corral\",\n                    \"account_id\": \"lwy0vG\",\n                    \"date_format\": \"mm/dd/yyyy\",\n                    \"address\": {\n                        \"id\": 2448988,\n                        \"street\": null,\n                        \"city\": null,\n                        \"province\": null,\n                        \"country\": \"Canada\",\n                        \"postal_code\": null\n                    },\n                    \"phone_number\": null,\n                    \"business_clients\": []\n                }\n            }\n        ],\n        \"identity_origin\": null,\n        \"roles\": [\n            {\n                \"id\": 32411,\n                \"role\": \"admin\",\n                \"systemid\": 2101193,\n                \"userid\": 1,\n                \"created_at\": \"2016-01-21T18:18:39Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/32411\"\n                },\n                \"accountid\": \"E86Qp\"\n            },\n            {\n                \"id\": 71277,\n                \"role\": \"client\",\n                \"systemid\": 2262093,\n                \"userid\": 270493,\n                \"created_at\": \"2016-09-22T18:28:55Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/71277\"\n                },\n                \"accountid\": \"Ex8B1\"\n            },\n            {\n                \"id\": 71282,\n                \"role\": \"client\",\n                \"systemid\": 2618413,\n                \"userid\": 23360,\n                \"created_at\": \"2016-09-22T18:33:13Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/71282\"\n                },\n                \"accountid\": \"kyRVK\"\n            },\n            {\n                \"id\": 196335,\n                \"role\": \"staff\",\n                \"systemid\": 2537204,\n                \"userid\": 235430,\n                \"created_at\": \"2017-01-27T15:40:33Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/196335\"\n                },\n                \"accountid\": \"RnPKp\"\n            },\n            {\n                \"id\": 313786,\n                \"role\": \"client\",\n                \"systemid\": 2259081,\n                \"userid\": 316723,\n                \"created_at\": \"2017-04-14T16:10:55Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/313786\"\n                },\n                \"accountid\": \"owGZ6\"\n            },\n            {\n                \"id\": 556901,\n                \"role\": \"admin\",\n                \"systemid\": 3076347,\n                \"userid\": 1,\n                \"created_at\": \"2017-10-13T13:30:22Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/556901\"\n                },\n                \"accountid\": \"0XaOw\"\n            },\n            {\n                \"id\": 575202,\n                \"role\": \"admin\",\n                \"systemid\": 3091183,\n                \"userid\": 1,\n                \"created_at\": \"2017-10-30T16:06:19Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/575202\"\n                },\n                \"accountid\": \"7lwxr\"\n            },\n            {\n                \"id\": 575566,\n                \"role\": \"admin\",\n                \"systemid\": 3091468,\n                \"userid\": 1,\n                \"created_at\": \"2017-10-30T19:48:44Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/575566\"\n                },\n                \"accountid\": \"4VMVg\"\n            },\n            {\n                \"id\": 624370,\n                \"role\": \"business_partner\",\n                \"systemid\": 3006975,\n                \"userid\": 202432,\n                \"created_at\": \"2017-12-07T19:39:30Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/624370\"\n                },\n                \"accountid\": \"gjndR\"\n            },\n            {\n                \"id\": 636097,\n                \"role\": \"admin\",\n                \"systemid\": 3138164,\n                \"userid\": 1,\n                \"created_at\": \"2017-12-15T19:05:41Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/636097\"\n                },\n                \"accountid\": \"x33xX\"\n            },\n            {\n                \"id\": 662351,\n                \"role\": \"admin\",\n                \"systemid\": 3158909,\n                \"userid\": 1,\n                \"created_at\": \"2018-01-09T15:54:08Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/662351\"\n                },\n                \"accountid\": \"e1yRq\"\n            },\n            {\n                \"id\": 676036,\n                \"role\": \"admin\",\n                \"systemid\": 3169984,\n                \"userid\": 1,\n                \"created_at\": \"2018-01-17T16:24:24Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/676036\"\n                },\n                \"accountid\": \"3eRwB\"\n            },\n            {\n                \"id\": 677794,\n                \"role\": \"client\",\n                \"systemid\": 2557515,\n                \"userid\": 338717,\n                \"created_at\": \"2018-01-18T15:21:26Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/677794\"\n                },\n                \"accountid\": \"X744K\"\n            },\n            {\n                \"id\": 690736,\n                \"role\": \"business_employee\",\n                \"systemid\": 3014062,\n                \"userid\": 230198,\n                \"created_at\": \"2018-01-25T15:13:08Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/690736\"\n                },\n                \"accountid\": \"apw1A\"\n            },\n            {\n                \"id\": 750173,\n                \"role\": \"admin\",\n                \"systemid\": 3229028,\n                \"userid\": 1,\n                \"created_at\": \"2018-02-23T18:00:31Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/750173\"\n                },\n                \"accountid\": \"8nPPA\"\n            },\n            {\n                \"id\": 758981,\n                \"role\": \"admin\",\n                \"systemid\": 3235461,\n                \"userid\": 1,\n                \"created_at\": \"2018-02-28T15:54:51Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/758981\"\n                },\n                \"accountid\": \"j1322\"\n            },\n            {\n                \"id\": 759025,\n                \"role\": \"business_partner\",\n                \"systemid\": 767834,\n                \"userid\": 580126,\n                \"created_at\": \"2018-02-28T16:16:26Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/759025\"\n                },\n                \"accountid\": \"rALYo\"\n            },\n            {\n                \"id\": 895989,\n                \"role\": \"admin\",\n                \"systemid\": 3335607,\n                \"userid\": 1,\n                \"created_at\": \"2018-04-11T18:24:58Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/895989\"\n                },\n                \"accountid\": \"M1OaR\"\n            },\n            {\n                \"id\": 902859,\n                \"role\": \"business_partner\",\n                \"systemid\": 3331965,\n                \"userid\": 34217,\n                \"created_at\": \"2018-04-13T14:28:06Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/902859\"\n                },\n                \"accountid\": \"B3AVo\"\n            },\n            {\n                \"id\": 908131,\n                \"role\": \"admin\",\n                \"systemid\": 3344949,\n                \"userid\": 1,\n                \"created_at\": \"2018-04-15T15:38:50Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/908131\"\n                },\n                \"accountid\": \"E3MAY\"\n            },\n            {\n                \"id\": 940691,\n                \"role\": \"admin\",\n                \"systemid\": 3367995,\n                \"userid\": 1,\n                \"created_at\": \"2018-04-25T15:26:47Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/940691\"\n                },\n                \"accountid\": \"M1GeK\"\n            },\n            {\n                \"id\": 998423,\n                \"role\": \"admin\",\n                \"systemid\": 3408183,\n                \"userid\": 1,\n                \"created_at\": \"2018-05-14T17:52:53Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/998423\"\n                },\n                \"accountid\": \"7PO26\"\n            },\n            {\n                \"id\": 1046339,\n                \"role\": \"admin\",\n                \"systemid\": 3445027,\n                \"userid\": 1,\n                \"created_at\": \"2018-05-30T17:06:15Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1046339\"\n                },\n                \"accountid\": \"ZAZdo\"\n            },\n            {\n                \"id\": 1189037,\n                \"role\": \"business_employee\",\n                \"systemid\": 3530091,\n                \"userid\": 73757,\n                \"created_at\": \"2018-07-16T14:04:13Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1189037\"\n                },\n                \"accountid\": \"0PJMZ\"\n            },\n            {\n                \"id\": 1220739,\n                \"role\": \"business_partner\",\n                \"systemid\": 2605088,\n                \"userid\": 307345,\n                \"created_at\": \"2018-07-26T14:17:56Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1220739\"\n                },\n                \"accountid\": \"J7nAK\"\n            },\n            {\n                \"id\": 1356857,\n                \"role\": \"admin\",\n                \"systemid\": 3677205,\n                \"userid\": 1,\n                \"created_at\": \"2018-09-06T14:23:42Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1356857\"\n                },\n                \"accountid\": \"Ee0nZ\"\n            },\n            {\n                \"id\": 1361235,\n                \"role\": \"admin\",\n                \"systemid\": 3680199,\n                \"userid\": 1,\n                \"created_at\": \"2018-09-07T14:49:28Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1361235\"\n                },\n                \"accountid\": \"pe6MW\"\n            },\n            {\n                \"id\": 1427159,\n                \"role\": \"admin\",\n                \"systemid\": 3727481,\n                \"userid\": 1,\n                \"created_at\": \"2018-09-27T18:14:12Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1427159\"\n                },\n                \"accountid\": \"oM6yL\"\n            },\n            {\n                \"id\": 1427269,\n                \"role\": \"client\",\n                \"systemid\": 2226270,\n                \"userid\": 436623,\n                \"created_at\": \"2018-09-27T18:33:31Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1427269\"\n                },\n                \"accountid\": \"26JzY\"\n            },\n            {\n                \"id\": 1427293,\n                \"role\": \"client\",\n                \"systemid\": 3484587,\n                \"userid\": 196165,\n                \"created_at\": \"2018-09-27T18:36:25Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1427293\"\n                },\n                \"accountid\": \"Y433O\"\n            },\n            {\n                \"id\": 1427305,\n                \"role\": \"client\",\n                \"systemid\": 3172891,\n                \"userid\": 269979,\n                \"created_at\": \"2018-09-27T18:38:28Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1427305\"\n                },\n                \"accountid\": \"05xly\"\n            },\n            {\n                \"id\": 1427311,\n                \"role\": \"client\",\n                \"systemid\": 2931919,\n                \"userid\": 294161,\n                \"created_at\": \"2018-09-27T18:39:35Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1427311\"\n                },\n                \"accountid\": \"VQAAG\"\n            },\n            {\n                \"id\": 1789450,\n                \"role\": \"admin\",\n                \"systemid\": 3997216,\n                \"userid\": 1,\n                \"created_at\": \"2019-01-15T19:42:19Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1789450\"\n                },\n                \"accountid\": \"dowQ0g\"\n            },\n            {\n                \"id\": 1949044,\n                \"role\": \"admin\",\n                \"systemid\": 4113412,\n                \"userid\": 1,\n                \"created_at\": \"2019-02-28T20:19:28Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/1949044\"\n                },\n                \"accountid\": \"yA0R2P\"\n            },\n            {\n                \"id\": 2120722,\n                \"role\": \"admin\",\n                \"systemid\": 4233890,\n                \"userid\": 1,\n                \"created_at\": \"2019-04-17T14:08:30Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/2120722\"\n                },\n                \"accountid\": \"LJZ1p4\"\n            },\n            {\n                \"id\": 2124362,\n                \"role\": \"business_partner\",\n                \"systemid\": 4236410,\n                \"userid\": 31004,\n                \"created_at\": \"2019-04-18T13:38:19Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/2124362\"\n                },\n                \"accountid\": \"wkMd2g\"\n            },\n            {\n                \"id\": 2146098,\n                \"role\": \"admin\",\n                \"systemid\": 4251540,\n                \"userid\": 1,\n                \"created_at\": \"2019-04-25T16:42:38Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/2146098\"\n                },\n                \"accountid\": \"3x62x2\"\n            },\n            {\n                \"id\": 2146130,\n                \"role\": \"admin\",\n                \"systemid\": 4251566,\n                \"userid\": 1,\n                \"created_at\": \"2019-04-25T16:51:20Z\",\n                \"links\": {\n                    \"destroy\": \"/service/auth/api/v1/users/role/2146130\"\n                },\n                \"accountid\": \"lwy0vG\"\n            }\n        ]\n    }\n}"}],"_postman_id":"5044ed11-fecd-4b5d-9e31-be45a6f2e6af"},{"name":"Modify existing application","id":"40b4163d-3118-4d6e-91c9-6f9a5fcb413f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{ \n   \"name\": \"<app_name>\",\n   \"client_secret\":\"<app client secret>\",\n   \"redirect_uri\":\"<app redirect uri>\",\n   \"description\":\"<app descripttion>\",\n   \"website_url\":\"<link to app website>\",\n   \"settings_url\":\"<link to app settings>\",\n   \"logo_public_id\":\"<jwt returned from post https://api.freshbooks.com/uploads/images>\"\n}"},"url":"https://api.freshbooks.com/auth/api/v1/partners/applications/<app_client_id>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["auth","api","v1","partners","applications","<app_client_id>"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"40b4163d-3118-4d6e-91c9-6f9a5fcb413f"},{"name":"Upload App Logo","event":[{"listen":"test","script":{"id":"2f511603-572a-4798-9bf6-6cb96bf85db2","exec":["let jsonData = JSON.parse(responseBody); ","pm.environment.set(\"uploadFile\", \"\\'\" + jsonData.attachment.jwt + \"\\\"\")"],"type":"text/javascript"}}],"id":"46b88209-251a-4b69-a4e9-f71c1f28b545","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"content","type":"file","value":null}]},"url":"https://api.freshbooks.com/uploads/images","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["uploads","images"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"46b88209-251a-4b69-a4e9-f71c1f28b545"}],"id":"37f7e0a1-3677-49cc-9660-ebaa517b87fd","description":"<p>These are the set of endpoints a developer would use to create an app integration with FreshBooks.</p>\n","_postman_id":"37f7e0a1-3677-49cc-9660-ebaa517b87fd","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}}],"id":"152e1e3e-aea0-4fb3-9e74-7cfbc05114b0","event":[{"listen":"prerequest","script":{"id":"86ea409b-f292-4a5d-9e58-069162c0bc01","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c6656c22-4739-48d7-bbbc-e31212c9a2c5","type":"text/javascript","exec":[""]}}],"_postman_id":"152e1e3e-aea0-4fb3-9e74-7cfbc05114b0","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}},{"name":"Tokenization","item":[{"name":"1. [STRIPE] - Create Payment Method","id":"c5e975ab-360b-4075-a45f-b623ec4fd439","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cc_info\": {\n        \"name\": \"Mush Parker\", \n        \"card_number\": \"450001234567809012\", \n        \"expiry_month\": \"10\", \n        \"expiry_year\": \"2024\"\n    },\n    \"api_key\": \"pk_live_NuMBerSanDmoRELetTers\"\n}","options":{"raw":{"language":"json"}}},"url":"https://paid.freshbooks.com/gateway/stripe/payment-method","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["gateway","stripe","payment-method"],"host":["paid","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c5e975ab-360b-4075-a45f-b623ec4fd439"},{"name":"1a. [STRIPE] -  Get Publishable Key","id":"ba6f41ae-14f9-4ece-a1ea-b74d20a8eeda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.freshbooks.com/payments/account/E86Qp/gateway","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["payments","account","E86Qp","gateway"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"d4973eaf-a9c6-48c5-9a03-b9cac358202b","name":"1a. [STRIPE] -  Get Publishable Key","originalRequest":{"method":"GET","header":[],"url":"https://api.freshbooks.com/payments/account/E86Qp/gateway"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 10 Aug 2020 19:15:46 GMT"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-CardApp-Version","value":"2008.16.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABV1FUDwYGV1QTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FAkpXURQRTEVURAkRQ1VWEUgEA0QHTwNBFkZXQApME1IECQUFQlIWBxpKVkMLFBBUVBVKVB0GHVZfUFYJVwxUDAsGBgpQCFAGTR5TSBRUUAMFCgBSAFMHBFUBAABXFB8EBw8RVT8="},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self'"},{"key":"X-Content-Security-Policy","value":"default-src 'self'"},{"key":"Strict-Transport-Security","value":"max-age=31556926; includeSubDomains; preload"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"X-RateLimit-Reset","value":"1597087006"},{"key":"Retry-After","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"gateway_connections\": [\n        {\n            \"fbpay\": {\n                \"id\": \"89dsyfaiosuhlasdjkhcsaldc89879875ih435h\",\n                \"account_id\": \"45435345345\",\n                \"visa_debit_accepted\": true,\n                \"pricing\": {\n                    \"tier_id\": 105,\n                    \"percent_ach\": \"0.00\",\n                    \"percent_non_amex\": \"2.90\",\n                    \"percent_non_amex_with_card\": \"2.70\",\n                    \"percent_amex\": \"3.50\",\n                    \"percent_amex_with_card\": \"3.40\",\n                    \"percent_virtual_terminal\": \"3.50\",\n                    \"ach_tier_1\": null,\n                    \"ach_tier_2\": null,\n                    \"ach_tier_3\": null,\n                    \"per_transaction_fee\": \"0.30\",\n                    \"default_pricing_tier_id\": null,\n                    \"promo_expiry_date\": null,\n                    \"max_ach_fee\": null\n                },\n                \"bank_transfer_enabled\": false,\n                \"tos_accepted\": true,\n                \"state\": \"active\",\n                \"email\": \"mjohnston@freshbooks.com\",\n                \"bank_info\": {\n                    \"total_payout\": \"0\",\n                    \"next_payout_date\": null,\n                    \"bank_name\": \"Gotham Bank XXXXXX2020\",\n                    \"last_payment_date\": \"2020-06-10T22:47:54Z\",\n                    \"last_payment_amount\": \"1240.79\",\n                    \"withdrawal_period\": \"daily\",\n                    \"withdrawal_type\": \"ach\",\n                    \"withdrawal_schedule\": [],\n                    \"incoming_pending_amount\": \"0\",\n                    \"outgoing_withdrawal_schedule\": []\n                },\n                \"manage_account_url\": \"https://wepay.com/account/15524535345\",\n                \"currencies\": [\n                    \"CAD\"\n                ],\n                \"country\": \"CA\",\n                \"action_reasons\": []\n            },\n            \"stripe\": {\n                \"id\": \"63kljSDHfglsfjhsf88sdfsd98dsflkjhav\",\n                \"gateway_user_id\": \"acct_jdhaklsdjnc345\",\n                \"user_state\": \"registered\",\n                \"email\": \"mjohnston@freshbooks.com\",\n                \"country\": \"CA\",\n                \"currencies\": [\n                    \"AED\",\n                    \"AFN\",\n                    \"ALL\",\n                    \"AMD\",\n                    \"ANG\",\n                    \"AOA\",\n                    \"ARS\",\n                    \"AUD\",\n                    \"AWG\",\n                    \"AZN\",\n                    \"BAM\",\n                    \"BBD\",\n                    \"BDT\",\n                    \"BGN\",\n                    \"BIF\",\n                    \"BMD\",\n                    \"BND\",\n                    \"BOB\",\n                    \"BRL\",\n                    \"BSD\",\n                    \"BWP\",\n                    \"BZD\",\n                    \"CAD\",\n                    \"CDF\",\n                    \"CHF\",\n                    \"CLP\",\n                    \"CNY\",\n                    \"COP\",\n                    \"CRC\",\n                    \"CVE\",\n                    \"CZK\",\n                    \"DJF\",\n                    \"DKK\",\n                    \"DOP\",\n                    \"DZD\",\n                    \"EGP\",\n                    \"ETB\",\n                    \"EUR\",\n                    \"FJD\",\n                    \"FKP\",\n                    \"GBP\",\n                    \"GEL\",\n                    \"GIP\",\n                    \"GMD\",\n                    \"GNF\",\n                    \"GTQ\",\n                    \"GYD\",\n                    \"HKD\",\n                    \"HNL\",\n                    \"HRK\",\n                    \"HTG\",\n                    \"HUF\",\n                    \"IDR\",\n                    \"ILS\",\n                    \"INR\",\n                    \"ISK\",\n                    \"JMD\",\n                    \"JPY\",\n                    \"KES\",\n                    \"KGS\",\n                    \"KHR\",\n                    \"KMF\",\n                    \"KRW\",\n                    \"KYD\",\n                    \"KZT\",\n                    \"LAK\",\n                    \"LBP\",\n                    \"LKR\",\n                    \"LRD\",\n                    \"LSL\",\n                    \"MAD\",\n                    \"MDL\",\n                    \"MGA\",\n                    \"MKD\",\n                    \"MMK\",\n                    \"MNT\",\n                    \"MOP\",\n                    \"MRO\",\n                    \"MUR\",\n                    \"MVR\",\n                    \"MWK\",\n                    \"MXN\",\n                    \"MYR\",\n                    \"MZN\",\n                    \"NAD\",\n                    \"NGN\",\n                    \"NIO\",\n                    \"NOK\",\n                    \"NPR\",\n                    \"NZD\",\n                    \"PAB\",\n                    \"PEN\",\n                    \"PGK\",\n                    \"PHP\",\n                    \"PKR\",\n                    \"PLN\",\n                    \"PYG\",\n                    \"QAR\",\n                    \"RON\",\n                    \"RSD\",\n                    \"RUB\",\n                    \"RWF\",\n                    \"SAR\",\n                    \"SBD\",\n                    \"SCR\",\n                    \"SEK\",\n                    \"SGD\",\n                    \"SHP\",\n                    \"SLL\",\n                    \"SOS\",\n                    \"SRD\",\n                    \"STD\",\n                    \"SZL\",\n                    \"THB\",\n                    \"TJS\",\n                    \"TOP\",\n                    \"TRY\",\n                    \"TTD\",\n                    \"TWD\",\n                    \"TZS\",\n                    \"UAH\",\n                    \"UGX\",\n                    \"USD\",\n                    \"UYU\",\n                    \"UZS\",\n                    \"VND\",\n                    \"VUV\",\n                    \"WST\",\n                    \"XAF\",\n                    \"XCD\",\n                    \"XOF\",\n                    \"XPF\",\n                    \"YER\",\n                    \"ZAR\",\n                    \"ZMW\"\n                ],\n                \"publishable_key\": \"pk_live_kha8dfy9oahvoi4h3qpj12qfp0234q9fuqp4938fh34pufh34pf84334f934hfp34uqif43345634oi5y4\",\n                \"bank_transfer_enabled\": false,\n                \"max_ach_fee\": 5000\n            },\n            \"paypal\": null\n        }\n    ]\n}"}],"_postman_id":"ba6f41ae-14f9-4ece-a1ea-b74d20a8eeda"},{"name":"2. [STRIPE] - Create Setup Intent Using Payment Method Key","id":"8f87d62f-0cc3-4e2a-a3c4-9864d50354c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"payment_method\": \"pm_d87sh438shuiasf4289437u\"\n}\n ","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/payments/account/E86Qp/gateway/stripe/credit-card/token","description":"<p>Once you obtain the PM key from Step 1, you will use this to inform Stripe that you will be using this card for future use and it is a \"Mail Order Telephone Order\" (MOTO) card. </p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["payments","account","E86Qp","gateway","stripe","credit-card","token"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8f87d62f-0cc3-4e2a-a3c4-9864d50354c0"},{"name":"3. [STRIPE] - Save Payment Method to Recurring Profile","id":"b2e4af64-e670-4dd2-af37-4d54af97cca9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"credit_card\": {\n        \"saved_to_system_id\": \"E86Qd\",\n        \"card_holder_user_id\": 11223344,\n        \"access\": {\n            \"system\": true,\n            \"client\": false,\n            \"invoice_profiles\": [26347]\n        },\n        \"credit_card_tokens\": [\n            {\n                \"payment_method_id\": \"pm_d87sh438shuiasf4289437u\",\n                \"gateway_name\": \"stripe\",\n                \"is_primary\": true\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/payments/account/E86Qp/credit-card","description":"<p>You will then pass the pm_id from Step 1 to a specific invoice profile. </p>\n<p>The invoice profile can be found in the UI or as a response when created. </p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["payments","account","E86Qp","credit-card"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b2e4af64-e670-4dd2-af37-4d54af97cca9"},{"name":"1. [FBPAY] - Create Payment Method","id":"715cd2d5-26ff-4e84-8320-fd64dde9972a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cc_info\": {\n        \"name\": \"John Johnston\", \n        \"card_number\": \"4500123456789012\", \n        \"expiry_month\": \"10\", \n        \"expiry_year\": \"2024\",\n        \"email\": \"mjohnston@freshbooks.com\", \n        \"cvv\": \"123\",\n        \"postal_code\": \"M6P3T1\",\n        \"country\": \"CA\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://paid.freshbooks.com/gateway/fbpay/tokenize","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["gateway","fbpay","tokenize"],"host":["paid","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"8b1bc351-3cd5-4c8e-b8af-aa58a4f857a2","name":"1. [FBPAY] - Create Payment Method","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cc_info\": {\n        \"name\": \"John Johnston\", \n        \"card_number\": \"4500123456789012\", \n        \"expiry_month\": \"10\", \n        \"expiry_year\": \"2024\",\n        \"email\": \"mjohnston@freshbooks.com\", \n        \"cvv\": \"123\",\n        \"postal_code\": \"M6P3T1\",\n        \"country\": \"CA\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://paid.freshbooks.com/gateway/fbpay/tokenize"},"status":"CREATED","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Content-Length","value":"26"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 10 Aug 2020 18:48:08 GMT"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Access-Control-Allow-Methods","value":"POST"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-CSRF-Token"},{"key":"Access-Control-Allow-Origin","value":"None"},{"key":"X-Version","value":"0.4.0"},{"key":"X-FB-Backend","value":"U5"},{"key":"Content-Security-Policy","value":"frame-ancestors https://*.freshbooks.com https://*.freshenv.com http://localhost:4200 https://*.billingarm.com"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 98aedae6661e3904540676966998ed89.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SEA19-C2"},{"key":"X-Amz-Cf-Id","value":"VkEJyM9NHIFX2cXfSiC6nVzflt1xmKXsN2kfTozCtT80XmkilZ-YcQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"cc_token\": \"1122334455\"\n}"},{"id":"99cc93a0-b05a-4550-8cfd-9581ff12af91","name":"1. [FBPAY] - Create Payment Method","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cc_info\": {\n        \"name\": \"John Johnston\", \n        \"card_number\": \"4500123456789012\", \n        \"expiry_month\": \"10\", \n        \"expiry_year\": \"2024\",\n        \"email\": \"mjohnston@freshbooks.com\", \n        \"cvv\": \"123\",\n        \"postal_code\": \"M6P3T1\",\n        \"country\": \"CA\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://paid.freshbooks.com/gateway/fbpay/tokenize"},"status":"CREATED","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Content-Length","value":"26"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 10 Aug 2020 18:48:08 GMT"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Access-Control-Allow-Methods","value":"POST"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, X-CSRF-Token"},{"key":"Access-Control-Allow-Origin","value":"None"},{"key":"X-Version","value":"0.4.0"},{"key":"X-FB-Backend","value":"U5"},{"key":"Content-Security-Policy","value":"frame-ancestors https://*.freshbooks.com https://*.freshenv.com http://localhost:4200 https://*.billingarm.com"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 98aedae6661e3904540676966998ed89.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SEA19-C2"},{"key":"X-Amz-Cf-Id","value":"VkEJyM9NHIFX2cXfSiC6nVzflt1xmKXsN2kfTozCtT80XmkilZ-YcQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"cc_token\": \"11223344556677\"\n}"}],"_postman_id":"715cd2d5-26ff-4e84-8320-fd64dde9972a"},{"name":"2. [FBPAY] - Create Setup Intent Using Payment Method Key","event":[{"listen":"test","script":{"id":"48d18f1b-395e-405b-96cb-27b34cbf4107","exec":[""],"type":"text/javascript"}}],"id":"b9982ada-1fa4-44e6-bb6b-87a541697acb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"credit_card\": {\n        \"saved_to_system_id\": \"yDDAb0\",\n        \"card_holder_user_id\": 146211,\n        \"access\": {\n            \"system\": false,\n            \"client\": false,\n            \"invoice_profiles\": [\n                33\n            ]\n        },\n        \"credit_card_tokens\": [\n            {\n                \"token\": \"token_123\",\n                \"gateway_name\": \"fbpay\",\n                \"is_primary\": true\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/payments/account/{{accountid}}/credit-card","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}},"urlObject":{"protocol":"https","path":["payments","account","{{accountid}}","credit-card"],"host":["api","freshbooks","com"],"query":[],"variable":[]}},"response":[{"id":"a8873e7d-a165-4ee5-9355-e717364ae9aa","name":"2. [FBPAY] - Create Setup Intent Using Payment Method Key","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"credit_card\": {\n        \"saved_to_system_id\": \"E86Qp\",\n        \"card_holder_user_id\": 590529,\n        \"access\": {\n            \"system\": true,\n            \"client\": false,\n            \"invoice_profiles\": [\n                26627\n            ]\n        },\n        \"credit_card_tokens\": [\n            {\n                \"token\": \"1111111\",\n                \"gateway_name\": \"fbpay\",\n                \"is_primary\": true\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.freshbooks.com/payments/account/E86Qp/credit-card"},"status":"CREATED","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 31 Jul 2020 20:33:18 GMT"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Content-Length","value":"438"},{"key":"X-CardApp-Version","value":"2007.68.0"},{"key":"X-NewRelic-App-Data","value":"PxQBWV5TCBABV1FUDwYGV1QTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4FAkpXURQRTEVURAkRQ1VWEUgAEFUGURZnW1VAV0tLBEIORhAHUw0CFAZcWkQHABBTQ1IVC0REUAdET1IcURZQCQEBBgBcClIJVwtWVA4bVVNTFBEFVVJRUwBUX1MHAgAAVFFQEk5eA1RLUW8="},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self'"},{"key":"X-Content-Security-Policy","value":"default-src 'self'"},{"key":"Strict-Transport-Security","value":"max-age=31556926; includeSubDomains; preload"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"598"},{"key":"X-RateLimit-Reset","value":"1596227656"},{"key":"Retry-After","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"credit_card\": {\n        \"credit_card_uuid\": \"7c8d965555554d40ddde59sadasdc7180asda7ba\",\n        \"card_holder_user_id\": 123456,\n        \"saved_to_system_id\": \"E86Qd\",\n        \"card_type\": \"visa\",\n        \"expiry_year\": \"2024\",\n        \"expiry_month\": \"9\",\n        \"last_four_digits\": \"0234\",\n        \"card_holder_name\": \"John Johnston\",\n        \"access\": {\n            \"system\": true,\n            \"client\": false,\n            \"invoice_profiles\": [121212]\n        },\n        \"credit_card_tokens\": [\n            {\n                \"id\": \"fbpay+akdjhadkjashckJNCksajncasc\",\n                \"gateway_name\": \"fbpay\"\n            }\n        ]\n    }\n}"}],"_postman_id":"b9982ada-1fa4-44e6-bb6b-87a541697acb"}],"id":"639b1772-6ce4-4a2a-96a9-e86a3c2ef869","event":[{"listen":"prerequest","script":{"id":"fc7c8fe2-7538-44e7-a803-3837a0f61040","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6fd08350-4ae2-49be-bd25-4fc6f7351e5a","type":"text/javascript","exec":[""]}}],"_postman_id":"639b1772-6ce4-4a2a-96a9-e86a3c2ef869","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"52737e2b-88b3-1754-66ae-f212fc19faae","id":"52737e2b-88b3-1754-66ae-f212fc19faae","name":"FreshBooks API","type":"collection"}}}],"auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"authUrl","value":"<auth-url>"},{"key":"clientId","value":"{{appClientID}}"},{"key":"clientSecret","value":"{{appClientSecret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"grant_type","value":"<grant_type>"},{"key":"tokenType","value":"<token-type>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"useBrowser","value":"<use-browser>"}]}},"event":[{"listen":"prerequest","script":{"id":"abbf3db1-2aa3-4784-b2bf-ea30a3c9816d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f626d69b-64bb-4a94-9a44-395af8ae4ca7","type":"text/javascript","exec":[""]}}]}