{"info":{"_postman_id":"d12493e7-5430-4cc1-9eed-b55e5da031b0","name":"CoManage API V1.1","description":"<html><head></head><body><p>Ready to start using our API?\nHead over to the <a href=\"#getting-started\">Getting Started</a> section.</p>\n<hr>\n<h1 id=\"getting-started\">Getting Started</h1>\n<p>To get started, you need the following things:</p>\n<ol>\n<li>An account - <a href=\"https://comanage.me/en/signup\">Sign up here</a></li>\n<li>An API token - <a href=\"#authentication\">More info</a></li>\n</ol>\n<p>Note: For some API calls you'll need a <a href=\"https://app.comanage.me/team/billing\">paid subscription</a>. Some resources need a specific plan: projects need the Pro plan, time registrations the Starter Plus or Pro plan. Without the right plan the API answers with a <code>403</code>.</p>\n<hr>\n<h1 id=\"authentication\">Authentication</h1>\n<p>The CoManage API uses API keys to authenticate requests. You can view and manage your API keys in the <a href=\"https://app.comanage.me/settings/general/integrations\">CoManage settings</a>.</p>\n<p>Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.</p>\n<p>To make an authenticated API request, you must set your API key as a bearer token for the authentication header, like so: <code>\"Authorization: Bearer {your_api_key}\"</code></p>\n<p>All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.</p>\n<hr>\n<h1 id=\"conventions\">Conventions</h1>\n<p><strong>Numbers.</strong> Every resource is addressed by its <code>number</code>, the number it has within your team (not a database id). Groups are addressed by their <code>slug</code>.</p>\n<p><strong>Dates and times.</strong> Dates are <code>YYYY-MM-DD</code>. Timestamps in responses are Unix timestamps (seconds). Where a request takes a date and time, it is <code>YYYY-MM-DD HH:MM:SS</code>, in your team's time zone.</p>\n<p><strong>Lists and pagination.</strong> A list answers with <code>data</code>, <code>links</code> and <code>meta</code> (Laravel pagination). Use <code>limit</code> (1 to 100, default 15) and <code>page</code>. Most lists can be sorted with <code>sort</code>, for example <code>sort=date_desc</code> (or <code>date_asc</code>); separate more than one with a comma.</p>\n<p><strong>Trash.</strong> Most resources can be put in the trash and restored: <code>POST /{resource}/{number}/trash</code> and <code>POST /{resource}/{number}/restore</code>. <code>DELETE /{resource}/{number}</code> first puts a resource in the trash, and removes it for good when it is in the trash already. Add <code>withTrashed</code> or <code>onlyTrashed</code> to a list to include the trash, or to see only the trash.</p>\n<p><strong>Updates.</strong> <code>PATCH</code> (or <code>PUT</code>) only changes the fields you send.</p>\n<p><strong>Errors.</strong> An error answers with a JSON object with a <code>message</code>. A request that is not valid answers with <code>422</code> and also lists the <code>errors</code> per field. <code>401</code>: the token is missing, invalid or revoked. <code>403</code>: you are not allowed to do this, or your plan doesn't include it. <code>404</code>: it doesn't exist (or belongs to another team). <code>429</code>: too many requests.</p>\n<p><strong>Rate limit.</strong> 100 requests per minute per user. The <code>Retry-After</code> header of a <code>429</code> says how long to wait.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Getting Started","slug":"getting-started"},{"content":"Authentication","slug":"authentication"},{"content":"Conventions","slug":"conventions"}],"owner":"4208998","collectionId":"d12493e7-5430-4cc1-9eed-b55e5da031b0","publishedId":"2sBYPv4tDE","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-11-25T10:48:37.000Z"},"item":[{"name":"Contacts","item":[{"name":"Businesses","item":[{"name":"List people in a business","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"7784b641-d1fe-4988-b3b3-f5323e28bf8a"}}],"id":"4709f613-10c7-4a97-8f29-785c3fb1a146","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/businesses/:number/people?limit=15&sort=number_desc","description":"<p>Get a paginated list of people that belong to the given business.</p>\n","urlObject":{"path":["businesses",":number","people"],"host":["{{api_url}}"],"query":[{"key":"limit","value":"15"},{"key":"sort","value":"number_desc"}],"variable":[{"id":"1f700aa5-43af-4c85-b3dc-5e83d823d8d3","description":{"content":"<p>The business' number.</p>\n","type":"text/plain"},"type":"any","value":"1","key":"number"}]}},"response":[{"id":"437bca7c-beca-4d19-ae68-3160ef730326","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{api_url}}/businesses/:number/people?limit=15&sort=number_desc","host":["{{api_url}}"],"path":["businesses",":number","people"],"query":[{"key":"limit","value":"15"},{"key":"sort","value":"number_desc"}],"variable":[{"key":"number","value":"1","description":"The business' number."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"number\": 4,\n\t\t\t\"customer\": false,\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dwight Schrute\",\n\t\t\t\"vat_number\": null,\n\t\t\t\"kvk_number\": null,\n\t\t\t\"first_name\": \"Dwight\",\n\t\t\t\"last_name\": \"Schrute\",\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"dwight@evilcorp.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": null,\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": []\n\t\t}\n\t]\n}"}],"_postman_id":"4709f613-10c7-4a97-8f29-785c3fb1a146"},{"name":"Add person to business","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"3f68f750-234c-4c36-8f5a-73da1811a273"}}],"id":"a67cda0a-151d-4817-b43f-15ae0c7f776f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"number\": 4,\n\t\"job_title\": \"Sales Representative\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/businesses/:number/add-person","description":"<p>Add a person to a business.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>number</code></td>\n<td>integer</td>\n<td>yes</td>\n<td>The number of the person (a contact).</td>\n</tr>\n<tr>\n<td><code>job_title</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["businesses",":number","add-person"],"host":["{{api_url}}"],"query":[],"variable":[{"id":"21814551-9e5a-4ce7-a2ae-4749adbad1be","description":{"content":"<p>The business' number.</p>\n","type":"text/plain"},"type":"any","value":"1","key":"number"}]}},"response":[{"id":"76c1a884-c267-4d16-a260-332225b2702a","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"number\": 4,\n\t\"job_title\": \"Sales Representative\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_url}}/businesses/:number/add-person","host":["{{api_url}}"],"path":["businesses",":number","add-person"],"variable":[{"key":"number","value":"1","description":"The business' number."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"business\": {\n\t\t\"number\": 6,\n\t\t\"customer\": false,\n\t\t\"supplier\": false,\n\t\t\"name\": \"Sabre Ltd.\",\n\t\t\"vat_number\": null,\n\t\t\"kvk_number\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"usd\",\n\t\t\"email\": null,\n\t\t\"phone\": null,\n\t\t\"peppol_id\": null,\n\t\t\"peppol_scheme\": null,\n\t\t\"peppol_ready\": false,\n\t\t\"extra_fields\": [],\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false,\n\t\t\"addresses\": []\n\t},\n\t\"person\": {\n\t\t\"number\": 4,\n\t\t\"customer\": false,\n\t\t\"supplier\": false,\n\t\t\"name\": \"Dwight Schrute\",\n\t\t\"vat_number\": null,\n\t\t\"kvk_number\": null,\n\t\t\"first_name\": \"Dwight\",\n\t\t\"last_name\": \"Schrute\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"email\": \"dwight@evilcorp.example\",\n\t\t\"phone\": null,\n\t\t\"peppol_id\": null,\n\t\t\"peppol_scheme\": null,\n\t\t\"peppol_ready\": false,\n\t\t\"extra_fields\": null,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false,\n\t\t\"addresses\": []\n\t}\n}"}],"_postman_id":"a67cda0a-151d-4817-b43f-15ae0c7f776f"},{"name":"Create person for business","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 201', function () { pm.response.to.have.status(201); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"738a63cb-72b4-47e3-a546-3675c1c2cb48"}}],"id":"f3e650a6-43b1-4412-997b-18a17851d1b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"Dwight\",\n\t\"last_name\": \"Schrute\",\n\t\"email\": \"dwight@evilcorp.example\",\n\t\"job_title\": \"Assistant to the Regional Manager\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/businesses/:number/people","description":"<p>Create a new person for a business.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>first_name</code></td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td><code>last_name</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>job_title</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["businesses",":number","people"],"host":["{{api_url}}"],"query":[],"variable":[{"id":"8d7aaa11-7583-424e-987e-0cc59837d008","description":{"content":"<p>The business' number.</p>\n","type":"text/plain"},"type":"any","value":"1","key":"number"}]}},"response":[{"id":"523d89d8-4dc3-4622-a904-db4b41db8976","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"Dwight\",\n\t\"last_name\": \"Schrute\",\n\t\"email\": \"dwight@evilcorp.example\",\n\t\"job_title\": \"Assistant to the Regional Manager\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_url}}/businesses/:number/people","host":["{{api_url}}"],"path":["businesses",":number","people"],"variable":[{"key":"number","value":"1","description":"The business' number."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 4,\n\t\t\"customer\": null,\n\t\t\"supplier\": null,\n\t\t\"name\": \"Dwight Schrute\",\n\t\t\"vat_number\": null,\n\t\t\"kvk_number\": null,\n\t\t\"first_name\": \"Dwight\",\n\t\t\"last_name\": \"Schrute\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"email\": \"dwight@evilcorp.example\",\n\t\t\"phone\": null,\n\t\t\"peppol_id\": null,\n\t\t\"peppol_scheme\": null,\n\t\t\"peppol_ready\": null,\n\t\t\"extra_fields\": null,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false,\n\t\t\"addresses\": []\n\t}\n}"}],"_postman_id":"f3e650a6-43b1-4412-997b-18a17851d1b6"}],"id":"933c75ee-2c77-4c6c-a3ca-f9df63703fad","_postman_id":"933c75ee-2c77-4c6c-a3ca-f9df63703fad","description":""},{"name":"Customers","item":[{"name":"List customers","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"ac226d7d-e227-440b-9b9d-bdae8d0f9439"}}],"id":"e7bc249c-83d3-4ed3-86d5-89940f25da12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/customers?sort=number_desc","description":"<p>Get a list of paginated customers.</p>\n","urlObject":{"path":["customers"],"host":["{{api_url}}"],"query":[{"disabled":true,"description":{"content":"<p>The number of results per page (1 to 100, default 15).</p>\n","type":"text/plain"},"key":"limit","value":"15"},{"disabled":true,"description":{"content":"<p>The page to get.</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Sort the results, for example <code>number_desc</code>.</p>\n","type":"text/plain"},"key":"sort","value":"number_desc"},{"disabled":true,"description":{"content":"<p>Also list the resources in the trash.</p>\n","type":"text/plain"},"key":"withTrashed","value":"1"},{"disabled":true,"description":{"content":"<p>Only list the resources in the trash.</p>\n","type":"text/plain"},"key":"onlyTrashed","value":"1"}],"variable":[]}},"response":[{"id":"a0e90cc0-2e56-4c53-885e-6ad5d8326b28","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{api_url}}/customers?sort=number_desc","host":["{{api_url}}"],"path":["customers"],"query":[{"key":"limit","value":"15","description":"The number of results per page (1 to 100, default 15).","disabled":true},{"key":"page","value":"1","description":"The page to get.","disabled":true},{"key":"sort","value":"number_desc","description":"Sort the results, for example `number_desc`."},{"key":"withTrashed","value":"1","description":"Also list the resources in the trash.","disabled":true},{"key":"onlyTrashed","value":"1","description":"Only list the resources in the trash.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t],\n\t\"links\": {\n\t\t\"first\": \"https://api.comanage.me/v1/customers?page=1\",\n\t\t\"last\": \"https://api.comanage.me/v1/customers?page=1\",\n\t\t\"prev\": null,\n\t\t\"next\": null\n\t},\n\t\"meta\": {\n\t\t\"current_page\": 1,\n\t\t\"from\": 1,\n\t\t\"last_page\": 1,\n\t\t\"links\": [\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"&laquo; Previous\",\n\t\t\t\t\"active\": false\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": \"https://api.comanage.me/v1/customers?page=1\",\n\t\t\t\t\"label\": \"1\",\n\t\t\t\t\"active\": true\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"Next &raquo;\",\n\t\t\t\t\"active\": false\n\t\t\t}\n\t\t],\n\t\t\"path\": \"https://api.comanage.me/v1/customers\",\n\t\t\"per_page\": 15,\n\t\t\"to\": 1,\n\t\t\"total\": 1\n\t}\n}"}],"_postman_id":"e7bc249c-83d3-4ed3-86d5-89940f25da12"},{"name":"Create a new customer","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 201', function () { pm.response.to.have.status(201); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"0c980c69-922e-4539-bfdd-4f2e13f19530"}}],"id":"9f52efb8-fbb2-4020-a4c5-2efe0aa62c18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"kind\": \"business\",\n\t\"name\": \"Dunder Mifflin\",\n\t\"business_type\": \"sme\",\n\t\"vat_number\": \"NL123456789B01\",\n\t\"vat_type\": \"reverse\",\n\t\"email\": \"info@dundermifflin.example\",\n\t\"currency\": \"eur\",\n\t\"addresses\": [\n\t\t{\n\t\t\t\"type\": \"billing\",\n\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\"postcode\": \"1011\",\n\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\"country_code\": \"NL\"\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/customers","description":"<p>Create a new customer.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>kind</code></td>\n<td>string</td>\n<td>on create</td>\n<td><code>business</code> or <code>person</code>. Note: a new contact is always stored as a business, for now.</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>for a business</td>\n<td>The name of the business.</td>\n</tr>\n<tr>\n<td><code>first_name</code></td>\n<td>string</td>\n<td>for a person</td>\n<td></td>\n</tr>\n<tr>\n<td><code>last_name</code></td>\n<td>string</td>\n<td>for a person</td>\n<td></td>\n</tr>\n<tr>\n<td><code>gender</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>date</code></td>\n<td>date</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>customer</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Mark the contact as a customer.</td>\n</tr>\n<tr>\n<td><code>supplier</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Mark the contact as a supplier.</td>\n</tr>\n<tr>\n<td><code>business_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>sole</code>, <code>private</code>, <code>sme</code>, <code>free</code> or <code>nonprofit</code>.</td>\n</tr>\n<tr>\n<td><code>vat_number</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>vat_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>collect</code>, <code>reverse</code>, <code>exempt</code>, <code>co-contractor</code> or <code>renovation</code>.</td>\n</tr>\n<tr>\n<td><code>vat_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>kvk_number</code></td>\n<td>string</td>\n<td>no</td>\n<td>Company registration number.</td>\n</tr>\n<tr>\n<td><code>discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>discount_active</code></td>\n<td>boolean</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>invoice_send_method</code></td>\n<td>string</td>\n<td>no</td>\n<td>How invoices are sent by default.</td>\n</tr>\n<tr>\n<td><code>language</code></td>\n<td>string</td>\n<td>no</td>\n<td>2 letters, for example <code>en</code>.</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>string</td>\n<td>no</td>\n<td>3 letters, for example <code>eur</code>.</td>\n</tr>\n<tr>\n<td><code>timezone</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>phone</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>cellphone</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>fax</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>website</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>extra_fields</code></td>\n<td>array</td>\n<td>no</td>\n<td>A list of <code>{ \"label\": \"...\", \"value\": \"...\" }</code>.</td>\n</tr>\n<tr>\n<td><code>addresses</code></td>\n<td>array</td>\n<td>no</td>\n<td>A list of addresses, one per <code>type</code>.</td>\n</tr>\n<tr>\n<td><code>addresses.*.type</code></td>\n<td>string</td>\n<td>yes</td>\n<td><code>billing</code> or <code>delivery</code>.</td>\n</tr>\n<tr>\n<td><code>addresses.*.address_line_1</code></td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td><code>addresses.*.address_line_2</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>addresses.*.postcode</code></td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td><code>addresses.*.city</code></td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td><code>addresses.*.state</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>addresses.*.country_code</code></td>\n<td>string</td>\n<td>yes</td>\n<td>2 letters (ISO 3166-1 alpha-2), for example <code>BE</code>, not <code>BEL</code>.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["customers"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"6324c337-4ed2-4c32-b2f7-d6303fdd9cff","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"kind\": \"business\",\n\t\"name\": \"Dunder Mifflin\",\n\t\"business_type\": \"sme\",\n\t\"vat_number\": \"NL123456789B01\",\n\t\"vat_type\": \"reverse\",\n\t\"email\": \"info@dundermifflin.example\",\n\t\"currency\": \"eur\",\n\t\"addresses\": [\n\t\t{\n\t\t\t\"type\": \"billing\",\n\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\"postcode\": \"1011\",\n\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\"country_code\": \"NL\"\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/customers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 2,\n\t\t\"customer\": true,\n\t\t\"customer_number\": \"1\",\n\t\t\"supplier\": false,\n\t\t\"name\": \"Dunder Mifflin\",\n\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\"kvk_number\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\"phone\": null,\n\t\t\"peppol_id\": null,\n\t\t\"peppol_scheme\": null,\n\t\t\"peppol_ready\": false,\n\t\t\"extra_fields\": [],\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false,\n\t\t\"addresses\": [\n\t\t\t{\n\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\"state\": null,\n\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\"updated_at\": 1794996000\n\t\t\t}\n\t\t]\n\t}\n}"}],"_postman_id":"9f52efb8-fbb2-4020-a4c5-2efe0aa62c18"},{"name":"Retrieve a customer","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"2303a62d-06e3-4d2b-82dd-4b45b5f47f0f"}}],"id":"2683af1c-61fe-4ddd-925f-d704a4c381be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/customers/","description":"<p>Retrieve a customer.</p>\n","urlObject":{"path":["customers",""],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"e4798668-fb1a-41a4-9659-59f8a0b71cf8","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/customers/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 2,\n\t\t\"customer\": true,\n\t\t\"customer_number\": \"1\",\n\t\t\"supplier\": false,\n\t\t\"name\": \"Dunder Mifflin\",\n\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\"kvk_number\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\"phone\": null,\n\t\t\"peppol_id\": null,\n\t\t\"peppol_scheme\": null,\n\t\t\"peppol_ready\": false,\n\t\t\"extra_fields\": [],\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false,\n\t\t\"addresses\": [\n\t\t\t{\n\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\"state\": null,\n\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\"updated_at\": 1794996000\n\t\t\t}\n\t\t]\n\t}\n}"}],"_postman_id":"2683af1c-61fe-4ddd-925f-d704a4c381be"},{"name":"Update a customer","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"186774a2-e639-458a-8628-363e4975fde9"}}],"id":"1ec42bd7-cf17-47bf-9fe3-f646ab8e809a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"phone\": \"+31 20 123 45 67\",\n\t\"email\": \"sales@dundermifflin.example\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/customers/","description":"<p>Update a customer. Takes the same fields as a contact.</p>\n","urlObject":{"path":["customers",""],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"13e1ca9d-a37f-4039-9c86-b9032dbeeef9","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"phone\": \"+31 20 123 45 67\",\n\t\"email\": \"sales@dundermifflin.example\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/customers/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 2,\n\t\t\"customer\": true,\n\t\t\"customer_number\": \"1\",\n\t\t\"supplier\": false,\n\t\t\"name\": \"Dunder Mifflin\",\n\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\"kvk_number\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"email\": \"sales@dundermifflin.example\",\n\t\t\"phone\": \"+31 20 123 45 67\",\n\t\t\"peppol_id\": null,\n\t\t\"peppol_scheme\": null,\n\t\t\"peppol_ready\": false,\n\t\t\"extra_fields\": [],\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false,\n\t\t\"addresses\": [\n\t\t\t{\n\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\"state\": null,\n\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\"updated_at\": 1794996000\n\t\t\t}\n\t\t]\n\t}\n}"}],"_postman_id":"1ec42bd7-cf17-47bf-9fe3-f646ab8e809a"},{"name":"Delete a customer","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });"],"id":"b7c458e0-f8eb-43b8-a461-08640618dc85"}}],"id":"cded2fd4-dc12-4a8d-9463-e0bc14dc7ad8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/customers/","description":"<p>Delete a customer.</p>\n","urlObject":{"path":["customers",""],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"f8a71971-2a5a-4e0a-a1f4-fce225812bf4","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/customers/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 7,\n\t\t\"customer\": true,\n\t\t\"customer_number\": \"1\",\n\t\t\"supplier\": false,\n\t\t\"name\": \"Throwaway BV\",\n\t\t\"vat_number\": null,\n\t\t\"kvk_number\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"usd\",\n\t\t\"email\": null,\n\t\t\"phone\": null,\n\t\t\"peppol_id\": null,\n\t\t\"peppol_scheme\": null,\n\t\t\"peppol_ready\": false,\n\t\t\"extra_fields\": [],\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed_at\": 1794999600,\n\t\t\"trashed\": true,\n\t\t\"addresses\": []\n\t}\n}"}],"_postman_id":"cded2fd4-dc12-4a8d-9463-e0bc14dc7ad8"}],"id":"6cccd5b4-4cc2-4479-ac2d-bd32e0f5c30d","_postman_id":"6cccd5b4-4cc2-4479-ac2d-bd32e0f5c30d","description":""},{"name":"Suppliers","item":[{"name":"List suppliers","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"8d9e2e45-2325-48c1-ae9e-f24ca1bff321"}}],"id":"d19b41bc-9c08-4f21-91b8-13e4c37a9aed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/suppliers?sort=number_desc","description":"<p>Get a list of paginated suppliers.</p>\n","urlObject":{"path":["suppliers"],"host":["{{api_url}}"],"query":[{"disabled":true,"description":{"content":"<p>The number of results per page (1 to 100, default 15).</p>\n","type":"text/plain"},"key":"limit","value":"15"},{"disabled":true,"description":{"content":"<p>The page to get.</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Sort the results, for example <code>number_desc</code>.</p>\n","type":"text/plain"},"key":"sort","value":"number_desc"},{"disabled":true,"description":{"content":"<p>Also list the resources in the trash.</p>\n","type":"text/plain"},"key":"withTrashed","value":"1"},{"disabled":true,"description":{"content":"<p>Only list the resources in the trash.</p>\n","type":"text/plain"},"key":"onlyTrashed","value":"1"}],"variable":[]}},"response":[{"id":"2fcc1b77-b106-46ff-a4ae-fba237fe0128","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{api_url}}/suppliers?sort=number_desc","host":["{{api_url}}"],"path":["suppliers"],"query":[{"key":"limit","value":"15","description":"The number of results per page (1 to 100, default 15).","disabled":true},{"key":"page","value":"1","description":"The page to get.","disabled":true},{"key":"sort","value":"number_desc","description":"Sort the results, for example `number_desc`."},{"key":"withTrashed","value":"1","description":"Also list the resources in the trash.","disabled":true},{"key":"onlyTrashed","value":"1","description":"Only list the resources in the trash.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"number\": 3,\n\t\t\t\"customer\": false,\n\t\t\t\"supplier\": true,\n\t\t\t\"supplier_number\": \"1\",\n\t\t\t\"name\": \"Office Supplies NV\",\n\t\t\t\"vat_number\": null,\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"usd\",\n\t\t\t\"email\": \"sales@officesupplies.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": []\n\t\t}\n\t],\n\t\"links\": {\n\t\t\"first\": \"https://api.comanage.me/v1/suppliers?page=1\",\n\t\t\"last\": \"https://api.comanage.me/v1/suppliers?page=1\",\n\t\t\"prev\": null,\n\t\t\"next\": null\n\t},\n\t\"meta\": {\n\t\t\"current_page\": 1,\n\t\t\"from\": 1,\n\t\t\"last_page\": 1,\n\t\t\"links\": [\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"&laquo; Previous\",\n\t\t\t\t\"active\": false\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": \"https://api.comanage.me/v1/suppliers?page=1\",\n\t\t\t\t\"label\": \"1\",\n\t\t\t\t\"active\": true\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"Next &raquo;\",\n\t\t\t\t\"active\": false\n\t\t\t}\n\t\t],\n\t\t\"path\": \"https://api.comanage.me/v1/suppliers\",\n\t\t\"per_page\": 15,\n\t\t\"to\": 1,\n\t\t\"total\": 1\n\t}\n}"}],"_postman_id":"d19b41bc-9c08-4f21-91b8-13e4c37a9aed"},{"name":"Create a new supplier","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 201', function () { pm.response.to.have.status(201); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"77017c7a-392f-4624-bfd3-c9d76ea4963b"}}],"id":"8232bb51-2a40-4bb6-bb0c-9495f7aeb4ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"kind\": \"business\",\n\t\"name\": \"Office Supplies NV\",\n\t\"business_type\": \"sme\",\n\t\"email\": \"sales@officesupplies.example\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/suppliers","description":"<p>Create a new supplier.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>kind</code></td>\n<td>string</td>\n<td>on create</td>\n<td><code>business</code> or <code>person</code>. Note: a new contact is always stored as a business, for now.</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>for a business</td>\n<td>The name of the business.</td>\n</tr>\n<tr>\n<td><code>first_name</code></td>\n<td>string</td>\n<td>for a person</td>\n<td></td>\n</tr>\n<tr>\n<td><code>last_name</code></td>\n<td>string</td>\n<td>for a person</td>\n<td></td>\n</tr>\n<tr>\n<td><code>gender</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>date</code></td>\n<td>date</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>customer</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Mark the contact as a customer.</td>\n</tr>\n<tr>\n<td><code>supplier</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Mark the contact as a supplier.</td>\n</tr>\n<tr>\n<td><code>business_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>sole</code>, <code>private</code>, <code>sme</code>, <code>free</code> or <code>nonprofit</code>.</td>\n</tr>\n<tr>\n<td><code>vat_number</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>vat_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>collect</code>, <code>reverse</code>, <code>exempt</code>, <code>co-contractor</code> or <code>renovation</code>.</td>\n</tr>\n<tr>\n<td><code>vat_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>kvk_number</code></td>\n<td>string</td>\n<td>no</td>\n<td>Company registration number.</td>\n</tr>\n<tr>\n<td><code>discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>discount_active</code></td>\n<td>boolean</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>invoice_send_method</code></td>\n<td>string</td>\n<td>no</td>\n<td>How invoices are sent by default.</td>\n</tr>\n<tr>\n<td><code>language</code></td>\n<td>string</td>\n<td>no</td>\n<td>2 letters, for example <code>en</code>.</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>string</td>\n<td>no</td>\n<td>3 letters, for example <code>eur</code>.</td>\n</tr>\n<tr>\n<td><code>timezone</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>phone</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>cellphone</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>fax</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>website</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>extra_fields</code></td>\n<td>array</td>\n<td>no</td>\n<td>A list of <code>{ \"label\": \"...\", \"value\": \"...\" }</code>.</td>\n</tr>\n<tr>\n<td><code>addresses</code></td>\n<td>array</td>\n<td>no</td>\n<td>A list of addresses, one per <code>type</code>.</td>\n</tr>\n<tr>\n<td><code>addresses.*.type</code></td>\n<td>string</td>\n<td>yes</td>\n<td><code>billing</code> or <code>delivery</code>.</td>\n</tr>\n<tr>\n<td><code>addresses.*.address_line_1</code></td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td><code>addresses.*.address_line_2</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>addresses.*.postcode</code></td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td><code>addresses.*.city</code></td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td><code>addresses.*.state</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>addresses.*.country_code</code></td>\n<td>string</td>\n<td>yes</td>\n<td>2 letters (ISO 3166-1 alpha-2), for example <code>BE</code>, not <code>BEL</code>.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["suppliers"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"fad71d9d-a3ce-42d1-a4ae-b060c771217f","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"kind\": \"business\",\n\t\"name\": \"Office Supplies NV\",\n\t\"business_type\": \"sme\",\n\t\"email\": \"sales@officesupplies.example\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/suppliers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 3,\n\t\t\"customer\": false,\n\t\t\"supplier\": true,\n\t\t\"supplier_number\": 1,\n\t\t\"name\": \"Office Supplies NV\",\n\t\t\"vat_number\": null,\n\t\t\"kvk_number\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"usd\",\n\t\t\"email\": \"sales@officesupplies.example\",\n\t\t\"phone\": null,\n\t\t\"peppol_id\": null,\n\t\t\"peppol_scheme\": null,\n\t\t\"peppol_ready\": null,\n\t\t\"extra_fields\": [],\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false,\n\t\t\"addresses\": []\n\t}\n}"}],"_postman_id":"8232bb51-2a40-4bb6-bb0c-9495f7aeb4ca"},{"name":"Retrieve a supplier","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"53ede0c0-cf8e-47bf-9f40-abe9a2fbf84e"}}],"id":"69c2b673-3fb1-49f8-9afd-4fa5f5d60a8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/suppliers/","description":"<p>Retrieve a supplier.</p>\n","urlObject":{"path":["suppliers",""],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"59108d1b-9193-41e8-a4ae-0703fb2122b2","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/suppliers/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 3,\n\t\t\"customer\": false,\n\t\t\"supplier\": true,\n\t\t\"supplier_number\": \"1\",\n\t\t\"name\": \"Office Supplies NV\",\n\t\t\"vat_number\": null,\n\t\t\"kvk_number\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"usd\",\n\t\t\"email\": \"sales@officesupplies.example\",\n\t\t\"phone\": null,\n\t\t\"peppol_id\": null,\n\t\t\"peppol_scheme\": null,\n\t\t\"peppol_ready\": false,\n\t\t\"extra_fields\": [],\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false,\n\t\t\"addresses\": []\n\t}\n}"}],"_postman_id":"69c2b673-3fb1-49f8-9afd-4fa5f5d60a8c"},{"name":"Update a supplier","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"15cfd100-cafd-4929-b082-a7905fdc054b"}}],"id":"f5afe1b4-957a-4460-9912-d42975fc0f7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"phone\": \"+32 3 123 45 67\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/suppliers/","description":"<p>Update a supplier. Takes the same fields as a contact.</p>\n","urlObject":{"path":["suppliers",""],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"0ea6c551-7f18-4ec8-baca-06d2ac78e6f4","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"phone\": \"+32 3 123 45 67\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/suppliers/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 3,\n\t\t\"customer\": false,\n\t\t\"supplier\": true,\n\t\t\"supplier_number\": \"1\",\n\t\t\"name\": \"Office Supplies NV\",\n\t\t\"vat_number\": null,\n\t\t\"kvk_number\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"usd\",\n\t\t\"email\": \"sales@officesupplies.example\",\n\t\t\"phone\": \"+32 3 123 45 67\",\n\t\t\"peppol_id\": null,\n\t\t\"peppol_scheme\": null,\n\t\t\"peppol_ready\": false,\n\t\t\"extra_fields\": [],\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false,\n\t\t\"addresses\": []\n\t}\n}"}],"_postman_id":"f5afe1b4-957a-4460-9912-d42975fc0f7e"},{"name":"Delete a supplier","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });"],"id":"ee732cf1-4dba-4963-8fd6-2e80fdae280f"}}],"id":"60d7135a-a11e-4fdc-bc59-92001ed2c9ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/suppliers/","description":"<p>Delete a supplier.</p>\n","urlObject":{"path":["suppliers",""],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"51ffdb39-2cbd-4bde-ba46-941ad0c0238c","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/suppliers/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 8,\n\t\t\"customer\": false,\n\t\t\"supplier\": true,\n\t\t\"supplier_number\": \"1\",\n\t\t\"name\": \"Throwaway NV\",\n\t\t\"vat_number\": null,\n\t\t\"kvk_number\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"usd\",\n\t\t\"email\": null,\n\t\t\"phone\": null,\n\t\t\"peppol_id\": null,\n\t\t\"peppol_scheme\": null,\n\t\t\"peppol_ready\": false,\n\t\t\"extra_fields\": [],\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed_at\": 1794999600,\n\t\t\"trashed\": true,\n\t\t\"addresses\": []\n\t}\n}"}],"_postman_id":"60d7135a-a11e-4fdc-bc59-92001ed2c9ff"}],"id":"22e35c4c-4fe4-477e-8115-5de0f6a85466","_postman_id":"22e35c4c-4fe4-477e-8115-5de0f6a85466","description":""},{"name":"Groups","item":[{"name":"List contact groups","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"5002260c-2fea-438c-a963-c4fb05187166"}}],"id":"ad3ac635-d103-4536-a6e5-1c44f30dc63f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/contact-groups?sort=name","description":"<p>Get a list of paginated groups.</p>\n","urlObject":{"path":["contact-groups"],"host":["{{api_url}}"],"query":[{"disabled":true,"description":{"content":"<p>The number of results per page (1 to 100, default 15).</p>\n","type":"text/plain"},"key":"limit","value":"15"},{"disabled":true,"description":{"content":"<p>The page to get.</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Sort the results, for example <code>name</code>.</p>\n","type":"text/plain"},"key":"sort","value":"name"},{"disabled":true,"description":{"content":"<p>Also list the resources in the trash.</p>\n","type":"text/plain"},"key":"withTrashed","value":"1"},{"disabled":true,"description":{"content":"<p>Only list the resources in the trash.</p>\n","type":"text/plain"},"key":"onlyTrashed","value":"1"}],"variable":[]}},"response":[{"id":"c268dc69-0738-447d-8aff-0377bb54b2cf","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{api_url}}/contact-groups?sort=name","host":["{{api_url}}"],"path":["contact-groups"],"query":[{"key":"limit","value":"15","description":"The number of results per page (1 to 100, default 15).","disabled":true},{"key":"page","value":"1","description":"The page to get.","disabled":true},{"key":"sort","value":"name","description":"Sort the results, for example `name`."},{"key":"withTrashed","value":"1","description":"Also list the resources in the trash.","disabled":true},{"key":"onlyTrashed","value":"1","description":"Only list the resources in the trash.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"slug\": \"vip-customers\",\n\t\t\t\"name\": \"VIP customers\",\n\t\t\t\"description\": \"Customers with a discount\",\n\t\t\t\"discount_active\": true,\n\t\t\t\"discount_percentage\": 5,\n\t\t\t\"contacts\": 0,\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000\n\t\t}\n\t],\n\t\"links\": {\n\t\t\"first\": \"https://api.comanage.me/v1/contact-groups?page=1\",\n\t\t\"last\": \"https://api.comanage.me/v1/contact-groups?page=1\",\n\t\t\"prev\": null,\n\t\t\"next\": null\n\t},\n\t\"meta\": {\n\t\t\"current_page\": 1,\n\t\t\"from\": 1,\n\t\t\"last_page\": 1,\n\t\t\"links\": [\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"&laquo; Previous\",\n\t\t\t\t\"active\": false\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": \"https://api.comanage.me/v1/contact-groups?page=1\",\n\t\t\t\t\"label\": \"1\",\n\t\t\t\t\"active\": true\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"Next &raquo;\",\n\t\t\t\t\"active\": false\n\t\t\t}\n\t\t],\n\t\t\"path\": \"https://api.comanage.me/v1/contact-groups\",\n\t\t\"per_page\": 15,\n\t\t\"to\": 1,\n\t\t\"total\": 1\n\t}\n}"}],"_postman_id":"ad3ac635-d103-4536-a6e5-1c44f30dc63f"},{"name":"Create a new contact group","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 201', function () { pm.response.to.have.status(201); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"206f0972-e4ef-44c2-89ed-65f931cb6a4b"}}],"id":"663858ee-7209-4357-8c97-bd10daa20453","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"VIP customers\",\n\t\"description\": \"Customers with a discount\",\n\t\"discount_active\": true,\n\t\"discount_percentage\": 5\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/contact-groups","description":"<p>Create a new contact group.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>on create</td>\n<td></td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>discount_active</code></td>\n<td>boolean</td>\n<td>no</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["contact-groups"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"9422426c-25e0-47a8-86ea-f23ea99817ee","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"VIP customers\",\n\t\"description\": \"Customers with a discount\",\n\t\"discount_active\": true,\n\t\"discount_percentage\": 5\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/contact-groups"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"slug\": \"vip-customers\",\n\t\t\"name\": \"VIP customers\",\n\t\t\"description\": \"Customers with a discount\",\n\t\t\"discount_active\": true,\n\t\t\"discount_percentage\": 5,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000\n\t}\n}"}],"_postman_id":"663858ee-7209-4357-8c97-bd10daa20453"},{"name":"Retrieve a contact group","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"b2ca5295-ad98-461c-9339-575cc225f04b"}}],"id":"df1b2a3f-b143-4c08-b0d1-0cfbb2cb3ca2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/contact-groups/{{contact_group_slug}}","description":"<p>Retrieve a contact group by its slug.</p>\n","urlObject":{"path":["contact-groups","{{contact_group_slug}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"ce763a30-90bd-415f-80d2-7c8092599c72","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/contact-groups/{{contact_group_slug}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"slug\": \"vip-customers\",\n\t\t\"name\": \"VIP customers\",\n\t\t\"description\": \"Customers with a discount\",\n\t\t\"discount_active\": true,\n\t\t\"discount_percentage\": 5,\n\t\t\"contacts\": 0,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000\n\t}\n}"}],"_postman_id":"df1b2a3f-b143-4c08-b0d1-0cfbb2cb3ca2"},{"name":"Update a contact group","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"5b9ddcf7-4460-47e5-a496-fbac90d13638"}}],"id":"a02fd632-32b7-4953-a309-181b8af8a645","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Customers with a 10% discount\",\n\t\"discount_percentage\": 10\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/contact-groups/{{contact_group_slug}}","description":"<p>Update an existing contact group.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>on create</td>\n<td></td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>discount_active</code></td>\n<td>boolean</td>\n<td>no</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["contact-groups","{{contact_group_slug}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"1c1a5877-74fe-4c92-8407-a786f78c2b5b","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Customers with a 10% discount\",\n\t\"discount_percentage\": 10\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/contact-groups/{{contact_group_slug}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"slug\": \"vip-customers\",\n\t\t\"name\": \"VIP customers\",\n\t\t\"description\": \"Customers with a 10% discount\",\n\t\t\"discount_active\": true,\n\t\t\"discount_percentage\": 10,\n\t\t\"contacts\": 0,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000\n\t}\n}"}],"_postman_id":"a02fd632-32b7-4953-a309-181b8af8a645"},{"name":"Add contact to group","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"1f1e63cc-8aa6-4aa7-99f0-e609c60fd7e1"}}],"id":"77138d42-8691-4a68-bdae-54dd230598bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"number\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/contact-groups/{{contact_group_slug}}/contacts/add","description":"<p>Add a contact to a group.</p>\n","urlObject":{"path":["contact-groups","{{contact_group_slug}}","contacts","add"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"ac07a7cb-8b7b-402a-a24a-a07da8512288","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"number\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/contact-groups/{{contact_group_slug}}/contacts/add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"slug\": \"vip-customers\",\n\t\t\"name\": \"VIP customers\",\n\t\t\"description\": \"Customers with a 10% discount\",\n\t\t\"discount_active\": true,\n\t\t\"discount_percentage\": 10,\n\t\t\"contacts\": 1,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000\n\t}\n}"}],"_postman_id":"77138d42-8691-4a68-bdae-54dd230598bd"},{"name":"Empty a contact group","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"239da5ba-ec20-487a-ace7-d018550d8637"}}],"id":"df360a31-a3a5-4c7d-ad7a-6d9fa260bf26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/contact-groups/{{contact_group_slug}}/empty","description":"<p>Empty a contact group.</p>\n","urlObject":{"path":["contact-groups","{{contact_group_slug}}","empty"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"2a610bba-28b4-47e5-ab0a-ca3941adb08e","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/contact-groups/{{contact_group_slug}}/empty"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"slug\": \"vip-customers\",\n\t\t\"name\": \"VIP customers\",\n\t\t\"description\": \"Customers with a 10% discount\",\n\t\t\"discount_active\": true,\n\t\t\"discount_percentage\": 10,\n\t\t\"contacts\": 0,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000\n\t}\n}"}],"_postman_id":"df360a31-a3a5-4c7d-ad7a-6d9fa260bf26"},{"name":"Delete a contact group","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });"],"id":"4f593963-3753-44a6-b796-a7ca90551a09"}}],"id":"7760d9aa-cbc1-4efd-9129-3de41c3d47f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/contact-groups/{{contact_group_slug}}","description":"<p>Delete a contact group.</p>\n","urlObject":{"path":["contact-groups","{{contact_group_slug}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"0ca2afdc-a124-4e89-929f-376658a80075","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/contact-groups/{{contact_group_slug}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"slug\": \"vip-customers\",\n\t\t\"name\": \"VIP customers\",\n\t\t\"description\": \"Customers with a 10% discount\",\n\t\t\"discount_active\": true,\n\t\t\"discount_percentage\": 10,\n\t\t\"contacts\": 0,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000\n\t}\n}"}],"_postman_id":"7760d9aa-cbc1-4efd-9129-3de41c3d47f5"}],"id":"aaaf486f-f8c4-4e1f-9b46-aac8fb425bab","_postman_id":"aaaf486f-f8c4-4e1f-9b46-aac8fb425bab","description":""},{"name":"List contacts","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"b97b7dfd-b090-477c-9a0a-c30e6c97213f"}}],"id":"44501741-0ebd-4fbc-b233-e425d38801ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/contacts?sort=number_desc","description":"<p>Get a list of paginated contacts.</p>\n","urlObject":{"path":["contacts"],"host":["{{api_url}}"],"query":[{"disabled":true,"description":{"content":"<p>The number of results per page (1 to 100, default 15).</p>\n","type":"text/plain"},"key":"limit","value":"15"},{"disabled":true,"description":{"content":"<p>The page to get.</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Sort the results, for example <code>number_desc</code>.</p>\n","type":"text/plain"},"key":"sort","value":"number_desc"},{"disabled":true,"description":{"content":"<p>Filter on (part of) the name.</p>\n","type":"text/plain"},"key":"name","value":""},{"disabled":true,"description":{"content":"<p>Filter on the e-mail address.</p>\n","type":"text/plain"},"key":"email","value":""},{"disabled":true,"description":{"content":"<p>Filter on the phone number.</p>\n","type":"text/plain"},"key":"phone","value":""},{"disabled":true,"description":{"content":"<p>Filter on the cellphone number.</p>\n","type":"text/plain"},"key":"cellphone","value":""},{"disabled":true,"description":{"content":"<p>Filter on the website.</p>\n","type":"text/plain"},"key":"website","value":""},{"disabled":true,"description":{"content":"<p>Filter on the VAT number.</p>\n","type":"text/plain"},"key":"vat_number","value":""},{"disabled":true,"description":{"content":"<p>Filter on the company registration number (KvK).</p>\n","type":"text/plain"},"key":"kvk_number","value":""},{"disabled":true,"description":{"content":"<p>Filter on the GLN number.</p>\n","type":"text/plain"},"key":"gln_number","value":""},{"disabled":true,"description":{"content":"<p>Only the contacts in this group (the slug of the group).</p>\n","type":"text/plain"},"key":"group","value":""},{"disabled":true,"description":{"content":"<p>Also list the resources in the trash.</p>\n","type":"text/plain"},"key":"withTrashed","value":"1"},{"disabled":true,"description":{"content":"<p>Only list the resources in the trash.</p>\n","type":"text/plain"},"key":"onlyTrashed","value":"1"}],"variable":[]}},"response":[{"id":"7025ee37-3aaf-4f54-bd19-293907a4a22b","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{api_url}}/contacts?sort=number_desc","host":["{{api_url}}"],"path":["contacts"],"query":[{"key":"limit","value":"15","description":"The number of results per page (1 to 100, default 15).","disabled":true},{"key":"page","value":"1","description":"The page to get.","disabled":true},{"key":"sort","value":"number_desc","description":"Sort the results, for example `number_desc`."},{"key":"name","value":"","description":"Filter on (part of) the name.","disabled":true},{"key":"email","value":"","description":"Filter on the e-mail address.","disabled":true},{"key":"phone","value":"","description":"Filter on the phone number.","disabled":true},{"key":"cellphone","value":"","description":"Filter on the cellphone number.","disabled":true},{"key":"website","value":"","description":"Filter on the website.","disabled":true},{"key":"vat_number","value":"","description":"Filter on the VAT number.","disabled":true},{"key":"kvk_number","value":"","description":"Filter on the company registration number (KvK).","disabled":true},{"key":"gln_number","value":"","description":"Filter on the GLN number.","disabled":true},{"key":"group","value":"","description":"Only the contacts in this group (the slug of the group).","disabled":true},{"key":"withTrashed","value":"1","description":"Also list the resources in the trash.","disabled":true},{"key":"onlyTrashed","value":"1","description":"Only list the resources in the trash.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"number\": 1,\n\t\t\t\"customer\": false,\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Evil Corp.\",\n\t\t\t\"vat_number\": \"BE0123456789\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@evilcorp.example\",\n\t\t\t\"phone\": \"+32 2 123 45 67\",\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [\n\t\t\t\t{\n\t\t\t\t\t\"label\": \"Account manager\",\n\t\t\t\t\t\"value\": \"Dwight\"\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Evil Street 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Brussels\",\n\t\t\t\t\t\"postcode\": \"1000\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"BE\",\n\t\t\t\t\t\"country\": \"Belgium\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t],\n\t\"links\": {\n\t\t\"first\": \"https://api.comanage.me/v1/contacts?page=1\",\n\t\t\"last\": \"https://api.comanage.me/v1/contacts?page=1\",\n\t\t\"prev\": null,\n\t\t\"next\": null\n\t},\n\t\"meta\": {\n\t\t\"current_page\": 1,\n\t\t\"from\": 1,\n\t\t\"last_page\": 1,\n\t\t\"links\": [\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"&laquo; Previous\",\n\t\t\t\t\"active\": false\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": \"https://api.comanage.me/v1/contacts?page=1\",\n\t\t\t\t\"label\": \"1\",\n\t\t\t\t\"active\": true\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"Next &raquo;\",\n\t\t\t\t\"active\": false\n\t\t\t}\n\t\t],\n\t\t\"path\": \"https://api.comanage.me/v1/contacts\",\n\t\t\"per_page\": 15,\n\t\t\"to\": 1,\n\t\t\"total\": 1\n\t}\n}"}],"_postman_id":"44501741-0ebd-4fbc-b233-e425d38801ee"},{"name":"Create a new contact","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 201', function () { pm.response.to.have.status(201); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"2de3d43e-ce6c-4d3b-b827-2dc5eb93510c"}}],"id":"b654184f-11e3-44f2-ae1f-363ce16656ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"kind\": \"business\",\n\t\"name\": \"Evil Corp.\",\n\t\"business_type\": \"sme\",\n\t\"vat_number\": \"BE0123456789\",\n\t\"vat_type\": \"collect\",\n\t\"email\": \"info@evilcorp.example\",\n\t\"phone\": \"+32 2 123 45 67\",\n\t\"language\": \"en\",\n\t\"currency\": \"eur\",\n\t\"extra_fields\": [\n\t\t{\n\t\t\t\"label\": \"Account manager\",\n\t\t\t\"value\": \"Dwight\"\n\t\t}\n\t],\n\t\"addresses\": [\n\t\t{\n\t\t\t\"type\": \"billing\",\n\t\t\t\"address_line_1\": \"Evil Street 1\",\n\t\t\t\"postcode\": \"1000\",\n\t\t\t\"city\": \"Brussels\",\n\t\t\t\"country_code\": \"BE\"\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/contacts","description":"<p>Create a new contact.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>kind</code></td>\n<td>string</td>\n<td>on create</td>\n<td><code>business</code> or <code>person</code>. Note: a new contact is always stored as a business, for now.</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>for a business</td>\n<td>The name of the business.</td>\n</tr>\n<tr>\n<td><code>first_name</code></td>\n<td>string</td>\n<td>for a person</td>\n<td></td>\n</tr>\n<tr>\n<td><code>last_name</code></td>\n<td>string</td>\n<td>for a person</td>\n<td></td>\n</tr>\n<tr>\n<td><code>gender</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>date</code></td>\n<td>date</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>customer</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Mark the contact as a customer.</td>\n</tr>\n<tr>\n<td><code>supplier</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Mark the contact as a supplier.</td>\n</tr>\n<tr>\n<td><code>business_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>sole</code>, <code>private</code>, <code>sme</code>, <code>free</code> or <code>nonprofit</code>.</td>\n</tr>\n<tr>\n<td><code>vat_number</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>vat_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>collect</code>, <code>reverse</code>, <code>exempt</code>, <code>co-contractor</code> or <code>renovation</code>.</td>\n</tr>\n<tr>\n<td><code>vat_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>kvk_number</code></td>\n<td>string</td>\n<td>no</td>\n<td>Company registration number.</td>\n</tr>\n<tr>\n<td><code>discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>discount_active</code></td>\n<td>boolean</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>invoice_send_method</code></td>\n<td>string</td>\n<td>no</td>\n<td>How invoices are sent by default.</td>\n</tr>\n<tr>\n<td><code>language</code></td>\n<td>string</td>\n<td>no</td>\n<td>2 letters, for example <code>en</code>.</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>string</td>\n<td>no</td>\n<td>3 letters, for example <code>eur</code>.</td>\n</tr>\n<tr>\n<td><code>timezone</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>phone</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>cellphone</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>fax</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>website</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>extra_fields</code></td>\n<td>array</td>\n<td>no</td>\n<td>A list of <code>{ \"label\": \"...\", \"value\": \"...\" }</code>.</td>\n</tr>\n<tr>\n<td><code>addresses</code></td>\n<td>array</td>\n<td>no</td>\n<td>A list of addresses, one per <code>type</code>.</td>\n</tr>\n<tr>\n<td><code>addresses.*.type</code></td>\n<td>string</td>\n<td>yes</td>\n<td><code>billing</code> or <code>delivery</code>.</td>\n</tr>\n<tr>\n<td><code>addresses.*.address_line_1</code></td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td><code>addresses.*.address_line_2</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>addresses.*.postcode</code></td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td><code>addresses.*.city</code></td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td><code>addresses.*.state</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>addresses.*.country_code</code></td>\n<td>string</td>\n<td>yes</td>\n<td>2 letters (ISO 3166-1 alpha-2), for example <code>BE</code>, not <code>BEL</code>.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["contacts"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"4dce5efd-2ec1-44d5-a5de-2b93eca594d7","name":"Created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"kind\": \"business\",\n\t\"name\": \"Evil Corp.\",\n\t\"business_type\": \"sme\",\n\t\"vat_number\": \"BE0123456789\",\n\t\"vat_type\": \"collect\",\n\t\"email\": \"info@evilcorp.example\",\n\t\"phone\": \"+32 2 123 45 67\",\n\t\"language\": \"en\",\n\t\"currency\": \"eur\",\n\t\"extra_fields\": [\n\t\t{\n\t\t\t\"label\": \"Account manager\",\n\t\t\t\"value\": \"Dwight\"\n\t\t}\n\t],\n\t\"addresses\": [\n\t\t{\n\t\t\t\"type\": \"billing\",\n\t\t\t\"address_line_1\": \"Evil Street 1\",\n\t\t\t\"postcode\": \"1000\",\n\t\t\t\"city\": \"Brussels\",\n\t\t\t\"country_code\": \"BE\"\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/contacts"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"customer\": false,\n\t\t\"supplier\": false,\n\t\t\"name\": \"Evil Corp.\",\n\t\t\"vat_number\": \"BE0123456789\",\n\t\t\"kvk_number\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"email\": \"info@evilcorp.example\",\n\t\t\"phone\": \"+32 2 123 45 67\",\n\t\t\"peppol_id\": null,\n\t\t\"peppol_scheme\": null,\n\t\t\"peppol_ready\": false,\n\t\t\"extra_fields\": [\n\t\t\t{\n\t\t\t\t\"label\": \"Account manager\",\n\t\t\t\t\"value\": \"Dwight\"\n\t\t\t}\n\t\t],\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false,\n\t\t\"addresses\": [\n\t\t\t{\n\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\"address_line_1\": \"Evil Street 1\",\n\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\"city\": \"Brussels\",\n\t\t\t\t\"postcode\": \"1000\",\n\t\t\t\t\"state\": null,\n\t\t\t\t\"country_code\": \"BE\",\n\t\t\t\t\"country\": \"Belgium\",\n\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\"updated_at\": 1794996000\n\t\t\t}\n\t\t]\n\t}\n}"},{"id":"ef8c3b61-56de-4e95-b727-029bdfc4bd98","name":"Validation error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"kind\": \"business\",\n\t\"name\": \"Evil Corp.\",\n\t\"business_type\": \"sme\",\n\t\"vat_number\": \"BE0123456789\",\n\t\"vat_type\": \"collect\",\n\t\"email\": \"info@evilcorp.example\",\n\t\"phone\": \"+32 2 123 45 67\",\n\t\"language\": \"en\",\n\t\"currency\": \"eur\",\n\t\"extra_fields\": [\n\t\t{\n\t\t\t\"label\": \"Account manager\",\n\t\t\t\"value\": \"Dwight\"\n\t\t}\n\t],\n\t\"addresses\": [\n\t\t{\n\t\t\t\"type\": \"billing\",\n\t\t\t\"address_line_1\": \"Evil Street 1\",\n\t\t\t\"postcode\": \"1000\",\n\t\t\t\"city\": \"Brussels\",\n\t\t\t\"country_code\": \"BE\"\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/contacts"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"message\": \"The email must be a valid email address.\",\n\t\"errors\": {\n\t\t\"email\": [\n\t\t\t\"The email must be a valid email address.\"\n\t\t]\n\t}\n}"}],"_postman_id":"b654184f-11e3-44f2-ae1f-363ce16656ea"},{"name":"Retrieve a contact","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"cecdb3e4-f9c0-4cd8-a093-1fa52ca0b687"}}],"id":"b7f7d7aa-b90e-4c94-aab4-31e521c4422f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/contacts/{{contact_number}}","description":"<p>Retrieve a contact.</p>\n","urlObject":{"path":["contacts","{{contact_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"4ffb7aaf-0faa-47c4-850d-b1af0f982fa7","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/contacts/{{contact_number}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"customer\": false,\n\t\t\"supplier\": false,\n\t\t\"name\": \"Evil Corp.\",\n\t\t\"vat_number\": \"BE0123456789\",\n\t\t\"kvk_number\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"email\": \"info@evilcorp.example\",\n\t\t\"phone\": \"+32 2 123 45 67\",\n\t\t\"peppol_id\": null,\n\t\t\"peppol_scheme\": null,\n\t\t\"peppol_ready\": false,\n\t\t\"extra_fields\": [\n\t\t\t{\n\t\t\t\t\"label\": \"Account manager\",\n\t\t\t\t\"value\": \"Dwight\"\n\t\t\t}\n\t\t],\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false,\n\t\t\"addresses\": [\n\t\t\t{\n\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\"address_line_1\": \"Evil Street 1\",\n\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\"city\": \"Brussels\",\n\t\t\t\t\"postcode\": \"1000\",\n\t\t\t\t\"state\": null,\n\t\t\t\t\"country_code\": \"BE\",\n\t\t\t\t\"country\": \"Belgium\",\n\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\"updated_at\": 1794996000\n\t\t\t}\n\t\t]\n\t}\n}"},{"id":"4b47b0dc-4fa4-4db7-b27a-b3408dc34ef6","name":"Not found","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/contacts/{{contact_number}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"message\": \"No query results for model [CoManage\\\\Contacts\\\\Contact].\"\n}"}],"_postman_id":"b7f7d7aa-b90e-4c94-aab4-31e521c4422f"},{"name":"Update a contact","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"68f33d7e-0eee-4c38-9821-c3ef34e3a0f2"}}],"id":"949ed879-3f97-4541-8577-8ae819ea93ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"phone\": \"+32 2 765 43 21\",\n\t\"addresses\": [\n\t\t{\n\t\t\t\"type\": \"delivery\",\n\t\t\t\"address_line_1\": \"Warehouse Road 5\",\n\t\t\t\"postcode\": \"2000\",\n\t\t\t\"city\": \"Antwerp\",\n\t\t\t\"country_code\": \"BE\"\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/contacts/{{contact_number}}","description":"<p>Update an existing contact.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>kind</code></td>\n<td>string</td>\n<td>on create</td>\n<td><code>business</code> or <code>person</code>. Note: a new contact is always stored as a business, for now.</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>for a business</td>\n<td>The name of the business.</td>\n</tr>\n<tr>\n<td><code>first_name</code></td>\n<td>string</td>\n<td>for a person</td>\n<td></td>\n</tr>\n<tr>\n<td><code>last_name</code></td>\n<td>string</td>\n<td>for a person</td>\n<td></td>\n</tr>\n<tr>\n<td><code>gender</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>date</code></td>\n<td>date</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>customer</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Mark the contact as a customer.</td>\n</tr>\n<tr>\n<td><code>supplier</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Mark the contact as a supplier.</td>\n</tr>\n<tr>\n<td><code>business_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>sole</code>, <code>private</code>, <code>sme</code>, <code>free</code> or <code>nonprofit</code>.</td>\n</tr>\n<tr>\n<td><code>vat_number</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>vat_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>collect</code>, <code>reverse</code>, <code>exempt</code>, <code>co-contractor</code> or <code>renovation</code>.</td>\n</tr>\n<tr>\n<td><code>vat_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>kvk_number</code></td>\n<td>string</td>\n<td>no</td>\n<td>Company registration number.</td>\n</tr>\n<tr>\n<td><code>discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>discount_active</code></td>\n<td>boolean</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>invoice_send_method</code></td>\n<td>string</td>\n<td>no</td>\n<td>How invoices are sent by default.</td>\n</tr>\n<tr>\n<td><code>language</code></td>\n<td>string</td>\n<td>no</td>\n<td>2 letters, for example <code>en</code>.</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>string</td>\n<td>no</td>\n<td>3 letters, for example <code>eur</code>.</td>\n</tr>\n<tr>\n<td><code>timezone</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>phone</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>cellphone</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>fax</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>website</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>extra_fields</code></td>\n<td>array</td>\n<td>no</td>\n<td>A list of <code>{ \"label\": \"...\", \"value\": \"...\" }</code>.</td>\n</tr>\n<tr>\n<td><code>addresses</code></td>\n<td>array</td>\n<td>no</td>\n<td>A list of addresses, one per <code>type</code>.</td>\n</tr>\n<tr>\n<td><code>addresses.*.type</code></td>\n<td>string</td>\n<td>yes</td>\n<td><code>billing</code> or <code>delivery</code>.</td>\n</tr>\n<tr>\n<td><code>addresses.*.address_line_1</code></td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td><code>addresses.*.address_line_2</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>addresses.*.postcode</code></td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td><code>addresses.*.city</code></td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td><code>addresses.*.state</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>addresses.*.country_code</code></td>\n<td>string</td>\n<td>yes</td>\n<td>2 letters (ISO 3166-1 alpha-2), for example <code>BE</code>, not <code>BEL</code>.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["contacts","{{contact_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"816658a5-85a9-4855-9e97-2cc59e16c323","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"phone\": \"+32 2 765 43 21\",\n\t\"addresses\": [\n\t\t{\n\t\t\t\"type\": \"delivery\",\n\t\t\t\"address_line_1\": \"Warehouse Road 5\",\n\t\t\t\"postcode\": \"2000\",\n\t\t\t\"city\": \"Antwerp\",\n\t\t\t\"country_code\": \"BE\"\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/contacts/{{contact_number}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"customer\": false,\n\t\t\"supplier\": false,\n\t\t\"name\": \"Evil Corp.\",\n\t\t\"vat_number\": \"BE0123456789\",\n\t\t\"kvk_number\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"email\": \"info@evilcorp.example\",\n\t\t\"phone\": \"+32 2 765 43 21\",\n\t\t\"peppol_id\": null,\n\t\t\"peppol_scheme\": null,\n\t\t\"peppol_ready\": false,\n\t\t\"extra_fields\": [\n\t\t\t{\n\t\t\t\t\"label\": \"Account manager\",\n\t\t\t\t\"value\": \"Dwight\"\n\t\t\t}\n\t\t],\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false,\n\t\t\"addresses\": [\n\t\t\t{\n\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\"address_line_1\": \"Evil Street 1\",\n\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\"city\": \"Brussels\",\n\t\t\t\t\"postcode\": \"1000\",\n\t\t\t\t\"state\": null,\n\t\t\t\t\"country_code\": \"BE\",\n\t\t\t\t\"country\": \"Belgium\",\n\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\"updated_at\": 1794996000\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"type\": \"delivery\",\n\t\t\t\t\"address_line_1\": \"Warehouse Road 5\",\n\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\"city\": \"Antwerp\",\n\t\t\t\t\"postcode\": \"2000\",\n\t\t\t\t\"state\": null,\n\t\t\t\t\"country_code\": \"BE\",\n\t\t\t\t\"country\": \"Belgium\",\n\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\"updated_at\": 1794996000\n\t\t\t}\n\t\t]\n\t}\n}"}],"_postman_id":"949ed879-3f97-4541-8577-8ae819ea93ac"},{"name":"Trash a contact","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"ba50b7d0-14df-4e93-9f62-a4f700a02876"}}],"id":"4408581d-cbd2-4d5a-96f7-ea5abf67a930","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/contacts/{{contact_number}}/trash","description":"<p>Trash a contact.</p>\n","urlObject":{"path":["contacts","{{contact_number}}","trash"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"8bd779a0-025e-4c4a-8985-92d088834bc4","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/contacts/{{contact_number}}/trash"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 5,\n\t\t\"customer\": false,\n\t\t\"supplier\": false,\n\t\t\"name\": \"Jim Halpert\",\n\t\t\"vat_number\": null,\n\t\t\"kvk_number\": null,\n\t\t\"first_name\": \"Jim\",\n\t\t\"last_name\": \"Halpert\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"usd\",\n\t\t\"email\": \"jim@example.com\",\n\t\t\"phone\": null,\n\t\t\"peppol_id\": null,\n\t\t\"peppol_scheme\": null,\n\t\t\"peppol_ready\": false,\n\t\t\"extra_fields\": [],\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed_at\": 1794996000,\n\t\t\"trashed\": true,\n\t\t\"addresses\": []\n\t}\n}"}],"_postman_id":"4408581d-cbd2-4d5a-96f7-ea5abf67a930"},{"name":"Restore a contact","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"aa0c924d-bfed-488c-945a-56ba1c646f00"}}],"id":"ed2f5942-8350-4422-80c7-292dfb0b4b48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/contacts/{{contact_number}}/restore","description":"<p>Restore a contact from the trash.</p>\n","urlObject":{"path":["contacts","{{contact_number}}","restore"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"419cbab7-7acd-48c7-8d94-ae967006b33c","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/contacts/{{contact_number}}/restore"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 5,\n\t\t\"customer\": false,\n\t\t\"supplier\": false,\n\t\t\"name\": \"Jim Halpert\",\n\t\t\"vat_number\": null,\n\t\t\"kvk_number\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"usd\",\n\t\t\"email\": \"jim@example.com\",\n\t\t\"phone\": null,\n\t\t\"peppol_id\": null,\n\t\t\"peppol_scheme\": null,\n\t\t\"peppol_ready\": false,\n\t\t\"extra_fields\": [],\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false,\n\t\t\"addresses\": []\n\t}\n}"}],"_postman_id":"ed2f5942-8350-4422-80c7-292dfb0b4b48"},{"name":"Delete a contact","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });"],"id":"cb98a758-dd6c-454d-83c1-02c543a27c58"}}],"id":"7f0bf083-c1e2-4214-a334-955270184b91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/contacts/{{contact_number}}","description":"<p>Delete a contact.</p>\n","urlObject":{"path":["contacts","{{contact_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"550c3aed-d402-4550-9f87-cdd2854c59cb","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/contacts/{{contact_number}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 5,\n\t\t\"customer\": false,\n\t\t\"supplier\": false,\n\t\t\"name\": \"Jim Halpert\",\n\t\t\"vat_number\": null,\n\t\t\"kvk_number\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"usd\",\n\t\t\"email\": \"jim@example.com\",\n\t\t\"phone\": null,\n\t\t\"peppol_id\": null,\n\t\t\"peppol_scheme\": null,\n\t\t\"peppol_ready\": false,\n\t\t\"extra_fields\": [],\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed_at\": 1794996000,\n\t\t\"trashed\": true,\n\t\t\"addresses\": []\n\t}\n}"}],"_postman_id":"7f0bf083-c1e2-4214-a334-955270184b91"},{"name":"List invoices of a contact","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"18f9cb77-42ce-4e76-a2d3-4ef2bd5bcfdd"}}],"id":"a69646fa-71c8-425d-a375-5823171b7a7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/contacts/{{contact_number}}/invoices","description":"<p>Get the invoices of a contact.</p>\n","urlObject":{"path":["contacts","{{contact_number}}","invoices"],"host":["{{api_url}}"],"query":[{"disabled":true,"description":{"content":"<p>The number of results per page (1 to 100, default 15).</p>\n","type":"text/plain"},"key":"limit","value":"15"},{"disabled":true,"description":{"content":"<p>Only the invoices with this status.</p>\n","type":"text/plain"},"key":"status","value":"pending"}],"variable":[]}},"response":[{"id":"be4f2b0d-45da-41ae-a382-4107d2d4b3ac","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{api_url}}/contacts/{{contact_number}}/invoices","host":["{{api_url}}"],"path":["contacts","{{contact_number}}","invoices"],"query":[{"key":"limit","value":"15","description":"The number of results per page (1 to 100, default 15).","disabled":true},{"key":"status","value":"pending","description":"Only the invoices with this status.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"number\": 1,\n\t\t\t\"status\": \"credited\",\n\t\t\t\"invoice_number\": \"1\",\n\t\t\t\"title\": \"Website redesign (phase 1)\",\n\t\t\t\"date\": \"2026-11-18\",\n\t\t\t\"due_date\": \"2026-12-18\",\n\t\t\t\"first_sent_at\": null,\n\t\t\t\"last_sent_at\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"reference_type\": \"free\",\n\t\t\t\"reference\": \"PO-2026-15\",\n\t\t\t\"lines\": 2,\n\t\t\t\"pdf\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306/pdf\",\n\t\t\t\"link\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306\",\n\t\t\t\"discount\": {\n\t\t\t\t\"commercial\": {\n\t\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\t\"percentage\": 0,\n\t\t\t\t\t\"amount\": 0\n\t\t\t\t},\n\t\t\t\t\"financial\": {\n\t\t\t\t\t\"percentage\": 0,\n\t\t\t\t\t\"amount\": 0,\n\t\t\t\t\t\"days\": 10\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"totals\": {\n\t\t\t\t\"subtotal\": 969,\n\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\"total_vat\": 203.49,\n\t\t\t\t\"total\": 1172.49,\n\t\t\t\t\"total_due_ex_vat\": 0,\n\t\t\t\t\"total_due\": 0,\n\t\t\t\t\"total_paid_ex_vat\": 969,\n\t\t\t\t\"total_paid\": 1172.49\n\t\t\t},\n\t\t\t\"vat\": {\n\t\t\t\t\"type\": \"collect\",\n\t\t\t\t\"collect\": true,\n\t\t\t\t\"amounts\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t\"contact\": {\n\t\t\t\t\"number\": 2,\n\t\t\t\t\"customer\": true,\n\t\t\t\t\"customer_number\": \"1\",\n\t\t\t\t\"supplier\": false,\n\t\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\t\"kvk_number\": null,\n\t\t\t\t\"language\": \"en\",\n\t\t\t\t\"currency\": \"eur\",\n\t\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\t\"phone\": null,\n\t\t\t\t\"peppol_id\": null,\n\t\t\t\t\"peppol_scheme\": null,\n\t\t\t\t\"peppol_ready\": false,\n\t\t\t\t\"extra_fields\": [],\n\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\"updated_at\": 1794996000,\n\t\t\t\t\"trashed\": false,\n\t\t\t\t\"addresses\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t\"created_at\": 1794999600,\n\t\t\t\"updated_at\": 1794999600,\n\t\t\t\"trashed\": false\n\t\t},\n\t\t{\n\t\t\t\"number\": 2,\n\t\t\t\"status\": \"credited\",\n\t\t\t\"invoice_number\": \"1\",\n\t\t\t\"title\": \"Refund (phase 1)\",\n\t\t\t\"date\": \"2026-11-18\",\n\t\t\t\"first_sent_at\": null,\n\t\t\t\"last_sent_at\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"reference_type\": null,\n\t\t\t\"reference\": null,\n\t\t\t\"lines\": 2,\n\t\t\t\"pdf\": \"https://app.comanage.me/invoice/9b925059-232a-4fa7-a9f0-8d26963f8b85/pdf\",\n\t\t\t\"link\": \"https://app.comanage.me/invoice/9b925059-232a-4fa7-a9f0-8d26963f8b85\",\n\t\t\t\"discount\": {\n\t\t\t\t\"commercial\": {\n\t\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\t\"percentage\": 0,\n\t\t\t\t\t\"amount\": 0\n\t\t\t\t},\n\t\t\t\t\"financial\": {\n\t\t\t\t\t\"percentage\": 0,\n\t\t\t\t\t\"amount\": 0,\n\t\t\t\t\t\"days\": 10\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"totals\": {\n\t\t\t\t\"subtotal\": 969,\n\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\"total_vat\": 203.49,\n\t\t\t\t\"total\": 1172.49,\n\t\t\t\t\"total_due_ex_vat\": 0,\n\t\t\t\t\"total_due\": 0,\n\t\t\t\t\"total_paid_ex_vat\": 0,\n\t\t\t\t\"total_paid\": 0\n\t\t\t},\n\t\t\t\"vat\": {\n\t\t\t\t\"type\": \"collect\",\n\t\t\t\t\"collect\": true,\n\t\t\t\t\"amounts\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t\"contact\": {\n\t\t\t\t\"number\": 2,\n\t\t\t\t\"customer\": true,\n\t\t\t\t\"customer_number\": \"1\",\n\t\t\t\t\"supplier\": false,\n\t\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\t\"kvk_number\": null,\n\t\t\t\t\"language\": \"en\",\n\t\t\t\t\"currency\": \"eur\",\n\t\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\t\"phone\": null,\n\t\t\t\t\"peppol_id\": null,\n\t\t\t\t\"peppol_scheme\": null,\n\t\t\t\t\"peppol_ready\": false,\n\t\t\t\t\"extra_fields\": [],\n\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\"updated_at\": 1794996000,\n\t\t\t\t\"trashed\": false,\n\t\t\t\t\"addresses\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t\"created_at\": 1794999600,\n\t\t\t\"updated_at\": 1794999600,\n\t\t\t\"trashed\": false\n\t\t},\n\t\t{\n\t\t\t\"number\": 3,\n\t\t\t\"status\": \"credited\",\n\t\t\t\"invoice_number\": \"2\",\n\t\t\t\"title\": \"Website redesign (phase 1)\",\n\t\t\t\"date\": \"2026-11-18\",\n\t\t\t\"first_sent_at\": null,\n\t\t\t\"last_sent_at\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"reference_type\": \"free\",\n\t\t\t\"reference\": \"\",\n\t\t\t\"lines\": 2,\n\t\t\t\"pdf\": \"https://app.comanage.me/invoice/e553968c-c959-4c9c-9981-ca0922aaf33c/pdf\",\n\t\t\t\"link\": \"https://app.comanage.me/invoice/e553968c-c959-4c9c-9981-ca0922aaf33c\",\n\t\t\t\"discount\": {\n\t\t\t\t\"commercial\": {\n\t\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\t\"percentage\": 0,\n\t\t\t\t\t\"amount\": 0\n\t\t\t\t},\n\t\t\t\t\"financial\": {\n\t\t\t\t\t\"percentage\": 0,\n\t\t\t\t\t\"amount\": 0,\n\t\t\t\t\t\"days\": 0\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"totals\": {\n\t\t\t\t\"subtotal\": 969,\n\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\"total_vat\": 203.49,\n\t\t\t\t\"total\": 1172.49,\n\t\t\t\t\"total_due_ex_vat\": 0,\n\t\t\t\t\"total_due\": 0,\n\t\t\t\t\"total_paid_ex_vat\": 969,\n\t\t\t\t\"total_paid\": 1172.49\n\t\t\t},\n\t\t\t\"vat\": {\n\t\t\t\t\"type\": \"collect\",\n\t\t\t\t\"collect\": true,\n\t\t\t\t\"amounts\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t\"contact\": {\n\t\t\t\t\"number\": 2,\n\t\t\t\t\"customer\": true,\n\t\t\t\t\"customer_number\": \"1\",\n\t\t\t\t\"supplier\": false,\n\t\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\t\"kvk_number\": null,\n\t\t\t\t\"language\": \"en\",\n\t\t\t\t\"currency\": \"eur\",\n\t\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\t\"phone\": null,\n\t\t\t\t\"peppol_id\": null,\n\t\t\t\t\"peppol_scheme\": null,\n\t\t\t\t\"peppol_ready\": false,\n\t\t\t\t\"extra_fields\": [],\n\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\"updated_at\": 1794996000,\n\t\t\t\t\"trashed\": false,\n\t\t\t\t\"addresses\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t\"created_at\": 1794999600,\n\t\t\t\"updated_at\": 1794999600,\n\t\t\t\"trashed\": false\n\t\t}\n\t],\n\t\"links\": {\n\t\t\"first\": \"https://api.comanage.me/v1/contacts/2/invoices?page=1\",\n\t\t\"last\": \"https://api.comanage.me/v1/contacts/2/invoices?page=1\",\n\t\t\"prev\": null,\n\t\t\"next\": null\n\t},\n\t\"meta\": {\n\t\t\"current_page\": 1,\n\t\t\"from\": 1,\n\t\t\"last_page\": 1,\n\t\t\"links\": [\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"&laquo; Previous\",\n\t\t\t\t\"active\": false\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": \"https://api.comanage.me/v1/contacts/2/invoices?page=1\",\n\t\t\t\t\"label\": \"1\",\n\t\t\t\t\"active\": true\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"Next &raquo;\",\n\t\t\t\t\"active\": false\n\t\t\t}\n\t\t],\n\t\t\"path\": \"https://api.comanage.me/v1/contacts/2/invoices\",\n\t\t\"per_page\": 15,\n\t\t\"to\": 3,\n\t\t\"total\": 3\n\t}\n}"}],"_postman_id":"a69646fa-71c8-425d-a375-5823171b7a7c"},{"name":"Check if a contact is Peppol ready","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"edd00a6d-7902-423d-b0cc-bccab725acfb"}}],"id":"21a47bc4-523b-4711-b1e8-75d3f7b64476","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"scheme\": \"0208\",\n\t\"id\": \"0123456789\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/contacts/{{contact_number}}/check-peppol-ready","description":"<p>Check if a contact can receive e-invoices on the Peppol network. Without a body the contact's own Peppol id is checked, or else one is looked up from the VAT number. Needs an active Peppol integration (<code>422</code> without one). Limited to 15 requests a minute and 100 a day.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>scheme</code></td>\n<td>string</td>\n<td>with <code>id</code></td>\n<td>The Peppol scheme, for example <code>0208</code>.</td>\n</tr>\n<tr>\n<td><code>id</code></td>\n<td>string</td>\n<td>with <code>scheme</code></td>\n<td>The Peppol id.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["contacts","{{contact_number}}","check-peppol-ready"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"fceb0d5a-435f-4bc0-8fcd-2dc7babcaeb4","name":"422 Unprocessable Entity","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"scheme\": \"0208\",\n\t\"id\": \"0123456789\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/contacts/{{contact_number}}/check-peppol-ready"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"message\": \"Your team does not have an active Peppol integration. Set it up first in your account.\"\n}"}],"_postman_id":"21a47bc4-523b-4711-b1e8-75d3f7b64476"}],"id":"2ffcd0a8-098e-4dc7-a47f-6bfe5cab3740","_postman_id":"2ffcd0a8-098e-4dc7-a47f-6bfe5cab3740","description":""},{"name":"Products","item":[{"name":"Groups","item":[{"name":"List product groups","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"43909bd9-939b-414d-b564-e315c5a93e24"}}],"id":"4787e228-4cda-4b34-aef5-a923ad041cf0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/product-groups?sort=name","description":"<p>Get a list of paginated groups.</p>\n","urlObject":{"path":["product-groups"],"host":["{{api_url}}"],"query":[{"disabled":true,"description":{"content":"<p>The number of results per page (1 to 100, default 15).</p>\n","type":"text/plain"},"key":"limit","value":"15"},{"disabled":true,"description":{"content":"<p>The page to get.</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Sort the results, for example <code>name</code>.</p>\n","type":"text/plain"},"key":"sort","value":"name"},{"disabled":true,"description":{"content":"<p>Also list the resources in the trash.</p>\n","type":"text/plain"},"key":"withTrashed","value":"1"},{"disabled":true,"description":{"content":"<p>Only list the resources in the trash.</p>\n","type":"text/plain"},"key":"onlyTrashed","value":"1"}],"variable":[]}},"response":[{"id":"719523aa-d72b-4495-8f3a-53ec7f28bc8a","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{api_url}}/product-groups?sort=name","host":["{{api_url}}"],"path":["product-groups"],"query":[{"key":"limit","value":"15","description":"The number of results per page (1 to 100, default 15).","disabled":true},{"key":"page","value":"1","description":"The page to get.","disabled":true},{"key":"sort","value":"name","description":"Sort the results, for example `name`."},{"key":"withTrashed","value":"1","description":"Also list the resources in the trash.","disabled":true},{"key":"onlyTrashed","value":"1","description":"Only list the resources in the trash.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"slug\": \"hardware\",\n\t\t\t\"name\": \"Hardware\",\n\t\t\t\"description\": \"Physical products\",\n\t\t\t\"products\": 0,\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000\n\t\t}\n\t],\n\t\"links\": {\n\t\t\"first\": \"https://api.comanage.me/v1/product-groups?page=1\",\n\t\t\"last\": \"https://api.comanage.me/v1/product-groups?page=1\",\n\t\t\"prev\": null,\n\t\t\"next\": null\n\t},\n\t\"meta\": {\n\t\t\"current_page\": 1,\n\t\t\"from\": 1,\n\t\t\"last_page\": 1,\n\t\t\"links\": [\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"&laquo; Previous\",\n\t\t\t\t\"active\": false\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": \"https://api.comanage.me/v1/product-groups?page=1\",\n\t\t\t\t\"label\": \"1\",\n\t\t\t\t\"active\": true\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"Next &raquo;\",\n\t\t\t\t\"active\": false\n\t\t\t}\n\t\t],\n\t\t\"path\": \"https://api.comanage.me/v1/product-groups\",\n\t\t\"per_page\": 15,\n\t\t\"to\": 1,\n\t\t\"total\": 1\n\t}\n}"}],"_postman_id":"4787e228-4cda-4b34-aef5-a923ad041cf0"},{"name":"Create a product group","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 201', function () { pm.response.to.have.status(201); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"8b419b64-4d2b-4b5f-81de-dd046940ea22"}}],"id":"63df6ddc-9e3b-4ae8-a0a9-bcdf2907d20d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Hardware\",\n\t\"description\": \"Physical products\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/product-groups","description":"<p>Create a new product group.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>on create</td>\n<td></td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["product-groups"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"9f7c1694-94d7-4376-b55b-0a8ce4df89f6","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Hardware\",\n\t\"description\": \"Physical products\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/product-groups"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"slug\": \"hardware\",\n\t\t\"name\": \"Hardware\",\n\t\t\"description\": \"Physical products\",\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000\n\t}\n}"}],"_postman_id":"63df6ddc-9e3b-4ae8-a0a9-bcdf2907d20d"},{"name":"Retrieve a product group","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"ce9a3148-8842-40ad-95b6-0f24d1238ab1"}}],"id":"f847aacf-4400-49f9-9227-b3d520c89189","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/product-groups/{{product_group_slug}}","description":"<p>Retrieve a product group by its slug.</p>\n","urlObject":{"path":["product-groups","{{product_group_slug}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"b8d58bc2-2392-4c6e-8948-a3ec3ec162b0","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/product-groups/{{product_group_slug}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"slug\": \"hardware\",\n\t\t\"name\": \"Hardware\",\n\t\t\"description\": \"Physical products\",\n\t\t\"products\": 0,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000\n\t}\n}"}],"_postman_id":"f847aacf-4400-49f9-9227-b3d520c89189"},{"name":"Update a product group","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"d6b35ad3-7f9c-4612-8e9d-70adeaad9feb"}}],"id":"f4b2bf86-5161-4524-89b0-57e8f5c6c782","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Physical products we sell\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/product-groups/{{product_group_slug}}","description":"<p>Update an existing product group.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>on create</td>\n<td></td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["product-groups","{{product_group_slug}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"b14e18ed-c983-451a-9b9a-ba3b3e88c724","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Physical products we sell\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/product-groups/{{product_group_slug}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"slug\": \"hardware\",\n\t\t\"name\": \"Hardware\",\n\t\t\"description\": \"Physical products we sell\",\n\t\t\"products\": 0,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000\n\t}\n}"}],"_postman_id":"f4b2bf86-5161-4524-89b0-57e8f5c6c782"},{"name":"Add a product to a group","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"1faad79a-7f27-4442-a9db-88ade5b4d2c4"}}],"id":"9830eed4-631b-4edd-a015-5ef51b57284e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"number\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/product-groups/{{product_group_slug}}/products/add","description":"<p>Add a product to a group.</p>\n","urlObject":{"path":["product-groups","{{product_group_slug}}","products","add"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"a9d4cba4-e04f-4358-8d66-3f1a23131a68","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"number\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/product-groups/{{product_group_slug}}/products/add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"slug\": \"hardware\",\n\t\t\"name\": \"Hardware\",\n\t\t\"description\": \"Physical products we sell\",\n\t\t\"products\": 1,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000\n\t}\n}"}],"_postman_id":"9830eed4-631b-4edd-a015-5ef51b57284e"},{"name":"Empty a product group","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"ffebd852-774a-4b8c-9239-5909326e76ab"}}],"id":"33f8a88d-e064-49f2-8860-44e9c57ab278","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/product-groups/{{product_group_slug}}/empty","description":"<p>Empty a product group.</p>\n","urlObject":{"path":["product-groups","{{product_group_slug}}","empty"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"53b98c4d-2aa7-4c8a-87e3-203c23811fb5","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/product-groups/{{product_group_slug}}/empty"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"slug\": \"hardware\",\n\t\t\"name\": \"Hardware\",\n\t\t\"description\": \"Physical products we sell\",\n\t\t\"products\": 0,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000\n\t}\n}"}],"_postman_id":"33f8a88d-e064-49f2-8860-44e9c57ab278"},{"name":"Delete a product group","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });"],"id":"2dc20350-6c9d-426e-8017-a9b2c791edda"}}],"id":"32c60f64-5ce9-48af-bab7-fa3feda094ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/product-groups/{{product_group_slug}}","description":"<p>Delete a product group.</p>\n","urlObject":{"path":["product-groups","{{product_group_slug}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"6a19fb7e-1f4e-46aa-9bb1-610c6eef044d","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/product-groups/{{product_group_slug}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"slug\": \"hardware\",\n\t\t\"name\": \"Hardware\",\n\t\t\"description\": \"Physical products we sell\",\n\t\t\"products\": 0,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000\n\t}\n}"}],"_postman_id":"32c60f64-5ce9-48af-bab7-fa3feda094ef"}],"id":"7ae4532a-9e5a-4e9b-997f-011ce569fa89","_postman_id":"7ae4532a-9e5a-4e9b-997f-011ce569fa89","description":""},{"name":"List products","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"edb2e884-0a31-4057-bad4-44da57562cc0"}}],"id":"85acd697-6fd8-452d-9125-55bee712b949","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/products?sort=number_desc","description":"<p>Get a list of paginated products.</p>\n","urlObject":{"path":["products"],"host":["{{api_url}}"],"query":[{"disabled":true,"description":{"content":"<p>The number of results per page (1 to 100, default 15).</p>\n","type":"text/plain"},"key":"limit","value":"15"},{"disabled":true,"description":{"content":"<p>The page to get.</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Sort the results, for example <code>number_desc</code>.</p>\n","type":"text/plain"},"key":"sort","value":"number_desc"},{"disabled":true,"description":{"content":"<p>Also list the resources in the trash.</p>\n","type":"text/plain"},"key":"withTrashed","value":"1"},{"disabled":true,"description":{"content":"<p>Only list the resources in the trash.</p>\n","type":"text/plain"},"key":"onlyTrashed","value":"1"}],"variable":[]}},"response":[{"id":"9c42d2c1-b910-4ca8-8e73-0b11bc28e1c4","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"url":{"raw":"{{api_url}}/products?sort=number_desc","host":["{{api_url}}"],"path":["products"],"query":[{"key":"limit","value":"15","description":"The number of results per page (1 to 100, default 15).","disabled":true},{"key":"page","value":"1","description":"The page to get.","disabled":true},{"key":"sort","value":"number_desc","description":"Sort the results, for example `number_desc`."},{"key":"withTrashed","value":"1","description":"Also list the resources in the trash.","disabled":true},{"key":"onlyTrashed","value":"1","description":"Only list the resources in the trash.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"number\": 1,\n\t\t\t\"name\": \"Product X\",\n\t\t\t\"description\": \"\",\n\t\t\t\"sku\": \"PX01\",\n            \"gtin\": \"5412345678908\",\n\t\t\t\"cost\": 9,\n\t\t\t\"cost_inc_vat\": null,\n\t\t\t\"price\": 10,\n\t\t\t\"price_inc_vat\": null,\n\t\t\t\"quantity\": 1,\n\t\t\t\"unit\": \"pcs\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"vat_percentage\": 21,\n\t\t\t\"discount_percentage\": 10,\n\t\t\t\"discount_amount\": null,\n\t\t\t\"bulk_options\": [\n\t\t\t\t{\n\t\t\t\t\t\"quantity\": 10,\n\t\t\t\t\t\"price\": 9\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"stock_enabled\": true,\n\t\t\t\"stock\": \"100.0000\",\n\t\t\t\"stock_low\": \"10.0000\",\n\t\t\t\"cost_quantity\": \"0.0000\",\n\t\t\t\"cost_total\": \"0.0000\",\n\t\t\t\"invoiced_quantity\": \"0.0000\",\n\t\t\t\"invoiced_total\": \"0.0000\",\n\t\t\t\"last_used_at\": null,\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false\n\t\t}\n\t],\n\t\"links\": {\n\t\t\"first\": \"https://api.comanage.me/v1/products?page=1\",\n\t\t\"last\": \"https://api.comanage.me/v1/products?page=1\",\n\t\t\"prev\": null,\n\t\t\"next\": null\n\t},\n\t\"meta\": {\n\t\t\"current_page\": 1,\n\t\t\"from\": 1,\n\t\t\"last_page\": 1,\n\t\t\"links\": [\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"&laquo; Previous\",\n\t\t\t\t\"active\": false\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": \"https://api.comanage.me/v1/products?page=1\",\n\t\t\t\t\"label\": \"1\",\n\t\t\t\t\"active\": true\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"Next &raquo;\",\n\t\t\t\t\"active\": false\n\t\t\t}\n\t\t],\n\t\t\"path\": \"https://api.comanage.me/v1/products\",\n\t\t\"per_page\": 15,\n\t\t\"to\": 1,\n\t\t\"total\": 1\n\t}\n}"}],"_postman_id":"85acd697-6fd8-452d-9125-55bee712b949"},{"name":"Create a new product","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 201', function () { pm.response.to.have.status(201); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"6fb8b8a1-aafb-4078-87a8-2fd7a3318aa9"}}],"id":"91cd0bc3-4663-47c7-88ad-72c11084d530","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Product X\",\n\t\"sku\": \"PX01\",\n\t\"gtin\": \"5412345678908\",\n\t\"cost\": 9,\n\t\"price\": 10,\n\t\"quantity\": 1,\n\t\"unit\": \"pcs\",\n\t\"currency\": \"eur\",\n\t\"vat_percentage\": 21,\n\t\"discount_percentage\": 10,\n\t\"bulk_options\": [\n\t\t{\n\t\t\t\"quantity\": 10,\n\t\t\t\"price\": 9\n\t\t}\n\t],\n\t\"stock_enabled\": true,\n\t\"stock\": 100,\n\t\"stock_low\": 10\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/products","description":"<p>Create a new product.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>on create</td>\n<td></td>\n</tr>\n<tr>\n<td><code>sku</code></td>\n<td>string</td>\n<td>no</td>\n<td>Stock keeping unit. Products only.</td>\n</tr>\n<tr>\n<td><code>gtin</code></td>\n<td>string</td>\n<td>no</td>\n<td>Barcode (GTIN / EAN): 8, 12, 13 or 14 digits with a valid GS1 check digit. Products only.</td>\n</tr>\n<tr>\n<td><code>cost</code></td>\n<td>number</td>\n<td>no</td>\n<td>What it costs you.</td>\n</tr>\n<tr>\n<td><code>price</code></td>\n<td>number</td>\n<td>no</td>\n<td>The price, excluding VAT.</td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>number</td>\n<td>no</td>\n<td>The default quantity on a line.</td>\n</tr>\n<tr>\n<td><code>unit</code></td>\n<td>string</td>\n<td>no</td>\n<td>For example <code>pcs</code> or <code>hour</code>.</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>string</td>\n<td>no</td>\n<td>3 letters.</td>\n</tr>\n<tr>\n<td><code>vat_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>discount_amount</code></td>\n<td>number</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>bulk_options</code></td>\n<td>array</td>\n<td>no</td>\n<td>Price per quantity: a list of <code>{ \"quantity\": 10, \"price\": 9 }</code> (quantity from 2).</td>\n</tr>\n<tr>\n<td><code>stock_enabled</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Products only.</td>\n</tr>\n<tr>\n<td><code>stock</code></td>\n<td>number</td>\n<td>no</td>\n<td>Products only.</td>\n</tr>\n<tr>\n<td><code>stock_low</code></td>\n<td>number</td>\n<td>no</td>\n<td>Products only: the stock at which it is low.</td>\n</tr>\n<tr>\n<td><code>cost_quantity / cost_total</code></td>\n<td>number</td>\n<td>no</td>\n<td>Totals that the app keeps up to date.</td>\n</tr>\n<tr>\n<td><code>invoiced_quantity / invoiced_total</code></td>\n<td>number</td>\n<td>no</td>\n<td>Totals that the app keeps up to date.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["products"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"cc1fce08-3e6d-418c-89a4-3ca2803412a4","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Product X\",\n\t\"sku\": \"PX01\",\n\t\"cost\": 9,\n\t\"price\": 10,\n\t\"quantity\": 1,\n\t\"unit\": \"pcs\",\n\t\"currency\": \"eur\",\n\t\"vat_percentage\": 21,\n\t\"discount_percentage\": 10,\n\t\"bulk_options\": [\n\t\t{\n\t\t\t\"quantity\": 10,\n\t\t\t\"price\": 9\n\t\t}\n\t],\n\t\"stock_enabled\": true,\n\t\"stock\": 100,\n\t\"stock_low\": 10\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/products"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"name\": \"Product X\",\n\t\t\"description\": \"\",\n\t\t\"sku\": \"PX01\",\n        \"gtin\": \"5412345678908\",\n\t\t\"cost\": 9,\n\t\t\"cost_inc_vat\": null,\n\t\t\"price\": 10,\n\t\t\"price_inc_vat\": null,\n\t\t\"quantity\": 1,\n\t\t\"unit\": \"pcs\",\n\t\t\"currency\": \"eur\",\n\t\t\"vat_percentage\": 21,\n\t\t\"discount_percentage\": 10,\n\t\t\"discount_amount\": null,\n\t\t\"bulk_options\": [\n\t\t\t{\n\t\t\t\t\"quantity\": 10,\n\t\t\t\t\"price\": 9\n\t\t\t}\n\t\t],\n\t\t\"stock_enabled\": true,\n\t\t\"stock\": 100,\n\t\t\"stock_low\": 10,\n\t\t\"cost_quantity\": 0,\n\t\t\"cost_total\": 0,\n\t\t\"invoiced_quantity\": 0,\n\t\t\"invoiced_total\": 0,\n\t\t\"last_used_at\": null,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false\n\t}\n}"},{"id":"29af18c2-e513-4952-9ab3-03dd46a99987","name":"Validation error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Product X\",\n\t\"sku\": \"PX01\",\n\t\"cost\": 9,\n\t\"price\": 10,\n\t\"quantity\": 1,\n\t\"unit\": \"pcs\",\n\t\"currency\": \"eur\",\n\t\"vat_percentage\": 21,\n\t\"discount_percentage\": 10,\n\t\"bulk_options\": [\n\t\t{\n\t\t\t\"quantity\": 10,\n\t\t\t\"price\": 9\n\t\t}\n\t],\n\t\"stock_enabled\": true,\n\t\"stock\": 100,\n\t\"stock_low\": 10\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/products"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"message\": \"The name field is required. (and 2 more errors)\",\n\t\"errors\": {\n\t\t\"name\": [\n\t\t\t\"The name field is required.\"\n\t\t],\n\t\t\"price\": [\n\t\t\t\"The price must be a number.\"\n\t\t],\n\t\t\"vat_percentage\": [\n\t\t\t\"The vat percentage must not be greater than 100.\"\n\t\t]\n\t}\n}"}],"_postman_id":"91cd0bc3-4663-47c7-88ad-72c11084d530"},{"name":"Retrieve a product","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"784e0100-d170-491e-a3b9-5ad8898b53c4"}}],"id":"7c4e4e21-5ceb-4549-965a-e23f6f8fa565","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/products/{{product_number}}","description":"<p>Retrieve a product by its number.</p>\n","urlObject":{"path":["products","{{product_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"f84dfe78-15eb-48de-aba5-6a54a898d21f","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"url":"{{api_url}}/products/{{product_number}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"name\": \"Product X\",\n\t\t\"description\": \"\",\n\t\t\"sku\": \"PX01\",\n        \"gtin\": \"5412345678908\",\n\t\t\"cost\": 9,\n\t\t\"cost_inc_vat\": null,\n\t\t\"price\": 10,\n\t\t\"price_inc_vat\": null,\n\t\t\"quantity\": 1,\n\t\t\"unit\": \"pcs\",\n\t\t\"currency\": \"eur\",\n\t\t\"vat_percentage\": 21,\n\t\t\"discount_percentage\": 10,\n\t\t\"discount_amount\": null,\n\t\t\"bulk_options\": [\n\t\t\t{\n\t\t\t\t\"quantity\": 10,\n\t\t\t\t\"price\": 9\n\t\t\t}\n\t\t],\n\t\t\"stock_enabled\": true,\n\t\t\"stock\": \"100.0000\",\n\t\t\"stock_low\": \"10.0000\",\n\t\t\"cost_quantity\": \"0.0000\",\n\t\t\"cost_total\": \"0.0000\",\n\t\t\"invoiced_quantity\": \"0.0000\",\n\t\t\"invoiced_total\": \"0.0000\",\n\t\t\"last_used_at\": null,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"7c4e4e21-5ceb-4549-965a-e23f6f8fa565"},{"name":"Update a product","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"653ad5a8-994a-4f75-9def-9bc670c889c6"}}],"id":"cf411958-2ceb-43b9-9684-2cca687198e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Product Z\",\n\t\"price\": 12,\n\t\"stock\": 90\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/products/{{product_number}}","description":"<p>Update an existing product.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>on create</td>\n<td></td>\n</tr>\n<tr>\n<td><code>sku</code></td>\n<td>string</td>\n<td>no</td>\n<td>Stock keeping unit. Products only.</td>\n</tr>\n<tr>\n<td><code>gtin</code></td>\n<td>string</td>\n<td>no</td>\n<td>Barcode (GTIN / EAN): 8, 12, 13 or 14 digits with a valid GS1 check digit. Products only.</td>\n</tr>\n<tr>\n<td><code>cost</code></td>\n<td>number</td>\n<td>no</td>\n<td>What it costs you.</td>\n</tr>\n<tr>\n<td><code>price</code></td>\n<td>number</td>\n<td>no</td>\n<td>The price, excluding VAT.</td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>number</td>\n<td>no</td>\n<td>The default quantity on a line.</td>\n</tr>\n<tr>\n<td><code>unit</code></td>\n<td>string</td>\n<td>no</td>\n<td>For example <code>pcs</code> or <code>hour</code>.</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>string</td>\n<td>no</td>\n<td>3 letters.</td>\n</tr>\n<tr>\n<td><code>vat_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>discount_amount</code></td>\n<td>number</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>bulk_options</code></td>\n<td>array</td>\n<td>no</td>\n<td>Price per quantity: a list of <code>{ \"quantity\": 10, \"price\": 9 }</code> (quantity from 2).</td>\n</tr>\n<tr>\n<td><code>stock_enabled</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Products only.</td>\n</tr>\n<tr>\n<td><code>stock</code></td>\n<td>number</td>\n<td>no</td>\n<td>Products only.</td>\n</tr>\n<tr>\n<td><code>stock_low</code></td>\n<td>number</td>\n<td>no</td>\n<td>Products only: the stock at which it is low.</td>\n</tr>\n<tr>\n<td><code>cost_quantity / cost_total</code></td>\n<td>number</td>\n<td>no</td>\n<td>Totals that the app keeps up to date.</td>\n</tr>\n<tr>\n<td><code>invoiced_quantity / invoiced_total</code></td>\n<td>number</td>\n<td>no</td>\n<td>Totals that the app keeps up to date.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["products","{{product_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"90404683-44a3-47a6-9224-061e9672a5bb","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Product Z\",\n\t\"price\": 12,\n\t\"stock\": 90\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/products/{{product_number}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"name\": \"Product Z\",\n\t\t\"description\": \"\",\n\t\t\"sku\": \"PX01\",\n        \"gtin\": \"5412345678908\",\n\t\t\"cost\": 9,\n\t\t\"cost_inc_vat\": null,\n\t\t\"price\": 12,\n\t\t\"price_inc_vat\": null,\n\t\t\"quantity\": 1,\n\t\t\"unit\": \"pcs\",\n\t\t\"currency\": \"eur\",\n\t\t\"vat_percentage\": 21,\n\t\t\"discount_percentage\": 10,\n\t\t\"discount_amount\": null,\n\t\t\"bulk_options\": [\n\t\t\t{\n\t\t\t\t\"quantity\": 10,\n\t\t\t\t\"price\": 9\n\t\t\t}\n\t\t],\n\t\t\"stock_enabled\": true,\n\t\t\"stock\": 90,\n\t\t\"stock_low\": \"10.0000\",\n\t\t\"cost_quantity\": \"0.0000\",\n\t\t\"cost_total\": \"0.0000\",\n\t\t\"invoiced_quantity\": \"0.0000\",\n\t\t\"invoiced_total\": \"0.0000\",\n\t\t\"last_used_at\": null,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"cf411958-2ceb-43b9-9684-2cca687198e0"},{"name":"Trash a product","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"10a8947e-78e3-490c-a360-a76fa131cf0e"}}],"id":"a84e3de7-6730-4d97-ad39-4331d6e2c23d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/products/{{product_number}}/trash","description":"<p>Trash a product.</p>\n","urlObject":{"path":["products","{{product_number}}","trash"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"f77832cc-a3cb-4501-aa22-ea19b7efaed7","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/products/{{product_number}}/trash"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"name\": \"Product Z\",\n\t\t\"description\": \"\",\n\t\t\"sku\": \"PX01\",\n\t\t\"cost\": 9,\n\t\t\"cost_inc_vat\": null,\n\t\t\"price\": 12,\n\t\t\"price_inc_vat\": null,\n\t\t\"quantity\": 1,\n\t\t\"unit\": \"pcs\",\n\t\t\"currency\": \"eur\",\n\t\t\"vat_percentage\": 21,\n\t\t\"discount_percentage\": 10,\n\t\t\"discount_amount\": null,\n\t\t\"bulk_options\": [\n\t\t\t{\n\t\t\t\t\"quantity\": 10,\n\t\t\t\t\"price\": 9\n\t\t\t}\n\t\t],\n\t\t\"stock_enabled\": true,\n\t\t\"stock\": \"90.0000\",\n\t\t\"stock_low\": \"10.0000\",\n\t\t\"cost_quantity\": \"0.0000\",\n\t\t\"cost_total\": \"0.0000\",\n\t\t\"invoiced_quantity\": \"0.0000\",\n\t\t\"invoiced_total\": \"0.0000\",\n\t\t\"last_used_at\": null,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed_at\": 1794996000,\n\t\t\"trashed\": true\n\t}\n}"}],"_postman_id":"a84e3de7-6730-4d97-ad39-4331d6e2c23d"},{"name":"Restore a product","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"24be5b9f-923d-45a9-9a17-61f7dd2f7a36"}}],"id":"74210acd-eb11-4a52-9be3-c4ff192f65ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/products/{{product_number}}/restore","description":"<p>Restore a product from the trash.</p>\n","urlObject":{"path":["products","{{product_number}}","restore"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"2d060f90-eaec-4569-933f-0e468afc0690","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/products/{{product_number}}/restore"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"name\": \"Product Z\",\n\t\t\"description\": \"\",\n\t\t\"sku\": \"PX01\",\n\t\t\"cost\": 9,\n\t\t\"cost_inc_vat\": null,\n\t\t\"price\": 12,\n\t\t\"price_inc_vat\": null,\n\t\t\"quantity\": 1,\n\t\t\"unit\": \"pcs\",\n\t\t\"currency\": \"eur\",\n\t\t\"vat_percentage\": 21,\n\t\t\"discount_percentage\": 10,\n\t\t\"discount_amount\": null,\n\t\t\"bulk_options\": [\n\t\t\t{\n\t\t\t\t\"quantity\": 10,\n\t\t\t\t\"price\": 9\n\t\t\t}\n\t\t],\n\t\t\"stock_enabled\": true,\n\t\t\"stock\": \"90.0000\",\n\t\t\"stock_low\": \"10.0000\",\n\t\t\"cost_quantity\": \"0.0000\",\n\t\t\"cost_total\": \"0.0000\",\n\t\t\"invoiced_quantity\": \"0.0000\",\n\t\t\"invoiced_total\": \"0.0000\",\n\t\t\"last_used_at\": null,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"74210acd-eb11-4a52-9be3-c4ff192f65ff"},{"name":"Delete a product","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });"],"id":"accd939e-49fe-447b-aa96-61ca2db8dcbe"}}],"id":"0f3f66c8-1434-4edb-b44f-ca93ea287787","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/products/{{product_number}}","description":"<p>Delete a product.</p>\n","urlObject":{"path":["products","{{product_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"ca3b8246-8488-4454-975f-a0917a67a9c8","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/products/{{product_number}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"name\": \"Product Z\",\n\t\t\"description\": \"\",\n\t\t\"sku\": \"PX01\",\n\t\t\"cost\": 9,\n\t\t\"cost_inc_vat\": null,\n\t\t\"price\": 12,\n\t\t\"price_inc_vat\": null,\n\t\t\"quantity\": 1,\n\t\t\"unit\": \"pcs\",\n\t\t\"currency\": \"eur\",\n\t\t\"vat_percentage\": 21,\n\t\t\"discount_percentage\": 10,\n\t\t\"discount_amount\": null,\n\t\t\"bulk_options\": [\n\t\t\t{\n\t\t\t\t\"quantity\": 10,\n\t\t\t\t\"price\": 9\n\t\t\t}\n\t\t],\n\t\t\"stock_enabled\": true,\n\t\t\"stock\": \"90.0000\",\n\t\t\"stock_low\": \"10.0000\",\n\t\t\"cost_quantity\": \"0.0000\",\n\t\t\"cost_total\": \"0.0000\",\n\t\t\"invoiced_quantity\": \"0.0000\",\n\t\t\"invoiced_total\": \"0.0000\",\n\t\t\"last_used_at\": null,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed_at\": 1794996000,\n\t\t\"trashed\": true\n\t}\n}"}],"_postman_id":"0f3f66c8-1434-4edb-b44f-ca93ea287787"}],"id":"d4368a14-2295-4223-8f4e-46d6db7e0a35","_postman_id":"d4368a14-2295-4223-8f4e-46d6db7e0a35","description":""},{"name":"Services","item":[{"name":"Groups","item":[{"name":"List service groups","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"71a21df0-7e83-41ad-838f-759201410a25"}}],"id":"87fcc1d7-6093-46c9-a1fd-0c9ccfd89b1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/service-groups?sort=name","description":"<p>Get a list of paginated groups.</p>\n","urlObject":{"path":["service-groups"],"host":["{{api_url}}"],"query":[{"disabled":true,"description":{"content":"<p>The number of results per page (1 to 100, default 15).</p>\n","type":"text/plain"},"key":"limit","value":"15"},{"disabled":true,"description":{"content":"<p>The page to get.</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Sort the results, for example <code>name</code>.</p>\n","type":"text/plain"},"key":"sort","value":"name"},{"disabled":true,"description":{"content":"<p>Also list the resources in the trash.</p>\n","type":"text/plain"},"key":"withTrashed","value":"1"},{"disabled":true,"description":{"content":"<p>Only list the resources in the trash.</p>\n","type":"text/plain"},"key":"onlyTrashed","value":"1"}],"variable":[]}},"response":[{"id":"69e0bbb5-3855-4338-88c5-badb7e58a14f","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{api_url}}/service-groups?sort=name","host":["{{api_url}}"],"path":["service-groups"],"query":[{"key":"limit","value":"15","description":"The number of results per page (1 to 100, default 15).","disabled":true},{"key":"page","value":"1","description":"The page to get.","disabled":true},{"key":"sort","value":"name","description":"Sort the results, for example `name`."},{"key":"withTrashed","value":"1","description":"Also list the resources in the trash.","disabled":true},{"key":"onlyTrashed","value":"1","description":"Only list the resources in the trash.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"slug\": \"consulting\",\n\t\t\t\"name\": \"Consulting\",\n\t\t\t\"description\": \"Hourly services\",\n\t\t\t\"services\": 0,\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000\n\t\t}\n\t],\n\t\"links\": {\n\t\t\"first\": \"https://api.comanage.me/v1/service-groups?page=1\",\n\t\t\"last\": \"https://api.comanage.me/v1/service-groups?page=1\",\n\t\t\"prev\": null,\n\t\t\"next\": null\n\t},\n\t\"meta\": {\n\t\t\"current_page\": 1,\n\t\t\"from\": 1,\n\t\t\"last_page\": 1,\n\t\t\"links\": [\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"&laquo; Previous\",\n\t\t\t\t\"active\": false\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": \"https://api.comanage.me/v1/service-groups?page=1\",\n\t\t\t\t\"label\": \"1\",\n\t\t\t\t\"active\": true\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"Next &raquo;\",\n\t\t\t\t\"active\": false\n\t\t\t}\n\t\t],\n\t\t\"path\": \"https://api.comanage.me/v1/service-groups\",\n\t\t\"per_page\": 15,\n\t\t\"to\": 1,\n\t\t\"total\": 1\n\t}\n}"}],"_postman_id":"87fcc1d7-6093-46c9-a1fd-0c9ccfd89b1c"},{"name":"Create a new service group","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 201', function () { pm.response.to.have.status(201); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"42d24dd6-2563-4b5b-9810-38292852e149"}}],"id":"4ca4fe48-dbb0-4dc5-945e-c55cdb770523","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Consulting\",\n\t\"description\": \"Hourly services\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/service-groups","description":"<p>Create a new service group.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>on create</td>\n<td></td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["service-groups"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"ad7ad0c6-ab58-4665-8e9e-63ba8b4a827e","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Consulting\",\n\t\"description\": \"Hourly services\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/service-groups"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"slug\": \"consulting\",\n\t\t\"name\": \"Consulting\",\n\t\t\"description\": \"Hourly services\",\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000\n\t}\n}"}],"_postman_id":"4ca4fe48-dbb0-4dc5-945e-c55cdb770523"},{"name":"Retrieve a service group","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"3b45160e-59d2-4386-bbf2-5671962050a2"}}],"id":"7fd57b69-1c55-4d51-9d2c-fd35c5a03982","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/service-groups/{{service_group_slug}}","description":"<p>Retrieve a service group by its slug.</p>\n","urlObject":{"path":["service-groups","{{service_group_slug}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"087c6960-f020-4078-aa47-31b93426838d","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/service-groups/{{service_group_slug}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"slug\": \"consulting\",\n\t\t\"name\": \"Consulting\",\n\t\t\"description\": \"Hourly services\",\n\t\t\"services\": 0,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000\n\t}\n}"}],"_postman_id":"7fd57b69-1c55-4d51-9d2c-fd35c5a03982"},{"name":"Update a service group","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"72a6bb0c-a42e-4fe9-a747-df855e60d5fe"}}],"id":"34a9f9a4-e3a5-4831-81b8-1dab46ac73ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Services we bill by the hour\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/service-groups/{{service_group_slug}}","description":"<p>Update an existing service group.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>on create</td>\n<td></td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["service-groups","{{service_group_slug}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"94bbf5cb-fd7b-46e1-a4cb-db141c7c4f82","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"description\": \"Services we bill by the hour\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/service-groups/{{service_group_slug}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"slug\": \"consulting\",\n\t\t\"name\": \"Consulting\",\n\t\t\"description\": \"Services we bill by the hour\",\n\t\t\"services\": 0,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000\n\t}\n}"}],"_postman_id":"34a9f9a4-e3a5-4831-81b8-1dab46ac73ae"},{"name":"Add a service to a group","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"8fc63f95-d511-4bd2-a5fc-d37d2cfb467d"}}],"id":"1ec0a06e-e091-4e7f-b844-6fe7cd4e1992","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"number\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/service-groups/{{service_group_slug}}/services/add","description":"<p>Add a service to a group.</p>\n","urlObject":{"path":["service-groups","{{service_group_slug}}","services","add"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"79528ed4-b56d-49d7-a365-646fb11a7ede","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"number\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/service-groups/{{service_group_slug}}/services/add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"slug\": \"consulting\",\n\t\t\"name\": \"Consulting\",\n\t\t\"description\": \"Services we bill by the hour\",\n\t\t\"services\": 1,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000\n\t}\n}"}],"_postman_id":"1ec0a06e-e091-4e7f-b844-6fe7cd4e1992"},{"name":"Empty a service group","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"dc6b4d8a-7573-4bbd-8a64-20f528e5ac80"}}],"id":"6f9bcb9e-605b-4cba-8d8b-f5bb4d4b3905","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/service-groups/{{service_group_slug}}/empty","description":"<p>Empty a service group.</p>\n","urlObject":{"path":["service-groups","{{service_group_slug}}","empty"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"5d584dbf-b656-446f-9de6-e56feca80774","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/service-groups/{{service_group_slug}}/empty"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"slug\": \"consulting\",\n\t\t\"name\": \"Consulting\",\n\t\t\"description\": \"Services we bill by the hour\",\n\t\t\"services\": 0,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000\n\t}\n}"}],"_postman_id":"6f9bcb9e-605b-4cba-8d8b-f5bb4d4b3905"},{"name":"Delete a service group","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });"],"id":"0f728a80-dfbb-4c47-a3cc-23c4acb95636"}}],"id":"2517d6a0-5eae-4d60-8197-a6cb34cff87a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/service-groups/{{service_group_slug}}","description":"<p>Delete a service group.</p>\n","urlObject":{"path":["service-groups","{{service_group_slug}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"75a33c20-27d7-427f-bdd9-0477870973b6","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/service-groups/{{service_group_slug}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"slug\": \"consulting\",\n\t\t\"name\": \"Consulting\",\n\t\t\"description\": \"Services we bill by the hour\",\n\t\t\"services\": 0,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000\n\t}\n}"}],"_postman_id":"2517d6a0-5eae-4d60-8197-a6cb34cff87a"}],"id":"af3c8f94-1478-4788-bda8-f0028b2ac633","_postman_id":"af3c8f94-1478-4788-bda8-f0028b2ac633","description":""},{"name":"List services","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"29eae0c1-cc51-42e3-abeb-8ab2bd2cc83b"}}],"id":"430fdd63-3cea-4432-a60e-3aa70920ab6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/services?sort=number_desc","description":"<p>Get a list of paginated services.</p>\n","urlObject":{"path":["services"],"host":["{{api_url}}"],"query":[{"disabled":true,"description":{"content":"<p>The number of results per page (1 to 100, default 15).</p>\n","type":"text/plain"},"key":"limit","value":"15"},{"disabled":true,"description":{"content":"<p>The page to get.</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Sort the results, for example <code>number_desc</code>.</p>\n","type":"text/plain"},"key":"sort","value":"number_desc"},{"disabled":true,"description":{"content":"<p>Also list the resources in the trash.</p>\n","type":"text/plain"},"key":"withTrashed","value":"1"},{"disabled":true,"description":{"content":"<p>Only list the resources in the trash.</p>\n","type":"text/plain"},"key":"onlyTrashed","value":"1"}],"variable":[]}},"response":[{"id":"d663736d-ccae-4270-b700-492109cc2591","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{api_url}}/services?sort=number_desc","host":["{{api_url}}"],"path":["services"],"query":[{"key":"limit","value":"15","description":"The number of results per page (1 to 100, default 15).","disabled":true},{"key":"page","value":"1","description":"The page to get.","disabled":true},{"key":"sort","value":"number_desc","description":"Sort the results, for example `number_desc`."},{"key":"withTrashed","value":"1","description":"Also list the resources in the trash.","disabled":true},{"key":"onlyTrashed","value":"1","description":"Only list the resources in the trash.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"number\": 1,\n\t\t\t\"name\": \"Consulting\",\n\t\t\t\"cost\": 40,\n\t\t\t\"cost_inc_vat\": null,\n\t\t\t\"price\": 90,\n\t\t\t\"price_inc_vat\": null,\n\t\t\t\"quantity\": 1,\n\t\t\t\"unit\": \"hour\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"vat_percentage\": 21,\n\t\t\t\"discount_percentage\": null,\n\t\t\t\"discount_amount\": null,\n\t\t\t\"bulk_options\": [\n\t\t\t\t{\n\t\t\t\t\t\"quantity\": 10,\n\t\t\t\t\t\"price\": 80\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"cost_quantity\": \"0.0000\",\n\t\t\t\"cost_total\": \"0.0000\",\n\t\t\t\"invoiced_quantity\": \"0.0000\",\n\t\t\t\"invoiced_total\": \"0.0000\",\n\t\t\t\"last_used_at\": null,\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false\n\t\t}\n\t],\n\t\"links\": {\n\t\t\"first\": \"https://api.comanage.me/v1/services?page=1\",\n\t\t\"last\": \"https://api.comanage.me/v1/services?page=1\",\n\t\t\"prev\": null,\n\t\t\"next\": null\n\t},\n\t\"meta\": {\n\t\t\"current_page\": 1,\n\t\t\"from\": 1,\n\t\t\"last_page\": 1,\n\t\t\"links\": [\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"&laquo; Previous\",\n\t\t\t\t\"active\": false\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": \"https://api.comanage.me/v1/services?page=1\",\n\t\t\t\t\"label\": \"1\",\n\t\t\t\t\"active\": true\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"Next &raquo;\",\n\t\t\t\t\"active\": false\n\t\t\t}\n\t\t],\n\t\t\"path\": \"https://api.comanage.me/v1/services\",\n\t\t\"per_page\": 15,\n\t\t\"to\": 1,\n\t\t\"total\": 1\n\t}\n}"}],"_postman_id":"430fdd63-3cea-4432-a60e-3aa70920ab6d"},{"name":"Create a new service","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 201', function () { pm.response.to.have.status(201); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"58d3aadf-53b3-4feb-87b5-f67044b1b0fd"}}],"id":"67681842-af46-4146-82c8-0b7c27a949fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Consulting\",\n\t\"cost\": 40,\n\t\"price\": 90,\n\t\"quantity\": 1,\n\t\"unit\": \"hour\",\n\t\"currency\": \"eur\",\n\t\"vat_percentage\": 21,\n\t\"bulk_options\": [\n\t\t{\n\t\t\t\"quantity\": 10,\n\t\t\t\"price\": 80\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/services","description":"<p>Create a new service.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>on create</td>\n<td></td>\n</tr>\n<tr>\n<td><code>cost</code></td>\n<td>number</td>\n<td>no</td>\n<td>What it costs you.</td>\n</tr>\n<tr>\n<td><code>price</code></td>\n<td>number</td>\n<td>no</td>\n<td>The price, excluding VAT.</td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>number</td>\n<td>no</td>\n<td>The default quantity on a line.</td>\n</tr>\n<tr>\n<td><code>unit</code></td>\n<td>string</td>\n<td>no</td>\n<td>For example <code>pcs</code> or <code>hour</code>.</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>string</td>\n<td>no</td>\n<td>3 letters.</td>\n</tr>\n<tr>\n<td><code>vat_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>discount_amount</code></td>\n<td>number</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>bulk_options</code></td>\n<td>array</td>\n<td>no</td>\n<td>Price per quantity: a list of <code>{ \"quantity\": 10, \"price\": 9 }</code> (quantity from 2).</td>\n</tr>\n<tr>\n<td><code>cost_quantity / cost_total</code></td>\n<td>number</td>\n<td>no</td>\n<td>Totals that the app keeps up to date.</td>\n</tr>\n<tr>\n<td><code>invoiced_quantity / invoiced_total</code></td>\n<td>number</td>\n<td>no</td>\n<td>Totals that the app keeps up to date.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["services"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"d6546fd9-e4c6-4420-8b80-7b28f7558685","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Consulting\",\n\t\"cost\": 40,\n\t\"price\": 90,\n\t\"quantity\": 1,\n\t\"unit\": \"hour\",\n\t\"currency\": \"eur\",\n\t\"vat_percentage\": 21,\n\t\"bulk_options\": [\n\t\t{\n\t\t\t\"quantity\": 10,\n\t\t\t\"price\": 80\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/services"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"name\": \"Consulting\",\n\t\t\"cost\": 40,\n\t\t\"cost_inc_vat\": null,\n\t\t\"price\": 90,\n\t\t\"price_inc_vat\": null,\n\t\t\"quantity\": 1,\n\t\t\"unit\": \"hour\",\n\t\t\"currency\": \"eur\",\n\t\t\"vat_percentage\": 21,\n\t\t\"discount_percentage\": null,\n\t\t\"discount_amount\": null,\n\t\t\"bulk_options\": [\n\t\t\t{\n\t\t\t\t\"quantity\": 10,\n\t\t\t\t\"price\": 80\n\t\t\t}\n\t\t],\n\t\t\"cost_quantity\": 0,\n\t\t\"cost_total\": 0,\n\t\t\"invoiced_quantity\": 0,\n\t\t\"invoiced_total\": 0,\n\t\t\"last_used_at\": null,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"67681842-af46-4146-82c8-0b7c27a949fe"},{"name":"Retrieve a service","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"e83b930e-2d50-4707-8bdc-e5c967901845"}}],"id":"489dfe0d-9a15-473b-b5d9-e6f0e1370ef6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/services/{{service_number}}","description":"<p>Retrieve a service by its number.</p>\n","urlObject":{"path":["services","{{service_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"aa71622e-cd9f-40bc-93d3-b424bb4651f5","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/services/{{service_number}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"name\": \"Consulting\",\n\t\t\"cost\": 40,\n\t\t\"cost_inc_vat\": null,\n\t\t\"price\": 90,\n\t\t\"price_inc_vat\": null,\n\t\t\"quantity\": 1,\n\t\t\"unit\": \"hour\",\n\t\t\"currency\": \"eur\",\n\t\t\"vat_percentage\": 21,\n\t\t\"discount_percentage\": null,\n\t\t\"discount_amount\": null,\n\t\t\"bulk_options\": [\n\t\t\t{\n\t\t\t\t\"quantity\": 10,\n\t\t\t\t\"price\": 80\n\t\t\t}\n\t\t],\n\t\t\"cost_quantity\": \"0.0000\",\n\t\t\"cost_total\": \"0.0000\",\n\t\t\"invoiced_quantity\": \"0.0000\",\n\t\t\"invoiced_total\": \"0.0000\",\n\t\t\"last_used_at\": null,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"489dfe0d-9a15-473b-b5d9-e6f0e1370ef6"},{"name":"Update a service","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"afbe8cae-c97e-4d8d-a3d1-22eaab4bea9d"}}],"id":"ad223d5f-aa84-4d43-8342-93880611ef86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Senior consulting\",\n\t\"price\": 110\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/services/{{service_number}}","description":"<p>Update an existing service.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>on create</td>\n<td></td>\n</tr>\n<tr>\n<td><code>cost</code></td>\n<td>number</td>\n<td>no</td>\n<td>What it costs you.</td>\n</tr>\n<tr>\n<td><code>price</code></td>\n<td>number</td>\n<td>no</td>\n<td>The price, excluding VAT.</td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>number</td>\n<td>no</td>\n<td>The default quantity on a line.</td>\n</tr>\n<tr>\n<td><code>unit</code></td>\n<td>string</td>\n<td>no</td>\n<td>For example <code>pcs</code> or <code>hour</code>.</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>string</td>\n<td>no</td>\n<td>3 letters.</td>\n</tr>\n<tr>\n<td><code>vat_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>discount_amount</code></td>\n<td>number</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>bulk_options</code></td>\n<td>array</td>\n<td>no</td>\n<td>Price per quantity: a list of <code>{ \"quantity\": 10, \"price\": 9 }</code> (quantity from 2).</td>\n</tr>\n<tr>\n<td><code>cost_quantity / cost_total</code></td>\n<td>number</td>\n<td>no</td>\n<td>Totals that the app keeps up to date.</td>\n</tr>\n<tr>\n<td><code>invoiced_quantity / invoiced_total</code></td>\n<td>number</td>\n<td>no</td>\n<td>Totals that the app keeps up to date.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["services","{{service_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"b559f5ad-57e0-4c7b-8f29-b4b4c755e26a","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Senior consulting\",\n\t\"price\": 110\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/services/{{service_number}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"name\": \"Senior consulting\",\n\t\t\"cost\": 40,\n\t\t\"cost_inc_vat\": null,\n\t\t\"price\": 110,\n\t\t\"price_inc_vat\": null,\n\t\t\"quantity\": 1,\n\t\t\"unit\": \"hour\",\n\t\t\"currency\": \"eur\",\n\t\t\"vat_percentage\": 21,\n\t\t\"discount_percentage\": null,\n\t\t\"discount_amount\": null,\n\t\t\"bulk_options\": [\n\t\t\t{\n\t\t\t\t\"quantity\": 10,\n\t\t\t\t\"price\": 80\n\t\t\t}\n\t\t],\n\t\t\"cost_quantity\": \"0.0000\",\n\t\t\"cost_total\": \"0.0000\",\n\t\t\"invoiced_quantity\": \"0.0000\",\n\t\t\"invoiced_total\": \"0.0000\",\n\t\t\"last_used_at\": null,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"ad223d5f-aa84-4d43-8342-93880611ef86"},{"name":"Trash a service","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"6b73070e-97e4-4b6c-a9c8-7e9299dcb9c0"}}],"id":"bbe6f837-d5d7-4125-bb03-7595bddcec80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/services/{{service_number}}/trash","description":"<p>Trash a service.</p>\n","urlObject":{"path":["services","{{service_number}}","trash"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"d0cf9a95-68d7-452c-8d78-78546365ec3a","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/services/{{service_number}}/trash"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"name\": \"Senior consulting\",\n\t\t\"cost\": 40,\n\t\t\"cost_inc_vat\": null,\n\t\t\"price\": 110,\n\t\t\"price_inc_vat\": null,\n\t\t\"quantity\": 1,\n\t\t\"unit\": \"hour\",\n\t\t\"currency\": \"eur\",\n\t\t\"vat_percentage\": 21,\n\t\t\"discount_percentage\": null,\n\t\t\"discount_amount\": null,\n\t\t\"bulk_options\": [\n\t\t\t{\n\t\t\t\t\"quantity\": 10,\n\t\t\t\t\"price\": 80\n\t\t\t}\n\t\t],\n\t\t\"cost_quantity\": \"0.0000\",\n\t\t\"cost_total\": \"0.0000\",\n\t\t\"invoiced_quantity\": \"0.0000\",\n\t\t\"invoiced_total\": \"0.0000\",\n\t\t\"last_used_at\": null,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed_at\": 1794996000,\n\t\t\"trashed\": true\n\t}\n}"}],"_postman_id":"bbe6f837-d5d7-4125-bb03-7595bddcec80"},{"name":"Restore a service","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"a0a26591-d56d-4b1b-ac6a-c65631bf9ead"}}],"id":"82bcc1d9-a73a-48eb-9f9b-842f51042dd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/services/{{service_number}}/restore","description":"<p>Restore a service from the trash.</p>\n","urlObject":{"path":["services","{{service_number}}","restore"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"119243a6-7765-4a72-beb3-ae3e63946592","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/services/{{service_number}}/restore"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"name\": \"Senior consulting\",\n\t\t\"cost\": 40,\n\t\t\"cost_inc_vat\": null,\n\t\t\"price\": 110,\n\t\t\"price_inc_vat\": null,\n\t\t\"quantity\": 1,\n\t\t\"unit\": \"hour\",\n\t\t\"currency\": \"eur\",\n\t\t\"vat_percentage\": 21,\n\t\t\"discount_percentage\": null,\n\t\t\"discount_amount\": null,\n\t\t\"bulk_options\": [\n\t\t\t{\n\t\t\t\t\"quantity\": 10,\n\t\t\t\t\"price\": 80\n\t\t\t}\n\t\t],\n\t\t\"cost_quantity\": \"0.0000\",\n\t\t\"cost_total\": \"0.0000\",\n\t\t\"invoiced_quantity\": \"0.0000\",\n\t\t\"invoiced_total\": \"0.0000\",\n\t\t\"last_used_at\": null,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"82bcc1d9-a73a-48eb-9f9b-842f51042dd6"},{"name":"Delete a service","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });"],"id":"274c3e71-e445-4149-a06b-4cb59b196c80"}}],"id":"b54442bc-25b3-4e8f-a54d-5b557dccc2ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/services/{{service_number}}","description":"<p>Delete a service.</p>\n","urlObject":{"path":["services","{{service_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"74e19355-5668-4089-8779-541a84f4efd3","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/services/{{service_number}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"name\": \"Senior consulting\",\n\t\t\"cost\": 40,\n\t\t\"cost_inc_vat\": null,\n\t\t\"price\": 110,\n\t\t\"price_inc_vat\": null,\n\t\t\"quantity\": 1,\n\t\t\"unit\": \"hour\",\n\t\t\"currency\": \"eur\",\n\t\t\"vat_percentage\": 21,\n\t\t\"discount_percentage\": null,\n\t\t\"discount_amount\": null,\n\t\t\"bulk_options\": [\n\t\t\t{\n\t\t\t\t\"quantity\": 10,\n\t\t\t\t\"price\": 80\n\t\t\t}\n\t\t],\n\t\t\"cost_quantity\": \"0.0000\",\n\t\t\"cost_total\": \"0.0000\",\n\t\t\"invoiced_quantity\": \"0.0000\",\n\t\t\"invoiced_total\": \"0.0000\",\n\t\t\"last_used_at\": null,\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed_at\": 1794996000,\n\t\t\"trashed\": true\n\t}\n}"}],"_postman_id":"b54442bc-25b3-4e8f-a54d-5b557dccc2ef"}],"id":"75d3cb2f-0854-40aa-a05f-fb6c3782ae86","_postman_id":"75d3cb2f-0854-40aa-a05f-fb6c3782ae86","description":""},{"name":"Invoices","item":[{"name":"Content","item":[{"name":"List invoice content","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"b6f4fa10-8424-40d0-8540-80489f27e1dd"}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"e0cae530-c5af-409f-8084-cd8b0d2484e8"}}],"id":"d5969670-0302-46df-b2af-9aa45bdfb21d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/invoices/{{invoice_number}}/content","description":"<p>Get the content (intro/extra) from a given invoice.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","content"],"host":["{{api_url}}"],"query":[{"disabled":true,"key":"limit","value":"15"}],"variable":[]}},"response":[{"id":"ec0d9111-0c68-461d-8c57-f6a9900ce355","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{api_url}}/invoices/{{invoice_number}}/content","host":["{{api_url}}"],"path":["invoices","{{invoice_number}}","content"],"query":[{"key":"limit","value":"15","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"intro\": {\n\t\t\t\"source\": \"resource\",\n\t\t\t\"type\": \"intro\",\n\t\t\t\"columns\": [\n\t\t\t\t\"Thank you for your **order**.\",\n\t\t\t\t\"Payment within 30 days.\"\n\t\t\t],\n\t\t\t\"created_at\": 1794999600,\n\t\t\t\"updated_at\": 1794999600\n\t\t}\n\t}\n}"}],"_postman_id":"d5969670-0302-46df-b2af-9aa45bdfb21d"},{"name":"Retrieve invoice content","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"74bfb6db-1f54-4123-8ce8-fd23e19c90ff"}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"2e627a7f-bd61-4106-80c3-8007bbeeeff6"}}],"id":"7e30bf65-1a13-4988-9329-454dd3ad0b85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/invoices/{{invoice_number}}/content/{{invoice_content_type}}","description":"<p>Retrieve invoice content by its type.</p>\n<p>Supported types: intro, extra</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","content","{{invoice_content_type}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"716c5195-8966-4110-9897-7c647c6ba11e","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/invoices/{{invoice_number}}/content/{{invoice_content_type}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"source\": \"resource\",\n\t\t\"type\": \"intro\",\n\t\t\"columns\": [\n\t\t\t\"Thank you for your **order**.\",\n\t\t\t\"Payment within 30 days.\"\n\t\t],\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t}\n}"}],"_postman_id":"7e30bf65-1a13-4988-9329-454dd3ad0b85"},{"name":"Update invoice content","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"3b335bdf-a293-4d58-ad30-5751cb1f9999"}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 201', function () { pm.response.to.have.status(201); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"2c9d9810-1d1e-49f8-b50d-f1774bb31022"}}],"id":"0b34ff45-556e-4921-9690-29a02d07746b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"columns\": 2,\n\t\"markdown\": true,\n\t\"column_1\": \"Thank you for your **order**.\",\n\t\"column_2\": \"Payment within 30 days.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/invoices/{{invoice_number}}/content/{{invoice_content_type}}","description":"<p>Update invoice content for the given type.</p>\n<p>Supported types: intro, extra</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>columns</code></td>\n<td>integer</td>\n<td>no</td>\n<td>1 to 4.</td>\n</tr>\n<tr>\n<td><code>markdown</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Whether the text is Markdown.</td>\n</tr>\n<tr>\n<td><code>column_1 .. column_4</code></td>\n<td>string</td>\n<td>no</td>\n<td>The text of each column.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["invoices","{{invoice_number}}","content","{{invoice_content_type}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"79a5f03e-6fff-4859-984b-764aa9a773d2","name":"201 Created","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"columns\": 2,\n\t\"markdown\": true,\n\t\"column_1\": \"Thank you for your **order**.\",\n\t\"column_2\": \"Payment within 30 days.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/invoices/{{invoice_number}}/content/{{invoice_content_type}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"source\": \"resource\",\n\t\t\"type\": \"intro\",\n\t\t\"columns\": [\n\t\t\t\"Thank you for your **order**.\",\n\t\t\t\"Payment within 30 days.\"\n\t\t],\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t}\n}"}],"_postman_id":"0b34ff45-556e-4921-9690-29a02d07746b"},{"name":"Delete invoice content","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"5bd30e4e-fdda-4ccd-8b8a-6a5f98b90599"}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });"],"id":"4fa60afc-c2fc-4de4-887a-3140f0cede9e"}}],"id":"ae568ca6-8a54-4744-a8f9-b86e62d7e102","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/invoices/{{invoice_number}}/content/{{invoice_content_type}}","description":"<p>Delete invoice content.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","content","{{invoice_content_type}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"92532fc7-13ef-48c1-aab8-0dbdba2d7c59","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/invoices/{{invoice_number}}/content/{{invoice_content_type}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"source\": \"resource\",\n\t\t\"type\": \"intro\",\n\t\t\"columns\": [\n\t\t\t\"Thank you for your **order**.\",\n\t\t\t\"Payment within 30 days.\"\n\t\t],\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t}\n}"}],"_postman_id":"ae568ca6-8a54-4744-a8f9-b86e62d7e102"}],"id":"282d7c89-144f-4983-8f79-0e2b357b897e","_postman_id":"282d7c89-144f-4983-8f79-0e2b357b897e","description":""},{"name":"Lines","item":[{"name":"List invoice lines","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"67f299b3-d0e0-49cb-9d7c-8b4bd25165e3"}}],"id":"31430bcf-c50a-4731-bf7d-c3786e5e18c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/invoices/{{invoice_number}}/lines","description":"<p>Get a list of paginated invoice lines.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","lines"],"host":["{{api_url}}"],"query":[{"disabled":true,"key":"limit","value":"15"},{"disabled":true,"key":"type","value":"text"}],"variable":[]}},"response":[{"id":"a4c9b31f-a5eb-4630-9fba-84c017808292","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{api_url}}/invoices/{{invoice_number}}/lines","host":["{{api_url}}"],"path":["invoices","{{invoice_number}}","lines"],"query":[{"key":"limit","value":"15","disabled":true},{"key":"type","value":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"id\": 1,\n\t\t\t\"order\": 1,\n\t\t\t\"type\": \"regular\",\n\t\t\t\"content\": \"Design work\",\n\t\t\t\"unit\": \"hour\",\n\t\t\t\"quantity\": 10,\n\t\t\t\"price\": 85,\n\t\t\t\"price_inc_vat\": 102.85,\n\t\t\t\"discount_percentage\": 0,\n\t\t\t\"discount_amount\": 0,\n\t\t\t\"vat_percentage\": 21,\n\t\t\t\"vat_amount\": 178.5,\n\t\t\t\"total\": 850,\n\t\t\t\"total_inc_vat\": 1028.5,\n\t\t\t\"created_at\": 1794999600,\n\t\t\t\"updated_at\": 1794999600\n\t\t},\n\t\t{\n\t\t\t\"id\": 2,\n\t\t\t\"order\": 2,\n\t\t\t\"type\": \"text\",\n\t\t\t\"content\": \"Phase 1: wireframes and sitemap\",\n\t\t\t\"created_at\": 1794999600,\n\t\t\t\"updated_at\": 1794999600\n\t\t}\n\t],\n\t\"links\": {\n\t\t\"first\": \"https://api.comanage.me/v1/invoices/1/lines?page=1\",\n\t\t\"last\": \"https://api.comanage.me/v1/invoices/1/lines?page=1\",\n\t\t\"prev\": null,\n\t\t\"next\": null\n\t},\n\t\"meta\": {\n\t\t\"current_page\": 1,\n\t\t\"from\": 1,\n\t\t\"last_page\": 1,\n\t\t\"links\": [\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"&laquo; Previous\",\n\t\t\t\t\"active\": false\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": \"https://api.comanage.me/v1/invoices/1/lines?page=1\",\n\t\t\t\t\"label\": \"1\",\n\t\t\t\t\"active\": true\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"Next &raquo;\",\n\t\t\t\t\"active\": false\n\t\t\t}\n\t\t],\n\t\t\"path\": \"https://api.comanage.me/v1/invoices/1/lines\",\n\t\t\"per_page\": 15,\n\t\t\"to\": 2,\n\t\t\"total\": 2\n\t}\n}"}],"_postman_id":"31430bcf-c50a-4731-bf7d-c3786e5e18c5"},{"name":"Retrieve an invoice line","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"778f5c31-ba2b-4894-9a53-cc0318d1a4d4"}}],"id":"06f23da8-5c36-4fd6-9dcf-c43d7d0c76be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/invoices/{{invoice_number}}/lines/{{invoice_line_id}}","description":"<p>Retrieve an invoice line.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","lines","{{invoice_line_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"3026d1cc-b64f-4f36-9547-007fd32897ae","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/invoices/{{invoice_number}}/lines/{{invoice_line_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"id\": 1,\n\t\t\"order\": 1,\n\t\t\"type\": \"regular\",\n\t\t\"content\": \"Design work\",\n\t\t\"unit\": \"hour\",\n\t\t\"quantity\": 10,\n\t\t\"price\": 85,\n\t\t\"price_inc_vat\": 102.85,\n\t\t\"discount_percentage\": 0,\n\t\t\"discount_amount\": 0,\n\t\t\"vat_percentage\": 21,\n\t\t\"vat_amount\": 178.5,\n\t\t\"total\": 850,\n\t\t\"total_inc_vat\": 1028.5,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t}\n}"}],"_postman_id":"06f23da8-5c36-4fd6-9dcf-c43d7d0c76be"},{"name":"Create a new invoice line","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"ee904613-8361-4ece-b19d-7840b4b54bea"}}],"id":"e3d62ebd-7c7c-4a33-a262-17b44736e4cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"regular\",\n\t\"content\": \"Design work\",\n\t\"unit\": \"hour\",\n\t\"quantity\": 10,\n\t\"price\": 85,\n\t\"vat_percentage\": 21\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/invoices/{{invoice_number}}/lines","description":"<p>Create a new invoice line.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>type</code></td>\n<td>string</td>\n<td>on create</td>\n<td><code>text</code>, <code>regular</code>, <code>product</code>, <code>service</code>, <code>time</code>, <code>subtotal</code> or <code>divider</code>.</td>\n</tr>\n<tr>\n<td><code>content</code></td>\n<td>string</td>\n<td>for text and regular lines</td>\n<td>The description of the line.</td>\n</tr>\n<tr>\n<td><code>unit</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>number</td>\n<td>on create</td>\n<td></td>\n</tr>\n<tr>\n<td><code>price</code></td>\n<td>number</td>\n<td>on create, without <code>price_inc_vat</code></td>\n<td>The price excluding VAT.</td>\n</tr>\n<tr>\n<td><code>price_inc_vat</code></td>\n<td>number</td>\n<td>on create, without <code>price</code></td>\n<td>The price including VAT, an alternative to <code>price</code>.</td>\n</tr>\n<tr>\n<td><code>discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>discount_amount</code></td>\n<td>number</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>vat_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["invoices","{{invoice_number}}","lines"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"4573895a-b121-4ac3-b912-e08d6c8f61b7","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"regular\",\n\t\"content\": \"Design work\",\n\t\"unit\": \"hour\",\n\t\"quantity\": 10,\n\t\"price\": 85,\n\t\"vat_percentage\": 21\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/invoices/{{invoice_number}}/lines"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"line\": {\n\t\t\"id\": 1,\n\t\t\"order\": 1,\n\t\t\"type\": \"regular\",\n\t\t\"content\": \"Design work\",\n\t\t\"unit\": \"hour\",\n\t\t\"quantity\": 10,\n\t\t\"price\": 85,\n\t\t\"price_inc_vat\": 102.85,\n\t\t\"discount_percentage\": 0,\n\t\t\"discount_amount\": 0,\n\t\t\"vat_percentage\": 21,\n\t\t\"vat_amount\": 178.5,\n\t\t\"total\": 850,\n\t\t\"total_inc_vat\": 1028.5,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t},\n\t\"invoice\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"draft\",\n\t\t\"invoice_number\": null,\n\t\t\"title\": \"Website redesign (phase 1)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"first_sent_at\": null,\n\t\t\"last_sent_at\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"reference_type\": \"free\",\n\t\t\"reference\": \"PO-2026-15\",\n\t\t\"pdf\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306/pdf\",\n\t\t\"link\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 850,\n\t\t\t\"total_ex_vat\": 850,\n\t\t\t\"total_vat\": 178.5,\n\t\t\t\"total\": 1028.5,\n\t\t\t\"total_due_ex_vat\": 850,\n\t\t\t\"total_due\": 1028.5,\n\t\t\t\"total_paid_ex_vat\": 0,\n\t\t\t\"total_paid\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 178.5,\n\t\t\t\t\t\"total_ex_vat\": 850,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"e3d62ebd-7c7c-4a33-a262-17b44736e4cf"},{"name":"Update an invoice line","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"c768ae5d-eb9c-479a-8bb1-382c15a3d4c7"}}],"id":"a6d0949e-571e-4087-91cc-abe2ab1ce15d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"content\": \"Design work (revised)\",\n\t\"quantity\": 12,\n\t\"discount_percentage\": 5\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/invoices/{{invoice_number}}/lines/{{invoice_line_id}}","description":"<p>Update an existing invoice line.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>type</code></td>\n<td>string</td>\n<td>on create</td>\n<td><code>text</code>, <code>regular</code>, <code>product</code>, <code>service</code>, <code>time</code>, <code>subtotal</code> or <code>divider</code>.</td>\n</tr>\n<tr>\n<td><code>content</code></td>\n<td>string</td>\n<td>for text and regular lines</td>\n<td>The description of the line.</td>\n</tr>\n<tr>\n<td><code>unit</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>number</td>\n<td>on create</td>\n<td></td>\n</tr>\n<tr>\n<td><code>price</code></td>\n<td>number</td>\n<td>on create, without <code>price_inc_vat</code></td>\n<td>The price excluding VAT.</td>\n</tr>\n<tr>\n<td><code>price_inc_vat</code></td>\n<td>number</td>\n<td>on create, without <code>price</code></td>\n<td>The price including VAT, an alternative to <code>price</code>.</td>\n</tr>\n<tr>\n<td><code>discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>discount_amount</code></td>\n<td>number</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>vat_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["invoices","{{invoice_number}}","lines","{{invoice_line_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"12602e3b-1f10-4fc3-a8b7-58444533253a","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"content\": \"Design work (revised)\",\n\t\"quantity\": 12,\n\t\"discount_percentage\": 5\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/invoices/{{invoice_number}}/lines/{{invoice_line_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"line\": {\n\t\t\"id\": 1,\n\t\t\"order\": 1,\n\t\t\"type\": \"regular\",\n\t\t\"content\": \"Design work (revised)\",\n\t\t\"unit\": \"hour\",\n\t\t\"quantity\": 12,\n\t\t\"price\": 85,\n\t\t\"price_inc_vat\": 102.85,\n\t\t\"discount_percentage\": 5,\n\t\t\"discount_amount\": 51,\n\t\t\"vat_percentage\": 21,\n\t\t\"vat_amount\": 203.49,\n\t\t\"total\": 969,\n\t\t\"total_inc_vat\": 1172.49,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t},\n\t\"invoice\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"draft\",\n\t\t\"invoice_number\": null,\n\t\t\"title\": \"Website redesign (phase 1)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"first_sent_at\": null,\n\t\t\"last_sent_at\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"reference_type\": \"free\",\n\t\t\"reference\": \"PO-2026-15\",\n\t\t\"pdf\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306/pdf\",\n\t\t\"link\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49,\n\t\t\t\"total_due_ex_vat\": 969,\n\t\t\t\"total_due\": 1172.49,\n\t\t\t\"total_paid_ex_vat\": 0,\n\t\t\t\"total_paid\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"a6d0949e-571e-4087-91cc-abe2ab1ce15d"},{"name":"Delete an invoice line","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });"],"id":"9fb72d79-ea0b-4331-9529-1cf7732055bc"}}],"id":"6827b9b5-87a7-4517-af6d-749d9a4b55c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/invoices/{{invoice_number}}/lines/{{invoice_line_id}}","description":"<p>Delete an invoice line.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","lines","{{invoice_line_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"c822acb7-74ba-4871-bf4f-d61346640f9e","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/invoices/{{invoice_number}}/lines/{{invoice_line_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"line\": {\n\t\t\"id\": 3,\n\t\t\"order\": 3,\n\t\t\"type\": \"regular\",\n\t\t\"content\": \"Hosting\",\n\t\t\"unit\": null,\n\t\t\"quantity\": 1,\n\t\t\"price\": 20,\n\t\t\"price_inc_vat\": 24.2,\n\t\t\"discount_percentage\": 0,\n\t\t\"discount_amount\": 0,\n\t\t\"vat_percentage\": 21,\n\t\t\"vat_amount\": 4.2,\n\t\t\"total\": 20,\n\t\t\"total_inc_vat\": 24.2,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t},\n\t\"invoice\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"draft\",\n\t\t\"invoice_number\": null,\n\t\t\"title\": \"Website redesign (phase 1)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"first_sent_at\": null,\n\t\t\"last_sent_at\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"reference_type\": \"free\",\n\t\t\"reference\": \"PO-2026-15\",\n\t\t\"pdf\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306/pdf\",\n\t\t\"link\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49,\n\t\t\t\"total_due_ex_vat\": 969,\n\t\t\t\"total_due\": 1172.49,\n\t\t\t\"total_paid_ex_vat\": 0,\n\t\t\t\"total_paid\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"6827b9b5-87a7-4517-af6d-749d9a4b55c5"}],"id":"d1efcb8f-324c-4ce2-a624-db7f1274344f","_postman_id":"d1efcb8f-324c-4ce2-a624-db7f1274344f","description":""},{"name":"Payments","item":[{"name":"List invoice payments","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"bc03459e-a337-4fce-97e0-5561e4851f90"}}],"id":"d6c67ad7-f4b9-4ba8-9f36-cbaeee551486","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/invoices/{{invoice_number}}/payments","description":"<p>Get a list of paginated invoice payments.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","payments"],"host":["{{api_url}}"],"query":[{"disabled":true,"key":"limit","value":"15"}],"variable":[]}},"response":[{"id":"d3a58b7c-9470-407a-b71c-2c7f96e210ec","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{api_url}}/invoices/{{invoice_number}}/payments","host":["{{api_url}}"],"path":["invoices","{{invoice_number}}","payments"],"query":[{"key":"limit","value":"15","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"id\": 1,\n\t\t\t\"amount\": 200,\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"method\": \"transfer\",\n\t\t\t\"paid_at\": 1795132800,\n\t\t\t\"created_at\": 1794999600,\n\t\t\t\"updated_at\": 1794999600\n\t\t}\n\t],\n\t\"links\": {\n\t\t\"first\": \"https://api.comanage.me/v1/invoices/1/payments?page=1\",\n\t\t\"last\": \"https://api.comanage.me/v1/invoices/1/payments?page=1\",\n\t\t\"prev\": null,\n\t\t\"next\": null\n\t},\n\t\"meta\": {\n\t\t\"current_page\": 1,\n\t\t\"from\": 1,\n\t\t\"last_page\": 1,\n\t\t\"links\": [\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"&laquo; Previous\",\n\t\t\t\t\"active\": false\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": \"https://api.comanage.me/v1/invoices/1/payments?page=1\",\n\t\t\t\t\"label\": \"1\",\n\t\t\t\t\"active\": true\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"Next &raquo;\",\n\t\t\t\t\"active\": false\n\t\t\t}\n\t\t],\n\t\t\"path\": \"https://api.comanage.me/v1/invoices/1/payments\",\n\t\t\"per_page\": 15,\n\t\t\"to\": 1,\n\t\t\"total\": 1\n\t}\n}"}],"_postman_id":"d6c67ad7-f4b9-4ba8-9f36-cbaeee551486"},{"name":"Retrieve an invoice payment","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"33f780f7-b29f-40ba-8b79-b5c2e5d1f419"}}],"id":"9cbe357c-598a-4020-849e-2c16afdcf302","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/invoices/{{invoice_number}}/payments/{{invoice_payment_id}}","description":"<p>Retrieve an existing invoice payment by id.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","payments","{{invoice_payment_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"ac77bac4-ff06-4374-9af3-cddc01f243a9","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/invoices/{{invoice_number}}/payments/{{invoice_payment_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"id\": 1,\n\t\t\"amount\": 200,\n\t\t\"currency\": \"eur\",\n\t\t\"method\": \"transfer\",\n\t\t\"paid_at\": 1795132800,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t}\n}"}],"_postman_id":"9cbe357c-598a-4020-849e-2c16afdcf302"},{"name":"Create a new invoice payment","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"1093ed09-6338-4714-99d1-4af43dbf9a45"}}],"id":"a5dccbb6-5e21-4080-8284-6fb2b6c816a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"amount\": 200,\n\t\"method\": \"transfer\",\n\t\"paid_at\": \"2026-11-20\",\n\t\"description\": \"Partial payment\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/invoices/{{invoice_number}}/payments","description":"<p>Create a new invoice payment.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>amount</code></td>\n<td>number</td>\n<td>on create</td>\n<td></td>\n</tr>\n<tr>\n<td><code>method</code></td>\n<td>string</td>\n<td>on create</td>\n<td>One of: transfer, direct_debit, creditcard, paypal, cash, ideal, bancontact, belfius, kbc, crypto_currency, stripe_credit, write_off, voucher, not_collectable.</td>\n</tr>\n<tr>\n<td><code>paid_at</code></td>\n<td>date</td>\n<td>no</td>\n<td><code>YYYY-MM-DD</code>.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["invoices","{{invoice_number}}","payments"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"340b5299-51b6-48f9-92cb-4f5d866d3c62","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"amount\": 200,\n\t\"method\": \"transfer\",\n\t\"paid_at\": \"2026-11-20\",\n\t\"description\": \"Partial payment\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/invoices/{{invoice_number}}/payments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"payment\": {\n\t\t\"id\": 1,\n\t\t\"amount\": 200,\n\t\t\"currency\": \"eur\",\n\t\t\"method\": \"transfer\",\n\t\t\"paid_at\": 1795132800,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t},\n\t\"invoice\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"pending\",\n\t\t\"invoice_number\": \"1\"\n\t}\n}"}],"_postman_id":"a5dccbb6-5e21-4080-8284-6fb2b6c816a1"},{"name":"Update an invoice payment","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"aa0ece8d-85b0-4a93-9ca6-23afb6eed51f"}}],"id":"c7af7716-20d6-4f96-9800-584f9a2ffc45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"amount\": 250,\n\t\"method\": \"creditcard\",\n\t\"paid_at\": \"2026-11-21\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/invoices/{{invoice_number}}/payments/{{invoice_payment_id}}","description":"<p>Update an existing invoice payment.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>amount</code></td>\n<td>number</td>\n<td>on create</td>\n<td></td>\n</tr>\n<tr>\n<td><code>method</code></td>\n<td>string</td>\n<td>on create</td>\n<td>One of: transfer, direct_debit, creditcard, paypal, cash, ideal, bancontact, belfius, kbc, crypto_currency, stripe_credit, write_off, voucher, not_collectable.</td>\n</tr>\n<tr>\n<td><code>paid_at</code></td>\n<td>date</td>\n<td>no</td>\n<td><code>YYYY-MM-DD</code>.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["invoices","{{invoice_number}}","payments","{{invoice_payment_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"21627586-7d96-45cc-9633-29ed06962f48","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"amount\": 250,\n\t\"method\": \"creditcard\",\n\t\"paid_at\": \"2026-11-21\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/invoices/{{invoice_number}}/payments/{{invoice_payment_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"payment\": {\n\t\t\"id\": 1,\n\t\t\"amount\": 250,\n\t\t\"currency\": \"eur\",\n\t\t\"method\": \"creditcard\",\n\t\t\"paid_at\": 1795219200,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t},\n\t\"invoice\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"pending\",\n\t\t\"invoice_number\": \"1\"\n\t}\n}"}],"_postman_id":"c7af7716-20d6-4f96-9800-584f9a2ffc45"},{"name":"Delete an invoice payment","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });"],"id":"902702de-b38e-47ba-857c-4abdfe67e663"}}],"id":"8dab4875-1d71-464c-8dc7-10e5f3f00d23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/invoices/{{invoice_number}}/payments/{{invoice_payment_id}}","description":"<p>Delete an invoice payment.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","payments","{{invoice_payment_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"7080ea48-cc29-45ff-9288-3ce03c849776","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/invoices/{{invoice_number}}/payments/{{invoice_payment_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"payment\": {\n\t\t\"id\": 1,\n\t\t\"amount\": 250,\n\t\t\"currency\": \"eur\",\n\t\t\"method\": \"creditcard\",\n\t\t\"paid_at\": 1795219200,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t},\n\t\"invoice\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"pending\",\n\t\t\"invoice_number\": \"1\"\n\t}\n}"}],"_postman_id":"8dab4875-1d71-464c-8dc7-10e5f3f00d23"}],"id":"65fa5ef6-85e2-4aad-9246-fe79a80a2365","_postman_id":"65fa5ef6-85e2-4aad-9246-fe79a80a2365","description":""},{"name":"List invoices","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"1eeb09d3-a50f-44cb-b303-ce7cbe508fa1"}}],"id":"0cbb4c97-a77e-437c-84fb-8a7f3c43a626","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/invoices?sort=invoice_number_desc","description":"<p>Get a list of paginated invoices.</p>\n","urlObject":{"path":["invoices"],"host":["{{api_url}}"],"query":[{"disabled":true,"description":{"content":"<p>The number of results per page (1 to 100, default 15).</p>\n","type":"text/plain"},"key":"limit","value":"15"},{"disabled":true,"description":{"content":"<p>The page to get.</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Sort the results, for example <code>invoice_number_desc</code>.</p>\n","type":"text/plain"},"key":"sort","value":"invoice_number_desc"},{"disabled":true,"description":{"content":"<p>Only the invoices with this status: <code>draft</code>, <code>pending</code>, <code>paid</code>, <code>overdue</code>, ...</p>\n","type":"text/plain"},"key":"status","value":"draft"},{"disabled":true,"description":{"content":"<p>Also list the resources in the trash.</p>\n","type":"text/plain"},"key":"withTrashed","value":"1"},{"disabled":true,"description":{"content":"<p>Only list the resources in the trash.</p>\n","type":"text/plain"},"key":"onlyTrashed","value":"1"}],"variable":[]}},"response":[{"id":"51bd7add-7c1c-448e-8879-a9fba3fa26df","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{api_url}}/invoices?sort=invoice_number_desc","host":["{{api_url}}"],"path":["invoices"],"query":[{"key":"limit","value":"15","description":"The number of results per page (1 to 100, default 15).","disabled":true},{"key":"page","value":"1","description":"The page to get.","disabled":true},{"key":"sort","value":"invoice_number_desc","description":"Sort the results, for example `invoice_number_desc`."},{"key":"status","value":"draft","description":"Only the invoices with this status: `draft`, `pending`, `paid`, `overdue`, ...","disabled":true},{"key":"withTrashed","value":"1","description":"Also list the resources in the trash.","disabled":true},{"key":"onlyTrashed","value":"1","description":"Only list the resources in the trash.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"number\": 1,\n\t\t\t\"status\": \"draft\",\n\t\t\t\"invoice_number\": null,\n\t\t\t\"title\": \"Website redesign\",\n\t\t\t\"date\": \"2026-11-18\",\n\t\t\t\"due_date\": \"2026-12-18\",\n\t\t\t\"first_sent_at\": null,\n\t\t\t\"last_sent_at\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"reference_type\": \"free\",\n\t\t\t\"reference\": \"PO-2026-15\",\n\t\t\t\"pdf\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306/pdf\",\n\t\t\t\"link\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306\",\n\t\t\t\"discount\": {\n\t\t\t\t\"commercial\": {\n\t\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\t\"percentage\": 0,\n\t\t\t\t\t\"amount\": 0\n\t\t\t\t},\n\t\t\t\t\"financial\": {\n\t\t\t\t\t\"percentage\": 0,\n\t\t\t\t\t\"amount\": 0,\n\t\t\t\t\t\"days\": 10\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"totals\": {\n\t\t\t\t\"subtotal\": 0,\n\t\t\t\t\"total_ex_vat\": 0,\n\t\t\t\t\"total_vat\": 0,\n\t\t\t\t\"total\": 0,\n\t\t\t\t\"total_due_ex_vat\": 0,\n\t\t\t\t\"total_due\": 0,\n\t\t\t\t\"total_paid_ex_vat\": 0,\n\t\t\t\t\"total_paid\": 0\n\t\t\t},\n\t\t\t\"vat\": {\n\t\t\t\t\"type\": \"collect\",\n\t\t\t\t\"collect\": true,\n\t\t\t\t\"amounts\": []\n\t\t\t},\n\t\t\t\"contact\": {\n\t\t\t\t\"number\": 2,\n\t\t\t\t\"customer\": true,\n\t\t\t\t\"customer_number\": \"1\",\n\t\t\t\t\"supplier\": false,\n\t\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\t\"kvk_number\": null,\n\t\t\t\t\"language\": \"en\",\n\t\t\t\t\"currency\": \"eur\",\n\t\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\t\"phone\": null,\n\t\t\t\t\"peppol_id\": null,\n\t\t\t\t\"peppol_scheme\": null,\n\t\t\t\t\"peppol_ready\": false,\n\t\t\t\t\"extra_fields\": [],\n\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\"updated_at\": 1794996000,\n\t\t\t\t\"trashed\": false,\n\t\t\t\t\"addresses\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t\"created_at\": 1794999600,\n\t\t\t\"updated_at\": 1794999600,\n\t\t\t\"trashed\": false\n\t\t}\n\t],\n\t\"links\": {\n\t\t\"first\": \"https://api.comanage.me/v1/invoices?page=1\",\n\t\t\"last\": \"https://api.comanage.me/v1/invoices?page=1\",\n\t\t\"prev\": null,\n\t\t\"next\": null\n\t},\n\t\"meta\": {\n\t\t\"current_page\": 1,\n\t\t\"from\": 1,\n\t\t\"last_page\": 1,\n\t\t\"links\": [\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"&laquo; Previous\",\n\t\t\t\t\"active\": false\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": \"https://api.comanage.me/v1/invoices?page=1\",\n\t\t\t\t\"label\": \"1\",\n\t\t\t\t\"active\": true\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"Next &raquo;\",\n\t\t\t\t\"active\": false\n\t\t\t}\n\t\t],\n\t\t\"path\": \"https://api.comanage.me/v1/invoices\",\n\t\t\"per_page\": 15,\n\t\t\"to\": 1,\n\t\t\"total\": 1\n\t}\n}"}],"_postman_id":"0cbb4c97-a77e-437c-84fb-8a7f3c43a626"},{"name":"Retrieve an invoice","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"3e8006a3-8c01-4b3c-8d32-a650ab8a5373"}}],"id":"3c2291eb-1199-4878-92b8-516cd9b712bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/invoices/{{invoice_number}}","description":"<p>Retrieve an invoice by its number.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"27c03224-9083-4425-82e6-54017b4fd202","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/invoices/{{invoice_number}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"draft\",\n\t\t\"invoice_number\": null,\n\t\t\"title\": \"Website redesign\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"first_sent_at\": null,\n\t\t\"last_sent_at\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"reference_type\": \"free\",\n\t\t\"reference\": \"PO-2026-15\",\n\t\t\"pdf\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306/pdf\",\n\t\t\"link\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 0,\n\t\t\t\"total_ex_vat\": 0,\n\t\t\t\"total_vat\": 0,\n\t\t\t\"total\": 0,\n\t\t\t\"total_due_ex_vat\": 0,\n\t\t\t\"total_due\": 0,\n\t\t\t\"total_paid_ex_vat\": 0,\n\t\t\t\"total_paid\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": []\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"3c2291eb-1199-4878-92b8-516cd9b712bb"},{"name":"Create a new invoice","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"f747bc21-e4e9-4b43-b3af-821f7402237e"}}],"id":"c558018c-58d8-46b5-aaaa-ff432114a47e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Website redesign\",\n\t\"contact\": 2,\n\t\"date\": \"2026-11-18\",\n\t\"due_when\": \"date\",\n\t\"due_days\": 30,\n\t\"language\": \"en\",\n\t\"currency\": \"eur\",\n\t\"vat_type\": \"collect\",\n\t\"reference_type\": \"free\",\n\t\"reference\": \"PO-2026-15\",\n\t\"remind\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/invoices","description":"<p>Create a new invoice.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>title</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>contact</code></td>\n<td>integer</td>\n<td>on create</td>\n<td>The number of a customer.</td>\n</tr>\n<tr>\n<td><code>person</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of a person of the contact.</td>\n</tr>\n<tr>\n<td><code>date</code></td>\n<td>date</td>\n<td>on create</td>\n<td><code>YYYY-MM-DD</code>.</td>\n</tr>\n<tr>\n<td><code>due_when</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>date</code> (a number of days after the date) or <code>end_of_month</code>.</td>\n</tr>\n<tr>\n<td><code>due_days</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of days, from 1.</td>\n</tr>\n<tr>\n<td><code>remind</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Send reminders for an unpaid invoice.</td>\n</tr>\n<tr>\n<td><code>language</code></td>\n<td>string</td>\n<td>no</td>\n<td>2 letters.</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>string</td>\n<td>no</td>\n<td>3 letters.</td>\n</tr>\n<tr>\n<td><code>vat_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>collect</code>, <code>reverse</code>, <code>exempt</code>, <code>co-contractor</code> or <code>renovation</code>.</td>\n</tr>\n<tr>\n<td><code>reference_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>free</code>, <code>structured</code> or <code>number</code>.</td>\n</tr>\n<tr>\n<td><code>reference</code></td>\n<td>string</td>\n<td>with <code>reference_type</code></td>\n<td>Up to 48 characters.</td>\n</tr>\n<tr>\n<td><code>com_discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>Commercial discount, 0 to 100.</td>\n</tr>\n<tr>\n<td><code>com_discount_amount</code></td>\n<td>number</td>\n<td>no</td>\n<td>Commercial discount as an amount.</td>\n</tr>\n<tr>\n<td><code>pdf_template</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of one of your PDF templates. The default one is used when it is left out.</td>\n</tr>\n<tr>\n<td><code>custom_number</code></td>\n<td>integer</td>\n<td>no</td>\n<td>Your own invoice number.</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>po_number</code></td>\n<td>string</td>\n<td>no</td>\n<td>The purchase order number of your customer.</td>\n</tr>\n<tr>\n<td><code>fin_discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>Financial (early payment) discount, 0 to 100.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["invoices"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"807699e8-9fbb-4416-8ed5-7508cb530ac0","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Website redesign\",\n\t\"contact\": 2,\n\t\"date\": \"2026-11-18\",\n\t\"due_when\": \"date\",\n\t\"due_days\": 30,\n\t\"language\": \"en\",\n\t\"currency\": \"eur\",\n\t\"vat_type\": \"collect\",\n\t\"reference_type\": \"free\",\n\t\"reference\": \"PO-2026-15\",\n\t\"remind\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/invoices"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"draft\",\n\t\t\"invoice_number\": null,\n\t\t\"title\": \"Website redesign\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"first_sent_at\": null,\n\t\t\"last_sent_at\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"reference_type\": \"free\",\n\t\t\"reference\": \"PO-2026-15\",\n\t\t\"pdf\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306/pdf\",\n\t\t\"link\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 0,\n\t\t\t\"total_ex_vat\": 0,\n\t\t\t\"total_vat\": 0,\n\t\t\t\"total\": 0,\n\t\t\t\"total_due_ex_vat\": 0,\n\t\t\t\"total_due\": 0,\n\t\t\t\"total_paid_ex_vat\": 0,\n\t\t\t\"total_paid\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": []\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"},{"id":"3ba477b6-0907-4bc7-923f-7ebcc426dcb4","name":"Validation error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Website redesign\",\n\t\"contact\": 2,\n\t\"date\": \"2026-11-18\",\n\t\"due_when\": \"date\",\n\t\"due_days\": 30,\n\t\"language\": \"en\",\n\t\"currency\": \"eur\",\n\t\"vat_type\": \"collect\",\n\t\"reference_type\": \"free\",\n\t\"reference\": \"PO-2026-15\",\n\t\"remind\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/invoices"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"message\": \"The contact field is required. (and 1 more error)\",\n\t\"errors\": {\n\t\t\"contact\": [\n\t\t\t\"The contact field is required.\"\n\t\t],\n\t\t\"date\": [\n\t\t\t\"The date field is required.\"\n\t\t]\n\t}\n}"}],"_postman_id":"c558018c-58d8-46b5-aaaa-ff432114a47e"},{"name":"Update an invoice","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"432f9dbc-ae79-4574-b51c-1908e83196e3"}}],"id":"0b0bc4c3-d8e0-470b-95aa-9ef24aa1bab2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Website redesign (phase 1)\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/invoices/{{invoice_number}}","description":"<p>Update an existing invoice.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>title</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>contact</code></td>\n<td>integer</td>\n<td>on create</td>\n<td>The number of a customer.</td>\n</tr>\n<tr>\n<td><code>person</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of a person of the contact.</td>\n</tr>\n<tr>\n<td><code>date</code></td>\n<td>date</td>\n<td>on create</td>\n<td><code>YYYY-MM-DD</code>.</td>\n</tr>\n<tr>\n<td><code>due_when</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>date</code> (a number of days after the date) or <code>end_of_month</code>.</td>\n</tr>\n<tr>\n<td><code>due_days</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of days, from 1.</td>\n</tr>\n<tr>\n<td><code>remind</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Send reminders for an unpaid invoice.</td>\n</tr>\n<tr>\n<td><code>language</code></td>\n<td>string</td>\n<td>no</td>\n<td>2 letters.</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>string</td>\n<td>no</td>\n<td>3 letters.</td>\n</tr>\n<tr>\n<td><code>vat_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>collect</code>, <code>reverse</code>, <code>exempt</code>, <code>co-contractor</code> or <code>renovation</code>.</td>\n</tr>\n<tr>\n<td><code>reference_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>free</code>, <code>structured</code> or <code>number</code>.</td>\n</tr>\n<tr>\n<td><code>reference</code></td>\n<td>string</td>\n<td>with <code>reference_type</code></td>\n<td>Up to 48 characters.</td>\n</tr>\n<tr>\n<td><code>com_discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>Commercial discount, 0 to 100.</td>\n</tr>\n<tr>\n<td><code>com_discount_amount</code></td>\n<td>number</td>\n<td>no</td>\n<td>Commercial discount as an amount.</td>\n</tr>\n<tr>\n<td><code>pdf_template</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of one of your PDF templates. The default one is used when it is left out.</td>\n</tr>\n<tr>\n<td><code>custom_number</code></td>\n<td>integer</td>\n<td>no</td>\n<td>Your own invoice number.</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>po_number</code></td>\n<td>string</td>\n<td>no</td>\n<td>The purchase order number of your customer.</td>\n</tr>\n<tr>\n<td><code>fin_discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>Financial (early payment) discount, 0 to 100.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["invoices","{{invoice_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"2a32cfe3-a3e8-41f2-8f94-a42ef3dec453","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Website redesign (phase 1)\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/invoices/{{invoice_number}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"draft\",\n\t\t\"invoice_number\": null,\n\t\t\"title\": \"Website redesign (phase 1)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"first_sent_at\": null,\n\t\t\"last_sent_at\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"reference_type\": \"free\",\n\t\t\"reference\": \"PO-2026-15\",\n\t\t\"pdf\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306/pdf\",\n\t\t\"link\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 0,\n\t\t\t\"total_ex_vat\": 0,\n\t\t\t\"total_vat\": 0,\n\t\t\t\"total\": 0,\n\t\t\t\"total_due_ex_vat\": 0,\n\t\t\t\"total_due\": 0,\n\t\t\t\"total_paid_ex_vat\": 0,\n\t\t\t\"total_paid\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": []\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"0b0bc4c3-d8e0-470b-95aa-9ef24aa1bab2"},{"name":"Finalize an invoice","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"7222708d-f089-4d3c-8d04-d71a0b098c27"}}],"id":"38193b02-1ebf-44e1-b888-73005dfe4796","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/invoices/{{invoice_number}}/finalize","description":"<p>Finalize an invoice.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","finalize"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"4f86ee5c-5b57-43c2-8176-10a1f9fc3166","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/invoices/{{invoice_number}}/finalize"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"pending\",\n\t\t\"invoice_number\": 1,\n\t\t\"title\": \"Website redesign (phase 1)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"first_sent_at\": null,\n\t\t\"last_sent_at\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"reference_type\": \"free\",\n\t\t\"reference\": \"PO-2026-15\",\n\t\t\"pdf\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306/pdf\",\n\t\t\"link\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49,\n\t\t\t\"total_due_ex_vat\": 969,\n\t\t\t\"total_due\": 1172.49,\n\t\t\t\"total_paid_ex_vat\": 0,\n\t\t\t\"total_paid\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"38193b02-1ebf-44e1-b888-73005dfe4796"},{"name":"Pay an invoice","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"bdef504a-7b7e-4b5d-99fc-63ce749d5ad4"}}],"id":"a100d3c8-598f-438b-bb9e-0993461768a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"method\": \"transfer\",\n\t\"paid_at\": \"2026-11-22\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/invoices/{{invoice_number}}/pay","description":"<p>Pay an invoice.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>amount</code></td>\n<td>number</td>\n<td>no</td>\n<td>The rest of the invoice when left out.</td>\n</tr>\n<tr>\n<td><code>method</code></td>\n<td>string</td>\n<td>no</td>\n<td>One of: transfer, direct_debit, creditcard, paypal, cash, ideal, bancontact, belfius, kbc, crypto_currency, stripe_credit, write_off, voucher, not_collectable.</td>\n</tr>\n<tr>\n<td><code>paid_at</code></td>\n<td>date</td>\n<td>no</td>\n<td><code>YYYY-MM-DD</code>.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["invoices","{{invoice_number}}","pay"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"91416791-b18f-4833-b92d-ea50663cd80e","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"method\": \"transfer\",\n\t\"paid_at\": \"2026-11-22\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/invoices/{{invoice_number}}/pay"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"invoice\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"paid\",\n\t\t\"invoice_number\": \"1\",\n\t\t\"title\": \"Website redesign (phase 1)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"first_sent_at\": null,\n\t\t\"last_sent_at\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"reference_type\": \"free\",\n\t\t\"reference\": \"PO-2026-15\",\n\t\t\"pdf\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306/pdf\",\n\t\t\"link\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49,\n\t\t\t\"total_due_ex_vat\": 0,\n\t\t\t\"total_due\": 0,\n\t\t\t\"total_paid_ex_vat\": 969,\n\t\t\t\"total_paid\": 1172.49\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t},\n\t\"payment\": {\n\t\t\"id\": 2,\n\t\t\"amount\": 1172.49,\n\t\t\"currency\": \"eur\",\n\t\t\"method\": \"transfer\",\n\t\t\"paid_at\": 1795305600,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t}\n}"}],"_postman_id":"a100d3c8-598f-438b-bb9e-0993461768a6"},{"name":"Credit an invoice","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"9a7732b5-5ffb-490d-8d77-9e4619623bbe"}}],"id":"a739b705-82c3-4821-b5e4-66b17a20f5c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"send\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/invoices/{{invoice_number}}/credit","description":"<p>Credit an invoice.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>send</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Send the credit note right away.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["invoices","{{invoice_number}}","credit"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"8d4d33c8-115e-4425-9a87-4d45b2b813e8","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"send\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/invoices/{{invoice_number}}/credit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"creditnote\": {\n\t\t\"number\": 3,\n\t\t\"status\": \"credited\",\n\t\t\"creditnote_number\": 2,\n\t\t\"title\": \"Website redesign (phase 1)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/creditnote/e553968c-c959-4c9c-9981-ca0922aaf33c/pdf\",\n\t\t\"link\": \"https://app.comanage.me/creditnote/e553968c-c959-4c9c-9981-ca0922aaf33c\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": null\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t},\n\t\"invoice\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"credited\",\n\t\t\"invoice_number\": \"1\",\n\t\t\"title\": \"Website redesign (phase 1)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"first_sent_at\": null,\n\t\t\"last_sent_at\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"reference_type\": \"free\",\n\t\t\"reference\": \"PO-2026-15\",\n\t\t\"pdf\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306/pdf\",\n\t\t\"link\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49,\n\t\t\t\"total_due_ex_vat\": 0,\n\t\t\t\"total_due\": 0,\n\t\t\t\"total_paid_ex_vat\": 969,\n\t\t\t\"total_paid\": 1172.49\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"a739b705-82c3-4821-b5e4-66b17a20f5c6"},{"name":"Send an invoice by email","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"7e8f1489-b617-484a-8d0f-9d213677d7ed"}}],"id":"2a8a9cfa-af9a-4676-a01e-df89213e443b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"language\": \"en\",\n\t\"subject\": \"Invoice for the website redesign\",\n\t\"message\": \"Please find our **invoice** attached.\",\n\t\"markdown\": true,\n\t\"reply_to\": \"billing@acme.example\",\n\t\"recipients\": [\n\t\t{\n\t\t\t\"name\": \"Michael Scott\",\n\t\t\t\"email\": \"michael@dundermifflin.example\"\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/invoices/{{invoice_number}}/send-email","description":"<p>Send an invoice by email.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>language</code></td>\n<td>string</td>\n<td>with <code>subject</code></td>\n<td>2 letters.</td>\n</tr>\n<tr>\n<td><code>subject</code></td>\n<td>string</td>\n<td>with <code>message</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>message</code></td>\n<td>string</td>\n<td>with <code>subject</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>markdown</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Whether the message is Markdown.</td>\n</tr>\n<tr>\n<td><code>reply_to</code></td>\n<td>string</td>\n<td>no</td>\n<td>An e-mail address.</td>\n</tr>\n<tr>\n<td><code>recipients</code></td>\n<td>array</td>\n<td>no</td>\n<td>A list of <code>{ \"name\": \"...\", \"email\": \"...\" }</code>. The contact is used when it is left out.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["invoices","{{invoice_number}}","send-email"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"82f4c43d-e180-4f12-aad6-b376fee59168","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"language\": \"en\",\n\t\"subject\": \"Invoice for the website redesign\",\n\t\"message\": \"Please find our **invoice** attached.\",\n\t\"markdown\": true,\n\t\"reply_to\": \"billing@acme.example\",\n\t\"recipients\": [\n\t\t{\n\t\t\t\"name\": \"Michael Scott\",\n\t\t\t\"email\": \"michael@dundermifflin.example\"\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/invoices/{{invoice_number}}/send-email"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 6,\n\t\t\"status\": \"pending\",\n\t\t\"invoice_number\": \"3\",\n\t\t\"title\": \"To send\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"first_sent_at\": null,\n\t\t\"last_sent_at\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"reference_type\": null,\n\t\t\"reference\": null,\n\t\t\"pdf\": \"https://app.comanage.me/invoice/fe013288-ccc0-426e-9330-417f075acf37/pdf\",\n\t\t\"link\": \"https://app.comanage.me/invoice/fe013288-ccc0-426e-9330-417f075acf37\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 100,\n\t\t\t\"total_ex_vat\": 100,\n\t\t\t\"total_vat\": 0,\n\t\t\t\"total\": 100,\n\t\t\t\"total_due_ex_vat\": 100,\n\t\t\t\"total_due\": 100,\n\t\t\t\"total_paid_ex_vat\": 0,\n\t\t\t\"total_paid\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"reverse\",\n\t\t\t\"collect\": false,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 21,\n\t\t\t\t\t\"total_ex_vat\": 100,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"sales@dundermifflin.example\",\n\t\t\t\"phone\": \"+31 20 123 45 67\",\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794999600,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"2a8a9cfa-af9a-4676-a01e-df89213e443b"},{"name":"Send an invoice by post","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"9919e592-a08f-4780-90c5-54cf7496ed08"}}],"id":"0437cfa5-9b9b-4290-88e1-fd7bca372016","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"options\": {\n\t\t\"priority_post\": false\n\t},\n\t\"recipients\": [\n\t\t{\n\t\t\t\"address_name\": \"Michael Scott\",\n\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\"address_postal_code\": \"1011\",\n\t\t\t\"address_city\": \"Amsterdam\",\n\t\t\t\"address_state\": \"NH\",\n\t\t\t\"address_country\": \"NL\"\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/invoices/{{invoice_number}}/send-letter","description":"<p>Send an invoice by post.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>options.priority_post</code></td>\n<td>boolean</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>recipients</code></td>\n<td>array</td>\n<td>no</td>\n<td>The contact is used when it is left out.</td>\n</tr>\n<tr>\n<td><code>recipients.*.address_name</code></td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td><code>recipients.*.address_line_1</code></td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td><code>recipients.*.address_line_2</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>recipients.*.address_postal_code</code></td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td><code>recipients.*.address_city</code></td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td><code>recipients.*.address_state</code></td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td><code>recipients.*.address_country</code></td>\n<td>string</td>\n<td>yes</td>\n<td>2 letters, for example <code>BE</code>, not <code>BEL</code>.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["invoices","{{invoice_number}}","send-letter"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"489ed1f4-6cf0-4800-b94b-23b28691438b","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"options\": {\n\t\t\"priority_post\": false\n\t},\n\t\"recipients\": [\n\t\t{\n\t\t\t\"address_name\": \"Michael Scott\",\n\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\"address_postal_code\": \"1011\",\n\t\t\t\"address_city\": \"Amsterdam\",\n\t\t\t\"address_state\": \"NH\",\n\t\t\t\"address_country\": \"NL\"\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/invoices/{{invoice_number}}/send-letter"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 6,\n\t\t\"status\": \"pending\",\n\t\t\"invoice_number\": \"3\",\n\t\t\"title\": \"To send\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"first_sent_at\": null,\n\t\t\"last_sent_at\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"reference_type\": null,\n\t\t\"reference\": null,\n\t\t\"pdf\": \"https://app.comanage.me/invoice/fe013288-ccc0-426e-9330-417f075acf37/pdf\",\n\t\t\"link\": \"https://app.comanage.me/invoice/fe013288-ccc0-426e-9330-417f075acf37\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 100,\n\t\t\t\"total_ex_vat\": 100,\n\t\t\t\"total_vat\": 0,\n\t\t\t\"total\": 100,\n\t\t\t\"total_due_ex_vat\": 100,\n\t\t\t\"total_due\": 100,\n\t\t\t\"total_paid_ex_vat\": 0,\n\t\t\t\"total_paid\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"reverse\",\n\t\t\t\"collect\": false,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 21,\n\t\t\t\t\t\"total_ex_vat\": 100,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"sales@dundermifflin.example\",\n\t\t\t\"phone\": \"+31 20 123 45 67\",\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794999600,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"0437cfa5-9b9b-4290-88e1-fd7bca372016"},{"name":"Trash an invoice","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"df1cb2ff-e558-4be7-815f-1e001d6e731c"}}],"id":"9d93f67b-900d-46d0-9a4e-30319e6658ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/invoices/{{invoice_number}}/trash","description":"<p>Trash an invoice.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","trash"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"a8a27650-861b-4d94-835e-18438a171faf","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/invoices/{{invoice_number}}/trash"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"credited\",\n\t\t\"invoice_number\": \"1\",\n\t\t\"title\": \"Website redesign (phase 1)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"first_sent_at\": null,\n\t\t\"last_sent_at\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"reference_type\": \"free\",\n\t\t\"reference\": \"PO-2026-15\",\n\t\t\"pdf\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306/pdf\",\n\t\t\"link\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49,\n\t\t\t\"total_due_ex_vat\": 0,\n\t\t\t\"total_due\": 0,\n\t\t\t\"total_paid_ex_vat\": 969,\n\t\t\t\"total_paid\": 1172.49\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed_at\": 1794999600,\n\t\t\"trashed\": true\n\t}\n}"}],"_postman_id":"9d93f67b-900d-46d0-9a4e-30319e6658ad"},{"name":"Restore an invoice","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"ddc81113-ce51-4ed5-b08c-e8831e3180d2"}}],"id":"e29def82-33ab-4722-8c61-b223ecc153b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/invoices/{{invoice_number}}/restore","description":"<p>Restore an invoice from the trash.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","restore"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"bfa27782-d657-4d1a-99aa-3c35764c351a","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/invoices/{{invoice_number}}/restore"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"credited\",\n\t\t\"invoice_number\": \"1\",\n\t\t\"title\": \"Website redesign (phase 1)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"first_sent_at\": null,\n\t\t\"last_sent_at\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"reference_type\": \"free\",\n\t\t\"reference\": \"PO-2026-15\",\n\t\t\"pdf\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306/pdf\",\n\t\t\"link\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49,\n\t\t\t\"total_due_ex_vat\": 0,\n\t\t\t\"total_due\": 0,\n\t\t\t\"total_paid_ex_vat\": 969,\n\t\t\t\"total_paid\": 1172.49\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"e29def82-33ab-4722-8c61-b223ecc153b5"},{"name":"Delete an invoice","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });"],"id":"9ca78fc6-c8aa-40ce-9d7e-e4e66f23d3c4"}}],"id":"0ded5bdd-a90e-4a07-b3c9-306e2b0c05e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/invoices/{{invoice_number}}","description":"<p>Delete an invoice.</p>\n","urlObject":{"path":["invoices","{{invoice_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"be86eb06-95a9-4969-be8c-59d924fc750e","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/invoices/{{invoice_number}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"credited\",\n\t\t\"invoice_number\": \"1\",\n\t\t\"title\": \"Website redesign (phase 1)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"first_sent_at\": null,\n\t\t\"last_sent_at\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"reference_type\": \"free\",\n\t\t\"reference\": \"PO-2026-15\",\n\t\t\"pdf\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306/pdf\",\n\t\t\"link\": \"https://app.comanage.me/invoice/cf3dcdd1-6e97-4a08-95a4-ee34e10cd306\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49,\n\t\t\t\"total_due_ex_vat\": 0,\n\t\t\t\"total_due\": 0,\n\t\t\t\"total_paid_ex_vat\": 969,\n\t\t\t\"total_paid\": 1172.49\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed_at\": 1794999600,\n\t\t\"trashed\": true\n\t}\n}"}],"_postman_id":"0ded5bdd-a90e-4a07-b3c9-306e2b0c05e5"},{"name":"Send an invoice by Peppol","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"5b55f101-cecf-4418-a5ff-93526b5e457d"}}],"id":"875d0fbb-9900-49f6-9b80-841af959bbc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/invoices/{{invoice_number}}/send-peppol","description":"<p>Send an invoice as an e-invoice over the Peppol network. No body. Needs an active Peppol integration (<code>422</code> without one).</p>\n","urlObject":{"path":["invoices","{{invoice_number}}","send-peppol"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"e028627e-5c3d-4f30-9cd2-f58ddb3a285a","name":"422 Unprocessable Entity","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/invoices/{{invoice_number}}/send-peppol"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"message\": \"Your team does not have an active Peppol integration. Set it up first in your account.\"\n}"}],"_postman_id":"875d0fbb-9900-49f6-9b80-841af959bbc4"}],"id":"1aaed245-acf9-4542-a1f1-1154f6f842bb","_postman_id":"1aaed245-acf9-4542-a1f1-1154f6f842bb","description":""},{"name":"Credit Notes","item":[{"name":"Content","item":[{"name":"List credit note content","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"ca0bbfb8-92a4-4257-959b-abe6e11b55f3"}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"926cd3e8-79c6-4fd1-95ec-62d6b999edca"}}],"id":"ef720ac8-dcc8-426c-82ff-06cefb0e2f7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}/content","description":"<p>Get the content (intro/extra) from a given credit note.</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}","content"],"host":["{{api_url}}"],"query":[{"disabled":true,"key":"limit","value":"15"}],"variable":[]}},"response":[{"id":"dddf95de-d72b-4588-8bd8-7d8d470c161d","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{api_url}}/creditnotes/{{creditnote_number}}/content","host":["{{api_url}}"],"path":["creditnotes","{{creditnote_number}}","content"],"query":[{"key":"limit","value":"15","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"intro\": {\n\t\t\t\"source\": \"resource\",\n\t\t\t\"type\": \"intro\",\n\t\t\t\"columns\": [\n\t\t\t\t\"Thank you for your **order**.\",\n\t\t\t\t\"Payment within 30 days.\"\n\t\t\t],\n\t\t\t\"created_at\": 1794999600,\n\t\t\t\"updated_at\": 1794999600\n\t\t}\n\t}\n}"}],"_postman_id":"ef720ac8-dcc8-426c-82ff-06cefb0e2f7f"},{"name":"Retrieve credit note content","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"c6244b60-9c73-4a6e-8ff9-84dd8179e3e1"}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"754f1a34-752e-4d84-bec9-cadedfdd08d2"}}],"id":"41182d5e-b09b-4d21-b36b-1bf6113bc0df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}/content/{{creditnote_content_type}}","description":"<p>Retrieve credit note content by its type.</p>\n<p>Supported types: intro, extra</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}","content","{{creditnote_content_type}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"c1e20c7f-251b-4461-a069-47f4bec6deae","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}/content/{{creditnote_content_type}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"source\": \"resource\",\n\t\t\"type\": \"intro\",\n\t\t\"columns\": [\n\t\t\t\"Thank you for your **order**.\",\n\t\t\t\"Payment within 30 days.\"\n\t\t],\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t}\n}"}],"_postman_id":"41182d5e-b09b-4d21-b36b-1bf6113bc0df"},{"name":"Update credit note content","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"c2943ea9-2b26-4c7b-a8ca-121c333fa9b7"}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 201', function () { pm.response.to.have.status(201); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"18474035-e45e-4385-99f1-2a109e51f14c"}}],"id":"682132e9-135d-446a-9edb-71640187feb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"columns\": 2,\n\t\"markdown\": true,\n\t\"column_1\": \"Thank you for your **order**.\",\n\t\"column_2\": \"Payment within 30 days.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/creditnotes/{{creditnote_number}}/content/{{creditnote_content_type}}","description":"<p>Update credit note content for the given type.</p>\n<p>Supported types: intro, extra</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>columns</code></td>\n<td>integer</td>\n<td>no</td>\n<td>1 to 4.</td>\n</tr>\n<tr>\n<td><code>markdown</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Whether the text is Markdown.</td>\n</tr>\n<tr>\n<td><code>column_1 .. column_4</code></td>\n<td>string</td>\n<td>no</td>\n<td>The text of each column.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["creditnotes","{{creditnote_number}}","content","{{creditnote_content_type}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"3b612319-2e8d-49ad-aea0-5c7d82771ef0","name":"201 Created","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"columns\": 2,\n\t\"markdown\": true,\n\t\"column_1\": \"Thank you for your **order**.\",\n\t\"column_2\": \"Payment within 30 days.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/creditnotes/{{creditnote_number}}/content/{{creditnote_content_type}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"source\": \"resource\",\n\t\t\"type\": \"intro\",\n\t\t\"columns\": [\n\t\t\t\"Thank you for your **order**.\",\n\t\t\t\"Payment within 30 days.\"\n\t\t],\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t}\n}"}],"_postman_id":"682132e9-135d-446a-9edb-71640187feb4"},{"name":"Delete credit note content","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"50c4d815-047c-40fb-8ec7-d2cd5812f37c"}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });"],"id":"8cdd325a-cda0-42eb-8c24-5477737d65c8"}}],"id":"10271fc3-1f8b-46bf-984a-a18046944b20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}/content/{{creditnote_content_type}}","description":"<p>Delete credit note content.</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}","content","{{creditnote_content_type}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"e5c3c2b3-b9ec-48ec-b716-f5ad023b1f48","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}/content/{{creditnote_content_type}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"source\": \"resource\",\n\t\t\"type\": \"intro\",\n\t\t\"columns\": [\n\t\t\t\"Thank you for your **order**.\",\n\t\t\t\"Payment within 30 days.\"\n\t\t],\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t}\n}"}],"_postman_id":"10271fc3-1f8b-46bf-984a-a18046944b20"}],"id":"6b07dd7a-b30d-4ba3-bf33-d8ff9c514202","_postman_id":"6b07dd7a-b30d-4ba3-bf33-d8ff9c514202","description":""},{"name":"Lines","item":[{"name":"List credit note lines","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"3acbc5b8-d557-4018-9fb1-a914f48a991f"}}],"id":"78907c58-ffe5-4dd3-90f4-5e77fbf040e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}/lines","description":"<p>Get a paginated list of credit note lines.</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}","lines"],"host":["{{api_url}}"],"query":[{"disabled":true,"key":"limit","value":"15"},{"disabled":true,"key":"type","value":"text"}],"variable":[]}},"response":[{"id":"30e79e6b-c716-41c4-bcb2-208be0960c5e","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{api_url}}/creditnotes/{{creditnote_number}}/lines","host":["{{api_url}}"],"path":["creditnotes","{{creditnote_number}}","lines"],"query":[{"key":"limit","value":"15","disabled":true},{"key":"type","value":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"id\": 4,\n\t\t\t\"order\": 1,\n\t\t\t\"type\": \"regular\",\n\t\t\t\"content\": \"Design work\",\n\t\t\t\"unit\": \"hour\",\n\t\t\t\"quantity\": 10,\n\t\t\t\"price\": 85,\n\t\t\t\"price_inc_vat\": 102.85,\n\t\t\t\"discount_percentage\": 0,\n\t\t\t\"discount_amount\": 0,\n\t\t\t\"vat_percentage\": 21,\n\t\t\t\"vat_amount\": 178.5,\n\t\t\t\"total\": 850,\n\t\t\t\"total_inc_vat\": 1028.5,\n\t\t\t\"created_at\": 1794999600,\n\t\t\t\"updated_at\": 1794999600\n\t\t},\n\t\t{\n\t\t\t\"id\": 5,\n\t\t\t\"order\": 2,\n\t\t\t\"type\": \"text\",\n\t\t\t\"content\": \"Phase 1: wireframes and sitemap\",\n\t\t\t\"created_at\": 1794999600,\n\t\t\t\"updated_at\": 1794999600\n\t\t}\n\t],\n\t\"links\": {\n\t\t\"first\": \"https://api.comanage.me/v1/creditnotes/2/lines?page=1\",\n\t\t\"last\": \"https://api.comanage.me/v1/creditnotes/2/lines?page=1\",\n\t\t\"prev\": null,\n\t\t\"next\": null\n\t},\n\t\"meta\": {\n\t\t\"current_page\": 1,\n\t\t\"from\": 1,\n\t\t\"last_page\": 1,\n\t\t\"links\": [\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"&laquo; Previous\",\n\t\t\t\t\"active\": false\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": \"https://api.comanage.me/v1/creditnotes/2/lines?page=1\",\n\t\t\t\t\"label\": \"1\",\n\t\t\t\t\"active\": true\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"Next &raquo;\",\n\t\t\t\t\"active\": false\n\t\t\t}\n\t\t],\n\t\t\"path\": \"https://api.comanage.me/v1/creditnotes/2/lines\",\n\t\t\"per_page\": 15,\n\t\t\"to\": 2,\n\t\t\"total\": 2\n\t}\n}"}],"_postman_id":"78907c58-ffe5-4dd3-90f4-5e77fbf040e7"},{"name":"Retrieve a credit note line","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"9fea32a4-7a15-4bec-ad51-a552a1ef0310"}}],"id":"5a2748aa-e4c8-4acf-a799-f41f82ca53bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}/lines/{{creditnote_line_id}}","description":"<p>Retrieve a credit note line.</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}","lines","{{creditnote_line_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"4f818823-b4a0-42f0-a466-b3732779e0b9","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}/lines/{{creditnote_line_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"id\": 4,\n\t\t\"order\": 1,\n\t\t\"type\": \"regular\",\n\t\t\"content\": \"Design work\",\n\t\t\"unit\": \"hour\",\n\t\t\"quantity\": 10,\n\t\t\"price\": 85,\n\t\t\"price_inc_vat\": 102.85,\n\t\t\"discount_percentage\": 0,\n\t\t\"discount_amount\": 0,\n\t\t\"vat_percentage\": 21,\n\t\t\"vat_amount\": 178.5,\n\t\t\"total\": 850,\n\t\t\"total_inc_vat\": 1028.5,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t}\n}"}],"_postman_id":"5a2748aa-e4c8-4acf-a799-f41f82ca53bd"},{"name":"Create a new credit note line","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"abb7c665-0d13-40f9-a90e-17683030ebf7"}}],"id":"f14fcfab-44d5-438f-9d97-574e531833e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"regular\",\n\t\"content\": \"Design work\",\n\t\"unit\": \"hour\",\n\t\"quantity\": 10,\n\t\"price\": 85,\n\t\"vat_percentage\": 21\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/creditnotes/{{creditnote_number}}/lines","description":"<p>Create a new credit note line.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>type</code></td>\n<td>string</td>\n<td>on create</td>\n<td><code>text</code>, <code>regular</code>, <code>product</code>, <code>service</code>, <code>time</code>, <code>subtotal</code> or <code>divider</code>.</td>\n</tr>\n<tr>\n<td><code>content</code></td>\n<td>string</td>\n<td>for text and regular lines</td>\n<td>The description of the line.</td>\n</tr>\n<tr>\n<td><code>unit</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>number</td>\n<td>on create</td>\n<td></td>\n</tr>\n<tr>\n<td><code>price</code></td>\n<td>number</td>\n<td>on create, without <code>price_inc_vat</code></td>\n<td>The price excluding VAT.</td>\n</tr>\n<tr>\n<td><code>price_inc_vat</code></td>\n<td>number</td>\n<td>on create, without <code>price</code></td>\n<td>The price including VAT, an alternative to <code>price</code>.</td>\n</tr>\n<tr>\n<td><code>discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>discount_amount</code></td>\n<td>number</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>vat_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["creditnotes","{{creditnote_number}}","lines"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"02b371f9-e631-435c-aab3-bba8891c0641","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"regular\",\n\t\"content\": \"Design work\",\n\t\"unit\": \"hour\",\n\t\"quantity\": 10,\n\t\"price\": 85,\n\t\"vat_percentage\": 21\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/creditnotes/{{creditnote_number}}/lines"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"line\": {\n\t\t\"id\": 4,\n\t\t\"order\": 1,\n\t\t\"type\": \"regular\",\n\t\t\"content\": \"Design work\",\n\t\t\"unit\": \"hour\",\n\t\t\"quantity\": 10,\n\t\t\"price\": 85,\n\t\t\"price_inc_vat\": 102.85,\n\t\t\"discount_percentage\": 0,\n\t\t\"discount_amount\": 0,\n\t\t\"vat_percentage\": 21,\n\t\t\"vat_amount\": 178.5,\n\t\t\"total\": 850,\n\t\t\"total_inc_vat\": 1028.5,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t},\n\t\"creditnote\": {\n\t\t\"number\": 2,\n\t\t\"status\": \"draft\",\n\t\t\"creditnote_number\": null,\n\t\t\"title\": \"Refund (phase 1)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/creditnote/9b925059-232a-4fa7-a9f0-8d26963f8b85/pdf\",\n\t\t\"link\": \"https://app.comanage.me/creditnote/9b925059-232a-4fa7-a9f0-8d26963f8b85\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 850,\n\t\t\t\"total_ex_vat\": 850,\n\t\t\t\"total_vat\": 178.5,\n\t\t\t\"total\": 1028.5\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 178.5,\n\t\t\t\t\t\"total_ex_vat\": 850,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"f14fcfab-44d5-438f-9d97-574e531833e6"},{"name":"Update a credit note line","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"692db60a-83fb-4a36-ae24-224deca2dc1d"}}],"id":"e3e1d9cc-2896-4b7e-881f-41b69cfb80bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"content\": \"Design work (revised)\",\n\t\"quantity\": 12,\n\t\"discount_percentage\": 5\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/creditnotes/{{creditnote_number}}/lines/{{creditnote_line_id}}","description":"<p>Update an existing credit note line.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>type</code></td>\n<td>string</td>\n<td>on create</td>\n<td><code>text</code>, <code>regular</code>, <code>product</code>, <code>service</code>, <code>time</code>, <code>subtotal</code> or <code>divider</code>.</td>\n</tr>\n<tr>\n<td><code>content</code></td>\n<td>string</td>\n<td>for text and regular lines</td>\n<td>The description of the line.</td>\n</tr>\n<tr>\n<td><code>unit</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>number</td>\n<td>on create</td>\n<td></td>\n</tr>\n<tr>\n<td><code>price</code></td>\n<td>number</td>\n<td>on create, without <code>price_inc_vat</code></td>\n<td>The price excluding VAT.</td>\n</tr>\n<tr>\n<td><code>price_inc_vat</code></td>\n<td>number</td>\n<td>on create, without <code>price</code></td>\n<td>The price including VAT, an alternative to <code>price</code>.</td>\n</tr>\n<tr>\n<td><code>discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>discount_amount</code></td>\n<td>number</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>vat_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["creditnotes","{{creditnote_number}}","lines","{{creditnote_line_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"997e386e-776a-4d51-92b3-d079da6b21be","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"content\": \"Design work (revised)\",\n\t\"quantity\": 12,\n\t\"discount_percentage\": 5\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/creditnotes/{{creditnote_number}}/lines/{{creditnote_line_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"line\": {\n\t\t\"id\": 4,\n\t\t\"order\": 1,\n\t\t\"type\": \"regular\",\n\t\t\"content\": \"Design work (revised)\",\n\t\t\"unit\": \"hour\",\n\t\t\"quantity\": 12,\n\t\t\"price\": 85,\n\t\t\"price_inc_vat\": 102.85,\n\t\t\"discount_percentage\": 5,\n\t\t\"discount_amount\": 51,\n\t\t\"vat_percentage\": 21,\n\t\t\"vat_amount\": 203.49,\n\t\t\"total\": 969,\n\t\t\"total_inc_vat\": 1172.49,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t},\n\t\"creditnote\": {\n\t\t\"number\": 2,\n\t\t\"status\": \"draft\",\n\t\t\"creditnote_number\": null,\n\t\t\"title\": \"Refund (phase 1)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/creditnote/9b925059-232a-4fa7-a9f0-8d26963f8b85/pdf\",\n\t\t\"link\": \"https://app.comanage.me/creditnote/9b925059-232a-4fa7-a9f0-8d26963f8b85\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"e3e1d9cc-2896-4b7e-881f-41b69cfb80bf"},{"name":"Delete a credit note line","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });"],"id":"6e5b0f29-ce64-445a-a61a-18f724a57e92"}}],"id":"78f1b43c-07b1-45b1-bb9a-fb45aea701ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/creditnotes/{{creditnote_number}}/lines/{{creditnote_line_id}}","description":"<p>Delete a credit note line.</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}","lines","{{creditnote_line_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"e9baf73c-e279-470a-9d25-302706e1f685","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/creditnotes/{{creditnote_number}}/lines/{{creditnote_line_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"line\": {\n\t\t\"id\": 6,\n\t\t\"order\": 3,\n\t\t\"type\": \"regular\",\n\t\t\"content\": \"Hosting\",\n\t\t\"unit\": null,\n\t\t\"quantity\": 1,\n\t\t\"price\": 20,\n\t\t\"price_inc_vat\": 24.2,\n\t\t\"discount_percentage\": 0,\n\t\t\"discount_amount\": 0,\n\t\t\"vat_percentage\": 21,\n\t\t\"vat_amount\": 4.2,\n\t\t\"total\": 20,\n\t\t\"total_inc_vat\": 24.2,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t},\n\t\"creditnote\": {\n\t\t\"number\": 2,\n\t\t\"status\": \"draft\",\n\t\t\"creditnote_number\": null,\n\t\t\"title\": \"Refund (phase 1)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/creditnote/9b925059-232a-4fa7-a9f0-8d26963f8b85/pdf\",\n\t\t\"link\": \"https://app.comanage.me/creditnote/9b925059-232a-4fa7-a9f0-8d26963f8b85\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"78f1b43c-07b1-45b1-bb9a-fb45aea701ad"}],"id":"41e24414-f458-4273-aea3-013b22aaa107","_postman_id":"41e24414-f458-4273-aea3-013b22aaa107","description":""},{"name":"List credit notes","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"de695f0b-26f7-4964-b168-36e0f7a7ddb7"}}],"id":"a3f5aeb8-e2f3-4334-9a53-071df85e1200","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/creditnotes?sort=creditnote_number_desc","description":"<p>Get a paginated list of credit notes.</p>\n","urlObject":{"path":["creditnotes"],"host":["{{api_url}}"],"query":[{"disabled":true,"description":{"content":"<p>The number of results per page (1 to 100, default 15).</p>\n","type":"text/plain"},"key":"limit","value":"15"},{"disabled":true,"description":{"content":"<p>The page to get.</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Sort the results, for example <code>creditnote_number_desc</code>.</p>\n","type":"text/plain"},"key":"sort","value":"creditnote_number_desc"},{"disabled":true,"description":{"content":"<p>Only the credit notes with this status.</p>\n","type":"text/plain"},"key":"status","value":"draft"},{"disabled":true,"description":{"content":"<p>Also list the resources in the trash.</p>\n","type":"text/plain"},"key":"withTrashed","value":"1"},{"disabled":true,"description":{"content":"<p>Only list the resources in the trash.</p>\n","type":"text/plain"},"key":"onlyTrashed","value":"1"}],"variable":[]}},"response":[{"id":"c8bb4ac2-b8e0-40d6-8573-1e476fcaee3c","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{api_url}}/creditnotes?sort=creditnote_number_desc","host":["{{api_url}}"],"path":["creditnotes"],"query":[{"key":"limit","value":"15","description":"The number of results per page (1 to 100, default 15).","disabled":true},{"key":"page","value":"1","description":"The page to get.","disabled":true},{"key":"sort","value":"creditnote_number_desc","description":"Sort the results, for example `creditnote_number_desc`."},{"key":"status","value":"draft","description":"Only the credit notes with this status.","disabled":true},{"key":"withTrashed","value":"1","description":"Also list the resources in the trash.","disabled":true},{"key":"onlyTrashed","value":"1","description":"Only list the resources in the trash.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"number\": 2,\n\t\t\t\"status\": \"draft\",\n\t\t\t\"creditnote_number\": null,\n\t\t\t\"title\": \"Refund website redesign\",\n\t\t\t\"date\": \"2026-11-18\",\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"pdf\": \"https://app.comanage.me/creditnote/9b925059-232a-4fa7-a9f0-8d26963f8b85/pdf\",\n\t\t\t\"link\": \"https://app.comanage.me/creditnote/9b925059-232a-4fa7-a9f0-8d26963f8b85\",\n\t\t\t\"discount\": {\n\t\t\t\t\"commercial\": {\n\t\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\t\"percentage\": 0,\n\t\t\t\t\t\"amount\": 0\n\t\t\t\t},\n\t\t\t\t\"financial\": {\n\t\t\t\t\t\"percentage\": 0,\n\t\t\t\t\t\"amount\": 0,\n\t\t\t\t\t\"days\": 10\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"totals\": {\n\t\t\t\t\"subtotal\": 0,\n\t\t\t\t\"total_ex_vat\": 0,\n\t\t\t\t\"total_vat\": 0,\n\t\t\t\t\"total\": 0\n\t\t\t},\n\t\t\t\"vat\": {\n\t\t\t\t\"type\": \"collect\",\n\t\t\t\t\"collect\": true,\n\t\t\t\t\"amounts\": []\n\t\t\t},\n\t\t\t\"contact\": {\n\t\t\t\t\"number\": 2,\n\t\t\t\t\"customer\": true,\n\t\t\t\t\"customer_number\": \"1\",\n\t\t\t\t\"supplier\": false,\n\t\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\t\"kvk_number\": null,\n\t\t\t\t\"language\": \"en\",\n\t\t\t\t\"currency\": \"eur\",\n\t\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\t\"phone\": null,\n\t\t\t\t\"peppol_id\": null,\n\t\t\t\t\"peppol_scheme\": null,\n\t\t\t\t\"peppol_ready\": false,\n\t\t\t\t\"extra_fields\": [],\n\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\"updated_at\": 1794996000,\n\t\t\t\t\"trashed\": false,\n\t\t\t\t\"addresses\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t\"created_at\": 1794999600,\n\t\t\t\"updated_at\": 1794999600,\n\t\t\t\"trashed\": false\n\t\t}\n\t],\n\t\"links\": {\n\t\t\"first\": \"https://api.comanage.me/v1/creditnotes?page=1\",\n\t\t\"last\": \"https://api.comanage.me/v1/creditnotes?page=1\",\n\t\t\"prev\": null,\n\t\t\"next\": null\n\t},\n\t\"meta\": {\n\t\t\"current_page\": 1,\n\t\t\"from\": 1,\n\t\t\"last_page\": 1,\n\t\t\"links\": [\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"&laquo; Previous\",\n\t\t\t\t\"active\": false\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": \"https://api.comanage.me/v1/creditnotes?page=1\",\n\t\t\t\t\"label\": \"1\",\n\t\t\t\t\"active\": true\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"Next &raquo;\",\n\t\t\t\t\"active\": false\n\t\t\t}\n\t\t],\n\t\t\"path\": \"https://api.comanage.me/v1/creditnotes\",\n\t\t\"per_page\": 15,\n\t\t\"to\": 1,\n\t\t\"total\": 1\n\t}\n}"}],"_postman_id":"a3f5aeb8-e2f3-4334-9a53-071df85e1200"},{"name":"Retrieve a credit note","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"fc19205c-d90f-4dab-83b2-d8869e18ef38"}}],"id":"09fc00e4-4e46-4112-8365-4854185d5f0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}","description":"<p>Retrieve a credit note by its number.</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"40322130-2827-4350-9bc6-aa3869cefa20","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 2,\n\t\t\"status\": \"draft\",\n\t\t\"creditnote_number\": null,\n\t\t\"title\": \"Refund website redesign\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/creditnote/9b925059-232a-4fa7-a9f0-8d26963f8b85/pdf\",\n\t\t\"link\": \"https://app.comanage.me/creditnote/9b925059-232a-4fa7-a9f0-8d26963f8b85\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 0,\n\t\t\t\"total_ex_vat\": 0,\n\t\t\t\"total_vat\": 0,\n\t\t\t\"total\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": []\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"09fc00e4-4e46-4112-8365-4854185d5f0c"},{"name":"Create a new credit note","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"aabee282-0bd7-4336-8d7d-acc34143870b"}}],"id":"15d284f0-50ce-43ab-8a31-37fe8ac28069","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Refund website redesign\",\n\t\"contact\": 2,\n\t\"date\": \"2026-11-18\",\n\t\"language\": \"en\",\n\t\"currency\": \"eur\",\n\t\"vat_type\": \"collect\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/creditnotes","description":"<p>Create a new credit note.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>title</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>contact</code></td>\n<td>integer</td>\n<td>on create</td>\n<td>The number of a customer.</td>\n</tr>\n<tr>\n<td><code>date</code></td>\n<td>date</td>\n<td>on create</td>\n<td><code>YYYY-MM-DD</code>.</td>\n</tr>\n<tr>\n<td><code>due_when</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>date</code> (a number of days after the date) or <code>end_of_month</code>.</td>\n</tr>\n<tr>\n<td><code>due_days</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of days, from 1.</td>\n</tr>\n<tr>\n<td><code>language</code></td>\n<td>string</td>\n<td>no</td>\n<td>2 letters.</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>string</td>\n<td>no</td>\n<td>3 letters.</td>\n</tr>\n<tr>\n<td><code>vat_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>collect</code>, <code>reverse</code>, <code>exempt</code>, <code>co-contractor</code> or <code>renovation</code>.</td>\n</tr>\n<tr>\n<td><code>reference_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>free</code>, <code>structured</code> or <code>number</code>.</td>\n</tr>\n<tr>\n<td><code>reference</code></td>\n<td>string</td>\n<td>with <code>reference_type</code></td>\n<td>Up to 48 characters.</td>\n</tr>\n<tr>\n<td><code>com_discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>Commercial discount, 0 to 100.</td>\n</tr>\n<tr>\n<td><code>com_discount_amount</code></td>\n<td>number</td>\n<td>no</td>\n<td>Commercial discount as an amount.</td>\n</tr>\n<tr>\n<td><code>pdf_template</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of one of your PDF templates. The default one is used when it is left out.</td>\n</tr>\n<tr>\n<td><code>remind</code></td>\n<td>boolean</td>\n<td>no</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["creditnotes"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"b0625301-5ee9-48ea-90a3-505a755f46d4","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Refund website redesign\",\n\t\"contact\": 2,\n\t\"date\": \"2026-11-18\",\n\t\"language\": \"en\",\n\t\"currency\": \"eur\",\n\t\"vat_type\": \"collect\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/creditnotes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 2,\n\t\t\"status\": \"draft\",\n\t\t\"creditnote_number\": null,\n\t\t\"title\": \"Refund website redesign\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/creditnote/9b925059-232a-4fa7-a9f0-8d26963f8b85/pdf\",\n\t\t\"link\": \"https://app.comanage.me/creditnote/9b925059-232a-4fa7-a9f0-8d26963f8b85\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 0,\n\t\t\t\"total_ex_vat\": 0,\n\t\t\t\"total_vat\": 0,\n\t\t\t\"total\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": []\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"15d284f0-50ce-43ab-8a31-37fe8ac28069"},{"name":"Update a credit note","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"a36f25ef-95b6-47d6-8c3d-2ccc2909dfde"}}],"id":"130e2b51-6f81-4fd5-b2e9-1c3f046b9f7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Refund (phase 1)\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/creditnotes/{{creditnote_number}}","description":"<p>Update an existing credit note.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>title</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>contact</code></td>\n<td>integer</td>\n<td>on create</td>\n<td>The number of a customer.</td>\n</tr>\n<tr>\n<td><code>date</code></td>\n<td>date</td>\n<td>on create</td>\n<td><code>YYYY-MM-DD</code>.</td>\n</tr>\n<tr>\n<td><code>due_when</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>date</code> (a number of days after the date) or <code>end_of_month</code>.</td>\n</tr>\n<tr>\n<td><code>due_days</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of days, from 1.</td>\n</tr>\n<tr>\n<td><code>language</code></td>\n<td>string</td>\n<td>no</td>\n<td>2 letters.</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>string</td>\n<td>no</td>\n<td>3 letters.</td>\n</tr>\n<tr>\n<td><code>vat_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>collect</code>, <code>reverse</code>, <code>exempt</code>, <code>co-contractor</code> or <code>renovation</code>.</td>\n</tr>\n<tr>\n<td><code>reference_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>free</code>, <code>structured</code> or <code>number</code>.</td>\n</tr>\n<tr>\n<td><code>reference</code></td>\n<td>string</td>\n<td>with <code>reference_type</code></td>\n<td>Up to 48 characters.</td>\n</tr>\n<tr>\n<td><code>com_discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>Commercial discount, 0 to 100.</td>\n</tr>\n<tr>\n<td><code>com_discount_amount</code></td>\n<td>number</td>\n<td>no</td>\n<td>Commercial discount as an amount.</td>\n</tr>\n<tr>\n<td><code>pdf_template</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of one of your PDF templates. The default one is used when it is left out.</td>\n</tr>\n<tr>\n<td><code>remind</code></td>\n<td>boolean</td>\n<td>no</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["creditnotes","{{creditnote_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"b1bdc927-1734-40c4-ac78-a2c67c112c7c","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Refund (phase 1)\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/creditnotes/{{creditnote_number}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 2,\n\t\t\"status\": \"draft\",\n\t\t\"creditnote_number\": null,\n\t\t\"title\": \"Refund (phase 1)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/creditnote/9b925059-232a-4fa7-a9f0-8d26963f8b85/pdf\",\n\t\t\"link\": \"https://app.comanage.me/creditnote/9b925059-232a-4fa7-a9f0-8d26963f8b85\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 0,\n\t\t\t\"total_ex_vat\": 0,\n\t\t\t\"total_vat\": 0,\n\t\t\t\"total\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": []\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"130e2b51-6f81-4fd5-b2e9-1c3f046b9f7e"},{"name":"Finalize a credit note","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"4ec93bcb-7369-4bb8-b67b-b20564a832ac"}}],"id":"0f0623f7-aadd-4913-be03-0bf2c6b8ab6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}/finalize","description":"<p>Finalize a credit note.</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}","finalize"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"c456e3bc-c14d-4c7e-82c1-cb7c379b4584","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}/finalize"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 2,\n\t\t\"status\": \"credited\",\n\t\t\"creditnote_number\": 1,\n\t\t\"title\": \"Refund (phase 1)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/creditnote/9b925059-232a-4fa7-a9f0-8d26963f8b85/pdf\",\n\t\t\"link\": \"https://app.comanage.me/creditnote/9b925059-232a-4fa7-a9f0-8d26963f8b85\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"0f0623f7-aadd-4913-be03-0bf2c6b8ab6a"},{"name":"Send a credit note by email","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"b7bb5bbe-e444-447a-a433-2bcc017c3407"}}],"id":"f58160bf-36d7-4508-bcaf-89ba560f45cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"language\": \"en\",\n\t\"subject\": \"Credit note for the website redesign\",\n\t\"message\": \"Please find our **credit note** attached.\",\n\t\"markdown\": true,\n\t\"reply_to\": \"billing@acme.example\",\n\t\"recipients\": [\n\t\t{\n\t\t\t\"name\": \"Michael Scott\",\n\t\t\t\"email\": \"michael@dundermifflin.example\"\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/creditnotes/{{creditnote_number}}/send-email","description":"<p>Send a credit note by email.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>language</code></td>\n<td>string</td>\n<td>with <code>subject</code></td>\n<td>2 letters.</td>\n</tr>\n<tr>\n<td><code>subject</code></td>\n<td>string</td>\n<td>with <code>message</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>message</code></td>\n<td>string</td>\n<td>with <code>subject</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>markdown</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Whether the message is Markdown.</td>\n</tr>\n<tr>\n<td><code>reply_to</code></td>\n<td>string</td>\n<td>no</td>\n<td>An e-mail address.</td>\n</tr>\n<tr>\n<td><code>recipients</code></td>\n<td>array</td>\n<td>no</td>\n<td>A list of <code>{ \"name\": \"...\", \"email\": \"...\" }</code>. The contact is used when it is left out.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["creditnotes","{{creditnote_number}}","send-email"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"74735158-3a09-4144-8ed6-e8fde072337c","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"language\": \"en\",\n\t\"subject\": \"Credit note for the website redesign\",\n\t\"message\": \"Please find our **credit note** attached.\",\n\t\"markdown\": true,\n\t\"reply_to\": \"billing@acme.example\",\n\t\"recipients\": [\n\t\t{\n\t\t\t\"name\": \"Michael Scott\",\n\t\t\t\"email\": \"michael@dundermifflin.example\"\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/creditnotes/{{creditnote_number}}/send-email"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 7,\n\t\t\"status\": \"credited\",\n\t\t\"creditnote_number\": \"3\",\n\t\t\"title\": \"To send\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/creditnote/f1c7a63b-2cf2-4641-a210-d63029a47544/pdf\",\n\t\t\"link\": \"https://app.comanage.me/creditnote/f1c7a63b-2cf2-4641-a210-d63029a47544\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 100,\n\t\t\t\"total_ex_vat\": 100,\n\t\t\t\"total_vat\": 0,\n\t\t\t\"total\": 100\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"reverse\",\n\t\t\t\"collect\": false,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 21,\n\t\t\t\t\t\"total_ex_vat\": 100,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"sales@dundermifflin.example\",\n\t\t\t\"phone\": \"+31 20 123 45 67\",\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794999600,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"f58160bf-36d7-4508-bcaf-89ba560f45cd"},{"name":"Send a credit note by post","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"c60974eb-9e76-4f76-b25c-f57b958601c8"}}],"id":"52ef2801-fc0f-4cd6-93b8-b3017a73cd49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"options\": {\n\t\t\"priority_post\": false\n\t},\n\t\"recipients\": [\n\t\t{\n\t\t\t\"address_name\": \"Michael Scott\",\n\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\"address_postal_code\": \"1011\",\n\t\t\t\"address_city\": \"Amsterdam\",\n\t\t\t\"address_state\": \"NH\",\n\t\t\t\"address_country\": \"NL\"\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/creditnotes/{{creditnote_number}}/send-letter","description":"<p>Send a credit note by post.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>options.priority_post</code></td>\n<td>boolean</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>recipients</code></td>\n<td>array</td>\n<td>no</td>\n<td>The contact is used when it is left out.</td>\n</tr>\n<tr>\n<td><code>recipients.*.address_name</code></td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td><code>recipients.*.address_line_1</code></td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td><code>recipients.*.address_line_2</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>recipients.*.address_postal_code</code></td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td><code>recipients.*.address_city</code></td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td><code>recipients.*.address_state</code></td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td><code>recipients.*.address_country</code></td>\n<td>string</td>\n<td>yes</td>\n<td>2 letters, for example <code>BE</code>, not <code>BEL</code>.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["creditnotes","{{creditnote_number}}","send-letter"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"e30481c6-c6cf-44ca-8487-cf8af0bd9d2c","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"options\": {\n\t\t\"priority_post\": false\n\t},\n\t\"recipients\": [\n\t\t{\n\t\t\t\"address_name\": \"Michael Scott\",\n\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\"address_postal_code\": \"1011\",\n\t\t\t\"address_city\": \"Amsterdam\",\n\t\t\t\"address_state\": \"NH\",\n\t\t\t\"address_country\": \"NL\"\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/creditnotes/{{creditnote_number}}/send-letter"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 7,\n\t\t\"status\": \"credited\",\n\t\t\"creditnote_number\": \"3\",\n\t\t\"title\": \"To send\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/creditnote/f1c7a63b-2cf2-4641-a210-d63029a47544/pdf\",\n\t\t\"link\": \"https://app.comanage.me/creditnote/f1c7a63b-2cf2-4641-a210-d63029a47544\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 100,\n\t\t\t\"total_ex_vat\": 100,\n\t\t\t\"total_vat\": 0,\n\t\t\t\"total\": 100\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"reverse\",\n\t\t\t\"collect\": false,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 21,\n\t\t\t\t\t\"total_ex_vat\": 100,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"sales@dundermifflin.example\",\n\t\t\t\"phone\": \"+31 20 123 45 67\",\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794999600,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"52ef2801-fc0f-4cd6-93b8-b3017a73cd49"},{"name":"Trash a credit note","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"33f4064b-4b9a-41e3-a60e-8de4a465b64f"}}],"id":"a9aabdeb-a038-4961-97b1-3acbb026d5c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}/trash","description":"<p>Trash a credit note.</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}","trash"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"029f3b19-4014-4fdc-8fa9-a807df4a4b51","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}/trash"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 2,\n\t\t\"status\": \"credited\",\n\t\t\"creditnote_number\": \"1\",\n\t\t\"title\": \"Refund (phase 1)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/creditnote/9b925059-232a-4fa7-a9f0-8d26963f8b85/pdf\",\n\t\t\"link\": \"https://app.comanage.me/creditnote/9b925059-232a-4fa7-a9f0-8d26963f8b85\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed_at\": 1794999600,\n\t\t\"trashed\": true\n\t}\n}"}],"_postman_id":"a9aabdeb-a038-4961-97b1-3acbb026d5c6"},{"name":"Restore a credit note","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"316892eb-173a-4d52-9b4e-b81bf1eec37d"}}],"id":"ee9706ab-f483-46f2-b68b-7a18cf183b4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}/restore","description":"<p>Restore a credit note from the trash.</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}","restore"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"86afebae-e037-4d89-9af2-36e61fe2d655","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}/restore"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 2,\n\t\t\"status\": \"credited\",\n\t\t\"creditnote_number\": \"1\",\n\t\t\"title\": \"Refund (phase 1)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/creditnote/9b925059-232a-4fa7-a9f0-8d26963f8b85/pdf\",\n\t\t\"link\": \"https://app.comanage.me/creditnote/9b925059-232a-4fa7-a9f0-8d26963f8b85\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"ee9706ab-f483-46f2-b68b-7a18cf183b4b"},{"name":"Delete a credit note","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });"],"id":"a829d329-4d55-459c-b814-46868ebfc38d"}}],"id":"c7d2bcfe-3b38-4038-89b5-b70d7bacb1b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}","description":"<p>Delete a credit note.</p>\n","urlObject":{"path":["creditnotes","{{creditnote_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"9317c929-6547-46f3-9a24-d031175abcf9","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/creditnotes/{{creditnote_number}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 2,\n\t\t\"status\": \"credited\",\n\t\t\"creditnote_number\": \"1\",\n\t\t\"title\": \"Refund (phase 1)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/creditnote/9b925059-232a-4fa7-a9f0-8d26963f8b85/pdf\",\n\t\t\"link\": \"https://app.comanage.me/creditnote/9b925059-232a-4fa7-a9f0-8d26963f8b85\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed_at\": 1794999600,\n\t\t\"trashed\": true\n\t}\n}"}],"_postman_id":"c7d2bcfe-3b38-4038-89b5-b70d7bacb1b6"}],"id":"7c0d994b-31de-49cf-aa09-7a8ecc300cf5","_postman_id":"7c0d994b-31de-49cf-aa09-7a8ecc300cf5","description":""},{"name":"Recurring Invoices","item":[{"name":"Content","item":[{"name":"List recurring invoice content","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"bf7ac00f-6467-4163-a4e0-de6c528ff556"}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"087ee40e-9aa8-4eb8-bdb7-2385d29769d1"}}],"id":"ca9d8533-e1fd-4c89-a816-ca300bcf40f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/content","description":"<p>Get the content (intro/extra) from a given recurring invoice.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","content"],"host":["{{api_url}}"],"query":[{"disabled":true,"key":"limit","value":"15"}],"variable":[]}},"response":[{"id":"eef2f8ba-f167-496b-b7d6-df04ab389f37","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/content","host":["{{api_url}}"],"path":["recurring-invoices","{{recurring_invoice_number}}","content"],"query":[{"key":"limit","value":"15","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"intro\": {\n\t\t\t\"source\": \"resource\",\n\t\t\t\"type\": \"intro\",\n\t\t\t\"columns\": [\n\t\t\t\t\"Thank you for your **order**.\",\n\t\t\t\t\"Payment within 30 days.\"\n\t\t\t],\n\t\t\t\"created_at\": 1794999600,\n\t\t\t\"updated_at\": 1794999600\n\t\t}\n\t}\n}"}],"_postman_id":"ca9d8533-e1fd-4c89-a816-ca300bcf40f9"},{"name":"Retrieve recurring invoice content","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"579b1ec1-ad94-4288-adde-79e3b9d0e4a9"}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"4e775ccb-0151-4ace-92e3-05675e37b785"}}],"id":"1cc81a03-c32f-4aa7-9bb4-eefd5f219216","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/content/{{recurring_invoice_content_type}}","description":"<p>Retrieve recurring invoice content by its type.</p>\n<p>Supported types: intro, extra</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","content","{{recurring_invoice_content_type}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"e9afbada-6681-4955-a1e8-43c6e0488e54","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/content/{{recurring_invoice_content_type}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"source\": \"resource\",\n\t\t\"type\": \"intro\",\n\t\t\"columns\": [\n\t\t\t\"Thank you for your **order**.\",\n\t\t\t\"Payment within 30 days.\"\n\t\t],\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t}\n}"}],"_postman_id":"1cc81a03-c32f-4aa7-9bb4-eefd5f219216"},{"name":"Update recurring invoice content","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"95a587f2-2ad0-47e6-9b41-596626de3431"}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 201', function () { pm.response.to.have.status(201); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"ed71793f-144b-4099-bc92-858e4d174daf"}}],"id":"375208b1-feca-4751-ae1d-d68520afa31b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"columns\": 2,\n\t\"markdown\": true,\n\t\"column_1\": \"Thank you for your **order**.\",\n\t\"column_2\": \"Payment within 30 days.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/content/{{recurring_invoice_content_type}}","description":"<p>Update recurring invoice content for the given type.</p>\n<p>Supported types: intro, extra</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>columns</code></td>\n<td>integer</td>\n<td>no</td>\n<td>1 to 4.</td>\n</tr>\n<tr>\n<td><code>markdown</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Whether the text is Markdown.</td>\n</tr>\n<tr>\n<td><code>column_1 .. column_4</code></td>\n<td>string</td>\n<td>no</td>\n<td>The text of each column.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","content","{{recurring_invoice_content_type}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"4419f84e-c679-4f10-8d90-895c47406bfe","name":"201 Created","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"columns\": 2,\n\t\"markdown\": true,\n\t\"column_1\": \"Thank you for your **order**.\",\n\t\"column_2\": \"Payment within 30 days.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/content/{{recurring_invoice_content_type}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"source\": \"resource\",\n\t\t\"type\": \"intro\",\n\t\t\"columns\": [\n\t\t\t\"Thank you for your **order**.\",\n\t\t\t\"Payment within 30 days.\"\n\t\t],\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t}\n}"}],"_postman_id":"375208b1-feca-4751-ae1d-d68520afa31b"},{"name":"Delete recurring invoice content","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"ee3930d7-9252-40b9-8806-457b348df831"}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });"],"id":"93016ccb-909f-4092-8eb0-e71a16cd5794"}}],"id":"55d5fa27-9405-49bd-a9af-99ea68b1b30c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/content/{{recurring_invoice_content_type}}","description":"<p>Delete recurring invoice content.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","content","{{recurring_invoice_content_type}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"7683b10d-d30d-4e7e-a7e9-2f3689d37af6","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/content/{{recurring_invoice_content_type}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"source\": \"resource\",\n\t\t\"type\": \"intro\",\n\t\t\"columns\": [\n\t\t\t\"Thank you for your **order**.\",\n\t\t\t\"Payment within 30 days.\"\n\t\t],\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t}\n}"}],"_postman_id":"55d5fa27-9405-49bd-a9af-99ea68b1b30c"}],"id":"b0a58612-e024-4661-b032-d5e506ef8fea","_postman_id":"b0a58612-e024-4661-b032-d5e506ef8fea","description":""},{"name":"Lines","item":[{"name":"List recurring invoice lines","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"a99dabd5-ef73-4784-9cad-e3baa15e5524"}}],"id":"b8b4d065-a38a-4c62-a565-afa4bb1f05a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/lines","description":"<p>Get a paginated list of recurring invoice lines.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","lines"],"host":["{{api_url}}"],"query":[{"disabled":true,"key":"limit","value":"15"},{"disabled":true,"key":"type","value":"text"}],"variable":[]}},"response":[{"id":"b05813df-a697-4319-9520-4c37206c8ae5","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/lines","host":["{{api_url}}"],"path":["recurring-invoices","{{recurring_invoice_number}}","lines"],"query":[{"key":"limit","value":"15","disabled":true},{"key":"type","value":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"id\": 1,\n\t\t\t\"order\": 1,\n\t\t\t\"type\": \"regular\",\n\t\t\t\"content\": \"Design work\",\n\t\t\t\"unit\": \"hour\",\n\t\t\t\"quantity\": 10,\n\t\t\t\"price\": 85,\n\t\t\t\"price_inc_vat\": 102.85,\n\t\t\t\"discount_percentage\": 0,\n\t\t\t\"discount_amount\": 0,\n\t\t\t\"vat_percentage\": 21,\n\t\t\t\"vat_amount\": 178.5,\n\t\t\t\"total\": 850,\n\t\t\t\"total_inc_vat\": 1028.5,\n\t\t\t\"created_at\": 1794999600,\n\t\t\t\"updated_at\": 1794999600\n\t\t},\n\t\t{\n\t\t\t\"id\": 2,\n\t\t\t\"order\": 2,\n\t\t\t\"type\": \"text\",\n\t\t\t\"content\": \"Phase 1: wireframes and sitemap\",\n\t\t\t\"created_at\": 1794999600,\n\t\t\t\"updated_at\": 1794999600\n\t\t}\n\t],\n\t\"links\": {\n\t\t\"first\": \"https://api.comanage.me/v1/recurring-invoices/1/lines?page=1\",\n\t\t\"last\": \"https://api.comanage.me/v1/recurring-invoices/1/lines?page=1\",\n\t\t\"prev\": null,\n\t\t\"next\": null\n\t},\n\t\"meta\": {\n\t\t\"current_page\": 1,\n\t\t\"from\": 1,\n\t\t\"last_page\": 1,\n\t\t\"links\": [\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"&laquo; Previous\",\n\t\t\t\t\"active\": false\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": \"https://api.comanage.me/v1/recurring-invoices/1/lines?page=1\",\n\t\t\t\t\"label\": \"1\",\n\t\t\t\t\"active\": true\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"Next &raquo;\",\n\t\t\t\t\"active\": false\n\t\t\t}\n\t\t],\n\t\t\"path\": \"https://api.comanage.me/v1/recurring-invoices/1/lines\",\n\t\t\"per_page\": 15,\n\t\t\"to\": 2,\n\t\t\"total\": 2\n\t}\n}"}],"_postman_id":"b8b4d065-a38a-4c62-a565-afa4bb1f05a0"},{"name":"Retrieve a recurring invoice line","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"f86aaa01-2da1-48c4-a461-38dd8591f562"}}],"id":"a3987298-1622-40a2-b897-bfff6b1b118a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/lines/{{recurring_invoice_line_id}}","description":"<p>Retrieve a recurring invoice line.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","lines","{{recurring_invoice_line_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"ee868b49-4f0e-40ca-ac47-5e2d7331f0a0","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/lines/{{recurring_invoice_line_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"id\": 1,\n\t\t\"order\": 1,\n\t\t\"type\": \"regular\",\n\t\t\"content\": \"Design work\",\n\t\t\"unit\": \"hour\",\n\t\t\"quantity\": 10,\n\t\t\"price\": 85,\n\t\t\"price_inc_vat\": 102.85,\n\t\t\"discount_percentage\": 0,\n\t\t\"discount_amount\": 0,\n\t\t\"vat_percentage\": 21,\n\t\t\"vat_amount\": 178.5,\n\t\t\"total\": 850,\n\t\t\"total_inc_vat\": 1028.5,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t}\n}"}],"_postman_id":"a3987298-1622-40a2-b897-bfff6b1b118a"},{"name":"Create a new recurring invoice line","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"6694e625-aadf-42b2-ad1b-b416f48c3253"}}],"id":"44a8e29d-9409-4343-abb8-4ce1714eb7a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"regular\",\n\t\"content\": \"Design work\",\n\t\"unit\": \"hour\",\n\t\"quantity\": 10,\n\t\"price\": 85,\n\t\"vat_percentage\": 21\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/lines","description":"<p>Create a new recurring invoice line.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>type</code></td>\n<td>string</td>\n<td>on create</td>\n<td><code>text</code>, <code>regular</code>, <code>product</code>, <code>service</code>, <code>time</code>, <code>subtotal</code> or <code>divider</code>.</td>\n</tr>\n<tr>\n<td><code>content</code></td>\n<td>string</td>\n<td>for text and regular lines</td>\n<td>The description of the line.</td>\n</tr>\n<tr>\n<td><code>unit</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>number</td>\n<td>on create</td>\n<td></td>\n</tr>\n<tr>\n<td><code>price</code></td>\n<td>number</td>\n<td>on create, without <code>price_inc_vat</code></td>\n<td>The price excluding VAT.</td>\n</tr>\n<tr>\n<td><code>price_inc_vat</code></td>\n<td>number</td>\n<td>on create, without <code>price</code></td>\n<td>The price including VAT, an alternative to <code>price</code>.</td>\n</tr>\n<tr>\n<td><code>discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>discount_amount</code></td>\n<td>number</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>vat_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","lines"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"9c733988-6697-484d-a8f1-213468f53713","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"regular\",\n\t\"content\": \"Design work\",\n\t\"unit\": \"hour\",\n\t\"quantity\": 10,\n\t\"price\": 85,\n\t\"vat_percentage\": 21\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/lines"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"line\": {\n\t\t\"id\": 1,\n\t\t\"order\": 1,\n\t\t\"type\": \"regular\",\n\t\t\"content\": \"Design work\",\n\t\t\"unit\": \"hour\",\n\t\t\"quantity\": 10,\n\t\t\"price\": 85,\n\t\t\"price_inc_vat\": 102.85,\n\t\t\"discount_percentage\": 0,\n\t\t\"discount_amount\": 0,\n\t\t\"vat_percentage\": 21,\n\t\t\"vat_amount\": 178.5,\n\t\t\"total\": 850,\n\t\t\"total_inc_vat\": 1028.5,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t},\n\t\"recurring_invoice\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"draft\",\n\t\t\"title\": \"Hosting & maintenance\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"next_invoice_date\": \"2026-12-01\",\n\t\t\"next_invoice_at\": null,\n\t\t\"prev_invoice_at\": null,\n\t\t\"invoiced\": false,\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 850,\n\t\t\t\"total_ex_vat\": 850,\n\t\t\t\"total_vat\": 178.5,\n\t\t\t\"total\": 1028.5,\n\t\t\t\"total_invoiced_ex_vat\": 0,\n\t\t\t\"total_invoiced\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 178.5,\n\t\t\t\t\t\"total_ex_vat\": 850,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"44a8e29d-9409-4343-abb8-4ce1714eb7a2"},{"name":"Update a recurring invoice line","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"0aabb876-053f-45d4-963a-af8266994aa9"}}],"id":"a95e386c-47f2-4155-96b4-a3197b6b3f14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"content\": \"Design work (revised)\",\n\t\"quantity\": 12,\n\t\"discount_percentage\": 5\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/lines/{{recurring_invoice_line_id}}","description":"<p>Update an existing recurring invoice line.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>type</code></td>\n<td>string</td>\n<td>on create</td>\n<td><code>text</code>, <code>regular</code>, <code>product</code>, <code>service</code>, <code>time</code>, <code>subtotal</code> or <code>divider</code>.</td>\n</tr>\n<tr>\n<td><code>content</code></td>\n<td>string</td>\n<td>for text and regular lines</td>\n<td>The description of the line.</td>\n</tr>\n<tr>\n<td><code>unit</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>number</td>\n<td>on create</td>\n<td></td>\n</tr>\n<tr>\n<td><code>price</code></td>\n<td>number</td>\n<td>on create, without <code>price_inc_vat</code></td>\n<td>The price excluding VAT.</td>\n</tr>\n<tr>\n<td><code>price_inc_vat</code></td>\n<td>number</td>\n<td>on create, without <code>price</code></td>\n<td>The price including VAT, an alternative to <code>price</code>.</td>\n</tr>\n<tr>\n<td><code>discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>discount_amount</code></td>\n<td>number</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>vat_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","lines","{{recurring_invoice_line_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"4c82a68d-28e0-4f70-a8cf-5001506af5fb","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"content\": \"Design work (revised)\",\n\t\"quantity\": 12,\n\t\"discount_percentage\": 5\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/lines/{{recurring_invoice_line_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"line\": {\n\t\t\"id\": 1,\n\t\t\"order\": 1,\n\t\t\"type\": \"regular\",\n\t\t\"content\": \"Design work (revised)\",\n\t\t\"unit\": \"hour\",\n\t\t\"quantity\": 12,\n\t\t\"price\": 85,\n\t\t\"price_inc_vat\": 102.85,\n\t\t\"discount_percentage\": 5,\n\t\t\"discount_amount\": 51,\n\t\t\"vat_percentage\": 21,\n\t\t\"vat_amount\": 203.49,\n\t\t\"total\": 969,\n\t\t\"total_inc_vat\": 1172.49,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t},\n\t\"recurring_invoice\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"draft\",\n\t\t\"title\": \"Hosting & maintenance\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"next_invoice_date\": \"2026-12-01\",\n\t\t\"next_invoice_at\": null,\n\t\t\"prev_invoice_at\": null,\n\t\t\"invoiced\": false,\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49,\n\t\t\t\"total_invoiced_ex_vat\": 0,\n\t\t\t\"total_invoiced\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"a95e386c-47f2-4155-96b4-a3197b6b3f14"},{"name":"Delete a recurring invoice line","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });"],"id":"00fd0f15-0573-4702-943b-0e7541195764"}}],"id":"d71a5782-5a9d-4001-8b5a-cf12fa4fbdfe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/lines/{{recurring_invoice_line_id}}","description":"<p>Delete a recurring invoice line.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","lines","{{recurring_invoice_line_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"9f825e3d-93c4-4c4c-94fd-2fc09c7661a6","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/lines/{{recurring_invoice_line_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"line\": {\n\t\t\"id\": 3,\n\t\t\"order\": 3,\n\t\t\"type\": \"regular\",\n\t\t\"content\": \"Hosting\",\n\t\t\"unit\": null,\n\t\t\"quantity\": 1,\n\t\t\"price\": 20,\n\t\t\"price_inc_vat\": 24.2,\n\t\t\"discount_percentage\": 0,\n\t\t\"discount_amount\": 0,\n\t\t\"vat_percentage\": 21,\n\t\t\"vat_amount\": 4.2,\n\t\t\"total\": 20,\n\t\t\"total_inc_vat\": 24.2,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t},\n\t\"recurring_invoice\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"draft\",\n\t\t\"title\": \"Hosting & maintenance\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"next_invoice_date\": \"2026-12-01\",\n\t\t\"next_invoice_at\": null,\n\t\t\"prev_invoice_at\": null,\n\t\t\"invoiced\": false,\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49,\n\t\t\t\"total_invoiced_ex_vat\": 0,\n\t\t\t\"total_invoiced\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"d71a5782-5a9d-4001-8b5a-cf12fa4fbdfe"}],"id":"659cc6e8-dd61-46c3-90fa-5f5e05742d7e","_postman_id":"659cc6e8-dd61-46c3-90fa-5f5e05742d7e","description":""},{"name":"List recurring invoices","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"66083f70-2c44-4623-b84e-2bf48e8dc908"}}],"id":"ec7b351e-f2cb-46d4-b45e-aa6f790e5c5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/recurring-invoices?sort=invoice_date","description":"<p>Get a paginated list of recurring invoices.</p>\n","urlObject":{"path":["recurring-invoices"],"host":["{{api_url}}"],"query":[{"disabled":true,"description":{"content":"<p>The number of results per page (1 to 100, default 15).</p>\n","type":"text/plain"},"key":"limit","value":"15"},{"disabled":true,"description":{"content":"<p>The page to get.</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Sort the results, for example <code>invoice_date</code>.</p>\n","type":"text/plain"},"key":"sort","value":"invoice_date"},{"disabled":true,"description":{"content":"<p>Only the recurring invoices with this status.</p>\n","type":"text/plain"},"key":"status","value":"live"},{"disabled":true,"description":{"content":"<p>Also list the resources in the trash.</p>\n","type":"text/plain"},"key":"withTrashed","value":"1"},{"disabled":true,"description":{"content":"<p>Only list the resources in the trash.</p>\n","type":"text/plain"},"key":"onlyTrashed","value":"1"}],"variable":[]}},"response":[{"id":"30eab7d3-e452-45a3-940d-df0376a85834","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{api_url}}/recurring-invoices?sort=invoice_date","host":["{{api_url}}"],"path":["recurring-invoices"],"query":[{"key":"limit","value":"15","description":"The number of results per page (1 to 100, default 15).","disabled":true},{"key":"page","value":"1","description":"The page to get.","disabled":true},{"key":"sort","value":"invoice_date","description":"Sort the results, for example `invoice_date`."},{"key":"status","value":"live","description":"Only the recurring invoices with this status.","disabled":true},{"key":"withTrashed","value":"1","description":"Also list the resources in the trash.","disabled":true},{"key":"onlyTrashed","value":"1","description":"Only list the resources in the trash.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"number\": 1,\n\t\t\t\"status\": \"draft\",\n\t\t\t\"title\": \"Hosting\",\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"next_invoice_date\": \"2026-12-01\",\n\t\t\t\"next_invoice_at\": null,\n\t\t\t\"prev_invoice_at\": null,\n\t\t\t\"invoiced\": false,\n\t\t\t\"discount\": {\n\t\t\t\t\"commercial\": {\n\t\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\t\"percentage\": 0,\n\t\t\t\t\t\"amount\": 0\n\t\t\t\t},\n\t\t\t\t\"financial\": {\n\t\t\t\t\t\"percentage\": 0,\n\t\t\t\t\t\"amount\": 0,\n\t\t\t\t\t\"days\": 10\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"totals\": {\n\t\t\t\t\"subtotal\": 0,\n\t\t\t\t\"total_ex_vat\": 0,\n\t\t\t\t\"total_vat\": 0,\n\t\t\t\t\"total\": 0,\n\t\t\t\t\"total_invoiced_ex_vat\": 0,\n\t\t\t\t\"total_invoiced\": 0\n\t\t\t},\n\t\t\t\"vat\": {\n\t\t\t\t\"type\": \"collect\",\n\t\t\t\t\"collect\": true,\n\t\t\t\t\"amounts\": null\n\t\t\t},\n\t\t\t\"contact\": {\n\t\t\t\t\"number\": 2,\n\t\t\t\t\"customer\": true,\n\t\t\t\t\"customer_number\": \"1\",\n\t\t\t\t\"supplier\": false,\n\t\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\t\"kvk_number\": null,\n\t\t\t\t\"language\": \"en\",\n\t\t\t\t\"currency\": \"eur\",\n\t\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\t\"phone\": null,\n\t\t\t\t\"peppol_id\": null,\n\t\t\t\t\"peppol_scheme\": null,\n\t\t\t\t\"peppol_ready\": false,\n\t\t\t\t\"extra_fields\": [],\n\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\"updated_at\": 1794996000,\n\t\t\t\t\"trashed\": false,\n\t\t\t\t\"addresses\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t\"created_at\": 1794999600,\n\t\t\t\"updated_at\": 1794999600,\n\t\t\t\"trashed\": false\n\t\t}\n\t],\n\t\"links\": {\n\t\t\"first\": \"https://api.comanage.me/v1/recurring-invoices?page=1\",\n\t\t\"last\": \"https://api.comanage.me/v1/recurring-invoices?page=1\",\n\t\t\"prev\": null,\n\t\t\"next\": null\n\t},\n\t\"meta\": {\n\t\t\"current_page\": 1,\n\t\t\"from\": 1,\n\t\t\"last_page\": 1,\n\t\t\"links\": [\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"&laquo; Previous\",\n\t\t\t\t\"active\": false\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": \"https://api.comanage.me/v1/recurring-invoices?page=1\",\n\t\t\t\t\"label\": \"1\",\n\t\t\t\t\"active\": true\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"Next &raquo;\",\n\t\t\t\t\"active\": false\n\t\t\t}\n\t\t],\n\t\t\"path\": \"https://api.comanage.me/v1/recurring-invoices\",\n\t\t\"per_page\": 15,\n\t\t\"to\": 1,\n\t\t\"total\": 1\n\t}\n}"}],"_postman_id":"ec7b351e-f2cb-46d4-b45e-aa6f790e5c5a"},{"name":"Retrieve a recurring invoice","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"7d28bda7-5d77-49d9-b360-96b17d1de8f5"}}],"id":"fb168970-92a1-41d0-854f-7cb3b0ff74f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}","description":"<p>Retrieve a recurring invoice by its number.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"b28e11eb-4f24-4d94-a7ab-384b17df20cb","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"draft\",\n\t\t\"title\": \"Hosting\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"next_invoice_date\": \"2026-12-01\",\n\t\t\"next_invoice_at\": null,\n\t\t\"prev_invoice_at\": null,\n\t\t\"invoiced\": false,\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 0,\n\t\t\t\"total_ex_vat\": 0,\n\t\t\t\"total_vat\": 0,\n\t\t\t\"total\": 0,\n\t\t\t\"total_invoiced_ex_vat\": 0,\n\t\t\t\"total_invoiced\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": null\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"fb168970-92a1-41d0-854f-7cb3b0ff74f0"},{"name":"Create a new recurring invoice","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"34f99cf9-d38a-49a1-a342-b47091a3a8ce"}}],"id":"b5b99731-dca0-4472-a5a1-284e76dd3d3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Hosting\",\n\t\"contact\": 2,\n\t\"invoice_date\": \"2026-12-01\",\n\t\"interval\": \"monthly\",\n\t\"due_when\": \"date\",\n\t\"due_days\": 14,\n\t\"language\": \"en\",\n\t\"currency\": \"eur\",\n\t\"vat_type\": \"collect\",\n\t\"remind\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/recurring-invoices","description":"<p>Create a new recurring invoice.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>title</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>contact</code></td>\n<td>integer</td>\n<td>on create</td>\n<td>The number of a customer.</td>\n</tr>\n<tr>\n<td><code>due_when</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>date</code> (a number of days after the date) or <code>end_of_month</code>.</td>\n</tr>\n<tr>\n<td><code>due_days</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of days, from 1.</td>\n</tr>\n<tr>\n<td><code>remind</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Send reminders for an unpaid invoice.</td>\n</tr>\n<tr>\n<td><code>language</code></td>\n<td>string</td>\n<td>no</td>\n<td>2 letters.</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>string</td>\n<td>no</td>\n<td>3 letters.</td>\n</tr>\n<tr>\n<td><code>vat_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>collect</code>, <code>reverse</code>, <code>exempt</code>, <code>co-contractor</code> or <code>renovation</code>.</td>\n</tr>\n<tr>\n<td><code>reference_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>free</code>, <code>structured</code> or <code>number</code>.</td>\n</tr>\n<tr>\n<td><code>com_discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>Commercial discount, 0 to 100.</td>\n</tr>\n<tr>\n<td><code>com_discount_amount</code></td>\n<td>number</td>\n<td>no</td>\n<td>Commercial discount as an amount.</td>\n</tr>\n<tr>\n<td><code>pdf_template</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of one of your PDF templates. The default one is used when it is left out.</td>\n</tr>\n<tr>\n<td><code>invoice_date</code></td>\n<td>date</td>\n<td>on create</td>\n<td>The date of the next invoice, <code>YYYY-MM-DD</code>.</td>\n</tr>\n<tr>\n<td><code>invoice_at</code></td>\n<td>datetime</td>\n<td>no</td>\n<td><code>YYYY-MM-DD HH:MM:SS</code>.</td>\n</tr>\n<tr>\n<td><code>interval</code></td>\n<td>string</td>\n<td>no</td>\n<td>How often an invoice is made.</td>\n</tr>\n<tr>\n<td><code>fin_discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>Financial (early payment) discount, 0 to 100.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["recurring-invoices"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"7552cd49-4fdf-4dac-ac23-1a6781d46c52","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Hosting\",\n\t\"contact\": 2,\n\t\"invoice_date\": \"2026-12-01\",\n\t\"interval\": \"monthly\",\n\t\"due_when\": \"date\",\n\t\"due_days\": 14,\n\t\"language\": \"en\",\n\t\"currency\": \"eur\",\n\t\"vat_type\": \"collect\",\n\t\"remind\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/recurring-invoices"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"draft\",\n\t\t\"title\": \"Hosting\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"next_invoice_date\": \"2026-12-01\",\n\t\t\"next_invoice_at\": null,\n\t\t\"prev_invoice_at\": null,\n\t\t\"invoiced\": false,\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 0,\n\t\t\t\"total_ex_vat\": 0,\n\t\t\t\"total_vat\": 0,\n\t\t\t\"total\": 0,\n\t\t\t\"total_invoiced_ex_vat\": 0,\n\t\t\t\"total_invoiced\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": null\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"b5b99731-dca0-4472-a5a1-284e76dd3d3b"},{"name":"Update a recurring invoice","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"014358b0-a40c-4882-9258-08da53875666"}}],"id":"9bab5548-ffff-4e56-ab71-e30770bfc322","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Hosting & maintenance\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}","description":"<p>Update an existing recurring invoice.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>title</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>contact</code></td>\n<td>integer</td>\n<td>on create</td>\n<td>The number of a customer.</td>\n</tr>\n<tr>\n<td><code>due_when</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>date</code> (a number of days after the date) or <code>end_of_month</code>.</td>\n</tr>\n<tr>\n<td><code>due_days</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of days, from 1.</td>\n</tr>\n<tr>\n<td><code>remind</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Send reminders for an unpaid invoice.</td>\n</tr>\n<tr>\n<td><code>language</code></td>\n<td>string</td>\n<td>no</td>\n<td>2 letters.</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>string</td>\n<td>no</td>\n<td>3 letters.</td>\n</tr>\n<tr>\n<td><code>vat_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>collect</code>, <code>reverse</code>, <code>exempt</code>, <code>co-contractor</code> or <code>renovation</code>.</td>\n</tr>\n<tr>\n<td><code>reference_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>free</code>, <code>structured</code> or <code>number</code>.</td>\n</tr>\n<tr>\n<td><code>com_discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>Commercial discount, 0 to 100.</td>\n</tr>\n<tr>\n<td><code>com_discount_amount</code></td>\n<td>number</td>\n<td>no</td>\n<td>Commercial discount as an amount.</td>\n</tr>\n<tr>\n<td><code>pdf_template</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of one of your PDF templates. The default one is used when it is left out.</td>\n</tr>\n<tr>\n<td><code>invoice_date</code></td>\n<td>date</td>\n<td>on create</td>\n<td>The date of the next invoice, <code>YYYY-MM-DD</code>.</td>\n</tr>\n<tr>\n<td><code>invoice_at</code></td>\n<td>datetime</td>\n<td>no</td>\n<td><code>YYYY-MM-DD HH:MM:SS</code>.</td>\n</tr>\n<tr>\n<td><code>interval</code></td>\n<td>string</td>\n<td>no</td>\n<td>How often an invoice is made.</td>\n</tr>\n<tr>\n<td><code>fin_discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>Financial (early payment) discount, 0 to 100.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"8158d54b-edf1-471b-bb73-edc7c0391f5f","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Hosting & maintenance\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"draft\",\n\t\t\"title\": \"Hosting & maintenance\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"next_invoice_date\": \"2026-12-01\",\n\t\t\"next_invoice_at\": null,\n\t\t\"prev_invoice_at\": null,\n\t\t\"invoiced\": false,\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 0,\n\t\t\t\"total_ex_vat\": 0,\n\t\t\t\"total_vat\": 0,\n\t\t\t\"total\": 0,\n\t\t\t\"total_invoiced_ex_vat\": 0,\n\t\t\t\"total_invoiced\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": null\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"9bab5548-ffff-4e56-ab71-e30770bfc322"},{"name":"Finalize a recurring invoice","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"c5d44043-2211-40e8-a297-9792113e751b"}}],"id":"abc0747c-0fa6-4b00-ac40-d482997b1b65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/finalize","description":"<p>Finalize a recurring invoice draft, and set it live.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","finalize"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"01022f79-3366-4b02-a437-169a3e7aa6a4","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/finalize"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"live\",\n\t\t\"title\": \"Hosting & maintenance\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"next_invoice_date\": \"2026-12-01\",\n\t\t\"next_invoice_at\": null,\n\t\t\"prev_invoice_at\": null,\n\t\t\"invoiced\": false,\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49,\n\t\t\t\"total_invoiced_ex_vat\": 0,\n\t\t\t\"total_invoiced\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"abc0747c-0fa6-4b00-ac40-d482997b1b65"},{"name":"Pause a recurring invoice","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"cca83c62-155a-4b01-af8f-9e0f68cb00a5"}}],"id":"e0bdeeef-a29e-4769-b0fe-2b9260f76590","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/pause","description":"<p>Pause a recurring invoice.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","pause"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"7bb974b8-f1e7-4211-b8e6-428594651d76","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/pause"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"paused\",\n\t\t\"title\": \"Hosting & maintenance\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"next_invoice_date\": \"2026-12-01\",\n\t\t\"next_invoice_at\": null,\n\t\t\"prev_invoice_at\": null,\n\t\t\"invoiced\": false,\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49,\n\t\t\t\"total_invoiced_ex_vat\": 0,\n\t\t\t\"total_invoiced\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"e0bdeeef-a29e-4769-b0fe-2b9260f76590"},{"name":"Resume a recurring invoice","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"37ac4d14-faa9-48f9-962d-241c2a72c636"}}],"id":"db2cbe51-f168-4567-bf9b-349873c1c057","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/resume","description":"<p>Resume a paused recurring invoice.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","resume"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"39ac81bb-380b-44ac-b889-2a4bfe527867","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/resume"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"live\",\n\t\t\"title\": \"Hosting & maintenance\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"next_invoice_date\": \"2026-12-01\",\n\t\t\"next_invoice_at\": null,\n\t\t\"prev_invoice_at\": null,\n\t\t\"invoiced\": false,\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49,\n\t\t\t\"total_invoiced_ex_vat\": 0,\n\t\t\t\"total_invoiced\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"db2cbe51-f168-4567-bf9b-349873c1c057"},{"name":"Invoice a recurring invoice","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"a5f9d8d3-ef89-4fc9-a94f-a41c066507af"}}],"id":"ef4aa9ca-f1b3-46e3-8e0a-a25fa1b570a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"invoice_date\": \"2026-12-01\",\n\t\"send\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/invoice","description":"<p>Manually create an invoice from a recurring invoice.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>invoice_date</code></td>\n<td>date</td>\n<td>no</td>\n<td><code>YYYY-MM-DD</code>.</td>\n</tr>\n<tr>\n<td><code>next_invoice_date</code></td>\n<td>date</td>\n<td>no</td>\n<td><code>YYYY-MM-DD</code>.</td>\n</tr>\n<tr>\n<td><code>send</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Send the invoice right away.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","invoice"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"662e51a6-875d-4401-aacd-77b41b41a722","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"invoice_date\": \"2026-12-01\",\n\t\"send\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/invoice"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"invoice\": {\n\t\t\"number\": 5,\n\t\t\"status\": \"pending\",\n\t\t\"invoice_number\": 2,\n\t\t\"title\": \"Hosting & maintenance\",\n\t\t\"date\": \"2026-12-01\",\n\t\t\"due_date\": \"2026-12-15\",\n\t\t\"first_sent_at\": null,\n\t\t\"last_sent_at\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"reference_type\": \"free\",\n\t\t\"reference\": \"\",\n\t\t\"pdf\": \"https://app.comanage.me/invoice/4afb1d5a-5c6d-467b-9aec-9f1a8374d5fa/pdf\",\n\t\t\"link\": \"https://app.comanage.me/invoice/4afb1d5a-5c6d-467b-9aec-9f1a8374d5fa\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49,\n\t\t\t\"total_due_ex_vat\": 969,\n\t\t\t\"total_due\": 1172.49,\n\t\t\t\"total_paid_ex_vat\": 0,\n\t\t\t\"total_paid\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t},\n\t\"recurring_invoice\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"live\",\n\t\t\"title\": \"Hosting & maintenance\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"next_invoice_date\": \"2027-01-01\",\n\t\t\"next_invoice_at\": 1798761600,\n\t\t\"prev_invoice_at\": 1794999600,\n\t\t\"invoiced\": true,\n\t\t\"invoices\": 1,\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49,\n\t\t\t\"total_invoiced_ex_vat\": 969,\n\t\t\t\"total_invoiced\": 1172.49\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"ef4aa9ca-f1b3-46e3-8e0a-a25fa1b570a7"},{"name":"Trash a recurring invoice","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"c256f67b-fb4e-4a8d-bdc2-d28711a76e41"}}],"id":"bb07314e-2e4c-4273-ad74-254922f9a570","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/trash","description":"<p>Trash a recurring invoice.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","trash"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"fd09f7ba-d23d-43a6-a335-9326287b5f73","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/trash"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"live\",\n\t\t\"title\": \"Hosting & maintenance\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"next_invoice_date\": \"2027-01-01\",\n\t\t\"next_invoice_at\": 1798761600,\n\t\t\"prev_invoice_at\": 1794999600,\n\t\t\"invoiced\": true,\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49,\n\t\t\t\"total_invoiced_ex_vat\": 969,\n\t\t\t\"total_invoiced\": 1172.49\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed_at\": 1794999600,\n\t\t\"trashed\": true\n\t}\n}"}],"_postman_id":"bb07314e-2e4c-4273-ad74-254922f9a570"},{"name":"Restore a recurring invoice","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"1491c578-4a1b-4673-bc2d-8cd755aa0d38"}}],"id":"ba5541cc-4a65-4ccf-8c36-b6215aee086d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/restore","description":"<p>Restore a recurring invoice from the trash.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}","restore"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"c9168090-e4da-4ec4-b085-8825ec8e01da","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}/restore"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"live\",\n\t\t\"title\": \"Hosting & maintenance\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"next_invoice_date\": \"2027-01-01\",\n\t\t\"next_invoice_at\": 1798761600,\n\t\t\"prev_invoice_at\": 1794999600,\n\t\t\"invoiced\": true,\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49,\n\t\t\t\"total_invoiced_ex_vat\": 969,\n\t\t\t\"total_invoiced\": 1172.49\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"ba5541cc-4a65-4ccf-8c36-b6215aee086d"},{"name":"Delete a recurring invoice","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });"],"id":"b4d7b7dc-9b96-4186-94a4-4b233fb6d7b6"}}],"id":"e716874b-c165-4429-9921-4638584f5e27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}","description":"<p>Delete a recurring invoice.</p>\n","urlObject":{"path":["recurring-invoices","{{recurring_invoice_number}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"562ada3e-56ae-40f4-9440-c47e3c01bd1c","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/recurring-invoices/{{recurring_invoice_number}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"live\",\n\t\t\"title\": \"Hosting & maintenance\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"next_invoice_date\": \"2027-01-01\",\n\t\t\"next_invoice_at\": 1798761600,\n\t\t\"prev_invoice_at\": 1794999600,\n\t\t\"invoiced\": true,\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49,\n\t\t\t\"total_invoiced_ex_vat\": 969,\n\t\t\t\"total_invoiced\": 1172.49\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed_at\": 1794999600,\n\t\t\"trashed\": true\n\t}\n}"}],"_postman_id":"e716874b-c165-4429-9921-4638584f5e27"}],"id":"2365e460-596c-4df0-b4fe-08c27e2d9ae5","_postman_id":"2365e460-596c-4df0-b4fe-08c27e2d9ae5","description":""},{"name":"Offers","item":[{"name":"Content","item":[{"name":"List offer content","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"1cdbadb4-10e7-415f-8c68-b0c65948d06d"}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"06242d9a-d31d-4555-9ddb-f182f9357a4b"}}],"id":"50d6de75-1458-41ad-a5fc-035cb5166547","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/offers//content","description":"<p>Get the content (intro/extra) from a given offer.</p>\n","urlObject":{"path":["offers","","content"],"host":["{{api_url}}"],"query":[{"disabled":true,"key":"limit","value":"15"}],"variable":[]}},"response":[{"id":"eac17c08-4820-4d3e-be0f-110ddca96f81","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{api_url}}/offers//content","host":["{{api_url}}"],"path":["offers","","content"],"query":[{"key":"limit","value":"15","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"intro\": {\n\t\t\t\"source\": \"resource\",\n\t\t\t\"type\": \"intro\",\n\t\t\t\"columns\": [\n\t\t\t\t\"Thank you for your **order**.\",\n\t\t\t\t\"Payment within 30 days.\"\n\t\t\t],\n\t\t\t\"created_at\": 1794999600,\n\t\t\t\"updated_at\": 1794999600\n\t\t}\n\t}\n}"}],"_postman_id":"50d6de75-1458-41ad-a5fc-035cb5166547"},{"name":"Retrieve offer content","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"a5432775-9d77-43c5-a6b0-c4ff6d94a003"}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"ddbfc07e-f220-4976-9276-04558bb49a20"}}],"id":"3e40ad28-c66c-4e43-baec-87e862a762a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/offers//content/{{offer_content_type}}","description":"<p>Retrieve offer content by its type.</p>\n<p>Supported types: intro, extra</p>\n","urlObject":{"path":["offers","","content","{{offer_content_type}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"ea940561-9246-450d-a9c1-8f1f19d90ea1","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/offers//content/{{offer_content_type}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"source\": \"resource\",\n\t\t\"type\": \"intro\",\n\t\t\"columns\": [\n\t\t\t\"Thank you for your **order**.\",\n\t\t\t\"Payment within 30 days.\"\n\t\t],\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t}\n}"}],"_postman_id":"3e40ad28-c66c-4e43-baec-87e862a762a0"},{"name":"Update offer content","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"618ade79-ef7e-4518-9edf-fcb588f4f4d3"}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 201', function () { pm.response.to.have.status(201); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"a3a28f31-7102-4be3-abbc-0f50fb70b0a7"}}],"id":"43eb62bb-0a91-4b22-9b4e-0dfd4c2e7293","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"columns\": 2,\n\t\"markdown\": true,\n\t\"column_1\": \"Thank you for your **order**.\",\n\t\"column_2\": \"Payment within 30 days.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/offers//content/{{offer_content_type}}","description":"<p>Update offer content for the given type.</p>\n<p>Supported types: intro, extra</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>columns</code></td>\n<td>integer</td>\n<td>no</td>\n<td>1 to 4.</td>\n</tr>\n<tr>\n<td><code>markdown</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Whether the text is Markdown.</td>\n</tr>\n<tr>\n<td><code>column_1 .. column_4</code></td>\n<td>string</td>\n<td>no</td>\n<td>The text of each column.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["offers","","content","{{offer_content_type}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"e5e38708-8524-4b8d-a2ad-0eb30f08f481","name":"201 Created","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"columns\": 2,\n\t\"markdown\": true,\n\t\"column_1\": \"Thank you for your **order**.\",\n\t\"column_2\": \"Payment within 30 days.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/offers//content/{{offer_content_type}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"source\": \"resource\",\n\t\t\"type\": \"intro\",\n\t\t\"columns\": [\n\t\t\t\"Thank you for your **order**.\",\n\t\t\t\"Payment within 30 days.\"\n\t\t],\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t}\n}"}],"_postman_id":"43eb62bb-0a91-4b22-9b4e-0dfd4c2e7293"},{"name":"Delete offer content","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"0aefb1f2-01c8-4fa6-bf1d-c595c578bf91"}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });"],"id":"82f38da3-e01d-42d1-b8f8-9211f8b454ee"}}],"id":"63e68865-4a91-46cd-8636-b5237bd04123","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/offers//content/{{offer_content_type}}","description":"<p>Delete offer content.</p>\n","urlObject":{"path":["offers","","content","{{offer_content_type}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"ad5ac4cb-1b34-49c4-a7a4-f9d8af6ca82e","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/offers//content/{{offer_content_type}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"source\": \"resource\",\n\t\t\"type\": \"intro\",\n\t\t\"columns\": [\n\t\t\t\"Thank you for your **order**.\",\n\t\t\t\"Payment within 30 days.\"\n\t\t],\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t}\n}"}],"_postman_id":"63e68865-4a91-46cd-8636-b5237bd04123"}],"id":"7281455c-85fe-465e-921b-f6b065b3193a","_postman_id":"7281455c-85fe-465e-921b-f6b065b3193a","description":""},{"name":"Lines","item":[{"name":"List offer lines","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"78318dab-5817-4850-a16c-cc66c05e767a"}}],"id":"7cf81e74-c5ce-4414-a1c9-05d97429ca63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/offers//lines","description":"<p>Get a list of paginated offer lines.</p>\n","urlObject":{"path":["offers","","lines"],"host":["{{api_url}}"],"query":[{"disabled":true,"key":"limit","value":"15"},{"disabled":true,"key":"type","value":"text"}],"variable":[]}},"response":[{"id":"b226bb8b-cdca-4205-8178-e8e8dc74ac90","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{api_url}}/offers//lines","host":["{{api_url}}"],"path":["offers","","lines"],"query":[{"key":"limit","value":"15","disabled":true},{"key":"type","value":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"id\": 1,\n\t\t\t\"order\": 1,\n\t\t\t\"type\": \"regular\",\n\t\t\t\"content\": \"Design work\",\n\t\t\t\"unit\": \"hour\",\n\t\t\t\"quantity\": 10,\n\t\t\t\"price\": 85,\n\t\t\t\"price_inc_vat\": 102.85,\n\t\t\t\"discount_percentage\": 0,\n\t\t\t\"discount_amount\": 0,\n\t\t\t\"vat_percentage\": 21,\n\t\t\t\"vat_amount\": 178.5,\n\t\t\t\"total\": 850,\n\t\t\t\"total_inc_vat\": 1028.5,\n\t\t\t\"created_at\": 1794999600,\n\t\t\t\"updated_at\": 1794999600\n\t\t},\n\t\t{\n\t\t\t\"id\": 2,\n\t\t\t\"order\": 2,\n\t\t\t\"type\": \"text\",\n\t\t\t\"content\": \"Phase 1: wireframes and sitemap\",\n\t\t\t\"created_at\": 1794999600,\n\t\t\t\"updated_at\": 1794999600\n\t\t}\n\t],\n\t\"links\": {\n\t\t\"first\": \"https://api.comanage.me/v1/offers/1/lines?page=1\",\n\t\t\"last\": \"https://api.comanage.me/v1/offers/1/lines?page=1\",\n\t\t\"prev\": null,\n\t\t\"next\": null\n\t},\n\t\"meta\": {\n\t\t\"current_page\": 1,\n\t\t\"from\": 1,\n\t\t\"last_page\": 1,\n\t\t\"links\": [\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"&laquo; Previous\",\n\t\t\t\t\"active\": false\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": \"https://api.comanage.me/v1/offers/1/lines?page=1\",\n\t\t\t\t\"label\": \"1\",\n\t\t\t\t\"active\": true\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"Next &raquo;\",\n\t\t\t\t\"active\": false\n\t\t\t}\n\t\t],\n\t\t\"path\": \"https://api.comanage.me/v1/offers/1/lines\",\n\t\t\"per_page\": 15,\n\t\t\"to\": 2,\n\t\t\"total\": 2\n\t}\n}"}],"_postman_id":"7cf81e74-c5ce-4414-a1c9-05d97429ca63"},{"name":"Retrieve an offer line","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"4a3844dd-591b-42a7-8869-12daad31dad8"}}],"id":"e35c8bc6-30c4-4a98-8673-5d179bccce34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/offers//lines/{{offer_line_id}}","description":"<p>Retrieve an offer line.</p>\n","urlObject":{"path":["offers","","lines","{{offer_line_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"19f94072-3276-4ab4-ab99-d777167bca15","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/offers//lines/{{offer_line_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"id\": 1,\n\t\t\"order\": 1,\n\t\t\"type\": \"regular\",\n\t\t\"content\": \"Design work\",\n\t\t\"unit\": \"hour\",\n\t\t\"quantity\": 10,\n\t\t\"price\": 85,\n\t\t\"price_inc_vat\": 102.85,\n\t\t\"discount_percentage\": 0,\n\t\t\"discount_amount\": 0,\n\t\t\"vat_percentage\": 21,\n\t\t\"vat_amount\": 178.5,\n\t\t\"total\": 850,\n\t\t\"total_inc_vat\": 1028.5,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t}\n}"}],"_postman_id":"e35c8bc6-30c4-4a98-8673-5d179bccce34"},{"name":"Create a new offer line","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"ef6c99c8-6a39-4bbc-bad1-3385d122bd7b"}}],"id":"e8d784c3-7137-4bb2-a531-b60bfcee0bdf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"regular\",\n\t\"content\": \"Design work\",\n\t\"unit\": \"hour\",\n\t\"quantity\": 10,\n\t\"price\": 85,\n\t\"vat_percentage\": 21\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/offers//lines","description":"<p>Create a new offer line.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>type</code></td>\n<td>string</td>\n<td>on create</td>\n<td><code>text</code>, <code>regular</code>, <code>product</code>, <code>service</code>, <code>time</code>, <code>subtotal</code> or <code>divider</code>.</td>\n</tr>\n<tr>\n<td><code>content</code></td>\n<td>string</td>\n<td>for text and regular lines</td>\n<td>The description of the line.</td>\n</tr>\n<tr>\n<td><code>unit</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>number</td>\n<td>on create</td>\n<td></td>\n</tr>\n<tr>\n<td><code>price</code></td>\n<td>number</td>\n<td>on create, without <code>price_inc_vat</code></td>\n<td>The price excluding VAT.</td>\n</tr>\n<tr>\n<td><code>price_inc_vat</code></td>\n<td>number</td>\n<td>on create, without <code>price</code></td>\n<td>The price including VAT, an alternative to <code>price</code>.</td>\n</tr>\n<tr>\n<td><code>discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>discount_amount</code></td>\n<td>number</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>vat_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["offers","","lines"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"778b9f2a-0d67-4e46-9500-fd97560d8aaf","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"regular\",\n\t\"content\": \"Design work\",\n\t\"unit\": \"hour\",\n\t\"quantity\": 10,\n\t\"price\": 85,\n\t\"vat_percentage\": 21\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/offers//lines"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"line\": {\n\t\t\"id\": 1,\n\t\t\"order\": 1,\n\t\t\"type\": \"regular\",\n\t\t\"content\": \"Design work\",\n\t\t\"unit\": \"hour\",\n\t\t\"quantity\": 10,\n\t\t\"price\": 85,\n\t\t\"price_inc_vat\": 102.85,\n\t\t\"discount_percentage\": 0,\n\t\t\"discount_amount\": 0,\n\t\t\"vat_percentage\": 21,\n\t\t\"vat_amount\": 178.5,\n\t\t\"total\": 850,\n\t\t\"total_inc_vat\": 1028.5,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t},\n\t\"offer\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"draft\",\n\t\t\"offer_number\": null,\n\t\t\"title\": \"Website redesign (v2)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58/pdf\",\n\t\t\"link\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 850,\n\t\t\t\"total_ex_vat\": 850,\n\t\t\t\"total_vat\": 178.5,\n\t\t\t\"total\": 1028.5\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 178.5,\n\t\t\t\t\t\"total_ex_vat\": 850,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"last_seen_at\": 1794999600,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"e8d784c3-7137-4bb2-a531-b60bfcee0bdf"},{"name":"Update an offer line","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"8f080489-d0ff-437b-a490-869ce1d8004d"}}],"id":"5d687b5c-2fab-4692-8ee2-c040e42c6e37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"content\": \"Design work (revised)\",\n\t\"quantity\": 12,\n\t\"discount_percentage\": 5\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/offers//lines/{{offer_line_id}}","description":"<p>Update an existing offer line.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>type</code></td>\n<td>string</td>\n<td>on create</td>\n<td><code>text</code>, <code>regular</code>, <code>product</code>, <code>service</code>, <code>time</code>, <code>subtotal</code> or <code>divider</code>.</td>\n</tr>\n<tr>\n<td><code>content</code></td>\n<td>string</td>\n<td>for text and regular lines</td>\n<td>The description of the line.</td>\n</tr>\n<tr>\n<td><code>unit</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>number</td>\n<td>on create</td>\n<td></td>\n</tr>\n<tr>\n<td><code>price</code></td>\n<td>number</td>\n<td>on create, without <code>price_inc_vat</code></td>\n<td>The price excluding VAT.</td>\n</tr>\n<tr>\n<td><code>price_inc_vat</code></td>\n<td>number</td>\n<td>on create, without <code>price</code></td>\n<td>The price including VAT, an alternative to <code>price</code>.</td>\n</tr>\n<tr>\n<td><code>discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n<tr>\n<td><code>discount_amount</code></td>\n<td>number</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>vat_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>0 to 100.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["offers","","lines","{{offer_line_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"e47b0854-0f0c-4b9e-89bb-8e7b4b50cf5d","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"content\": \"Design work (revised)\",\n\t\"quantity\": 12,\n\t\"discount_percentage\": 5\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/offers//lines/{{offer_line_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"line\": {\n\t\t\"id\": 1,\n\t\t\"order\": 1,\n\t\t\"type\": \"regular\",\n\t\t\"content\": \"Design work (revised)\",\n\t\t\"unit\": \"hour\",\n\t\t\"quantity\": 12,\n\t\t\"price\": 85,\n\t\t\"price_inc_vat\": 102.85,\n\t\t\"discount_percentage\": 5,\n\t\t\"discount_amount\": 51,\n\t\t\"vat_percentage\": 21,\n\t\t\"vat_amount\": 203.49,\n\t\t\"total\": 969,\n\t\t\"total_inc_vat\": 1172.49,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t},\n\t\"offer\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"draft\",\n\t\t\"offer_number\": null,\n\t\t\"title\": \"Website redesign (v2)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58/pdf\",\n\t\t\"link\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"last_seen_at\": 1794999600,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"5d687b5c-2fab-4692-8ee2-c040e42c6e37"},{"name":"Delete an offer line","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });"],"id":"0e16320e-72ea-4e1b-98aa-02da135d97d8"}}],"id":"b8ded6d4-4c25-4545-a938-0e2984ed0090","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/offers//lines/{{offer_line_id}}","description":"<p>Delete an offer line.</p>\n","urlObject":{"path":["offers","","lines","{{offer_line_id}}"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"cec884f6-365d-4698-9f4c-d0d6ccf80084","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/offers//lines/{{offer_line_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"line\": {\n\t\t\"id\": 3,\n\t\t\"order\": 3,\n\t\t\"type\": \"regular\",\n\t\t\"content\": \"Hosting\",\n\t\t\"unit\": null,\n\t\t\"quantity\": 1,\n\t\t\"price\": 20,\n\t\t\"price_inc_vat\": 24.2,\n\t\t\"discount_percentage\": 0,\n\t\t\"discount_amount\": 0,\n\t\t\"vat_percentage\": 21,\n\t\t\"vat_amount\": 4.2,\n\t\t\"total\": 20,\n\t\t\"total_inc_vat\": 24.2,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600\n\t},\n\t\"offer\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"draft\",\n\t\t\"offer_number\": null,\n\t\t\"title\": \"Website redesign (v2)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58/pdf\",\n\t\t\"link\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"last_seen_at\": 1794999600,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"b8ded6d4-4c25-4545-a938-0e2984ed0090"}],"id":"48d2153d-174a-467c-bd74-c2b7192a5afc","_postman_id":"48d2153d-174a-467c-bd74-c2b7192a5afc","description":""},{"name":"List offers","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"68f35387-9b35-4503-9912-fb8aed96c589"}}],"id":"ea639b69-3a25-4917-afdd-aaa6be90853f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/offers?sort=number_desc","description":"<p>Get a list of paginated offers.</p>\n","urlObject":{"path":["offers"],"host":["{{api_url}}"],"query":[{"disabled":true,"description":{"content":"<p>The number of results per page (1 to 100, default 15).</p>\n","type":"text/plain"},"key":"limit","value":"15"},{"disabled":true,"description":{"content":"<p>The page to get.</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Sort the results, for example <code>number_desc</code>.</p>\n","type":"text/plain"},"key":"sort","value":"number_desc"},{"disabled":true,"description":{"content":"<p>Only the offers with this status.</p>\n","type":"text/plain"},"key":"status","value":"draft"},{"disabled":true,"description":{"content":"<p>Also list the resources in the trash.</p>\n","type":"text/plain"},"key":"withTrashed","value":"1"},{"disabled":true,"description":{"content":"<p>Only list the resources in the trash.</p>\n","type":"text/plain"},"key":"onlyTrashed","value":"1"}],"variable":[]}},"response":[{"id":"b239a537-70db-4af1-af64-96e95446def6","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{api_url}}/offers?sort=number_desc","host":["{{api_url}}"],"path":["offers"],"query":[{"key":"limit","value":"15","description":"The number of results per page (1 to 100, default 15).","disabled":true},{"key":"page","value":"1","description":"The page to get.","disabled":true},{"key":"sort","value":"number_desc","description":"Sort the results, for example `number_desc`."},{"key":"status","value":"draft","description":"Only the offers with this status.","disabled":true},{"key":"withTrashed","value":"1","description":"Also list the resources in the trash.","disabled":true},{"key":"onlyTrashed","value":"1","description":"Only list the resources in the trash.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"number\": 1,\n\t\t\t\"status\": \"draft\",\n\t\t\t\"offer_number\": null,\n\t\t\t\"title\": \"Website redesign\",\n\t\t\t\"date\": \"2026-11-18\",\n\t\t\t\"due_date\": \"2026-12-18\",\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"pdf\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58/pdf\",\n\t\t\t\"link\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58\",\n\t\t\t\"discount\": {\n\t\t\t\t\"commercial\": {\n\t\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\t\"percentage\": 0,\n\t\t\t\t\t\"amount\": 0\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"totals\": {\n\t\t\t\t\"subtotal\": 0,\n\t\t\t\t\"total_ex_vat\": 0,\n\t\t\t\t\"total_vat\": 0,\n\t\t\t\t\"total\": 0\n\t\t\t},\n\t\t\t\"vat\": {\n\t\t\t\t\"type\": \"collect\",\n\t\t\t\t\"collect\": true,\n\t\t\t\t\"amounts\": null\n\t\t\t},\n\t\t\t\"contact\": {\n\t\t\t\t\"number\": 2,\n\t\t\t\t\"customer\": true,\n\t\t\t\t\"customer_number\": \"1\",\n\t\t\t\t\"supplier\": false,\n\t\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\t\"kvk_number\": null,\n\t\t\t\t\"language\": \"en\",\n\t\t\t\t\"currency\": \"eur\",\n\t\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\t\"phone\": null,\n\t\t\t\t\"peppol_id\": null,\n\t\t\t\t\"peppol_scheme\": null,\n\t\t\t\t\"peppol_ready\": false,\n\t\t\t\t\"extra_fields\": [],\n\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\"updated_at\": 1794996000,\n\t\t\t\t\"trashed\": false,\n\t\t\t\t\"addresses\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t\"last_seen_at\": 1794999600,\n\t\t\t\"created_at\": 1794999600,\n\t\t\t\"updated_at\": 1794999600,\n\t\t\t\"trashed\": false\n\t\t}\n\t],\n\t\"links\": {\n\t\t\"first\": \"https://api.comanage.me/v1/offers?page=1\",\n\t\t\"last\": \"https://api.comanage.me/v1/offers?page=1\",\n\t\t\"prev\": null,\n\t\t\"next\": null\n\t},\n\t\"meta\": {\n\t\t\"current_page\": 1,\n\t\t\"from\": 1,\n\t\t\"last_page\": 1,\n\t\t\"links\": [\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"&laquo; Previous\",\n\t\t\t\t\"active\": false\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": \"https://api.comanage.me/v1/offers?page=1\",\n\t\t\t\t\"label\": \"1\",\n\t\t\t\t\"active\": true\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"Next &raquo;\",\n\t\t\t\t\"active\": false\n\t\t\t}\n\t\t],\n\t\t\"path\": \"https://api.comanage.me/v1/offers\",\n\t\t\"per_page\": 15,\n\t\t\"to\": 1,\n\t\t\"total\": 1\n\t}\n}"}],"_postman_id":"ea639b69-3a25-4917-afdd-aaa6be90853f"},{"name":"Retrieve an offer","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"5f038ae0-cd55-40ac-8f18-945ae1f58c08"}}],"id":"c35662d7-aae2-4bbe-b915-ca73ced29543","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/offers/","description":"<p>Retrieve an offer by its number.</p>\n","urlObject":{"path":["offers",""],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"fcd06af1-8ffc-4288-93ac-e453f9002340","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/offers/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"draft\",\n\t\t\"offer_number\": null,\n\t\t\"title\": \"Website redesign\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58/pdf\",\n\t\t\"link\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 0,\n\t\t\t\"total_ex_vat\": 0,\n\t\t\t\"total_vat\": 0,\n\t\t\t\"total\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": null\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"last_seen_at\": 1794999600,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"c35662d7-aae2-4bbe-b915-ca73ced29543"},{"name":"Create a new offer","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"ec5c910e-c962-46d5-ae10-0150f4cb8847"}}],"id":"e632b685-8cc9-43e6-a0e7-c9f4f1cb79c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Website redesign\",\n\t\"contact\": 2,\n\t\"date\": \"2026-11-18\",\n\t\"due_when\": \"end_of_month\",\n\t\"due_days\": 30,\n\t\"language\": \"en\",\n\t\"currency\": \"eur\",\n\t\"vat_type\": \"collect\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/offers","description":"<p>Create a new offer.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>title</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>contact</code></td>\n<td>integer</td>\n<td>on create</td>\n<td>The number of a customer.</td>\n</tr>\n<tr>\n<td><code>person</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of a person of the contact.</td>\n</tr>\n<tr>\n<td><code>date</code></td>\n<td>date</td>\n<td>on create</td>\n<td><code>YYYY-MM-DD</code>.</td>\n</tr>\n<tr>\n<td><code>due_when</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>date</code> (a number of days after the date) or <code>end_of_month</code>.</td>\n</tr>\n<tr>\n<td><code>due_days</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of days, from 1.</td>\n</tr>\n<tr>\n<td><code>remind</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Send reminders for an unpaid invoice.</td>\n</tr>\n<tr>\n<td><code>language</code></td>\n<td>string</td>\n<td>no</td>\n<td>2 letters.</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>string</td>\n<td>no</td>\n<td>3 letters.</td>\n</tr>\n<tr>\n<td><code>vat_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>collect</code>, <code>reverse</code>, <code>exempt</code>, <code>co-contractor</code> or <code>renovation</code>.</td>\n</tr>\n<tr>\n<td><code>com_discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>Commercial discount, 0 to 100.</td>\n</tr>\n<tr>\n<td><code>com_discount_amount</code></td>\n<td>number</td>\n<td>no</td>\n<td>Commercial discount as an amount.</td>\n</tr>\n<tr>\n<td><code>pdf_template</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of one of your PDF templates. The default one is used when it is left out.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["offers"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"8d917ea1-32f2-485a-9996-927491686821","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Website redesign\",\n\t\"contact\": 2,\n\t\"date\": \"2026-11-18\",\n\t\"due_when\": \"end_of_month\",\n\t\"due_days\": 30,\n\t\"language\": \"en\",\n\t\"currency\": \"eur\",\n\t\"vat_type\": \"collect\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/offers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"draft\",\n\t\t\"offer_number\": null,\n\t\t\"title\": \"Website redesign\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58/pdf\",\n\t\t\"link\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 0,\n\t\t\t\"total_ex_vat\": 0,\n\t\t\t\"total_vat\": 0,\n\t\t\t\"total\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": null\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"last_seen_at\": 1794999600,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"},{"id":"868a6fc0-1663-4f7b-9f8d-4e4324cc87d4","name":"Validation error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Website redesign\",\n\t\"contact\": 2,\n\t\"date\": \"2026-11-18\",\n\t\"due_when\": \"end_of_month\",\n\t\"due_days\": 30,\n\t\"language\": \"en\",\n\t\"currency\": \"eur\",\n\t\"vat_type\": \"collect\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/offers"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"message\": \"The contact field is required. (and 1 more error)\",\n\t\"errors\": {\n\t\t\"contact\": [\n\t\t\t\"The contact field is required.\"\n\t\t],\n\t\t\"date\": [\n\t\t\t\"The date field is required.\"\n\t\t]\n\t}\n}"}],"_postman_id":"e632b685-8cc9-43e6-a0e7-c9f4f1cb79c9"},{"name":"Update an offer","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"2ccc5ac2-93ad-4bcb-9272-3ab1b8a43a67"}}],"id":"850d9eb4-3881-4d75-bb1b-acae948b176a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Website redesign (v2)\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/offers/","description":"<p>Update an existing offer.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>title</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>contact</code></td>\n<td>integer</td>\n<td>on create</td>\n<td>The number of a customer.</td>\n</tr>\n<tr>\n<td><code>person</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of a person of the contact.</td>\n</tr>\n<tr>\n<td><code>date</code></td>\n<td>date</td>\n<td>on create</td>\n<td><code>YYYY-MM-DD</code>.</td>\n</tr>\n<tr>\n<td><code>due_when</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>date</code> (a number of days after the date) or <code>end_of_month</code>.</td>\n</tr>\n<tr>\n<td><code>due_days</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of days, from 1.</td>\n</tr>\n<tr>\n<td><code>remind</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Send reminders for an unpaid invoice.</td>\n</tr>\n<tr>\n<td><code>language</code></td>\n<td>string</td>\n<td>no</td>\n<td>2 letters.</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>string</td>\n<td>no</td>\n<td>3 letters.</td>\n</tr>\n<tr>\n<td><code>vat_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>collect</code>, <code>reverse</code>, <code>exempt</code>, <code>co-contractor</code> or <code>renovation</code>.</td>\n</tr>\n<tr>\n<td><code>com_discount_percentage</code></td>\n<td>number</td>\n<td>no</td>\n<td>Commercial discount, 0 to 100.</td>\n</tr>\n<tr>\n<td><code>com_discount_amount</code></td>\n<td>number</td>\n<td>no</td>\n<td>Commercial discount as an amount.</td>\n</tr>\n<tr>\n<td><code>pdf_template</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of one of your PDF templates. The default one is used when it is left out.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["offers",""],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"e384e6ce-b489-4e4e-a9e8-094985a933ed","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Website redesign (v2)\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/offers/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"draft\",\n\t\t\"offer_number\": null,\n\t\t\"title\": \"Website redesign (v2)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58/pdf\",\n\t\t\"link\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 0,\n\t\t\t\"total_ex_vat\": 0,\n\t\t\t\"total_vat\": 0,\n\t\t\t\"total\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": null\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"last_seen_at\": 1794999600,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"850d9eb4-3881-4d75-bb1b-acae948b176a"},{"name":"Finalize an offer","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"2b0f3e4e-2c05-4319-b49c-8b965b623e2b"}}],"id":"5fd3a764-bbf7-4cd0-ae99-66615cf34e82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/offers//finalize","description":"<p>Finalize an offer.</p>\n","urlObject":{"path":["offers","","finalize"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"6a8c9fad-73fb-414d-9b57-c448882fee15","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/offers//finalize"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"pending\",\n\t\t\"offer_number\": 1,\n\t\t\"title\": \"Website redesign (v2)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58/pdf\",\n\t\t\"link\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"last_seen_at\": 1794999600,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"5fd3a764-bbf7-4cd0-ae99-66615cf34e82"},{"name":"Send an offer by email","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"d256b23c-3082-4abe-8f19-ba1b1e4e9c9d"}}],"id":"d4a4aae4-23f2-4162-b498-a7420e6b7d5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"language\": \"en\",\n\t\"subject\": \"Offer for the website redesign\",\n\t\"message\": \"Please find our **offer** attached.\",\n\t\"markdown\": true,\n\t\"reply_to\": \"sales@acme.example\",\n\t\"recipients\": [\n\t\t{\n\t\t\t\"name\": \"Michael Scott\",\n\t\t\t\"email\": \"michael@dundermifflin.example\"\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/offers//send-email","description":"<p>Send an offer by email.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>language</code></td>\n<td>string</td>\n<td>with <code>subject</code></td>\n<td>2 letters.</td>\n</tr>\n<tr>\n<td><code>subject</code></td>\n<td>string</td>\n<td>with <code>message</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>message</code></td>\n<td>string</td>\n<td>with <code>subject</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>markdown</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Whether the message is Markdown.</td>\n</tr>\n<tr>\n<td><code>reply_to</code></td>\n<td>string</td>\n<td>no</td>\n<td>An e-mail address.</td>\n</tr>\n<tr>\n<td><code>recipients</code></td>\n<td>array</td>\n<td>no</td>\n<td>A list of <code>{ \"name\": \"...\", \"email\": \"...\" }</code>. The contact is used when it is left out.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["offers","","send-email"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"7671f200-8258-42fb-8f2f-ffce527cc34d","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"language\": \"en\",\n\t\"subject\": \"Offer for the website redesign\",\n\t\"message\": \"Please find our **offer** attached.\",\n\t\"markdown\": true,\n\t\"reply_to\": \"sales@acme.example\",\n\t\"recipients\": [\n\t\t{\n\t\t\t\"name\": \"Michael Scott\",\n\t\t\t\"email\": \"michael@dundermifflin.example\"\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/offers//send-email"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 5,\n\t\t\"status\": \"pending\",\n\t\t\"offer_number\": \"1\",\n\t\t\"title\": \"To send\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/offer/572c59c9-05c2-479c-acc5-7b5a4e731d43/pdf\",\n\t\t\"link\": \"https://app.comanage.me/offer/572c59c9-05c2-479c-acc5-7b5a4e731d43\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 100,\n\t\t\t\"total_ex_vat\": 100,\n\t\t\t\"total_vat\": 0,\n\t\t\t\"total\": 100\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"reverse\",\n\t\t\t\"collect\": false,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 21,\n\t\t\t\t\t\"total_ex_vat\": 100,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"sales@dundermifflin.example\",\n\t\t\t\"phone\": \"+31 20 123 45 67\",\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794999600,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"last_seen_at\": 1794999600,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"d4a4aae4-23f2-4162-b498-a7420e6b7d5c"},{"name":"Mark offer as canceled","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"45bc7d56-8cba-4c6d-80f1-a1afd89eab4c"}}],"id":"c79a5301-aecf-4719-9d9b-449d5d08ef31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/offers//canceled","description":"<p>Mark a finalized offer as canceled.</p>\n","urlObject":{"path":["offers","","canceled"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"d2334635-55bd-4835-91b4-e9d2eebbaaa4","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/offers//canceled"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 2,\n\t\t\"status\": \"canceled\",\n\t\t\"offer_number\": \"1\",\n\t\t\"title\": null,\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/offer/6c7bc31c-95c1-43e9-ae9c-2cc621668ba0/pdf\",\n\t\t\"link\": \"https://app.comanage.me/offer/6c7bc31c-95c1-43e9-ae9c-2cc621668ba0\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 100,\n\t\t\t\"total_ex_vat\": 100,\n\t\t\t\"total_vat\": 0,\n\t\t\t\"total\": 100\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"reverse\",\n\t\t\t\"collect\": false,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 21,\n\t\t\t\t\t\"total_ex_vat\": 100,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"last_seen_at\": 1794999600,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"c79a5301-aecf-4719-9d9b-449d5d08ef31"},{"name":"Mark offer as approved","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"6e92ae32-0812-427e-bf8a-dece2ba29a70"}}],"id":"0da9292e-86dd-4ebe-ba64-f87054b3d822","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"approved_at\": 1794996000\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/offers//approved","description":"<p>Mark a finalized offer as approved by the recipient.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>approved_at</code></td>\n<td>integer</td>\n<td>no</td>\n<td>A Unix timestamp. Now when left out.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["offers","","approved"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"b08effcb-4db6-458b-ac85-c19b0344dfd5","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"approved_at\": 1794996000\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/offers//approved"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"approved\",\n\t\t\"offer_number\": \"1\",\n\t\t\"title\": \"Website redesign (v2)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58/pdf\",\n\t\t\"link\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"last_seen_at\": 1794999600,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"0da9292e-86dd-4ebe-ba64-f87054b3d822"},{"name":"Mark offer as rejected","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"108c0007-d79d-4f9c-808a-45dfe2d985bb"}}],"id":"0ee7a453-773c-4d24-b612-140c95e791e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"rejected_at\": 1794996000\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/offers//rejected","description":"<p>Mark a finalized offer as rejected by the recipient.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>rejected_at</code></td>\n<td>integer</td>\n<td>no</td>\n<td>A Unix timestamp. Now when left out.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["offers","","rejected"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"ec1d012c-b893-4047-9cf6-0f31396c457d","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"rejected_at\": 1794996000\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/offers//rejected"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 3,\n\t\t\"status\": \"rejected\",\n\t\t\"offer_number\": \"1\",\n\t\t\"title\": null,\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/offer/76036e85-d27b-4fbd-bb0a-d5138258700b/pdf\",\n\t\t\"link\": \"https://app.comanage.me/offer/76036e85-d27b-4fbd-bb0a-d5138258700b\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 100,\n\t\t\t\"total_ex_vat\": 100,\n\t\t\t\"total_vat\": 0,\n\t\t\t\"total\": 100\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"reverse\",\n\t\t\t\"collect\": false,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 21,\n\t\t\t\t\t\"total_ex_vat\": 100,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"sales@dundermifflin.example\",\n\t\t\t\"phone\": \"+31 20 123 45 67\",\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794999600,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"last_seen_at\": 1794999600,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"0ee7a453-773c-4d24-b612-140c95e791e7"},{"name":"Mark offer as expired","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"23416869-fe98-4ac9-8b2a-41c5a3731827"}}],"id":"459760d9-a0c9-46e8-89d0-d65831e2031a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/offers//expired","description":"<p>Mark a finalized offer as expired/lost.</p>\n","urlObject":{"path":["offers","","expired"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"1c87766c-c2e2-45b2-8579-dd566c8f5a0f","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/offers//expired"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 4,\n\t\t\"status\": \"lost\",\n\t\t\"offer_number\": \"1\",\n\t\t\"title\": null,\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/offer/a1cc8580-144e-46a9-9b65-42af3871ef07/pdf\",\n\t\t\"link\": \"https://app.comanage.me/offer/a1cc8580-144e-46a9-9b65-42af3871ef07\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 100,\n\t\t\t\"total_ex_vat\": 100,\n\t\t\t\"total_vat\": 0,\n\t\t\t\"total\": 100\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"reverse\",\n\t\t\t\"collect\": false,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 21,\n\t\t\t\t\t\"total_ex_vat\": 100,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"last_seen_at\": 1794999600,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"459760d9-a0c9-46e8-89d0-d65831e2031a"},{"name":"Invoice an offer","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"f4052534-77bc-4823-a6b9-fa3db1c1c3fa"}}],"id":"4095bbf4-9a90-4653-8840-429e41f50867","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"invoice_date\": \"2026-11-25\",\n\t\"send\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/offers//invoice","description":"<p>Invoice an offer that got approved.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>invoice_date</code></td>\n<td>date</td>\n<td>no</td>\n<td><code>YYYY-MM-DD</code>.</td>\n</tr>\n<tr>\n<td><code>send</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Send the invoice right away.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["offers","","invoice"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"a7f55d7d-2509-400d-87b6-37672056ba0f","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"invoice_date\": \"2026-11-25\",\n\t\"send\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/offers//invoice"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"invoice\": {\n\t\t\"number\": 4,\n\t\t\"status\": \"draft\",\n\t\t\"invoice_number\": null,\n\t\t\"title\": \"Website redesign (v2)\",\n\t\t\"date\": \"2026-11-25\",\n\t\t\"due_date\": \"2026-12-25\",\n\t\t\"first_sent_at\": null,\n\t\t\"last_sent_at\": null,\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"reference_type\": \"free\",\n\t\t\"reference\": \"\",\n\t\t\"pdf\": \"https://app.comanage.me/invoice/ec54223f-7a20-4456-85a2-f8394a7f31ce/pdf\",\n\t\t\"link\": \"https://app.comanage.me/invoice/ec54223f-7a20-4456-85a2-f8394a7f31ce\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t},\n\t\t\t\"financial\": {\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0,\n\t\t\t\t\"days\": 10\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49,\n\t\t\t\"total_due_ex_vat\": 969,\n\t\t\t\"total_due\": 1172.49,\n\t\t\t\"total_paid_ex_vat\": 0,\n\t\t\t\"total_paid\": 0\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t},\n\t\"offer\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"approved\",\n\t\t\"offer_number\": \"1\",\n\t\t\"title\": \"Website redesign (v2)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58/pdf\",\n\t\t\"link\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"last_seen_at\": 1794999600,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"4095bbf4-9a90-4653-8840-429e41f50867"},{"name":"Trash an offer","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"abd6c317-5496-478a-824a-de6bbaa31314"}}],"id":"0ba2c9fd-dcf9-446d-b61f-c151e837fb98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/offers//trash","description":"<p>Trash an offer.</p>\n","urlObject":{"path":["offers","","trash"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"665847d1-e237-4633-abcc-309493d5f143","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/offers//trash"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"approved\",\n\t\t\"offer_number\": \"1\",\n\t\t\"title\": \"Website redesign (v2)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58/pdf\",\n\t\t\"link\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"last_seen_at\": 1794999600,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed_at\": 1794999600,\n\t\t\"trashed\": true\n\t}\n}"}],"_postman_id":"0ba2c9fd-dcf9-446d-b61f-c151e837fb98"},{"name":"Restore an offer","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"c81be8ed-76ed-414e-bd32-ab0c88e131cf"}}],"id":"91c6b280-171c-4bc8-adc5-a39e187c3dc5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/offers//restore","description":"<p>Restore an offer from the trash.</p>\n","urlObject":{"path":["offers","","restore"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"abec3518-a127-4f4f-a19f-f3f9bba189e1","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/offers//restore"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"approved\",\n\t\t\"offer_number\": \"1\",\n\t\t\"title\": \"Website redesign (v2)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58/pdf\",\n\t\t\"link\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"last_seen_at\": 1794999600,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"91c6b280-171c-4bc8-adc5-a39e187c3dc5"},{"name":"Delete an offer","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });"],"id":"5fda67dc-e7ba-4c3f-a100-290c40480e39"}}],"id":"110c07f8-451d-4e41-8ec8-5fb911aed12c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/offers/","description":"<p>Delete an offer.</p>\n","urlObject":{"path":["offers",""],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"46c45387-cce4-434e-b088-8d3b11b0db19","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/offers/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"approved\",\n\t\t\"offer_number\": \"1\",\n\t\t\"title\": \"Website redesign (v2)\",\n\t\t\"date\": \"2026-11-18\",\n\t\t\"due_date\": \"2026-12-18\",\n\t\t\"language\": \"en\",\n\t\t\"currency\": \"eur\",\n\t\t\"pdf\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58/pdf\",\n\t\t\"link\": \"https://app.comanage.me/offer/3b298cad-a7e8-4840-ae4b-d601a53e0d58\",\n\t\t\"discount\": {\n\t\t\t\"commercial\": {\n\t\t\t\t\"using\": \"percentage\",\n\t\t\t\t\"percentage\": 0,\n\t\t\t\t\"amount\": 0\n\t\t\t}\n\t\t},\n\t\t\"totals\": {\n\t\t\t\"subtotal\": 969,\n\t\t\t\"total_ex_vat\": 969,\n\t\t\t\"total_vat\": 203.49,\n\t\t\t\"total\": 1172.49\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true,\n\t\t\t\"amounts\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 21,\n\t\t\t\t\t\"amount\": 203.49,\n\t\t\t\t\t\"total_ex_vat\": 969,\n\t\t\t\t\t\"com_discount_amount\": 0,\n\t\t\t\t\t\"fin_discount_amount\": 0,\n\t\t\t\t\t\"peppol_diff\": 0\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"contact\": {\n\t\t\t\"number\": 2,\n\t\t\t\"customer\": true,\n\t\t\t\"customer_number\": \"1\",\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Dunder Mifflin\",\n\t\t\t\"vat_number\": \"NL123456789B01\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@dundermifflin.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Slough Avenue 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Amsterdam\",\n\t\t\t\t\t\"postcode\": \"1011\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"NL\",\n\t\t\t\t\t\"country\": \"Netherlands\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"last_seen_at\": 1794999600,\n\t\t\"created_at\": 1794999600,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed_at\": 1794999600,\n\t\t\"trashed\": true\n\t}\n}"}],"_postman_id":"110c07f8-451d-4e41-8ec8-5fb911aed12c"}],"id":"ccc115f5-a982-493a-867d-e6e81482abd6","_postman_id":"ccc115f5-a982-493a-867d-e6e81482abd6","description":""},{"name":"Costs","item":[{"name":"List costs","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"384082bc-7be2-4bf1-bb5d-30382cf922cf"}}],"id":"c179c2d8-76f1-40e6-963d-960e6522af88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/costs?sort=date_desc","description":"<p>Get a list of paginated costs.</p>\n","urlObject":{"path":["costs"],"host":["{{api_url}}"],"query":[{"disabled":true,"description":{"content":"<p>The number of results per page (1 to 100, default 15).</p>\n","type":"text/plain"},"key":"limit","value":"15"},{"disabled":true,"description":{"content":"<p>The page to get.</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Sort the results, for example <code>date_desc</code>.</p>\n","type":"text/plain"},"key":"sort","value":"date_desc"},{"disabled":true,"description":{"content":"<p>Only the costs with this status: <code>draft</code>, <code>pending</code> or <code>paid</code>.</p>\n","type":"text/plain"},"key":"status","value":"pending"},{"disabled":true,"description":{"content":"<p>Also list the resources in the trash.</p>\n","type":"text/plain"},"key":"withTrashed","value":"1"},{"disabled":true,"description":{"content":"<p>Only list the resources in the trash.</p>\n","type":"text/plain"},"key":"onlyTrashed","value":"1"}],"variable":[]}},"response":[{"id":"9cbbbedf-62e8-42a2-a656-06335f08ffb8","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{api_url}}/costs?sort=date_desc","host":["{{api_url}}"],"path":["costs"],"query":[{"key":"limit","value":"15","description":"The number of results per page (1 to 100, default 15).","disabled":true},{"key":"page","value":"1","description":"The page to get.","disabled":true},{"key":"sort","value":"date_desc","description":"Sort the results, for example `date_desc`."},{"key":"status","value":"pending","description":"Only the costs with this status: `draft`, `pending` or `paid`.","disabled":true},{"key":"withTrashed","value":"1","description":"Also list the resources in the trash.","disabled":true},{"key":"onlyTrashed","value":"1","description":"Only list the resources in the trash.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"number\": 1,\n\t\t\t\"status\": \"pending\",\n\t\t\t\"supplier_invoice_number\": \"F-2026-0412\",\n\t\t\t\"title\": \"Printer paper\",\n\t\t\t\"date\": \"2026-11-10\",\n\t\t\t\"due_date\": \"2026-12-10\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"reference\": \"PO-77\",\n\t\t\t\"url\": null,\n\t\t\t\"is_creditnote\": false,\n\t\t\t\"totals\": {\n\t\t\t\t\"total_ex_vat\": 100,\n\t\t\t\t\"total_vat\": 21,\n\t\t\t\t\"total\": 121\n\t\t\t},\n\t\t\t\"vat\": {\n\t\t\t\t\"type\": \"collect\",\n\t\t\t\t\"collect\": true\n\t\t\t},\n\t\t\t\"cost_type\": {\n\t\t\t\t\"id\": 1,\n\t\t\t\t\"name\": \"Office supplies\"\n\t\t\t},\n\t\t\t\"supplier\": {\n\t\t\t\t\"number\": 3,\n\t\t\t\t\"customer\": false,\n\t\t\t\t\"supplier\": true,\n\t\t\t\t\"supplier_number\": \"1\",\n\t\t\t\t\"name\": \"Office Supplies NV\",\n\t\t\t\t\"vat_number\": null,\n\t\t\t\t\"kvk_number\": null,\n\t\t\t\t\"language\": \"en\",\n\t\t\t\t\"currency\": \"usd\",\n\t\t\t\t\"email\": \"sales@officesupplies.example\",\n\t\t\t\t\"phone\": null,\n\t\t\t\t\"peppol_id\": null,\n\t\t\t\t\"peppol_scheme\": null,\n\t\t\t\t\"peppol_ready\": false,\n\t\t\t\t\"extra_fields\": [],\n\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\"updated_at\": 1794996000,\n\t\t\t\t\"trashed\": false,\n\t\t\t\t\"addresses\": []\n\t\t\t},\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false\n\t\t}\n\t],\n\t\"links\": {\n\t\t\"first\": \"https://api.comanage.me/v1/costs?page=1\",\n\t\t\"last\": \"https://api.comanage.me/v1/costs?page=1\",\n\t\t\"prev\": null,\n\t\t\"next\": null\n\t},\n\t\"meta\": {\n\t\t\"current_page\": 1,\n\t\t\"from\": 1,\n\t\t\"last_page\": 1,\n\t\t\"links\": [\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"&laquo; Previous\",\n\t\t\t\t\"active\": false\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": \"https://api.comanage.me/v1/costs?page=1\",\n\t\t\t\t\"label\": \"1\",\n\t\t\t\t\"active\": true\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"Next &raquo;\",\n\t\t\t\t\"active\": false\n\t\t\t}\n\t\t],\n\t\t\"path\": \"https://api.comanage.me/v1/costs\",\n\t\t\"per_page\": 15,\n\t\t\"to\": 1,\n\t\t\"total\": 1\n\t}\n}"}],"_postman_id":"c179c2d8-76f1-40e6-963d-960e6522af88"},{"name":"Create a new cost","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"b462dc14-3f2f-4c92-8b1f-3dd1136b67ad"}}],"id":"ca9ce5a1-e36f-4a03-b8f6-a60bf7081b1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"date\": \"2026-11-10\",\n\t\"title\": \"Printer paper\",\n\t\"supplier_invoice_number\": \"F-2026-0412\",\n\t\"supplier\": 3,\n\t\"cost_type\": 1,\n\t\"status\": \"pending\",\n\t\"due_date\": \"2026-12-10\",\n\t\"reference\": \"PO-77\",\n\t\"currency\": \"eur\",\n\t\"vat_type\": \"collect\",\n\t\"total_ex_vat\": 100,\n\t\"total_vat\": 21,\n\t\"is_creditnote\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/costs","description":"<p>Create a new cost.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>date</code></td>\n<td>date</td>\n<td>on create</td>\n<td><code>YYYY-MM-DD</code>.</td>\n</tr>\n<tr>\n<td><code>title</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>supplier_invoice_number</code></td>\n<td>string</td>\n<td>no</td>\n<td>The number of the invoice of your supplier.</td>\n</tr>\n<tr>\n<td><code>supplier</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of a contact. <code>null</code> removes it.</td>\n</tr>\n<tr>\n<td><code>cost_type</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The id of one of your cost types. <code>null</code> removes it.</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>draft</code>, <code>pending</code> or <code>paid</code>. A new cost is a draft.</td>\n</tr>\n<tr>\n<td><code>due_date</code></td>\n<td>date</td>\n<td>no</td>\n<td><code>YYYY-MM-DD</code>.</td>\n</tr>\n<tr>\n<td><code>reference</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>url</code></td>\n<td>string</td>\n<td>no</td>\n<td>A link to the invoice of your supplier.</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>string</td>\n<td>no</td>\n<td>3 letters. Your team currency when left out.</td>\n</tr>\n<tr>\n<td><code>vat_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>collect</code>, <code>reverse</code>, <code>exempt</code>, <code>co-contractor</code> or <code>renovation</code>. <code>collect</code> and <code>renovation</code> count the VAT in the total.</td>\n</tr>\n<tr>\n<td><code>total_ex_vat</code></td>\n<td>number</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>total_vat</code></td>\n<td>number</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>is_creditnote</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>A credit note of your supplier.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["costs"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"90ee55ac-b871-4155-a618-cf7b09bdcd7f","name":"Created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"date\": \"2026-11-10\",\n\t\"title\": \"Printer paper\",\n\t\"supplier_invoice_number\": \"F-2026-0412\",\n\t\"supplier\": 3,\n\t\"cost_type\": 1,\n\t\"status\": \"pending\",\n\t\"due_date\": \"2026-12-10\",\n\t\"reference\": \"PO-77\",\n\t\"currency\": \"eur\",\n\t\"vat_type\": \"collect\",\n\t\"total_ex_vat\": 100,\n\t\"total_vat\": 21,\n\t\"is_creditnote\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/costs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"pending\",\n\t\t\"supplier_invoice_number\": \"F-2026-0412\",\n\t\t\"title\": \"Printer paper\",\n\t\t\"date\": \"2026-11-10\",\n\t\t\"due_date\": \"2026-12-10\",\n\t\t\"currency\": \"eur\",\n\t\t\"reference\": \"PO-77\",\n\t\t\"url\": null,\n\t\t\"is_creditnote\": false,\n\t\t\"totals\": {\n\t\t\t\"total_ex_vat\": 100,\n\t\t\t\"total_vat\": 21,\n\t\t\t\"total\": 121\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true\n\t\t},\n\t\t\"cost_type\": {\n\t\t\t\"id\": 1,\n\t\t\t\"name\": \"Office supplies\"\n\t\t},\n\t\t\"supplier\": {\n\t\t\t\"number\": 3,\n\t\t\t\"customer\": false,\n\t\t\t\"supplier\": true,\n\t\t\t\"supplier_number\": \"1\",\n\t\t\t\"name\": \"Office Supplies NV\",\n\t\t\t\"vat_number\": null,\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"usd\",\n\t\t\t\"email\": \"sales@officesupplies.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": []\n\t\t},\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false\n\t}\n}"},{"id":"de3959d1-bd29-4af2-9887-669d26d04697","name":"Validation error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"date\": \"2026-11-10\",\n\t\"title\": \"Printer paper\",\n\t\"supplier_invoice_number\": \"F-2026-0412\",\n\t\"supplier\": 3,\n\t\"cost_type\": 1,\n\t\"status\": \"pending\",\n\t\"due_date\": \"2026-12-10\",\n\t\"reference\": \"PO-77\",\n\t\"currency\": \"eur\",\n\t\"vat_type\": \"collect\",\n\t\"total_ex_vat\": 100,\n\t\"total_vat\": 21,\n\t\"is_creditnote\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/costs"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"message\": \"The 'status' field must be one of: draft, pending, paid (and 2 more errors)\",\n\t\"errors\": {\n\t\t\"status\": [\n\t\t\t\"The 'status' field must be one of: draft, pending, paid\"\n\t\t],\n\t\t\"currency\": [\n\t\t\t\"The currency must be 3 characters.\"\n\t\t],\n\t\t\"date\": [\n\t\t\t\"The date field is required.\"\n\t\t]\n\t}\n}"}],"_postman_id":"ca9ce5a1-e36f-4a03-b8f6-a60bf7081b1a"},{"name":"Retrieve a cost","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"6105f7d9-061e-4ddb-b27a-030cb34be0e5"}}],"id":"66320456-0b35-48c7-ab72-59cd87d61f70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/costs/","description":"<p>Retrieve a cost, also when it is in the trash.</p>\n","urlObject":{"path":["costs",""],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"85d101ca-7940-437b-9521-f351ac29d250","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/costs/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"pending\",\n\t\t\"supplier_invoice_number\": \"F-2026-0412\",\n\t\t\"title\": \"Printer paper\",\n\t\t\"date\": \"2026-11-10\",\n\t\t\"due_date\": \"2026-12-10\",\n\t\t\"currency\": \"eur\",\n\t\t\"reference\": \"PO-77\",\n\t\t\"url\": null,\n\t\t\"is_creditnote\": false,\n\t\t\"totals\": {\n\t\t\t\"total_ex_vat\": 100,\n\t\t\t\"total_vat\": 21,\n\t\t\t\"total\": 121\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true\n\t\t},\n\t\t\"cost_type\": {\n\t\t\t\"id\": 1,\n\t\t\t\"name\": \"Office supplies\"\n\t\t},\n\t\t\"supplier\": {\n\t\t\t\"number\": 3,\n\t\t\t\"customer\": false,\n\t\t\t\"supplier\": true,\n\t\t\t\"supplier_number\": \"1\",\n\t\t\t\"name\": \"Office Supplies NV\",\n\t\t\t\"vat_number\": null,\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"usd\",\n\t\t\t\"email\": \"sales@officesupplies.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": []\n\t\t},\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"66320456-0b35-48c7-ab72-59cd87d61f70"},{"name":"Update a cost","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"b15147d1-2c16-432b-b263-f262edb5d69b"}}],"id":"293bc4ab-bb75-4af2-a870-1b7ac60305f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"status\": \"paid\",\n\t\"total_ex_vat\": 120,\n\t\"total_vat\": 25.2\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/costs/","description":"<p>Update a cost. Only the fields you send are changed.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>date</code></td>\n<td>date</td>\n<td>on create</td>\n<td><code>YYYY-MM-DD</code>.</td>\n</tr>\n<tr>\n<td><code>title</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>supplier_invoice_number</code></td>\n<td>string</td>\n<td>no</td>\n<td>The number of the invoice of your supplier.</td>\n</tr>\n<tr>\n<td><code>supplier</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of a contact. <code>null</code> removes it.</td>\n</tr>\n<tr>\n<td><code>cost_type</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The id of one of your cost types. <code>null</code> removes it.</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>draft</code>, <code>pending</code> or <code>paid</code>. A new cost is a draft.</td>\n</tr>\n<tr>\n<td><code>due_date</code></td>\n<td>date</td>\n<td>no</td>\n<td><code>YYYY-MM-DD</code>.</td>\n</tr>\n<tr>\n<td><code>reference</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>url</code></td>\n<td>string</td>\n<td>no</td>\n<td>A link to the invoice of your supplier.</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>string</td>\n<td>no</td>\n<td>3 letters. Your team currency when left out.</td>\n</tr>\n<tr>\n<td><code>vat_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>collect</code>, <code>reverse</code>, <code>exempt</code>, <code>co-contractor</code> or <code>renovation</code>. <code>collect</code> and <code>renovation</code> count the VAT in the total.</td>\n</tr>\n<tr>\n<td><code>total_ex_vat</code></td>\n<td>number</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>total_vat</code></td>\n<td>number</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>is_creditnote</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>A credit note of your supplier.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["costs",""],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"c791b59f-3b9a-4e20-ae40-d6dc2af92783","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"status\": \"paid\",\n\t\"total_ex_vat\": 120,\n\t\"total_vat\": 25.2\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/costs/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"paid\",\n\t\t\"supplier_invoice_number\": \"F-2026-0412\",\n\t\t\"title\": \"Printer paper\",\n\t\t\"date\": \"2026-11-10\",\n\t\t\"due_date\": \"2026-12-10\",\n\t\t\"currency\": \"eur\",\n\t\t\"reference\": \"PO-77\",\n\t\t\"url\": null,\n\t\t\"is_creditnote\": false,\n\t\t\"totals\": {\n\t\t\t\"total_ex_vat\": 120,\n\t\t\t\"total_vat\": 25.2,\n\t\t\t\"total\": 145.2\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true\n\t\t},\n\t\t\"cost_type\": {\n\t\t\t\"id\": 1,\n\t\t\t\"name\": \"Office supplies\"\n\t\t},\n\t\t\"supplier\": {\n\t\t\t\"number\": 3,\n\t\t\t\"customer\": false,\n\t\t\t\"supplier\": true,\n\t\t\t\"supplier_number\": \"1\",\n\t\t\t\"name\": \"Office Supplies NV\",\n\t\t\t\"vat_number\": null,\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"usd\",\n\t\t\t\"email\": \"sales@officesupplies.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": []\n\t\t},\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"293bc4ab-bb75-4af2-a870-1b7ac60305f2"},{"name":"Trash a cost","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"14dea610-23a5-49fa-b14a-530a36c6b5dd"}}],"id":"56cdd967-9e74-4718-b475-38988ca75f66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/costs//trash","description":"<p>Put a cost in the trash.</p>\n","urlObject":{"path":["costs","","trash"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"687527fa-0235-4404-bcba-61522e764f2b","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/costs//trash"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"paid\",\n\t\t\"supplier_invoice_number\": \"F-2026-0412\",\n\t\t\"title\": \"Printer paper\",\n\t\t\"date\": \"2026-11-10\",\n\t\t\"due_date\": \"2026-12-10\",\n\t\t\"currency\": \"eur\",\n\t\t\"reference\": \"PO-77\",\n\t\t\"url\": null,\n\t\t\"is_creditnote\": false,\n\t\t\"totals\": {\n\t\t\t\"total_ex_vat\": 120,\n\t\t\t\"total_vat\": 25.2,\n\t\t\t\"total\": 145.2\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true\n\t\t},\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed_at\": 1794996000,\n\t\t\"trashed\": true\n\t}\n}"}],"_postman_id":"56cdd967-9e74-4718-b475-38988ca75f66"},{"name":"Restore a cost","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"b42257b7-b655-4d75-a1d9-ecef8c0211ee"}}],"id":"ee48b046-bc27-4594-84d6-60e37382c3d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/costs//restore","description":"<p>Restore a cost from the trash.</p>\n","urlObject":{"path":["costs","","restore"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"67618bab-6eaf-40f2-a73a-f1a8918a24c1","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/costs//restore"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"paid\",\n\t\t\"supplier_invoice_number\": \"F-2026-0412\",\n\t\t\"title\": \"Printer paper\",\n\t\t\"date\": \"2026-11-10\",\n\t\t\"due_date\": \"2026-12-10\",\n\t\t\"currency\": \"eur\",\n\t\t\"reference\": \"PO-77\",\n\t\t\"url\": null,\n\t\t\"is_creditnote\": false,\n\t\t\"totals\": {\n\t\t\t\"total_ex_vat\": 120,\n\t\t\t\"total_vat\": 25.2,\n\t\t\t\"total\": 145.2\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true\n\t\t},\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"ee48b046-bc27-4594-84d6-60e37382c3d9"},{"name":"Delete a cost","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });"],"id":"06508e72-d8a3-4bc3-a231-f7f0612c64c1"}}],"id":"b1342a0e-525c-4adc-82d7-da1b03932aca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/costs/","description":"<p>Delete a cost. A cost that is not in the trash is put in the trash first, one that is in the trash is deleted for good.</p>\n","urlObject":{"path":["costs",""],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"d55e10c6-e675-4e3b-8674-66717ab952fc","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/costs/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"paid\",\n\t\t\"supplier_invoice_number\": \"F-2026-0412\",\n\t\t\"title\": \"Printer paper\",\n\t\t\"date\": \"2026-11-10\",\n\t\t\"due_date\": \"2026-12-10\",\n\t\t\"currency\": \"eur\",\n\t\t\"reference\": \"PO-77\",\n\t\t\"url\": null,\n\t\t\"is_creditnote\": false,\n\t\t\"totals\": {\n\t\t\t\"total_ex_vat\": 120,\n\t\t\t\"total_vat\": 25.2,\n\t\t\t\"total\": 145.2\n\t\t},\n\t\t\"vat\": {\n\t\t\t\"type\": \"collect\",\n\t\t\t\"collect\": true\n\t\t},\n\t\t\"cost_type\": {\n\t\t\t\"id\": 1,\n\t\t\t\"name\": \"Office supplies\"\n\t\t},\n\t\t\"supplier\": {\n\t\t\t\"number\": 3,\n\t\t\t\"customer\": false,\n\t\t\t\"supplier\": true,\n\t\t\t\"supplier_number\": \"1\",\n\t\t\t\"name\": \"Office Supplies NV\",\n\t\t\t\"vat_number\": null,\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"usd\",\n\t\t\t\"email\": \"sales@officesupplies.example\",\n\t\t\t\"phone\": null,\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": []\n\t\t},\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed_at\": 1794996000,\n\t\t\"trashed\": true\n\t}\n}"}],"_postman_id":"b1342a0e-525c-4adc-82d7-da1b03932aca"}],"id":"3e671793-91b8-4e97-bddf-ca04a0661eba","description":"<p>The costs (purchase invoices) of your team.</p>\n","_postman_id":"3e671793-91b8-4e97-bddf-ca04a0661eba"},{"name":"Projects","item":[{"name":"List projects","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"8650a8a1-8059-49c3-b6a8-441dbda29a84"}}],"id":"336f803d-ec70-4ac5-bdd0-c0b7719fceb3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/projects?sort=date_desc","description":"<p>Get a list of paginated projects.</p>\n","urlObject":{"path":["projects"],"host":["{{api_url}}"],"query":[{"disabled":true,"description":{"content":"<p>The number of results per page (1 to 100, default 15).</p>\n","type":"text/plain"},"key":"limit","value":"15"},{"disabled":true,"description":{"content":"<p>The page to get.</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Sort the results, for example <code>date_desc</code>.</p>\n","type":"text/plain"},"key":"sort","value":"date_desc"},{"disabled":true,"description":{"content":"<p>Only the projects with this status.</p>\n","type":"text/plain"},"key":"status","value":"ongoing"},{"disabled":true,"description":{"content":"<p>Only the projects of the contact with this number.</p>\n","type":"text/plain"},"key":"contact","value":""},{"disabled":true,"description":{"content":"<p>Also list the resources in the trash.</p>\n","type":"text/plain"},"key":"withTrashed","value":"1"},{"disabled":true,"description":{"content":"<p>Only list the resources in the trash.</p>\n","type":"text/plain"},"key":"onlyTrashed","value":"1"}],"variable":[]}},"response":[{"id":"d3670b15-bfaa-47de-8280-18593a18e939","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{api_url}}/projects?sort=date_desc","host":["{{api_url}}"],"path":["projects"],"query":[{"key":"limit","value":"15","description":"The number of results per page (1 to 100, default 15).","disabled":true},{"key":"page","value":"1","description":"The page to get.","disabled":true},{"key":"sort","value":"date_desc","description":"Sort the results, for example `date_desc`."},{"key":"status","value":"ongoing","description":"Only the projects with this status.","disabled":true},{"key":"contact","value":"","description":"Only the projects of the contact with this number.","disabled":true},{"key":"withTrashed","value":"1","description":"Also list the resources in the trash.","disabled":true},{"key":"onlyTrashed","value":"1","description":"Only list the resources in the trash.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"number\": 1,\n\t\t\t\"project_number\": \"1\",\n\t\t\t\"status\": \"ongoing\",\n\t\t\t\"priority\": \"normal\",\n\t\t\t\"name\": \"New website\",\n\t\t\t\"description\": \"Redesign of the company website\",\n\t\t\t\"reference\": \"PO-2026-15\",\n\t\t\t\"date\": \"2026-11-01\",\n\t\t\t\"deadline\": \"2027-01-31\",\n\t\t\t\"started_at\": null,\n\t\t\t\"completed_at\": null,\n\t\t\t\"budget\": {\n\t\t\t\t\"type\": \"hourly\",\n\t\t\t\t\"amount\": \"85.00\",\n\t\t\t\t\"time\": 120,\n\t\t\t\t\"currency\": \"eur\"\n\t\t\t},\n\t\t\t\"extra_fields\": [\n\t\t\t\t{\n\t\t\t\t\t\"label\": \"Site\",\n\t\t\t\t\t\"value\": \"Brussels\"\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"contact\": {\n\t\t\t\t\"number\": 1,\n\t\t\t\t\"customer\": false,\n\t\t\t\t\"supplier\": false,\n\t\t\t\t\"name\": \"Evil Corp.\",\n\t\t\t\t\"vat_number\": \"BE0123456789\",\n\t\t\t\t\"kvk_number\": null,\n\t\t\t\t\"language\": \"en\",\n\t\t\t\t\"currency\": \"eur\",\n\t\t\t\t\"email\": \"info@evilcorp.example\",\n\t\t\t\t\"phone\": \"+32 2 765 43 21\",\n\t\t\t\t\"peppol_id\": null,\n\t\t\t\t\"peppol_scheme\": null,\n\t\t\t\t\"peppol_ready\": false,\n\t\t\t\t\"extra_fields\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"label\": \"Account manager\",\n\t\t\t\t\t\t\"value\": \"Dwight\"\n\t\t\t\t\t}\n\t\t\t\t],\n\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\"updated_at\": 1794996000,\n\t\t\t\t\"trashed\": false,\n\t\t\t\t\"addresses\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\t\"address_line_1\": \"Evil Street 1\",\n\t\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\t\"city\": \"Brussels\",\n\t\t\t\t\t\t\"postcode\": \"1000\",\n\t\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\t\"country_code\": \"BE\",\n\t\t\t\t\t\t\"country\": \"Belgium\",\n\t\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"delivery\",\n\t\t\t\t\t\t\"address_line_1\": \"Warehouse Road 5\",\n\t\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\t\"city\": \"Antwerp\",\n\t\t\t\t\t\t\"postcode\": \"2000\",\n\t\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\t\"country_code\": \"BE\",\n\t\t\t\t\t\t\"country\": \"Belgium\",\n\t\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false\n\t\t}\n\t],\n\t\"links\": {\n\t\t\"first\": \"https://api.comanage.me/v1/projects?page=1\",\n\t\t\"last\": \"https://api.comanage.me/v1/projects?page=1\",\n\t\t\"prev\": null,\n\t\t\"next\": null\n\t},\n\t\"meta\": {\n\t\t\"current_page\": 1,\n\t\t\"from\": 1,\n\t\t\"last_page\": 1,\n\t\t\"links\": [\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"&laquo; Previous\",\n\t\t\t\t\"active\": false\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": \"https://api.comanage.me/v1/projects?page=1\",\n\t\t\t\t\"label\": \"1\",\n\t\t\t\t\"active\": true\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"Next &raquo;\",\n\t\t\t\t\"active\": false\n\t\t\t}\n\t\t],\n\t\t\"path\": \"https://api.comanage.me/v1/projects\",\n\t\t\"per_page\": 15,\n\t\t\"to\": 1,\n\t\t\"total\": 1\n\t}\n}"}],"_postman_id":"336f803d-ec70-4ac5-bdd0-c0b7719fceb3"},{"name":"Create a new project","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"d42f2ccc-688c-4c46-b273-e7446bedb8f4"}}],"id":"9751b1c6-5c93-4a4d-961e-56df87651b02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"New website\",\n\t\"description\": \"Redesign of the company website\",\n\t\"reference\": \"PO-2026-15\",\n\t\"status\": \"ongoing\",\n\t\"priority\": \"normal\",\n\t\"contact\": 1,\n\t\"date\": \"2026-11-01\",\n\t\"deadline\": \"2027-01-31\",\n\t\"budget_type\": \"hourly\",\n\t\"budget\": 85,\n\t\"budget_time\": 120,\n\t\"currency\": \"eur\",\n\t\"extra_fields\": [\n\t\t{\n\t\t\t\"label\": \"Site\",\n\t\t\t\"value\": \"Brussels\"\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/projects","description":"<p>Create a new project.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>on create</td>\n<td></td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>reference</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>draft</code>, <code>pending</code>, <code>ongoing</code>, <code>on_hold</code>, <code>completed</code>, <code>canceled</code> or <code>archived</code>. A new project is a draft.</td>\n</tr>\n<tr>\n<td><code>priority</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>high</code>, <code>normal</code> or <code>low</code>. <code>normal</code> for a new project.</td>\n</tr>\n<tr>\n<td><code>contact</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of a contact. <code>null</code> removes it.</td>\n</tr>\n<tr>\n<td><code>date</code></td>\n<td>date</td>\n<td>no</td>\n<td><code>YYYY-MM-DD</code>. Today for a new project.</td>\n</tr>\n<tr>\n<td><code>deadline</code></td>\n<td>date</td>\n<td>no</td>\n<td><code>YYYY-MM-DD</code>, not before <code>date</code>.</td>\n</tr>\n<tr>\n<td><code>started_at</code></td>\n<td>datetime</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>completed_at</code></td>\n<td>datetime</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>budget_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>hourly</code>, <code>fixed</code> or <code>non_billable</code>. <code>non_billable</code> for a new project.</td>\n</tr>\n<tr>\n<td><code>budget</code></td>\n<td>number</td>\n<td>with <code>fixed</code></td>\n<td>The hourly rate for <code>hourly</code>, the price for <code>fixed</code>.</td>\n</tr>\n<tr>\n<td><code>budget_time</code></td>\n<td>number</td>\n<td>no</td>\n<td>The time that was budgeted.</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>string</td>\n<td>no</td>\n<td>3 letters. Your team currency when left out.</td>\n</tr>\n<tr>\n<td><code>extra_fields</code></td>\n<td>array</td>\n<td>no</td>\n<td>A list of <code>{ \"label\": \"...\", \"value\": \"...\" }</code>.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["projects"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"34a4753a-816d-43c6-9331-332678c38060","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"New website\",\n\t\"description\": \"Redesign of the company website\",\n\t\"reference\": \"PO-2026-15\",\n\t\"status\": \"ongoing\",\n\t\"priority\": \"normal\",\n\t\"contact\": 1,\n\t\"date\": \"2026-11-01\",\n\t\"deadline\": \"2027-01-31\",\n\t\"budget_type\": \"hourly\",\n\t\"budget\": 85,\n\t\"budget_time\": 120,\n\t\"currency\": \"eur\",\n\t\"extra_fields\": [\n\t\t{\n\t\t\t\"label\": \"Site\",\n\t\t\t\"value\": \"Brussels\"\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/projects"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"project_number\": \"1\",\n\t\t\"status\": \"ongoing\",\n\t\t\"priority\": \"normal\",\n\t\t\"name\": \"New website\",\n\t\t\"description\": \"Redesign of the company website\",\n\t\t\"reference\": \"PO-2026-15\",\n\t\t\"date\": \"2026-11-01\",\n\t\t\"deadline\": \"2027-01-31\",\n\t\t\"started_at\": null,\n\t\t\"completed_at\": null,\n\t\t\"budget\": {\n\t\t\t\"type\": \"hourly\",\n\t\t\t\"amount\": \"85.00\",\n\t\t\t\"time\": 120,\n\t\t\t\"currency\": \"eur\"\n\t\t},\n\t\t\"extra_fields\": [\n\t\t\t{\n\t\t\t\t\"label\": \"Site\",\n\t\t\t\t\"value\": \"Brussels\"\n\t\t\t}\n\t\t],\n\t\t\"contact\": {\n\t\t\t\"number\": 1,\n\t\t\t\"customer\": false,\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Evil Corp.\",\n\t\t\t\"vat_number\": \"BE0123456789\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@evilcorp.example\",\n\t\t\t\"phone\": \"+32 2 765 43 21\",\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [\n\t\t\t\t{\n\t\t\t\t\t\"label\": \"Account manager\",\n\t\t\t\t\t\"value\": \"Dwight\"\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Evil Street 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Brussels\",\n\t\t\t\t\t\"postcode\": \"1000\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"BE\",\n\t\t\t\t\t\"country\": \"Belgium\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"delivery\",\n\t\t\t\t\t\"address_line_1\": \"Warehouse Road 5\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Antwerp\",\n\t\t\t\t\t\"postcode\": \"2000\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"BE\",\n\t\t\t\t\t\"country\": \"Belgium\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false\n\t}\n}"},{"id":"b18317aa-1a1c-4f15-9efd-a4385c306694","name":"Validation error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"New website\",\n\t\"description\": \"Redesign of the company website\",\n\t\"reference\": \"PO-2026-15\",\n\t\"status\": \"ongoing\",\n\t\"priority\": \"normal\",\n\t\"contact\": 1,\n\t\"date\": \"2026-11-01\",\n\t\"deadline\": \"2027-01-31\",\n\t\"budget_type\": \"hourly\",\n\t\"budget\": 85,\n\t\"budget_time\": 120,\n\t\"currency\": \"eur\",\n\t\"extra_fields\": [\n\t\t{\n\t\t\t\"label\": \"Site\",\n\t\t\t\"value\": \"Brussels\"\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/projects"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"message\": \"The name field is required. (and 2 more errors)\",\n\t\"errors\": {\n\t\t\"name\": [\n\t\t\t\"The name field is required.\"\n\t\t],\n\t\t\"status\": [\n\t\t\t\"The 'status' field must be one of: draft, pending, ongoing, on_hold, completed, canceled, archived\"\n\t\t],\n\t\t\"budget\": [\n\t\t\t\"The 'budget' field is required when the 'budget_type' is fixed.\"\n\t\t]\n\t}\n}"}],"_postman_id":"9751b1c6-5c93-4a4d-961e-56df87651b02"},{"name":"Retrieve a project","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"dbda0597-b9b6-4df2-846e-997991740cf8"}}],"id":"8c3b48fa-2281-4ee1-ace7-bcd3cab36311","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/projects/","description":"<p>Retrieve a project, also when it is in the trash.</p>\n","urlObject":{"path":["projects",""],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"76649416-86d4-4841-9b40-a1f48cee8b02","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/projects/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"project_number\": \"1\",\n\t\t\"status\": \"ongoing\",\n\t\t\"priority\": \"normal\",\n\t\t\"name\": \"New website\",\n\t\t\"description\": \"Redesign of the company website\",\n\t\t\"reference\": \"PO-2026-15\",\n\t\t\"date\": \"2026-11-01\",\n\t\t\"deadline\": \"2027-01-31\",\n\t\t\"started_at\": null,\n\t\t\"completed_at\": null,\n\t\t\"budget\": {\n\t\t\t\"type\": \"hourly\",\n\t\t\t\"amount\": \"85.00\",\n\t\t\t\"time\": 120,\n\t\t\t\"currency\": \"eur\"\n\t\t},\n\t\t\"extra_fields\": [\n\t\t\t{\n\t\t\t\t\"label\": \"Site\",\n\t\t\t\t\"value\": \"Brussels\"\n\t\t\t}\n\t\t],\n\t\t\"contact\": {\n\t\t\t\"number\": 1,\n\t\t\t\"customer\": false,\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Evil Corp.\",\n\t\t\t\"vat_number\": \"BE0123456789\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@evilcorp.example\",\n\t\t\t\"phone\": \"+32 2 765 43 21\",\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [\n\t\t\t\t{\n\t\t\t\t\t\"label\": \"Account manager\",\n\t\t\t\t\t\"value\": \"Dwight\"\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Evil Street 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Brussels\",\n\t\t\t\t\t\"postcode\": \"1000\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"BE\",\n\t\t\t\t\t\"country\": \"Belgium\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"delivery\",\n\t\t\t\t\t\"address_line_1\": \"Warehouse Road 5\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Antwerp\",\n\t\t\t\t\t\"postcode\": \"2000\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"BE\",\n\t\t\t\t\t\"country\": \"Belgium\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"8c3b48fa-2281-4ee1-ace7-bcd3cab36311"},{"name":"Update a project","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"8f33b473-aa1e-4931-9b16-7dd262121fdb"}}],"id":"b006de52-2fb1-4fee-9e55-01902776bec2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"status\": \"completed\",\n\t\"completed_at\": \"2026-11-18 09:30:00\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/projects/","description":"<p>Update a project. Only the fields you send are changed.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>on create</td>\n<td></td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>reference</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>draft</code>, <code>pending</code>, <code>ongoing</code>, <code>on_hold</code>, <code>completed</code>, <code>canceled</code> or <code>archived</code>. A new project is a draft.</td>\n</tr>\n<tr>\n<td><code>priority</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>high</code>, <code>normal</code> or <code>low</code>. <code>normal</code> for a new project.</td>\n</tr>\n<tr>\n<td><code>contact</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of a contact. <code>null</code> removes it.</td>\n</tr>\n<tr>\n<td><code>date</code></td>\n<td>date</td>\n<td>no</td>\n<td><code>YYYY-MM-DD</code>. Today for a new project.</td>\n</tr>\n<tr>\n<td><code>deadline</code></td>\n<td>date</td>\n<td>no</td>\n<td><code>YYYY-MM-DD</code>, not before <code>date</code>.</td>\n</tr>\n<tr>\n<td><code>started_at</code></td>\n<td>datetime</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>completed_at</code></td>\n<td>datetime</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>budget_type</code></td>\n<td>string</td>\n<td>no</td>\n<td><code>hourly</code>, <code>fixed</code> or <code>non_billable</code>. <code>non_billable</code> for a new project.</td>\n</tr>\n<tr>\n<td><code>budget</code></td>\n<td>number</td>\n<td>with <code>fixed</code></td>\n<td>The hourly rate for <code>hourly</code>, the price for <code>fixed</code>.</td>\n</tr>\n<tr>\n<td><code>budget_time</code></td>\n<td>number</td>\n<td>no</td>\n<td>The time that was budgeted.</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>string</td>\n<td>no</td>\n<td>3 letters. Your team currency when left out.</td>\n</tr>\n<tr>\n<td><code>extra_fields</code></td>\n<td>array</td>\n<td>no</td>\n<td>A list of <code>{ \"label\": \"...\", \"value\": \"...\" }</code>.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["projects",""],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"69cc6286-4288-4249-81d4-9e33fcd5fe2f","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"status\": \"completed\",\n\t\"completed_at\": \"2026-11-18 09:30:00\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/projects/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"project_number\": \"1\",\n\t\t\"status\": \"completed\",\n\t\t\"priority\": \"normal\",\n\t\t\"name\": \"New website\",\n\t\t\"description\": \"Redesign of the company website\",\n\t\t\"reference\": \"PO-2026-15\",\n\t\t\"date\": \"2026-11-01\",\n\t\t\"deadline\": \"2027-01-31\",\n\t\t\"started_at\": null,\n\t\t\"completed_at\": 1794994200,\n\t\t\"budget\": {\n\t\t\t\"type\": \"hourly\",\n\t\t\t\"amount\": \"85.00\",\n\t\t\t\"time\": 120,\n\t\t\t\"currency\": \"eur\"\n\t\t},\n\t\t\"extra_fields\": [\n\t\t\t{\n\t\t\t\t\"label\": \"Site\",\n\t\t\t\t\"value\": \"Brussels\"\n\t\t\t}\n\t\t],\n\t\t\"contact\": {\n\t\t\t\"number\": 1,\n\t\t\t\"customer\": false,\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Evil Corp.\",\n\t\t\t\"vat_number\": \"BE0123456789\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@evilcorp.example\",\n\t\t\t\"phone\": \"+32 2 765 43 21\",\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [\n\t\t\t\t{\n\t\t\t\t\t\"label\": \"Account manager\",\n\t\t\t\t\t\"value\": \"Dwight\"\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Evil Street 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Brussels\",\n\t\t\t\t\t\"postcode\": \"1000\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"BE\",\n\t\t\t\t\t\"country\": \"Belgium\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"delivery\",\n\t\t\t\t\t\"address_line_1\": \"Warehouse Road 5\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Antwerp\",\n\t\t\t\t\t\"postcode\": \"2000\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"BE\",\n\t\t\t\t\t\"country\": \"Belgium\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"b006de52-2fb1-4fee-9e55-01902776bec2"},{"name":"Trash a project","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"b7130170-4721-4c4c-9c25-a91844c31749"}}],"id":"8be662b7-266f-4a84-89dc-5889fb6ffd4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/projects//trash","description":"<p>Put a project in the trash.</p>\n","urlObject":{"path":["projects","","trash"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"370ff833-e1de-4f8f-8137-7e118b0858e5","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/projects//trash"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"project_number\": \"1\",\n\t\t\"status\": \"completed\",\n\t\t\"priority\": \"normal\",\n\t\t\"name\": \"New website\",\n\t\t\"description\": \"Redesign of the company website\",\n\t\t\"reference\": \"PO-2026-15\",\n\t\t\"date\": \"2026-11-01\",\n\t\t\"deadline\": \"2027-01-31\",\n\t\t\"started_at\": null,\n\t\t\"completed_at\": 1794994200,\n\t\t\"budget\": {\n\t\t\t\"type\": \"hourly\",\n\t\t\t\"amount\": \"85.00\",\n\t\t\t\"time\": 120,\n\t\t\t\"currency\": \"eur\"\n\t\t},\n\t\t\"extra_fields\": [\n\t\t\t{\n\t\t\t\t\"label\": \"Site\",\n\t\t\t\t\"value\": \"Brussels\"\n\t\t\t}\n\t\t],\n\t\t\"contact\": {\n\t\t\t\"number\": 1,\n\t\t\t\"customer\": false,\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Evil Corp.\",\n\t\t\t\"vat_number\": \"BE0123456789\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@evilcorp.example\",\n\t\t\t\"phone\": \"+32 2 765 43 21\",\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [\n\t\t\t\t{\n\t\t\t\t\t\"label\": \"Account manager\",\n\t\t\t\t\t\"value\": \"Dwight\"\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Evil Street 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Brussels\",\n\t\t\t\t\t\"postcode\": \"1000\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"BE\",\n\t\t\t\t\t\"country\": \"Belgium\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"delivery\",\n\t\t\t\t\t\"address_line_1\": \"Warehouse Road 5\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Antwerp\",\n\t\t\t\t\t\"postcode\": \"2000\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"BE\",\n\t\t\t\t\t\"country\": \"Belgium\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed_at\": 1794999600,\n\t\t\"trashed\": true\n\t}\n}"}],"_postman_id":"8be662b7-266f-4a84-89dc-5889fb6ffd4f"},{"name":"Restore a project","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"6401c082-4b62-4672-bf10-8afdae0801b5"}}],"id":"63df51a4-7d44-46c6-82bc-a7b4891180a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/projects//restore","description":"<p>Restore a project from the trash.</p>\n","urlObject":{"path":["projects","","restore"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"9a591ced-b72d-4700-9703-e3e6d671412d","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/projects//restore"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"project_number\": \"1\",\n\t\t\"status\": \"completed\",\n\t\t\"priority\": \"normal\",\n\t\t\"name\": \"New website\",\n\t\t\"description\": \"Redesign of the company website\",\n\t\t\"reference\": \"PO-2026-15\",\n\t\t\"date\": \"2026-11-01\",\n\t\t\"deadline\": \"2027-01-31\",\n\t\t\"started_at\": null,\n\t\t\"completed_at\": 1794994200,\n\t\t\"budget\": {\n\t\t\t\"type\": \"hourly\",\n\t\t\t\"amount\": \"85.00\",\n\t\t\t\"time\": 120,\n\t\t\t\"currency\": \"eur\"\n\t\t},\n\t\t\"extra_fields\": [\n\t\t\t{\n\t\t\t\t\"label\": \"Site\",\n\t\t\t\t\"value\": \"Brussels\"\n\t\t\t}\n\t\t],\n\t\t\"contact\": {\n\t\t\t\"number\": 1,\n\t\t\t\"customer\": false,\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Evil Corp.\",\n\t\t\t\"vat_number\": \"BE0123456789\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@evilcorp.example\",\n\t\t\t\"phone\": \"+32 2 765 43 21\",\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [\n\t\t\t\t{\n\t\t\t\t\t\"label\": \"Account manager\",\n\t\t\t\t\t\"value\": \"Dwight\"\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Evil Street 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Brussels\",\n\t\t\t\t\t\"postcode\": \"1000\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"BE\",\n\t\t\t\t\t\"country\": \"Belgium\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"delivery\",\n\t\t\t\t\t\"address_line_1\": \"Warehouse Road 5\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Antwerp\",\n\t\t\t\t\t\"postcode\": \"2000\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"BE\",\n\t\t\t\t\t\"country\": \"Belgium\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"63df51a4-7d44-46c6-82bc-a7b4891180a1"},{"name":"Delete a project","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });"],"id":"caebd0c1-6732-4320-a4b0-34cda14ad08f"}}],"id":"b0eaa673-ea52-42d6-86e1-1011d2ef812a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/projects/","description":"<p>Delete a project. A project that is not in the trash is put in the trash first, one that is in the trash is deleted for good.</p>\n","urlObject":{"path":["projects",""],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"40beec2f-c8f9-4492-9035-23f78c481ae9","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/projects/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"project_number\": \"1\",\n\t\t\"status\": \"completed\",\n\t\t\"priority\": \"normal\",\n\t\t\"name\": \"New website\",\n\t\t\"description\": \"Redesign of the company website\",\n\t\t\"reference\": \"PO-2026-15\",\n\t\t\"date\": \"2026-11-01\",\n\t\t\"deadline\": \"2027-01-31\",\n\t\t\"started_at\": null,\n\t\t\"completed_at\": 1794994200,\n\t\t\"budget\": {\n\t\t\t\"type\": \"hourly\",\n\t\t\t\"amount\": \"85.00\",\n\t\t\t\"time\": 120,\n\t\t\t\"currency\": \"eur\"\n\t\t},\n\t\t\"extra_fields\": [\n\t\t\t{\n\t\t\t\t\"label\": \"Site\",\n\t\t\t\t\"value\": \"Brussels\"\n\t\t\t}\n\t\t],\n\t\t\"contact\": {\n\t\t\t\"number\": 1,\n\t\t\t\"customer\": false,\n\t\t\t\"supplier\": false,\n\t\t\t\"name\": \"Evil Corp.\",\n\t\t\t\"vat_number\": \"BE0123456789\",\n\t\t\t\"kvk_number\": null,\n\t\t\t\"language\": \"en\",\n\t\t\t\"currency\": \"eur\",\n\t\t\t\"email\": \"info@evilcorp.example\",\n\t\t\t\"phone\": \"+32 2 765 43 21\",\n\t\t\t\"peppol_id\": null,\n\t\t\t\"peppol_scheme\": null,\n\t\t\t\"peppol_ready\": false,\n\t\t\t\"extra_fields\": [\n\t\t\t\t{\n\t\t\t\t\t\"label\": \"Account manager\",\n\t\t\t\t\t\"value\": \"Dwight\"\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false,\n\t\t\t\"addresses\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"billing\",\n\t\t\t\t\t\"address_line_1\": \"Evil Street 1\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Brussels\",\n\t\t\t\t\t\"postcode\": \"1000\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"BE\",\n\t\t\t\t\t\"country\": \"Belgium\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"delivery\",\n\t\t\t\t\t\"address_line_1\": \"Warehouse Road 5\",\n\t\t\t\t\t\"address_line_2\": null,\n\t\t\t\t\t\"city\": \"Antwerp\",\n\t\t\t\t\t\"postcode\": \"2000\",\n\t\t\t\t\t\"state\": null,\n\t\t\t\t\t\"country_code\": \"BE\",\n\t\t\t\t\t\"country\": \"Belgium\",\n\t\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\t\"updated_at\": 1794996000\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed_at\": 1794999600,\n\t\t\"trashed\": true\n\t}\n}"}],"_postman_id":"b0eaa673-ea52-42d6-86e1-1011d2ef812a"}],"id":"6855ab6b-31d4-4cdc-959c-53678cb6de58","description":"<p>The projects of your team. Creating a project needs the Pro plan. A team member only sees the projects they are attached to, unless your team shows all projects to everyone.</p>\n","_postman_id":"6855ab6b-31d4-4cdc-959c-53678cb6de58"},{"name":"Time registrations","item":[{"name":"List time registrations","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"b090a8cf-7d43-474a-b77f-c309835960db"}}],"id":"f2ca8e4c-c097-49a9-96a5-507ce606d9c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/time-registrations?sort=started_at_desc","description":"<p>Get a list of paginated time registrations, the most recent first. Sort on <code>number</code>, <code>started_at</code> or <code>duration</code>.</p>\n","urlObject":{"path":["time-registrations"],"host":["{{api_url}}"],"query":[{"disabled":true,"description":{"content":"<p>The number of results per page (1 to 100, default 15).</p>\n","type":"text/plain"},"key":"limit","value":"15"},{"disabled":true,"description":{"content":"<p>The page to get.</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Sort the results, for example <code>started_at_desc</code>.</p>\n","type":"text/plain"},"key":"sort","value":"started_at_desc"},{"disabled":true,"description":{"content":"<p><code>in_progress</code> (a running timer) or <code>done</code>.</p>\n","type":"text/plain"},"key":"status","value":"done"},{"disabled":true,"description":{"content":"<p>The number of a project.</p>\n","type":"text/plain"},"key":"project","value":""},{"disabled":true,"description":{"content":"<p>The number of a contact.</p>\n","type":"text/plain"},"key":"contact","value":""},{"disabled":true,"description":{"content":"<p>The number of a team member.</p>\n","type":"text/plain"},"key":"team_member","value":""},{"disabled":true,"description":{"content":"<p><code>1</code> or <code>0</code>.</p>\n","type":"text/plain"},"key":"billable","value":"1"},{"disabled":true,"description":{"content":"<p><code>1</code> or <code>0</code>.</p>\n","type":"text/plain"},"key":"billed","value":"0"},{"disabled":true,"description":{"content":"<p>The registrations that started on or after this date (<code>YYYY-MM-DD</code>).</p>\n","type":"text/plain"},"key":"from","value":"2026-11-01"},{"disabled":true,"description":{"content":"<p>The registrations that started on or before this date (<code>YYYY-MM-DD</code>).</p>\n","type":"text/plain"},"key":"to","value":"2026-11-30"},{"disabled":true,"description":{"content":"<p>Also list the resources in the trash.</p>\n","type":"text/plain"},"key":"withTrashed","value":"1"},{"disabled":true,"description":{"content":"<p>Only list the resources in the trash.</p>\n","type":"text/plain"},"key":"onlyTrashed","value":"1"}],"variable":[]}},"response":[{"id":"058595f9-a69a-4ed7-94ae-d7cf53b21e21","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{api_url}}/time-registrations?sort=started_at_desc","host":["{{api_url}}"],"path":["time-registrations"],"query":[{"key":"limit","value":"15","description":"The number of results per page (1 to 100, default 15).","disabled":true},{"key":"page","value":"1","description":"The page to get.","disabled":true},{"key":"sort","value":"started_at_desc","description":"Sort the results, for example `started_at_desc`."},{"key":"status","value":"done","description":"`in_progress` (a running timer) or `done`.","disabled":true},{"key":"project","value":"","description":"The number of a project.","disabled":true},{"key":"contact","value":"","description":"The number of a contact.","disabled":true},{"key":"team_member","value":"","description":"The number of a team member.","disabled":true},{"key":"billable","value":"1","description":"`1` or `0`.","disabled":true},{"key":"billed","value":"0","description":"`1` or `0`.","disabled":true},{"key":"from","value":"2026-11-01","description":"The registrations that started on or after this date (`YYYY-MM-DD`).","disabled":true},{"key":"to","value":"2026-11-30","description":"The registrations that started on or before this date (`YYYY-MM-DD`).","disabled":true},{"key":"withTrashed","value":"1","description":"Also list the resources in the trash.","disabled":true},{"key":"onlyTrashed","value":"1","description":"Only list the resources in the trash.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"number\": 1,\n\t\t\t\"status\": \"done\",\n\t\t\t\"started_at\": 1794906000,\n\t\t\t\"ended_at\": 1794911400,\n\t\t\t\"duration\": 5400,\n\t\t\t\"billable\": true,\n\t\t\t\"billed\": false,\n\t\t\t\"billed_at\": null,\n\t\t\t\"invoiced\": false,\n\t\t\t\"description\": \"Wireframes\",\n\t\t\t\"project\": {\n\t\t\t\t\"number\": 1,\n\t\t\t\t\"project_number\": \"1\",\n\t\t\t\t\"status\": \"completed\",\n\t\t\t\t\"priority\": \"normal\",\n\t\t\t\t\"name\": \"New website\",\n\t\t\t\t\"description\": \"Redesign of the company website\",\n\t\t\t\t\"reference\": \"PO-2026-15\",\n\t\t\t\t\"date\": \"2026-11-01\",\n\t\t\t\t\"deadline\": \"2027-01-31\",\n\t\t\t\t\"started_at\": null,\n\t\t\t\t\"completed_at\": 1794994200,\n\t\t\t\t\"budget\": {\n\t\t\t\t\t\"type\": \"hourly\",\n\t\t\t\t\t\"amount\": \"85.00\",\n\t\t\t\t\t\"time\": 120,\n\t\t\t\t\t\"currency\": \"eur\"\n\t\t\t\t},\n\t\t\t\t\"extra_fields\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"label\": \"Site\",\n\t\t\t\t\t\t\"value\": \"Brussels\"\n\t\t\t\t\t}\n\t\t\t\t],\n\t\t\t\t\"created_at\": 1794996000,\n\t\t\t\t\"updated_at\": 1794996000,\n\t\t\t\t\"trashed\": false\n\t\t\t},\n\t\t\t\"contact\": null,\n\t\t\t\"phase\": null,\n\t\t\t\"task\": null,\n\t\t\t\"team_member\": {\n\t\t\t\t\"number\": 1,\n\t\t\t\t\"username\": \"erna\"\n\t\t\t},\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false\n\t\t}\n\t],\n\t\"links\": {\n\t\t\"first\": \"https://api.comanage.me/v1/time-registrations?page=1\",\n\t\t\"last\": \"https://api.comanage.me/v1/time-registrations?page=1\",\n\t\t\"prev\": null,\n\t\t\"next\": null\n\t},\n\t\"meta\": {\n\t\t\"current_page\": 1,\n\t\t\"from\": 1,\n\t\t\"last_page\": 1,\n\t\t\"links\": [\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"&laquo; Previous\",\n\t\t\t\t\"active\": false\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": \"https://api.comanage.me/v1/time-registrations?page=1\",\n\t\t\t\t\"label\": \"1\",\n\t\t\t\t\"active\": true\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"url\": null,\n\t\t\t\t\"label\": \"Next &raquo;\",\n\t\t\t\t\"active\": false\n\t\t\t}\n\t\t],\n\t\t\"path\": \"https://api.comanage.me/v1/time-registrations\",\n\t\t\"per_page\": 15,\n\t\t\"to\": 1,\n\t\t\"total\": 1\n\t}\n}"}],"_postman_id":"f2ca8e4c-c097-49a9-96a5-507ce606d9c5"},{"name":"Register time (finished)","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"8cb43850-621d-4af0-b5a4-4a8de6f91908"}}],"id":"cbac564b-dea3-4195-9067-d5ee0da1e64f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"project\": 1,\n\t\"started_at\": \"2026-11-17 09:00:00\",\n\t\"duration\": 5400,\n\t\"billable\": true,\n\t\"description\": \"Wireframes\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/time-registrations","description":"<p>Register time that was already spent. Send a <code>duration</code> (in seconds) with the <code>started_at</code>.</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>project</code></td>\n<td>integer</td>\n<td>on create, without <code>contact</code></td>\n<td>The number of a project.</td>\n</tr>\n<tr>\n<td><code>contact</code></td>\n<td>integer</td>\n<td>on create, without <code>project</code></td>\n<td>The number of a contact.</td>\n</tr>\n<tr>\n<td><code>phase</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The id of a phase of the project.</td>\n</tr>\n<tr>\n<td><code>task</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of a task of the project.</td>\n</tr>\n<tr>\n<td><code>team_member</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of a team member. Only a manager can register time for someone else.</td>\n</tr>\n<tr>\n<td><code>started_at</code></td>\n<td>datetime</td>\n<td>with <code>duration</code></td>\n<td><code>YYYY-MM-DD HH:MM:SS</code>.</td>\n</tr>\n<tr>\n<td><code>duration</code></td>\n<td>integer</td>\n<td>no</td>\n<td>In seconds. <strong>With a duration the time registration is finished. Without one, a timer is started.</strong></td>\n</tr>\n<tr>\n<td><code>billable</code></td>\n<td>boolean</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>billed</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Whether it has been billed already.</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["time-registrations"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"25ed3646-d074-4f96-94a8-0517c9ff3749","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"project\": 1,\n\t\"started_at\": \"2026-11-17 09:00:00\",\n\t\"duration\": 5400,\n\t\"billable\": true,\n\t\"description\": \"Wireframes\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/time-registrations"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"done\",\n\t\t\"started_at\": 1794906000,\n\t\t\"ended_at\": 1794911400,\n\t\t\"duration\": 5400,\n\t\t\"billable\": true,\n\t\t\"billed\": false,\n\t\t\"billed_at\": null,\n\t\t\"invoiced\": false,\n\t\t\"description\": \"Wireframes\",\n\t\t\"project\": {\n\t\t\t\"number\": 1,\n\t\t\t\"project_number\": \"1\",\n\t\t\t\"status\": \"completed\",\n\t\t\t\"priority\": \"normal\",\n\t\t\t\"name\": \"New website\",\n\t\t\t\"description\": \"Redesign of the company website\",\n\t\t\t\"reference\": \"PO-2026-15\",\n\t\t\t\"date\": \"2026-11-01\",\n\t\t\t\"deadline\": \"2027-01-31\",\n\t\t\t\"started_at\": null,\n\t\t\t\"completed_at\": 1794994200,\n\t\t\t\"budget\": {\n\t\t\t\t\"type\": \"hourly\",\n\t\t\t\t\"amount\": \"85.00\",\n\t\t\t\t\"time\": 120,\n\t\t\t\t\"currency\": \"eur\"\n\t\t\t},\n\t\t\t\"extra_fields\": [\n\t\t\t\t{\n\t\t\t\t\t\"label\": \"Site\",\n\t\t\t\t\t\"value\": \"Brussels\"\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false\n\t\t},\n\t\t\"contact\": null,\n\t\t\"phase\": null,\n\t\t\"task\": null,\n\t\t\"team_member\": {\n\t\t\t\"number\": 1,\n\t\t\t\"username\": \"erna\"\n\t\t},\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false\n\t}\n}"},{"id":"3ba7f524-17fd-43d4-8d74-045167d777cc","name":"Validation error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"project\": 1,\n\t\"started_at\": \"2026-11-17 09:00:00\",\n\t\"duration\": 5400,\n\t\"billable\": true,\n\t\"description\": \"Wireframes\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/time-registrations"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"message\": \"The project field is required when contact is not present. (and 2 more errors)\",\n\t\"errors\": {\n\t\t\"project\": [\n\t\t\t\"The project field is required when contact is not present.\"\n\t\t],\n\t\t\"contact\": [\n\t\t\t\"The contact field is required when project is not present.\"\n\t\t],\n\t\t\"started_at\": [\n\t\t\t\"The started at field is required when duration is present.\"\n\t\t]\n\t}\n}"}],"_postman_id":"cbac564b-dea3-4195-9067-d5ee0da1e64f"},{"name":"Start a timer","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"a8b2a52e-d39a-46d1-a129-2e1342dd7d71"}}],"id":"76e28539-cb95-4e83-ad13-c1ed0d149605","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"project\": 1,\n\t\"billable\": true,\n\t\"description\": \"Homepage design\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/time-registrations","description":"<p>Start a timer: a time registration without a <code>duration</code> runs until you stop it. You can have one running timer at a time (<code>422</code> when you already have one).</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>project</code></td>\n<td>integer</td>\n<td>on create, without <code>contact</code></td>\n<td>The number of a project.</td>\n</tr>\n<tr>\n<td><code>contact</code></td>\n<td>integer</td>\n<td>on create, without <code>project</code></td>\n<td>The number of a contact.</td>\n</tr>\n<tr>\n<td><code>phase</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The id of a phase of the project.</td>\n</tr>\n<tr>\n<td><code>task</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of a task of the project.</td>\n</tr>\n<tr>\n<td><code>team_member</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of a team member. Only a manager can register time for someone else.</td>\n</tr>\n<tr>\n<td><code>started_at</code></td>\n<td>datetime</td>\n<td>with <code>duration</code></td>\n<td><code>YYYY-MM-DD HH:MM:SS</code>.</td>\n</tr>\n<tr>\n<td><code>duration</code></td>\n<td>integer</td>\n<td>no</td>\n<td>In seconds. <strong>With a duration the time registration is finished. Without one, a timer is started.</strong></td>\n</tr>\n<tr>\n<td><code>billable</code></td>\n<td>boolean</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>billed</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Whether it has been billed already.</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["time-registrations"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"b77ab76e-bcbb-4e58-b0f8-c98c46ddfcbc","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"project\": 1,\n\t\"billable\": true,\n\t\"description\": \"Homepage design\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/time-registrations"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 2,\n\t\t\"status\": \"in_progress\",\n\t\t\"started_at\": 1794996000,\n\t\t\"ended_at\": null,\n\t\t\"duration\": null,\n\t\t\"billable\": true,\n\t\t\"billed\": false,\n\t\t\"billed_at\": null,\n\t\t\"invoiced\": false,\n\t\t\"description\": \"Homepage design\",\n\t\t\"project\": {\n\t\t\t\"number\": 1,\n\t\t\t\"project_number\": \"1\",\n\t\t\t\"status\": \"completed\",\n\t\t\t\"priority\": \"normal\",\n\t\t\t\"name\": \"New website\",\n\t\t\t\"description\": \"Redesign of the company website\",\n\t\t\t\"reference\": \"PO-2026-15\",\n\t\t\t\"date\": \"2026-11-01\",\n\t\t\t\"deadline\": \"2027-01-31\",\n\t\t\t\"started_at\": null,\n\t\t\t\"completed_at\": 1794994200,\n\t\t\t\"budget\": {\n\t\t\t\t\"type\": \"hourly\",\n\t\t\t\t\"amount\": \"85.00\",\n\t\t\t\t\"time\": 120,\n\t\t\t\t\"currency\": \"eur\"\n\t\t\t},\n\t\t\t\"extra_fields\": [\n\t\t\t\t{\n\t\t\t\t\t\"label\": \"Site\",\n\t\t\t\t\t\"value\": \"Brussels\"\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false\n\t\t},\n\t\t\"contact\": null,\n\t\t\"phase\": null,\n\t\t\"task\": null,\n\t\t\"team_member\": {\n\t\t\t\"number\": 1,\n\t\t\t\"username\": \"erna\"\n\t\t},\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"76e28539-cb95-4e83-ad13-c1ed0d149605"},{"name":"Retrieve a time registration","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"cc547fb8-e10f-41b9-ad63-e29407e9925e"}}],"id":"cb6d59e5-b8c1-4ab5-9a6e-6e144c24d4ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/time-registrations/","description":"<p>Retrieve a time registration.</p>\n","urlObject":{"path":["time-registrations",""],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"e270eac8-b7f4-4f5b-9af1-be4e1272e1f2","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/time-registrations/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"done\",\n\t\t\"started_at\": 1794906000,\n\t\t\"ended_at\": 1794911400,\n\t\t\"duration\": 5400,\n\t\t\"billable\": true,\n\t\t\"billed\": false,\n\t\t\"billed_at\": null,\n\t\t\"invoiced\": false,\n\t\t\"description\": \"Wireframes\",\n\t\t\"project\": {\n\t\t\t\"number\": 1,\n\t\t\t\"project_number\": \"1\",\n\t\t\t\"status\": \"completed\",\n\t\t\t\"priority\": \"normal\",\n\t\t\t\"name\": \"New website\",\n\t\t\t\"description\": \"Redesign of the company website\",\n\t\t\t\"reference\": \"PO-2026-15\",\n\t\t\t\"date\": \"2026-11-01\",\n\t\t\t\"deadline\": \"2027-01-31\",\n\t\t\t\"started_at\": null,\n\t\t\t\"completed_at\": 1794994200,\n\t\t\t\"budget\": {\n\t\t\t\t\"type\": \"hourly\",\n\t\t\t\t\"amount\": \"85.00\",\n\t\t\t\t\"time\": 120,\n\t\t\t\t\"currency\": \"eur\"\n\t\t\t},\n\t\t\t\"extra_fields\": [\n\t\t\t\t{\n\t\t\t\t\t\"label\": \"Site\",\n\t\t\t\t\t\"value\": \"Brussels\"\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false\n\t\t},\n\t\t\"contact\": null,\n\t\t\"phase\": null,\n\t\t\"task\": null,\n\t\t\"team_member\": {\n\t\t\t\"number\": 1,\n\t\t\t\"username\": \"erna\"\n\t\t},\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"cb6d59e5-b8c1-4ab5-9a6e-6e144c24d4ce"},{"name":"Update a time registration","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"5470f1a1-7e5e-44c1-ab3b-c495363a5c1d"}}],"id":"162e681d-354c-4151-913b-a4fb36511733","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"duration\": 7200,\n\t\"description\": \"Wireframes and sitemap\",\n\t\"billed\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/time-registrations/","description":"<p>Update a time registration. Only the fields you send are changed; <code>duration</code> and <code>started_at</code> move the end. A time registration that is on an invoice can no longer be changed (<code>422</code>).</p>\n<p><strong>Body</strong></p>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>project</code></td>\n<td>integer</td>\n<td>on create, without <code>contact</code></td>\n<td>The number of a project.</td>\n</tr>\n<tr>\n<td><code>contact</code></td>\n<td>integer</td>\n<td>on create, without <code>project</code></td>\n<td>The number of a contact.</td>\n</tr>\n<tr>\n<td><code>phase</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The id of a phase of the project.</td>\n</tr>\n<tr>\n<td><code>task</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of a task of the project.</td>\n</tr>\n<tr>\n<td><code>team_member</code></td>\n<td>integer</td>\n<td>no</td>\n<td>The number of a team member. Only a manager can register time for someone else.</td>\n</tr>\n<tr>\n<td><code>started_at</code></td>\n<td>datetime</td>\n<td>with <code>duration</code></td>\n<td><code>YYYY-MM-DD HH:MM:SS</code>.</td>\n</tr>\n<tr>\n<td><code>duration</code></td>\n<td>integer</td>\n<td>no</td>\n<td>In seconds. <strong>With a duration the time registration is finished. Without one, a timer is started.</strong></td>\n</tr>\n<tr>\n<td><code>billable</code></td>\n<td>boolean</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td><code>billed</code></td>\n<td>boolean</td>\n<td>no</td>\n<td>Whether it has been billed already.</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["time-registrations",""],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"ed9524f0-b56c-4fe5-89f1-3f5419e3c4a2","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"duration\": 7200,\n\t\"description\": \"Wireframes and sitemap\",\n\t\"billed\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/time-registrations/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"done\",\n\t\t\"started_at\": 1794906000,\n\t\t\"ended_at\": 1794913200,\n\t\t\"duration\": 7200,\n\t\t\"billable\": true,\n\t\t\"billed\": false,\n\t\t\"billed_at\": null,\n\t\t\"invoiced\": false,\n\t\t\"description\": \"Wireframes and sitemap\",\n\t\t\"project\": {\n\t\t\t\"number\": 1,\n\t\t\t\"project_number\": \"1\",\n\t\t\t\"status\": \"completed\",\n\t\t\t\"priority\": \"normal\",\n\t\t\t\"name\": \"New website\",\n\t\t\t\"description\": \"Redesign of the company website\",\n\t\t\t\"reference\": \"PO-2026-15\",\n\t\t\t\"date\": \"2026-11-01\",\n\t\t\t\"deadline\": \"2027-01-31\",\n\t\t\t\"started_at\": null,\n\t\t\t\"completed_at\": 1794994200,\n\t\t\t\"budget\": {\n\t\t\t\t\"type\": \"hourly\",\n\t\t\t\t\"amount\": \"85.00\",\n\t\t\t\t\"time\": 120,\n\t\t\t\t\"currency\": \"eur\"\n\t\t\t},\n\t\t\t\"extra_fields\": [\n\t\t\t\t{\n\t\t\t\t\t\"label\": \"Site\",\n\t\t\t\t\t\"value\": \"Brussels\"\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false\n\t\t},\n\t\t\"contact\": null,\n\t\t\"phase\": null,\n\t\t\"task\": null,\n\t\t\"team_member\": {\n\t\t\t\"number\": 1,\n\t\t\t\"username\": \"erna\"\n\t\t},\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"162e681d-354c-4151-913b-a4fb36511733"},{"name":"Stop a timer","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"fdd96e1c-c84d-4e33-b72b-0ccc79994369"}}],"id":"e95c230b-b25b-449d-9c05-4bbc47a37857","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/time-registrations//stop","description":"<p>Stop a running timer (<code>422</code> when it is not running).</p>\n","urlObject":{"path":["time-registrations","","stop"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"410b5cac-fa61-43e0-8bba-6f217675f553","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/time-registrations//stop"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 2,\n\t\t\"status\": \"done\",\n\t\t\"started_at\": 1794996000,\n\t\t\"ended_at\": 1794999600,\n\t\t\"duration\": 3600,\n\t\t\"billable\": true,\n\t\t\"billed\": false,\n\t\t\"billed_at\": null,\n\t\t\"invoiced\": false,\n\t\t\"description\": \"Homepage design\",\n\t\t\"project\": {\n\t\t\t\"number\": 1,\n\t\t\t\"project_number\": \"1\",\n\t\t\t\"status\": \"completed\",\n\t\t\t\"priority\": \"normal\",\n\t\t\t\"name\": \"New website\",\n\t\t\t\"description\": \"Redesign of the company website\",\n\t\t\t\"reference\": \"PO-2026-15\",\n\t\t\t\"date\": \"2026-11-01\",\n\t\t\t\"deadline\": \"2027-01-31\",\n\t\t\t\"started_at\": null,\n\t\t\t\"completed_at\": 1794994200,\n\t\t\t\"budget\": {\n\t\t\t\t\"type\": \"hourly\",\n\t\t\t\t\"amount\": \"85.00\",\n\t\t\t\t\"time\": 120,\n\t\t\t\t\"currency\": \"eur\"\n\t\t\t},\n\t\t\t\"extra_fields\": [\n\t\t\t\t{\n\t\t\t\t\t\"label\": \"Site\",\n\t\t\t\t\t\"value\": \"Brussels\"\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false\n\t\t},\n\t\t\"contact\": null,\n\t\t\"phase\": null,\n\t\t\"task\": null,\n\t\t\"team_member\": {\n\t\t\t\"number\": 1,\n\t\t\t\"username\": \"erna\"\n\t\t},\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"e95c230b-b25b-449d-9c05-4bbc47a37857"},{"name":"Trash a time registration","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"a658e8a4-a203-4e15-92c9-47b36dc7c117"}}],"id":"80736be0-7f02-4ab5-b817-6e4d37938ec9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/time-registrations//trash","description":"<p>Put a time registration in the trash. Not possible when it is on an invoice (<code>422</code>).</p>\n","urlObject":{"path":["time-registrations","","trash"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"a633e9e1-5a8a-4bde-9ab2-48add28880cd","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/time-registrations//trash"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"done\",\n\t\t\"started_at\": 1794906000,\n\t\t\"ended_at\": 1794913200,\n\t\t\"duration\": 7200,\n\t\t\"billable\": true,\n\t\t\"billed\": false,\n\t\t\"billed_at\": null,\n\t\t\"invoiced\": false,\n\t\t\"description\": \"Wireframes and sitemap\",\n\t\t\"project\": {\n\t\t\t\"number\": 1,\n\t\t\t\"project_number\": \"1\",\n\t\t\t\"status\": \"completed\",\n\t\t\t\"priority\": \"normal\",\n\t\t\t\"name\": \"New website\",\n\t\t\t\"description\": \"Redesign of the company website\",\n\t\t\t\"reference\": \"PO-2026-15\",\n\t\t\t\"date\": \"2026-11-01\",\n\t\t\t\"deadline\": \"2027-01-31\",\n\t\t\t\"started_at\": null,\n\t\t\t\"completed_at\": 1794994200,\n\t\t\t\"budget\": {\n\t\t\t\t\"type\": \"hourly\",\n\t\t\t\t\"amount\": \"85.00\",\n\t\t\t\t\"time\": 120,\n\t\t\t\t\"currency\": \"eur\"\n\t\t\t},\n\t\t\t\"extra_fields\": [\n\t\t\t\t{\n\t\t\t\t\t\"label\": \"Site\",\n\t\t\t\t\t\"value\": \"Brussels\"\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false\n\t\t},\n\t\t\"contact\": null,\n\t\t\"phase\": null,\n\t\t\"task\": null,\n\t\t\"team_member\": {\n\t\t\t\"number\": 1,\n\t\t\t\"username\": \"erna\"\n\t\t},\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed_at\": 1794999600,\n\t\t\"trashed\": true\n\t}\n}"}],"_postman_id":"80736be0-7f02-4ab5-b817-6e4d37938ec9"},{"name":"Restore a time registration","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });","pm.test('Response is JSON', function () { pm.response.to.be.json; });"],"id":"6fbbc1d8-7602-4199-9d24-c77c7469d8a6"}}],"id":"a79521a9-9513-4bb2-9c17-117cda0a65cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/time-registrations//restore","description":"<p>Restore a time registration from the trash.</p>\n","urlObject":{"path":["time-registrations","","restore"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"e9e078c1-253c-4ae3-8ebb-f5816b3d9321","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/time-registrations//restore"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"done\",\n\t\t\"started_at\": 1794906000,\n\t\t\"ended_at\": 1794913200,\n\t\t\"duration\": 7200,\n\t\t\"billable\": true,\n\t\t\"billed\": false,\n\t\t\"billed_at\": null,\n\t\t\"invoiced\": false,\n\t\t\"description\": \"Wireframes and sitemap\",\n\t\t\"project\": {\n\t\t\t\"number\": 1,\n\t\t\t\"project_number\": \"1\",\n\t\t\t\"status\": \"completed\",\n\t\t\t\"priority\": \"normal\",\n\t\t\t\"name\": \"New website\",\n\t\t\t\"description\": \"Redesign of the company website\",\n\t\t\t\"reference\": \"PO-2026-15\",\n\t\t\t\"date\": \"2026-11-01\",\n\t\t\t\"deadline\": \"2027-01-31\",\n\t\t\t\"started_at\": null,\n\t\t\t\"completed_at\": 1794994200,\n\t\t\t\"budget\": {\n\t\t\t\t\"type\": \"hourly\",\n\t\t\t\t\"amount\": \"85.00\",\n\t\t\t\t\"time\": 120,\n\t\t\t\t\"currency\": \"eur\"\n\t\t\t},\n\t\t\t\"extra_fields\": [\n\t\t\t\t{\n\t\t\t\t\t\"label\": \"Site\",\n\t\t\t\t\t\"value\": \"Brussels\"\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false\n\t\t},\n\t\t\"contact\": null,\n\t\t\"phase\": null,\n\t\t\"task\": null,\n\t\t\"team_member\": {\n\t\t\t\"number\": 1,\n\t\t\t\"username\": \"erna\"\n\t\t},\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794996000,\n\t\t\"trashed\": false\n\t}\n}"}],"_postman_id":"a79521a9-9513-4bb2-9c17-117cda0a65cb"},{"name":"Delete a time registration","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () { pm.response.to.have.status(200); });"],"id":"db62b77f-532f-4676-a3b8-f0586ec8ac48"}}],"id":"413609e0-794b-4c05-8105-d9bbc3c23740","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/time-registrations/","description":"<p>Delete a time registration. One that is not in the trash is put in the trash first, one that is in the trash is deleted for good. Not possible when it is on an invoice (<code>422</code>).</p>\n","urlObject":{"path":["time-registrations",""],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"12871a88-8b7b-4306-b025-ad8e50ab555a","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{api_url}}/time-registrations/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"number\": 1,\n\t\t\"status\": \"done\",\n\t\t\"started_at\": 1794906000,\n\t\t\"ended_at\": 1794913200,\n\t\t\"duration\": 7200,\n\t\t\"billable\": true,\n\t\t\"billed\": false,\n\t\t\"billed_at\": null,\n\t\t\"invoiced\": false,\n\t\t\"description\": \"Wireframes and sitemap\",\n\t\t\"project\": {\n\t\t\t\"number\": 1,\n\t\t\t\"project_number\": \"1\",\n\t\t\t\"status\": \"completed\",\n\t\t\t\"priority\": \"normal\",\n\t\t\t\"name\": \"New website\",\n\t\t\t\"description\": \"Redesign of the company website\",\n\t\t\t\"reference\": \"PO-2026-15\",\n\t\t\t\"date\": \"2026-11-01\",\n\t\t\t\"deadline\": \"2027-01-31\",\n\t\t\t\"started_at\": null,\n\t\t\t\"completed_at\": 1794994200,\n\t\t\t\"budget\": {\n\t\t\t\t\"type\": \"hourly\",\n\t\t\t\t\"amount\": \"85.00\",\n\t\t\t\t\"time\": 120,\n\t\t\t\t\"currency\": \"eur\"\n\t\t\t},\n\t\t\t\"extra_fields\": [\n\t\t\t\t{\n\t\t\t\t\t\"label\": \"Site\",\n\t\t\t\t\t\"value\": \"Brussels\"\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"created_at\": 1794996000,\n\t\t\t\"updated_at\": 1794996000,\n\t\t\t\"trashed\": false\n\t\t},\n\t\t\"contact\": null,\n\t\t\"phase\": null,\n\t\t\"task\": null,\n\t\t\"team_member\": {\n\t\t\t\"number\": 1,\n\t\t\t\"username\": \"erna\"\n\t\t},\n\t\t\"created_at\": 1794996000,\n\t\t\"updated_at\": 1794999600,\n\t\t\"trashed_at\": 1794999600,\n\t\t\"trashed\": true\n\t}\n}"}],"_postman_id":"413609e0-794b-4c05-8105-d9bbc3c23740"}],"id":"2f77c977-a01a-49f7-80ba-278c5eee1448","description":"<p>The time that was registered on projects and contacts. Needs the Starter Plus or Pro plan. A team member only sees their own time registrations, a manager sees them all.</p>\n","_postman_id":"2f77c977-a01a-49f7-80ba-278c5eee1448"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","requests":{},"exec":[""],"id":"f0b883ce-75b4-4f2c-ba22-0935c66417e3"}},{"listen":"test","script":{"type":"text/javascript","requests":{},"exec":[""],"id":"fb17f30e-6057-4d4e-b0a0-b46a26ecec49"}}],"variable":[{"key":"api_url","secret":true},{"key":"api_token","value":""},{"key":"offer_number","value":""},{"key":"cost_number","value":""},{"key":"project_number","value":""},{"key":"time_registration_number","value":""},{"key":"customer_number","value":""},{"key":"supplier_number","value":""}]}