{"info":{"_postman_id":"cec7ea8f-f0fe-4591-a55b-ae72bd6125ad","name":"VAT API","description":"<html><head></head><body><p>Welcome to the VAT API docs. These docs are hosted by the Postman service, you can select various languages to see the example requests and reponses in your preferred programming language. Where multiple responses can be generated by a particular resource you can select on the right hand side to see the different type of responses a resource might produce.</p>\n<p><strong>Note:- These docs are for the current Version 2 of the VAT API service, if you require the Version 1 docs they can <a href=\"https://vatapi.com/docs/\">viewed here</a></strong></p>\n<p>If you are new to VAT API grab an API Key by creating a <strong>30 day free trial</strong> account at <a href=\"https://vatapi.com\">vatapi.com</a></p>\n<h1 id=\"endpoints\">Endpoints</h1>\n<p><img src=\"https://vatapi.com/assets/images/docs-aws-api-gateway-icon.png\" width=\"80\" height=\"80\" alt=\"Amazon API Gateway Logo\"> VAT API is proxied and protected by the <a href=\"https://aws.amazon.com/api-gateway/\">Amazon API Gateway</a> service.</p>\n<p>We run the following endpoints:-</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Region</th>\n<th>Endpoint</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>EU</td>\n<td><a href=\"https://eu.vatapi.com/v2\">https://eu.vatapi.com/v2</a></td>\n<td>Businesses trading within the EU region will benefit from connecting to the EU region endpoint which is located in Amazon's London data centre.</td>\n</tr>\n<tr>\n<td>Global</td>\n<td><a href=\"https://global.vatapi.com/v2\">https://global.vatapi.com/v2</a></td>\n<td>International businesses selling products or services into the EU region will benefit from connecting to the Global region endpoint which utilises Amazon's global Cloudfront network of edge servers.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Enterprise Customers</strong></p>\n<p>For Enterprise accounts with their own endpoint, please <a href=\"https://vatapi.com/support\">contact support</a> for more information.</p>\n<hr>\n<h1 id=\"authentication\">Authentication</h1>\n<p>Authenticate each api request by passing a valid <code>x-api-key</code> header value.</p>\n<p>Your API Key can be found in the account dashboard:- <a href=\"https://vatapi.com/login\">https://vatapi.com/login</a> make sure to store your API Key somewhere secure and never share publicly.</p>\n<h1 id=\"postman\">Postman</h1>\n<p>If you're an existing <a href=\"https://www.getpostman.com/\">Postman</a> user you can quickly test VAT API functionality by clicking the 'Run in Postman' button in the top right corner of this page, this will prompt you to import VAT API as a Postman Collection...</p>\n<p>The VAT API collection expects two Postman variables to be set:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>region</strong></td>\n<td>Determines which API endpoint to connect to. Set to 'eu' or 'global'</td>\n</tr>\n<tr>\n<td><strong>x-api-key</strong></td>\n<td>Sets the required API Key header value. Set this to the 'x-api-key' value found in your account dashboard.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Information on setting up and using Postman variables can be <a href=\"https://www.getpostman.com/docs/v6/postman/environments_and_globals/variables\">found here</a></p>\n<p>If you haven't used Postman before we highly recommend you install the software as it will save you time testing API functionality before embarking on writing any integration code.</p>\n<h1 id=\"rate-limit\">Rate limit</h1>\n<p>To prevent VAT API from being overwhelmed requests are rate limited. Sending to many requests may trigger responses with the HTTP status code 429. The limits are dynamic and we reserve the right to adjust them at any time to accomodate customer demand.</p>\n<h1 id=\"api-conventions\">API Conventions</h1>\n<ul>\n<li>All responses are in JSON format.</li>\n<li>JSON numbers are bounded to a signed 32-bit integer.</li>\n<li>Query parameters and JSON fields use lower case, with underscores separating words.</li>\n<li>The status of the HTTP response indicates whether the request has succeeded or failed. For convenience the status code is contained in each JSON response.</li>\n<li>If a request is successful the JSON message field defaults to the string 'success' otherwise the message will be descriptive of what may have have caused the error.</li>\n</ul>\n<h1 id=\"example-response\">Example Response</h1>\n<p><strong>400 Bad Request</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"code\": 400,\n    \"message\": \"Please send a valid JSON payload in the body of the request.\"\n}\n</code></pre><h1 id=\"response-codes\">Response Codes</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Name</th>\n<th>Description</th>\n<th>Suggested Action</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>OK</td>\n<td>The request has succeeded.</td>\n<td>n/a</td>\n</tr>\n<tr>\n<td>201</td>\n<td>Created</td>\n<td>The request has been fulfilled and has resulted in one or more new resources being created.</td>\n<td>n/a</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad Request</td>\n<td>The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).</td>\n<td>Make sure that your request includes all of the required fields and your data is valid.</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Forbidden</td>\n<td>You don't have the needed authorization to make the request.</td>\n<td>Make sure you are using a valid API Key and have the necessary <code>x-api-key</code> header value set for the request.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not Found</td>\n<td>The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.</td>\n<td>Check you are requesting a resource that actually exists.</td>\n</tr>\n<tr>\n<td>429</td>\n<td>Too Many Requests</td>\n<td>The user has sent too many requests in a given amount of time.</td>\n<td>Reduce the number of requests/minute made to the API and check you are not exceedig the number of requests your subscription plan allows, also check you're not making multiple requests for the same resource/dataset for example you may have inadvertently created a never ending loop.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error</td>\n<td>The server encountered an unexpected condition that prevented it from fulfilling the request.</td>\n<td>The issue maybe temporary, if it persists contact support.</td>\n</tr>\n</tbody>\n</table>\n</div></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Endpoints","slug":"endpoints"},{"content":"Authentication","slug":"authentication"},{"content":"Postman","slug":"postman"},{"content":"Rate limit","slug":"rate-limit"},{"content":"API Conventions","slug":"api-conventions"},{"content":"Example Response","slug":"example-response"},{"content":"Response Codes","slug":"response-codes"}],"owner":"4196441","collectionId":"cec7ea8f-f0fe-4591-a55b-ae72bd6125ad","publishedId":"RztsnRaL","public":true,"customColor":{"top-bar":"FBFBFB","right-sidebar":"303030","highlight":"001E81"},"publishDate":"2021-04-08T11:13:56.000Z"},"item":[{"name":"VAT Resources","item":[{"name":"VAT Rates","id":"8881e3d1-61b0-442a-8eb9-80aa35515601","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":"https://{{region}}.vatapi.com/v2/vat-rates?rate_type={{rate_type}}","urlObject":{"protocol":"https","path":["v2","vat-rates"],"host":["{{region}}","vatapi","com"],"query":[{"description":{"content":"<p>(String | Required) <code>TBE</code> or <code>GOODS</code>.</p>\n","type":"text/plain"},"key":"rate_type","value":"{{rate_type}}"}],"variable":[]}},"response":[{"id":"47a3e32d-3616-4f11-8611-74b5b40c57f3","name":"VAT Rates","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":{"raw":"https://{{region}}.vatapi.com/v2/vat-rates?rate_type=TBE","protocol":"https","host":["{{region}}","vatapi","com"],"path":["v2","vat-rates"],"query":[{"key":"rate_type","value":"TBE","description":"(String) 'TBE' or 'GOODS'."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Feb 2019 16:37:24 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"878"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a484e08a-2fad-11e9-b07b-b9c535952f30"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"x-amzn-Remapped-Connection","value":"Keep-Alive"},{"key":"x-amz-apigw-id","value":"VDAmvGt9LPEFasg="},{"key":"x-amzn-Remapped-Server","value":"London"},{"key":"X-Powered-By","value":"VAT API Version 2"},{"key":"x-amzn-Remapped-Date","value":"Wed, 13 Feb 2019 16:37:24 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"rate_type\": \"TBE\",\n    \"countries\": {\n        \"AT\": {\n            \"country\": \"Austria\",\n            \"rates\": {\n                \"telecoms\": {\n                    \"standard\": {\n                        \"rate\": 20,\n                        \"comments\": null\n                    }\n                },\n                \"broadcasting\": {\n                    \"standard\": {\n                        \"rate\": 10,\n                        \"comments\": null\n                    }\n                },\n                \"electronic\": {\n                    \"standard\": {\n                        \"rate\": 20,\n                        \"comments\": null\n                    }\n                }\n            }\n        },\n        \"BE\": {\n            \"country\": \"Belgium\",\n            \"rates\": {\n                \"telecoms\": {\n                    \"standard\": {\n                        \"rate\": 21,\n                        \"comments\": null\n                    }\n                },\n                \"broadcasting\": {\n                    \"standard\": {\n                        \"rate\": 21,\n                        \"comments\": null\n                    }\n                },\n                \"electronic\": {\n                    \"standard\": {\n                        \"rate\": 21,\n                        \"comments\": null\n                    },\n                    \"reduced_1\": {\n                        \"rate\": 6,\n                        \"comments\": \"eBooks\"\n                    }\n                }\n            }\n        }..."}],"_postman_id":"8881e3d1-61b0-442a-8eb9-80aa35515601"},{"name":"VAT Rate Check","id":"cf26c186-c87f-4820-9a72-c4a28998e765","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://{{region}}.vatapi.com/v2/vat-rate-check?rate_type={{rate_type}}&country_code={{country_code}}&ip_address={{ip_address}}&filter={{filter}}","description":"<p>Retrieve an EU member states current VAT rate by setting the <code>country_code</code> query parameter to an EU member states 2 digit ISO country code, or allow VAT API to geolocate the country from an <code>ip_address</code> value. IPV6 ip addresses are supported.</p>\n<p>When geolocating by an ip address you will notice there is a <code>geolocation_score</code> value returned in the response. This is a measure of the accuracy of the geolocation process. An integer value from 0-100 represents a confidence value that the country is correct.</p>\n<p>Setting the <code>filter</code> parameter to 'ebooks' or 'enewspapers' will return the specific VAT rate for the member state, or if those product types do not have a specific VAT rate the standard <code>rates</code> object will be returned. In addition the <code>filter_match</code> value in the response will be Boolean true or false to indicate if a match was found.</p>\n","urlObject":{"protocol":"https","path":["v2","vat-rate-check"],"host":["{{region}}","vatapi","com"],"query":[{"description":{"content":"<p>(String | Required) <code>TBE</code> or <code>GOODS</code>.</p>\n","type":"text/plain"},"key":"rate_type","value":"{{rate_type}}"},{"description":{"content":"<p>(String) 2 digit ISO member state country code.</p>\n","type":"text/plain"},"key":"country_code","value":"{{country_code}}"},{"description":{"content":"<p>(String) IP address to geolocate.</p>\n","type":"text/plain"},"key":"ip_address","value":"{{ip_address}}"},{"description":{"content":"<p>(String) Specify a filter value <code>ebooks</code> or <code>enewspapers</code>.</p>\n","type":"text/plain"},"key":"filter","value":"{{filter}}"}],"variable":[]}},"response":[{"id":"359f39f0-f785-4c46-a813-6849b01bcd5b","name":"VAT Rate Check - by IP Address","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://{{region}}.vatapi.com/v2/vat-rate-check?rate_type=TBE&ip_address=104.82.96.221","protocol":"https","host":["{{region}}","vatapi","com"],"path":["v2","vat-rate-check"],"query":[{"key":"rate_type","value":"TBE","description":"(String | Required) `TBE` or `GOODS`."},{"key":"country_code","value":"LU","description":"(String) 2 digit ISO member state country code.","disabled":true},{"key":"ip_address","value":"104.82.96.221","description":"(String) IP address to geolocate."},{"key":"filter","value":"","description":"(String) Specify a filter value `ebooks` or `enewspapers`.","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Feb 2019 19:52:50 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"190"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"f1e0643b-2fc8-11e9-b918-81a1238b761d"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"x-amzn-Remapped-Connection","value":"Keep-Alive"},{"key":"x-amz-apigw-id","value":"VDdO9E9yrPEFWug="},{"key":"x-amzn-Remapped-Server","value":"London"},{"key":"X-Powered-By","value":"VAT API Version 2"},{"key":"x-amzn-Remapped-Date","value":"Wed, 13 Feb 2019 19:52:50 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"country_code\": \"NL\",\n    \"country\": \"Netherlands\",\n    \"geolocation_score\": 99,\n    \"vat_applies\": true,\n    \"rate_type\": \"TBE\",\n    \"rates\": {\n        \"telecoms\": {\n            \"standard\": {\n                \"rate\": 21,\n                \"comments\": null\n            }\n        },\n        \"broadcasting\": {\n            \"standard\": {\n                \"rate\": 21,\n                \"comments\": null\n            }\n        },\n        \"electronic\": {\n            \"standard\": {\n                \"rate\": 21,\n                \"comments\": null\n            }\n        }\n    }\n}"},{"id":"44fce383-ea85-4d33-9090-0a3ff7bfb8b2","name":"VAT Rate Check - by Country Code & Filter","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://{{region}}.vatapi.com/v2/vat-rate-check?rate_type=TBE&country_code=IT&filter=ebooks","protocol":"https","host":["{{region}}","vatapi","com"],"path":["v2","vat-rate-check"],"query":[{"key":"rate_type","value":"TBE","description":"(String | Required) `TBE` or `GOODS`."},{"key":"country_code","value":"IT","description":"(String) 2 digit ISO member state country code."},{"key":"ip_address","value":"104.82.96.221","description":"(String) IP address to geolocate.","disabled":true},{"key":"filter","value":"ebooks","description":"(String) Specify a filter value `ebooks` or `enewspapers`."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Feb 2019 20:12:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"125"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"b7ab163f-2fcb-11e9-a1e3-61c74d8ae895"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"x-amzn-Remapped-Connection","value":"Keep-Alive"},{"key":"x-amz-apigw-id","value":"VDgJBGmxrPEFumQ="},{"key":"x-amzn-Remapped-Server","value":"London"},{"key":"X-Powered-By","value":"VAT API Version 2"},{"key":"x-amzn-Remapped-Date","value":"Wed, 13 Feb 2019 20:12:41 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"country_code\": \"IT\",\n    \"country\": \"Italy\",\n    \"vat_applies\": true,\n    \"rate_type\": \"TBE\",\n    \"filter_match\": true,\n    \"rate\": 4\n}"},{"id":"a79addf0-77d2-49aa-be63-897846202a2b","name":"VAT Rate Check - by Country Code","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://{{region}}.vatapi.com/v2/vat-rate-check?rate_type=TBE&country_code=LU","protocol":"https","host":["{{region}}","vatapi","com"],"path":["v2","vat-rate-check"],"query":[{"key":"rate_type","value":"TBE","description":"(String | Required) `TBE` or `GOODS`."},{"key":"country_code","value":"LU","description":"(String) 2 digit ISO country code of member state."},{"key":"ip_address","value":null,"description":"(String) IP address to geolocate.","disabled":true},{"key":"filter","value":"","description":"(String) Specify a filter value `ebooks` or `enewspapers`.","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Feb 2019 19:44:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"276"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"d51129e5-2fc7-11e9-8a03-4b0d49d3fcff"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"x-amzn-Remapped-Connection","value":"Keep-Alive"},{"key":"x-amz-apigw-id","value":"VDcETFY8rPEFgnA="},{"key":"x-amzn-Remapped-Server","value":"London"},{"key":"X-Powered-By","value":"VAT API Version 2"},{"key":"x-amzn-Remapped-Date","value":"Wed, 13 Feb 2019 19:44:53 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"country_code\": \"LU\",\n    \"country\": \"Luxembourg\",\n    \"vat_applies\": true,\n    \"rate_type\": \"TBE\",\n    \"rates\": {\n        \"telecoms\": {\n            \"standard\": {\n                \"rate\": 17,\n                \"comments\": null\n            }\n        },\n        \"broadcasting\": {\n            \"standard\": {\n                \"rate\": 17,\n                \"comments\": \"Reception of radio and TV broadcasting services whose content is exclusively for adults, regardless of the electronic communications network used\"\n            },\n            \"reduced_1\": {\n                \"rate\": 3,\n                \"comments\": null\n            }\n        },\n        \"electronic\": {\n            \"standard\": {\n                \"rate\": 17,\n                \"comments\": null\n            }\n        }\n    }\n}"}],"_postman_id":"cf26c186-c87f-4820-9a72-c4a28998e765"},{"name":"VAT Number Validation","id":"8c4e380c-6271-4e4c-bc3e-3059f6eb3ea1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":"https://{{region}}.vatapi.com/v2/vat-number-check?vatid={{vatid}}&requester_vatid={{requester_vatid}}","description":"<p>Validate UK &amp; EU member state VAT numbers, this resource queries HMRC for UK VAT numbers and the VIES database ran by the European Commission for EU member state VAT numbers.</p>\n<p>For audit trail purposes you can optionally specify your own organisations VAT Number as a <code>requester_vatid</code> query parameter, this will return  <code>consultation_number</code> and <code>consultation_authority</code> values. If you want to be able to prove to a Tax Administration of a Member State that you have checked a given VAT number at a given time, and obtained a given validation reply, please keep this consultation number in your archives.</p>\n<p><strong>Note:- Since the UK left the EU it is important to understand that UK VAT registered companies can only request a consultation number when validating other UK VAT numbers, conversely EU companies can only request consultation numbers for other EU VAT numbers. If you pass a <code>requester_vatid</code> value where not applicable you will receive an error <code>status</code> and the <code>fault_string</code> will read 'Invalid Requester Country - Only EU VAT-registered businesses can request a consultation number from VIES' or 'Invalid Requester Country - Only UK VAT-registered businesses can request a consultation number from HMRC'.</strong></p>\n<p><strong>The <code>validation</code> response object</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"validation\": {\n    \"status\": \"ok\",\n    \"fault_string\": null,\n    \"valid\": true,\n    \"request_date\": \"2019-02-13+01:00\",\n    \"consultation_number\": null,\n    \"consultation_authority\": null,\n    \"company_name\": \"AMAZON EUROPE CORE S.A R.L.\",\n    \"company_address\": \"38, AVENUE JOHN F. KENNEDY\\nL-1855  LUXEMBOURG\"\n}\n</code></pre><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>String</td>\n<td>Will return 'ok' if the authorities database is accessible, 'error' if inaccessible and 'down' if the service is completely inaccessible.</td>\n</tr>\n<tr>\n<td>fault_string</td>\n<td>String</td>\n<td>Will return a fault string upon an 'error' status, otherwise it will be set to null.</td>\n</tr>\n<tr>\n<td>valid</td>\n<td>Boolean</td>\n<td>Will return true if a VAT number is valid, false if invalid.</td>\n</tr>\n<tr>\n<td>request_date</td>\n<td>String</td>\n<td>The date of the request.</td>\n</tr>\n<tr>\n<td>consultation_number</td>\n<td>String</td>\n<td>A unique string returned by HMRC or the VIES service to identify the request for audit purposes.</td>\n</tr>\n<tr>\n<td>consultation_authority</td>\n<td>String</td>\n<td>The name of the relevant authority that was used to check the validity of the given <code>vatid</code></td>\n</tr>\n<tr>\n<td>company_name</td>\n<td>String</td>\n<td>The name of the organisation associated with the <code>vatid</code>. If this value returns:- '---', this means that the Member State that issued the VAT number does not allow the disclosure of this information.</td>\n</tr>\n<tr>\n<td>company_address</td>\n<td>String</td>\n<td>The address of the organisation associated with the <code>vatid</code>. If this value returns:- '---', this means that the Member State that issued the VAT number does not allow the disclosure of this information.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v2","vat-number-check"],"host":["{{region}}","vatapi","com"],"query":[{"description":{"content":"<p>(String | Required) Max 16 alpha numeric characters. Avoid spaces and other special characters. If you need to check if the VIES service is available without sending a VAT number set this value to 'GB100', this will return a <code>validation</code> &gt; <code>status</code> value of 'ok' if the service is online.</p>\n","type":"text/plain"},"key":"vatid","value":"{{vatid}}"},{"description":{"content":"<p>(String) Max 16 alpha numeric characters. Avoid spaces and other special characters.</p>\n","type":"text/plain"},"key":"requester_vatid","value":"{{requester_vatid}}"}],"variable":[]}},"response":[{"id":"2addc318-77ec-4ced-9b78-46c8ee354f81","name":"VAT Number Validation - With Requester VAT Number","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"},{"key":"","value":"","type":"text","disabled":true}],"url":{"raw":"https://{{region}}.vatapi.com/v2/vat-number-check?vatid=LU26375245&requester_vatid=GB289111588","protocol":"https","host":["{{region}}","vatapi","com"],"path":["v2","vat-number-check"],"query":[{"key":"vatid","value":"LU26375245"},{"key":"requester_vatid","value":"GB289111588"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Feb 2019 21:20:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"287"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"3b5bc49d-2fd5-11e9-8362-3377e7df10e8"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"x-amzn-Remapped-Connection","value":"Keep-Alive"},{"key":"x-amz-apigw-id","value":"VDqHhHkErPEFkvQ="},{"key":"x-amzn-Remapped-Server","value":"London"},{"key":"X-Powered-By","value":"VAT API Version 2"},{"key":"x-amzn-Remapped-Date","value":"Wed, 13 Feb 2019 21:20:48 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"country_code\": \"LU\",\n    \"vat_number\": 26375245,\n    \"requester_country_code\": \"GB\",\n    \"requester_vat_number\": 289111588,\n    \"validation\": {\n        \"status\": \"ok\",\n        \"fault_string\": null,\n        \"valid\": true,\n        \"request_date\": \"2019-02-13+01:00\",\n        \"consultation_number\": \"WAPIAAAAWjou8x4M\",\n        \"consultation_authority\": \"VIES\",\n        \"company_name\": \"AMAZON EUROPE CORE S.A R.L.\",\n        \"company_address\": \"38, AVENUE JOHN F. KENNEDY\\nL-1855  LUXEMBOURG\"\n    }\n}"},{"id":"63e60372-f05e-46f8-9c5e-19becb8e8055","name":"VAT Number Validation","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"},{"key":"","value":"","type":"text","disabled":true}],"url":{"raw":"https://{{region}}.vatapi.com/v2/vat-number-check?vatid=LU26375245","protocol":"https","host":["{{region}}","vatapi","com"],"path":["v2","vat-number-check"],"query":[{"key":"vatid","value":"LU26375245"},{"key":"requester_vatid","value":"GB289111588","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Feb 2019 21:19:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"267"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"1cd4fb0c-2fd5-11e9-bc02-97ad888aa20a"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"x-amzn-Remapped-Connection","value":"Keep-Alive"},{"key":"x-amz-apigw-id","value":"VDp_hHTLLPEFW9g="},{"key":"x-amzn-Remapped-Server","value":"London"},{"key":"X-Powered-By","value":"VAT API Version 2"},{"key":"x-amzn-Remapped-Date","value":"Wed, 13 Feb 2019 21:19:56 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"country_code\": \"LU\",\n    \"vat_number\": 26375245,\n    \"requester_country_code\": null,\n    \"requester_vat_number\": null,\n    \"validation\": {\n        \"status\": \"ok\",\n        \"fault_string\": null,\n        \"valid\": true,\n        \"request_date\": \"2019-02-13+01:00\",\n        \"consultation_number\": null,\n        \"consultation_authority\": \"VIES\",\n        \"company_name\": \"AMAZON EUROPE CORE S.A R.L.\",\n        \"company_address\": \"38, AVENUE JOHN F. KENNEDY\\nL-1855  LUXEMBOURG\"\n    }\n}"}],"_postman_id":"8c4e380c-6271-4e4c-bc3e-3059f6eb3ea1"},{"name":"VAT Price","id":"22d8ea61-5f41-4e22-91c5-c6dcb377e575","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":"https://{{region}}.vatapi.com/v2/vat-price?country_code={{country_code}}&price={{price}}&rate_type={{rate_type}}&rate_category={{rate_category}}&rate_level={{rate_level}}&vat_charging_method={{vat_charging_method}}","description":"<p>The VAT Price resource is a great time saver for shopping cart applications, simply pass in the country code of the customer, the price of the product/service they are purchasing, and the VAT Price resource will calculate the relevant VAT totals.</p>\n","urlObject":{"protocol":"https","path":["v2","vat-price"],"host":["{{region}}","vatapi","com"],"query":[{"description":{"content":"<p>(String | Required) 2 digit ISO member state country code.</p>\n","type":"text/plain"},"key":"country_code","value":"{{country_code}}"},{"description":{"content":"<p>(Float | Required)  The price of the product or service.</p>\n","type":"text/plain"},"key":"price","value":"{{price}}"},{"description":{"content":"<p>(String | Required) <code>TBE</code> or <code>GOODS</code>.</p>\n","type":"text/plain"},"key":"rate_type","value":"{{rate_type}}"},{"description":{"content":"<p>(String) Only applicable to <code>TBE</code> rates, specify the category for example; <code>telecoms</code>, <code>broadcasting</code> or <code>electronic</code>.</p>\n","type":"text/plain"},"key":"rate_category","value":"{{rate_category}}"},{"description":{"content":"<p>(String) Specify a rate level for example; <code>standard</code>, <code>reduced_1</code>, <code>reduced_2</code>, <code>super_reduced</code> or <code>parking</code>, defaults to <code>standard</code>.</p>\n","type":"text/plain"},"key":"rate_level","value":"{{rate_level}}"},{"description":{"content":"<p>(String) Is the 'price' value <code>exclusive</code> or <code>inclusive</code> of VAT? defaults to <code>exclusive</code>.</p>\n","type":"text/plain"},"key":"vat_charging_method","value":"{{vat_charging_method}}"}],"variable":[]}},"response":[{"id":"4bebada5-a59a-484f-b0b0-d2d43cbd8efd","name":"VAT Price - TBE - Price Excludes VAT","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":{"raw":"https://{{region}}.vatapi.com/v2/vat-price?country_code=IT&price=9.99&rate_type=TBE&rate_category=electronic&rate_level=reduced_1&vat_charging_method","protocol":"https","host":["{{region}}","vatapi","com"],"path":["v2","vat-price"],"query":[{"key":"country_code","value":"IT"},{"key":"price","value":"9.99"},{"key":"rate_type","value":"TBE"},{"key":"rate_category","value":"electronic"},{"key":"rate_level","value":"reduced_1"},{"key":"vat_charging_method","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 29 Mar 2019 19:54:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"185"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"655c0941-525c-11e9-a9a7-3162c24edfcf"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"x-amzn-Remapped-Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=iNVYmJVKdtmlTXrpjlgPSERsuQsw7Mx6SiDG9VEt4qQJPJsckBp6d2yQV8IdhyJT/Ey7Yeid/9v4u56n5iy1TidDAAQfpExCpIkSr7MZomlcs9F2+Tfc405bsrA+; Expires=Fri, 05 Apr 2019 19:54:00 GMT; Path=/"},{"key":"x-amz-apigw-id","value":"XUepyH11rPEFTqw="},{"key":"x-amzn-Remapped-Server","value":"London"},{"key":"X-Powered-By","value":"VAT API Version 2"},{"key":"x-amzn-Remapped-Date","value":"Fri, 29 Mar 2019 19:54:00 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"country_code\": \"IT\",\n    \"country\": \"Italy\",\n    \"rate_type\": \"TBE\",\n    \"rate_category\": \"electronic\",\n    \"rate_level\": \"reduced_1\",\n    \"vat_charging_method\": \"exclusive\",\n    \"vat_rate\": 4,\n    \"price\": 9.99,\n    \"price_excl_vat\": 9.99,\n    \"price_incl_vat\": 10.39,\n    \"vat_total\": 0.4\n}"},{"id":"c277494d-ca70-4934-8d55-f3a451a219c8","name":"VAT Price - GOODS - Price Includes VAT","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":{"raw":"https://{{region}}.vatapi.com/v2/vat-price?country_code=NL&price=9.99&rate_type=GOODS&rate_category=electronic&rate_level=reduced_1&vat_charging_method=inclusive","protocol":"https","host":["{{region}}","vatapi","com"],"path":["v2","vat-price"],"query":[{"key":"country_code","value":"NL"},{"key":"price","value":"9.99"},{"key":"rate_type","value":"GOODS"},{"key":"rate_category","value":"electronic"},{"key":"rate_level","value":"reduced_1"},{"key":"vat_charging_method","value":"inclusive"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 29 Mar 2019 20:11:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"182"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"d6dad64f-525e-11e9-a9a7-3162c24edfcf"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"x-amzn-Remapped-Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=CO+3xrbrg+OHcFdWlsZp1HbCITj1sIUMysKrk+MakMG8/PY11SlI3COPC6O/Rqbl7SkpY2IoT3Yj0KRwIHF2DaaPXEePtTJjHN6Sq7kNqIv8fmhGuTBJGHoNloUP; Expires=Fri, 05 Apr 2019 20:11:29 GMT; Path=/"},{"key":"x-amz-apigw-id","value":"XUhNwES6rPEFTqw="},{"key":"x-amzn-Remapped-Server","value":"London"},{"key":"X-Powered-By","value":"VAT API Version 2"},{"key":"x-amzn-Remapped-Date","value":"Fri, 29 Mar 2019 20:11:29 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"country_code\": \"NL\",\n    \"country\": \"Netherlands\",\n    \"rate_type\": \"GOODS\",\n    \"rate_level\": \"standard\",\n    \"vat_charging_method\": \"inclusive\",\n    \"vat_rate\": 21,\n    \"price\": 9.99,\n    \"price_excl_vat\": 8.26,\n    \"price_incl_vat\": 9.99,\n    \"vat_total\": 1.73\n}"}],"_postman_id":"22d8ea61-5f41-4e22-91c5-c6dcb377e575"}],"id":"3d2caa54-137f-4035-a994-03fcfde79f9e","description":"<p><strong>VAT Rate Data</strong></p>\n<p>If your organisation is selling Telecommunications, Broadcasting or Electronic Services (TBE) specifying a <code>rate_type</code> query parameter of 'TBE' will return the current VAT rates in effect for that product type.</p>\n<p>If your organisation is shipping physical goods specifying a <code>rate_type</code> query parameter of 'GOODS' will return the current VAT rates in effect for that product type.</p>\n","event":[{"listen":"prerequest","script":{"id":"dc84377a-9101-48f6-ae72-14452b722c1b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"aa60cef1-d7d9-495f-a1c8-8a947b103191","type":"text/javascript","exec":[""]}}],"_postman_id":"3d2caa54-137f-4035-a994-03fcfde79f9e"},{"name":"Invoicing Resources","item":[{"name":"Settings","item":[{"name":"Create Invoice Setting","event":[{"listen":"test","script":{"id":"3d9db76f-fafd-401c-8aa9-f422b35fbea6","exec":[""],"type":"text/javascript"}}],"id":"cb2e203d-0a00-4336-a420-789e90c64c2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"body":{"mode":"raw","raw":"{\n\t\"trading_name\": \"Demo Commerce\",\n\t\"trading_address\": \"Demo Street, London, WA1 7GT\",\n\t\"vat_number\": \"GB154636784\",\n\t\"logo\":\t\"https://democommerce.com/logo.png\",\n\t\"sin\": 0\n}"},"url":"https://{{region}}.vatapi.com/v2/invoice/settings","description":"<p>Before creating a new invoice you must first create a new invoice setting. An <code>identifier</code> value is returned upon successful creation which you must then pass in with each invoice request.</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>trading_name</strong></td>\n<td>String</td>\n<td><strong>Yes</strong></td>\n<td>The company or trading name to appear on an invoice. Max 255 characters.</td>\n</tr>\n<tr>\n<td><strong>trading_address</strong></td>\n<td>String</td>\n<td><strong>Yes</strong></td>\n<td>The address of the company or individual associated with the <code>trading_name</code>.</td>\n</tr>\n<tr>\n<td><strong>vat_number</strong></td>\n<td>String</td>\n<td><strong>Yes</strong></td>\n<td>The registered VAT number of the company or individual associated with the <code>trading_name</code>. Max 16 characters.</td>\n</tr>\n<tr>\n<td>logo</td>\n<td>String</td>\n<td>No</td>\n<td>HTTPS url of a logo to appear on invoices. PNG or JPG format is recommended with a max height or width of 200px.</td>\n</tr>\n<tr>\n<td>sin</td>\n<td>Integer</td>\n<td>No</td>\n<td>This value is an acronymn for <em>Sequential Invoice Number</em> this needs to be set to a whole number, for example if you want your sequential invoice numbering to start at 1001 you'd set it to 1000. The default is 0 therefore the first invoice will be numbered 1.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v2","invoice","settings"],"host":["{{region}}","vatapi","com"],"query":[],"variable":[]}},"response":[{"id":"669f0312-35b0-425b-98c9-e2c9bb0c4303","name":"Create Invoice Settings","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"body":{"mode":"raw","raw":"{\n\t\"trading_name\": \"Demo Commerce\",\n\t\"trading_address\": \"Demo Street, London, WA1 7GT\",\n\t\"vat_number\": \"GB154636784\",\n\t\"logo\":\t\"https://democommerce.com/logo.png\",\n\t\"sin\": 0\n}"},"url":"https://{{region}}.vatapi.com/v2/invoice/settings"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 17 Jan 2019 16:29:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"120"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"0b80d97d-1a75-11e9-927a-6792ffbdc434"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"x-amzn-Remapped-Connection","value":"Keep-Alive"},{"key":"x-amz-apigw-id","value":"TqAHSFcnLPEFb-g="},{"key":"x-amzn-Remapped-Server","value":"London"},{"key":"Location","value":"https://eu.vatapi.com/v2/invoice-settings/12a048d4094337e07efd0f1fd9fe6521"},{"key":"X-Powered-By","value":"VAT API Version 2"},{"key":"x-amzn-Remapped-Date","value":"Thu, 17 Jan 2019 16:29:21 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"message\": \"success\",\n    \"identifier\": \"{{identifier}}\"\n}"}],"_postman_id":"cb2e203d-0a00-4336-a420-789e90c64c2e"},{"name":"Retrieve Invoice Setting","id":"6013b353-50a1-4385-aa11-3cd0b0e5a060","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":"https://{{region}}.vatapi.com/v2/invoice/settings/{{identifier}}","description":"<p>Specify an <code>identifier</code> value in the URI to retreive an invoice setting.</p>\n","urlObject":{"protocol":"https","path":["v2","invoice","settings","{{identifier}}"],"host":["{{region}}","vatapi","com"],"query":[],"variable":[]}},"response":[{"id":"e43477c7-12a9-4fd7-8e65-85241ff3f941","name":"Retrieve Invoice Setting","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":"https://{{region}}.vatapi.com/v2/invoice/settings/{{identifier}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 17 Jan 2019 18:53:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"208"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"2d6fbc94-1a89-11e9-98de-a95680502d62"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"x-amzn-Remapped-Connection","value":"Keep-Alive"},{"key":"x-amz-apigw-id","value":"TqVOWEPmLPEFk0g="},{"key":"x-amzn-Remapped-Server","value":"London"},{"key":"X-Powered-By","value":"VAT API Version 2"},{"key":"x-amzn-Remapped-Date","value":"Thu, 17 Jan 2019 18:53:28 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"trading_name\": \"Demo Commerce\",\n    \"trading_address\": \"Demo Street, London, WA1 7GT\",\n    \"vat_number\": \"GB154636784\",\n    \"logo\": \"https://democommerce.com/logo.png\",\n    \"sin\": 1000,\n    \"identifier\": \"{{identifier}}\"\n}"}],"_postman_id":"6013b353-50a1-4385-aa11-3cd0b0e5a060"},{"name":"Update Invoice Setting","id":"1a4ee89e-706c-427a-860e-625860b73c16","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"body":{"mode":"raw","raw":"{\n\"sin\": 1000\n}"},"url":"https://{{region}}.vatapi.com/v2/invoice/settings/{{identifier}}","description":"<p>Specify an <code>identifier</code> value in the URI to update an invoice setting.</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>purge_logo</td>\n<td>Boolean</td>\n<td>No</td>\n<td>If you previously set a <code>logo</code> value for an Invoice Setting and you would prefer instead to show just the <code>trading_name</code> on the invoice then set the <code>purge_logo</code> value to 'true' and the logo url will be removed.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Also refer to the attributes section in the <strong>Create Invoice Setting</strong> to update an attribute simply pass in any value you wish to update, for example if you only wanted to change the <code>sin</code> <em>Sequential Invoice Number</em> you'd pass just that name/value pair in.</p>\n","urlObject":{"protocol":"https","path":["v2","invoice","settings","{{identifier}}"],"host":["{{region}}","vatapi","com"],"query":[],"variable":[]}},"response":[{"id":"32a2d7ae-8ad0-4b7b-b222-260afc2b2eaa","name":"Update Invoice Setting","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"body":{"mode":"raw","raw":"{\n\"sin\": 1000\n}"},"url":"https://{{region}}.vatapi.com/v2/invoice/settings/{{identifier}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 17 Jan 2019 16:54:17 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"228"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"87305508-1a78-11e9-bfbe-13a03579f0d7"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"x-amzn-Remapped-Connection","value":"Keep-Alive"},{"key":"x-amz-apigw-id","value":"TqDxCHGGrPEFTxg="},{"key":"x-amzn-Remapped-Server","value":"London"},{"key":"X-Powered-By","value":"VAT API Version 2"},{"key":"x-amzn-Remapped-Date","value":"Thu, 17 Jan 2019 16:54:17 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"identifier\": \"{{identifier}}\"\n}"}],"_postman_id":"1a4ee89e-706c-427a-860e-625860b73c16"},{"name":"Delete Invoice Setting","id":"75f683d1-f655-40a9-b263-df1eeb31362c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":"https://{{region}}.vatapi.com/v2/invoice/settings/{{identifier}}","description":"<p>Specify an <code>identifier</code> value in the URI to delete an invoice setting.</p>\n","urlObject":{"protocol":"https","path":["v2","invoice","settings","{{identifier}}"],"host":["{{region}}","vatapi","com"],"query":[],"variable":[]}},"response":[{"id":"d642a0fc-dafc-478b-a06f-c0d057054d02","name":"Delete Invoice Setting","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":"https://{{region}}.vatapi.com/v2/invoice/settings/{{identifier}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 17 Jan 2019 18:58:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"119"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"e84023c4-1a89-11e9-b831-3b763a116d23"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"x-amzn-Remapped-Connection","value":"Keep-Alive"},{"key":"x-amz-apigw-id","value":"TqV_UFi0LPEFlEw="},{"key":"x-amzn-Remapped-Server","value":"London"},{"key":"X-Powered-By","value":"VAT API Version 2"},{"key":"x-amzn-Remapped-Date","value":"Thu, 17 Jan 2019 18:58:42 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"identifier\": \"{{identifier}}\"\n}"}],"_postman_id":"75f683d1-f655-40a9-b263-df1eeb31362c"}],"id":"276cea60-1942-4f8e-9bcf-79115c02922e","description":"<p>Invoice settings hold the core data related to the invoices issuing organisation.</p>\n<p><strong>This useful feature allows a company to create invoices for multiple trading names they may operate.</strong></p>\n","event":[{"listen":"prerequest","script":{"id":"1c5defab-2d1b-4809-8e85-7689064f1b11","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7be7482f-d768-49a4-8902-37261daebe1e","type":"text/javascript","exec":[""]}}],"_postman_id":"276cea60-1942-4f8e-9bcf-79115c02922e"},{"name":"Line Items","item":[{"name":"Create Line Items","id":"75a4585c-f5f0-433c-a806-018b66fe95d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"line_items\": [\n\t\t{\n\t\t\t\"sku\": \"PROD3\",\n\t\t\t\"description\": \"Product 3\",\n\t\t\t\"quantity\": 1,\n\t\t\t\"price_each\": 10.00,\n\t\t\t\"vat_rate\": 20\n\t\t},\n\t\t{\n\t\t\t\"sku\": \"PROD4\",\n\t\t\t\"description\": \"Product 4\",\n\t\t\t\"quantity\": 1,\n\t\t\t\"price_each\": 20.00,\n\t\t\t\"vat_rate\": 20\n\t\t}\n\t]\n}"},"url":"https://{{region}}.vatapi.com/v2/invoice/{{invoice_id}}/line-items","description":"<p>Add new line items to an existing invoice. Pass the <code>invoice_id</code> in the URI to add new items to that invoice.</p>\n<p><strong>Note:- An invoice cannot contain more than 100 line items. This is a soft limit, contact support if you need this limit upping.</strong></p>\n<p><code>line_items</code> Array</p>\n<p>An array of line items being invoiced for.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>sku</td>\n<td>String</td>\n<td>No</td>\n<td>A stock keeping unit to identify the item. Max 40 characters.</td>\n</tr>\n<tr>\n<td><strong>description</strong></td>\n<td>String</td>\n<td><strong>Yes</strong></td>\n<td>A description of the item. Max 600 characters.</td>\n</tr>\n<tr>\n<td><strong>quantity</strong></td>\n<td>Integer</td>\n<td><strong>Yes</strong></td>\n<td>The quantity of the item. Must be greater than 0.</td>\n</tr>\n<tr>\n<td><strong>price_each</strong></td>\n<td>Float</td>\n<td><strong>Yes</strong></td>\n<td>The price of the item. Must be to 2 decimal places. E.g. \"10.00\", \"9.99\".</td>\n</tr>\n<tr>\n<td>discount_rate</td>\n<td>Float</td>\n<td>No</td>\n<td>A percentage discount rate to be applied to the price. Must be to 2 decimal places. E.g. \"5.00\".</td>\n</tr>\n<tr>\n<td><strong>vat_rate</strong></td>\n<td>Integer</td>\n<td><strong>Yes</strong></td>\n<td>The % VAT rate to apply to the item.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v2","invoice","{{invoice_id}}","line-items"],"host":["{{region}}","vatapi","com"],"query":[],"variable":[]}},"response":[{"id":"f41dee1f-69cd-4f3c-a80e-574b0c4938c9","name":"Create Line Items","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"line_items\": [\n\t\t{\n\t\t\t\"sku\": \"PROD3\",\n\t\t\t\"description\": \"Product 3\",\n\t\t\t\"quantity\": 1,\n\t\t\t\"price_each\": 10.00,\n\t\t\t\"vat_rate\": 20\n\t\t},\n\t\t{\n\t\t\t\"sku\": \"PROD4\",\n\t\t\t\"description\": \"Product 4\",\n\t\t\t\"quantity\": 1,\n\t\t\t\"price_each\": 20.00,\n\t\t\t\"vat_rate\": 20\n\t\t}\n\t]\n}"},"url":"https://{{region}}.vatapi.com/v2/invoice/{{invoice_id}}/line-items"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 08 Feb 2019 18:41:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"284"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"197f40a7-2bd1-11e9-92c5-73a80bdf4bb7"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"x-amzn-Remapped-Connection","value":"Keep-Alive"},{"key":"x-amz-apigw-id","value":"Uy0CvGs7LPEFlag="},{"key":"x-amzn-Remapped-Server","value":"London"},{"key":"X-Powered-By","value":"VAT API Version 2"},{"key":"x-amzn-Remapped-Date","value":"Fri, 08 Feb 2019 18:41:08 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 201,\n    \"message\": \"success\",\n    \"line_items\": [\n        {\n            \"id\": \"{{id}}\",\n            \"sku\": \"PROD1\",\n            \"description\": \"Product 1\",\n            \"quantity\": 1,\n            \"price_each\": 10,\n            \"discount_rate\": 10,\n            \"vat_rate\": 20,\n            \"line_total\": 9\n        },\n        {\n            \"id\": \"{{id}}\",\n            \"sku\": \"PROD2\",\n            \"description\": \"Product 2\",\n            \"quantity\": 2,\n            \"price_each\": 20,\n            \"discount_rate\": 10,\n            \"vat_rate\": 20,\n            \"line_total\": 36\n        },\n        {\n            \"id\": \"{{id}}\",\n            \"sku\": \"PROD3\",\n            \"description\": \"Product 3\",\n            \"quantity\": 1,\n            \"price_each\": 10,\n            \"discount_rate\": null,\n            \"vat_rate\": 20,\n            \"line_total\": 10\n        },\n        {\n            \"id\": \"{{id}}\",\n            \"sku\": \"PROD4\",\n            \"description\": \"Product 4\",\n            \"quantity\": 1,\n            \"price_each\": 20,\n            \"discount_rate\": null,\n            \"vat_rate\": 20,\n            \"line_total\": 20\n        }\n    ]\n}"}],"_postman_id":"75a4585c-f5f0-433c-a806-018b66fe95d5"},{"name":"Update Line Item","id":"9cffe5a3-8124-4cc6-84d7-90a33f1c70e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"quantity\": 2\n}"},"url":"https://{{region}}.vatapi.com/v2/invoice/c4ca4238a0/line-items/c74d97b01e","description":"<p>Pass the <code>invoice_id</code> and line item <code>id</code> in the URI to update line item data.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>sku</td>\n<td>String</td>\n<td>No</td>\n<td>A stock keeping unit to identify the item. Max 40 characters.</td>\n</tr>\n<tr>\n<td><strong>description</strong></td>\n<td>String</td>\n<td><strong>Yes</strong></td>\n<td>A description of the item. Max 600 characters.</td>\n</tr>\n<tr>\n<td><strong>quantity</strong></td>\n<td>Integer</td>\n<td><strong>Yes</strong></td>\n<td>The quantity of the item. Must be greater than 0.</td>\n</tr>\n<tr>\n<td><strong>price_each</strong></td>\n<td>Float</td>\n<td><strong>Yes</strong></td>\n<td>The price of the item. Must be to 2 decimal places. E.g. \"10.00\", \"9.99\".</td>\n</tr>\n<tr>\n<td>discount_rate</td>\n<td>Float</td>\n<td>No</td>\n<td>A percentage discount rate to be applied to the price. Must be to 2 decimal places. E.g. \"5.00\".</td>\n</tr>\n<tr>\n<td><strong>vat_rate</strong></td>\n<td>Integer</td>\n<td><strong>Yes</strong></td>\n<td>The % VAT rate to apply to the item.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v2","invoice","c4ca4238a0","line-items","c74d97b01e"],"host":["{{region}}","vatapi","com"],"query":[],"variable":[]}},"response":[{"id":"36d4493e-8f73-42bb-b027-eb87469cab6b","name":"Update Line Item","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"quantity\": 2\n}"},"url":"https://{{region}}.vatapi.com/v2/invoice/c4ca4238a0/line-items/c74d97b01e"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Feb 2019 11:43:58 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"164"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a6193946-2f84-11e9-95c2-dfd20500c74b"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"x-amzn-Remapped-Connection","value":"Keep-Alive"},{"key":"x-amz-apigw-id","value":"VCVnsHForPEFjGw="},{"key":"x-amzn-Remapped-Server","value":"London"},{"key":"X-Powered-By","value":"VAT API Version 2"},{"key":"x-amzn-Remapped-Date","value":"Wed, 13 Feb 2019 11:43:58 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"message\": \"success\",\n    \"line_item\": [\n        {\n            \"id\": \"{{id}}\",\n            \"sku\": \"PROD1\",\n            \"description\": \"Product 1\",\n            \"quantity\": 2,\n            \"price_each\": 8.55,\n            \"discount_rate\": 5,\n            \"vat_rate\": 0,\n            \"line_total\": 16.24\n        }\n    ]\n}"}],"_postman_id":"9cffe5a3-8124-4cc6-84d7-90a33f1c70e3"},{"name":"Delete Line Item","id":"c69cf7fa-1114-4831-b6c6-703ad7b0bbb3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":"https://{{region}}.vatapi.com/v2/invoice/{{invoice_id}}/line-items/{{id}}","description":"<p>Pass the <code>invoice_id</code> and line item <code>id</code> in the URI to delete line item data.</p>\n<p><strong>Note:- you cannot delete the only line item of an invoice.</strong></p>\n","urlObject":{"protocol":"https","path":["v2","invoice","{{invoice_id}}","line-items","{{id}}"],"host":["{{region}}","vatapi","com"],"query":[],"variable":[]}},"response":[{"id":"c5aeb2f4-f053-40f0-90c5-7d01bc20b3e0","name":"Delete Line Item","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":"https://{{region}}.vatapi.com/v2/invoice/{{invoice_id}}/line-items/{{id}}"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n\t\"code\": 200,\n\t\"message\" \"success\"\n}"}],"_postman_id":"c69cf7fa-1114-4831-b6c6-703ad7b0bbb3"}],"id":"21a494a2-e6af-464e-96ef-6df027818ce8","description":"<p><strong>Line item resources only apply if you have already created an invoice and have an <code>invoice_id</code> you wish to modify.</strong></p>\n","event":[{"listen":"prerequest","script":{"id":"a6470ce3-6757-40b6-9787-4b186cef5322","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"674ce198-6c5e-4bc3-b105-80e430b2cb1d","type":"text/javascript","exec":[""]}}],"_postman_id":"21a494a2-e6af-464e-96ef-6df027818ce8"},{"name":"Create Invoice","id":"a9c20d22-0b01-4e10-80df-7a94dc56a84e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"body":{"mode":"raw","raw":"{\n  \"settings_identifier\": \"12a048d4094337e07efd0f1fd9fe6521\",\n  \"invoice_number_prefix\": \"VA-\",\n  \"issue_date\": \"2019-01-17 11:00:00\",\n  \"tax_point\": \"2019-01-17 11:00:00\",\n  \"type\": \"sale\",\n  \"currency\": \"EUR\",\n  \"local_currency\": {\n\t\"to\": \"GBP\",\n\t\"rate\":\t0.88\n  },\n  \"vat_charging_method\": \"inclusive\",\n  \"zero_rated\": true,\n  \"customer\": {\n\t\"name\": \"Amazon Europe Core SARL\",\n\t\"address\": \"Société à responsabilité limitée, 38 avenue John F. Kennedy, L-1855 Luxembourg\",\n\t\"vat_number\": \"LU26375245\"\n  },\n  \"line_items\": [\n    {\n      \"sku\": \"PROD1\",\n      \"description\": \"Product 1\",\n      \"quantity\": 1,\n      \"price_each\": 10.00,\n      \"discount_rate\": 10.00,\n      \"vat_rate\": 17\n    },\n    {\n      \"sku\": \"PROD2\",\n      \"description\": \"Product 2\",\n      \"quantity\": 2,\n      \"price_each\": 20.00,\n      \"discount_rate\": 10.00,\n      \"vat_rate\": 17\n    }\n  ],\n  \"notes\": null\n}"},"url":"https://{{region}}.vatapi.com/v2/invoice","description":"<p>To create a new invoice post your invoice data as json in the body of the request, VAT API will work out the totals based on the line items you provide. Use the response data to render your own VAT compliant invoices or simply reference the vanity <code>invoice_url</code> value we provide in the response.</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>settings_identifier</strong></td>\n<td>String</td>\n<td><strong>Yes</strong></td>\n<td>The <code>identifier</code> value returned from a 'Create Invoice Setting' request.</td>\n</tr>\n<tr>\n<td>invoice_number_prefix</td>\n<td>String</td>\n<td>No</td>\n<td>You may want to prefix the invoice number to help identify a particular customers invoices in future. Max 16 characters.</td>\n</tr>\n<tr>\n<td>order_ref</td>\n<td>String</td>\n<td>No</td>\n<td>Specify an associated order reference. Max 128 characters.</td>\n</tr>\n<tr>\n<td>issue_date</td>\n<td>String</td>\n<td>No</td>\n<td>Defaults to todays date/time. Issue date/time of the invoice in 'YYYY-MM-DD HH:MM:SS' format.</td>\n</tr>\n<tr>\n<td>tax_point</td>\n<td>String</td>\n<td>No</td>\n<td>Defaults to todays date/time. The tax point (or 'time of supply'), in the 'YYYY-MM-DD HH:MM:SS' format is the date the transaction takes place for VAT purposes.</td>\n</tr>\n<tr>\n<td><strong>type</strong></td>\n<td>String</td>\n<td><strong>Yes</strong></td>\n<td>Specify whether the invoice is a 'sale' or 'refund'.</td>\n</tr>\n<tr>\n<td><strong>currency</strong></td>\n<td>String</td>\n<td><strong>Yes</strong></td>\n<td>The currency in which the customer is being invoiced specified by it's 3 character ISO 4217 code.</td>\n</tr>\n<tr>\n<td>local_currency</td>\n<td>Object</td>\n<td>No</td>\n<td>Reference Child Attribute table below.</td>\n</tr>\n<tr>\n<td>order_discount_method</td>\n<td>String</td>\n<td>No</td>\n<td>The discount method to be applied to line level discounts and invoice level discounts, set this to 'fixed' or 'percentage', defaults to 'fixed'.</td>\n</tr>\n<tr>\n<td>order_discount_amount</td>\n<td>Float</td>\n<td>No</td>\n<td>Specify a discount amount to apply at the invoice level, for example if you wanted to apply a 10% discount to an order you'd set this value at 20.00 and the <code>order_discount_method</code> to 'percentage'.</td>\n</tr>\n<tr>\n<td>vat_charging_method</td>\n<td>String</td>\n<td>No</td>\n<td>Defaults to exclusive. If your prices already include VAT then set this value to 'inclusive' otherwise set to 'exclusive' and the appropriate VAT will be added on.</td>\n</tr>\n<tr>\n<td>zero_rated</td>\n<td>Boolean</td>\n<td>No</td>\n<td>Defaults to false. If set to 'true' the invoice will be zero-rated in accordance with reverse charge provisions.</td>\n</tr>\n<tr>\n<td>customer</td>\n<td>Object</td>\n<td>No</td>\n<td>Reference Child Attribute table below.</td>\n</tr>\n<tr>\n<td><strong>line_items</strong></td>\n<td>Array</td>\n<td><strong>Yes</strong></td>\n<td>Reference Child Attribute table below.</td>\n</tr>\n<tr>\n<td>notes</td>\n<td>String</td>\n<td>No</td>\n<td>Add any notes you would like to store alongside the invoice. Max 1000 characters.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"child-attributes\">Child Attributes</h2>\n<p><code>local_currency</code> Object</p>\n<p>This applies to UK companies doing international trade but may also apply to other EU countries. For example, if the supply takes place in the UK and the sale is made in a foreign currency it is a requirement to show the Sterling total VAT payable on the VAT invoice.</p>\n<p>Reference link:- <a href=\"https://www.gov.uk/vat-record-keeping/vat-invoices\">https://www.gov.uk/vat-record-keeping/vat-invoices</a> refer to the section 'International trade' toward the bottom of the page.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>to</strong></td>\n<td>String</td>\n<td><strong>Yes</strong></td>\n<td>The 3 character ISO 4217 currency code to convert the total VAT payable amount to. Must be GBP or EUR</td>\n</tr>\n<tr>\n<td>rate</td>\n<td>Float</td>\n<td>No</td>\n<td>Defaults to current rate. The exchange rate between the <code>currency</code> and <code>local_currency</code> &gt; <code>to</code> values, to be VAT compliant the rate used must align with the <code>tax_point</code> you specify, if you do not specify a rate the current HMRC or European Central Bank rate will be used.</td>\n</tr>\n</tbody>\n</table>\n</div><p><code>customer</code> Object</p>\n<p>In this object you can specify the details of your customer.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>name</strong></td>\n<td>String</td>\n<td><strong>Yes</strong></td>\n<td>The name or business name of the customer. Max 255 characters.</td>\n</tr>\n<tr>\n<td>address</td>\n<td>String</td>\n<td>No</td>\n<td>The address of the customer. Max 255 characters.</td>\n</tr>\n<tr>\n<td>vat_number</td>\n<td>String</td>\n<td>No</td>\n<td>The VAT number of the customer. Max 16 characters.</td>\n</tr>\n</tbody>\n</table>\n</div><p><code>line_items</code> Array</p>\n<p>An array of line items being invoiced for.</p>\n<p><strong>Note:- An invoice can contain a max of 100 line items.</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>sku</td>\n<td>String</td>\n<td>No</td>\n<td>A stock keeping unit to identify the item. Max 40 characters.</td>\n</tr>\n<tr>\n<td><strong>description</strong></td>\n<td>String</td>\n<td><strong>Yes</strong></td>\n<td>A description of the item. Max 600 characters.</td>\n</tr>\n<tr>\n<td><strong>quantity</strong></td>\n<td>Integer</td>\n<td><strong>Yes</strong></td>\n<td>The quantity of the item. Must be greater than 0.</td>\n</tr>\n<tr>\n<td><strong>price_each</strong></td>\n<td>Float</td>\n<td><strong>Yes</strong></td>\n<td>The price of the item. Must be to 2 decimal places. E.g. \"10.00\", \"9.99\".</td>\n</tr>\n<tr>\n<td>discount</td>\n<td>Float</td>\n<td>No</td>\n<td>A discount to be applied to the line item total, for example if you wanted to discount the line item total by 10% you'd set this value to 10.00 and the <code>order_discount_method</code> to 'percentage' or if you wanted to just knock £10.00 off you'd set at 10.00 and not pass in the <code>order_discount_method</code> value as it defaults to 'fixed'.</td>\n</tr>\n<tr>\n<td><strong>vat_rate</strong></td>\n<td>Integer</td>\n<td><strong>Yes</strong></td>\n<td>The % VAT rate to apply to the item.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v2","invoice"],"host":["{{region}}","vatapi","com"],"query":[],"variable":[]}},"response":[{"id":"d0b79397-6441-465f-bd60-c61f1cb31416","name":"Create an Invoice","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"settings_identifier\": \"{{identifier}}\",\n  \"invoice_number_prefix\": \"VA-\",\n  \"issue_date\": \"2019-01-17 11:00:00\",\n  \"tax_point\": \"2019-01-17 11:00:00\",\n  \"type\": \"sale\",\n  \"currency\": \"EUR\",\n  \"local_currency\": {\n\t\"to\": \"GBP\",\n\t\"rate\":\t0.88\n  },\n  \"order_discount_method\": \"percentage\",\n  \"order_discount_amount\": 10.00,\n  \"vat_charging_method\": \"inclusive\",\n  \"zero_rated\": true,\n  \"customer\": {\n\t\"name\": \"Amazon Europe Core SARL\",\n\t\"address\": \"Société à responsabilité limitée, 38 avenue John F. Kennedy, L-1855 Luxembourg\",\n\t\"vat_number\": \"LU26375245\"\n  },\n  \"line_items\": [\n    {\n      \"sku\": \"PROD1\",\n      \"description\": \"Product 1\",\n      \"quantity\": 1,\n      \"price_each\": 10.00,\n      \"discount\": 10.00,\n      \"vat_rate\": 20\n    },\n    {\n      \"sku\": \"PROD2\",\n      \"description\": \"Product 2\",\n      \"quantity\": 2,\n      \"price_each\": 20.00,\n      \"discount\": 10.00,\n      \"vat_rate\": 20\n    }\n  ],\n  \"notes\": null\n}"},"url":"https://{{region}}.vatapi.com/v2/invoice"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 29 Jan 2019 11:33:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"633"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a8808e9e-23b9-11e9-8369-6b548fc9f544"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"x-amzn-Remapped-Connection","value":"Keep-Alive"},{"key":"x-amz-apigw-id","value":"UQ3-qHYzrPEFfZA="},{"key":"x-amzn-Remapped-Server","value":"London"},{"key":"Location","value":"https://vatinvoice.app/c9f0f895fb"},{"key":"X-Powered-By","value":"VAT API Version 2"},{"key":"x-amzn-Remapped-Date","value":"Tue, 29 Jan 2019 11:33:11 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"message\": \"success\",\n    \"invoice_id\": \"{{invoice_id}}\",\n    \"invoice_number\": \"VA-81\",\n    \"invoice_url\": \"https://vatinvoice.co.uk/c9f0f895fb\",\n    \"created\": \"2019-01-29 11:33:11\",\n    \"updated\": \"2019-01-29 11:33:11\",\n    \"issue_date\": \"2019-01-17 11:00:00\",\n    \"tax_point\": \"2019-01-17 11:00:00\",\n    \"type\": \"sale\",\n    \"currency\": \"EUR\",\n    \"local_currency\": {\n        \"to\": \"GBP\",\n        \"rate\": 0.88\n    },\n    \"order_discount_method\": \"percentage\",\n\t\"order_discount_amount\": 10.00,\n    \"zero_rated\": true,\n    \"business\": {\n        \"trading_name\": \"VAT API\",\n        \"trading_address\": \"International House, 24 Holborn Viaduct, City of London, EC1A 2BN\",\n        \"vat_number\": \"GB289111588\",\n        \"logo\": \"https://vatapi.com/images/logo-invoice.jpg\"\n    },\n    \"customer\": {\n        \"name\": \"Amazon Europe Core SARL\",\n        \"address\": \"Société à responsabilité limitée, 38 avenue John F. Kennedy, L-1855 Luxembourg\",\n        \"vat_number\": \"LU26375245\"\n    },\n    \"line_items\": [\n        {\n            \"id\": \"{{id}}\",\n            \"sku\": \"PROD1\",\n            \"description\": \"Product 1\",\n            \"quantity\": 1,\n            \"price_each\": 10,\n            \"discount\": 10,\n            \"vat_rate\": 20,\n            \"line_total\": 9\n        },\n        {\n            \"id\": \"{{id}}\",\n            \"sku\": \"PROD2\",\n            \"description\": \"Product 2\",\n            \"quantity\": 2,\n            \"price_each\": 20,\n            \"discount\": 10,\n            \"vat_rate\": 20,\n            \"line_total\": 36\n        }\n    ],\n    \"totals\": {\n        \"line_items_discount\": 5,\n        \"subtotal\": 45,\n        \"discount\": 4.5,\n        \"vat\": 0,\n        \"vat_local\": 0,\n        \"total\": 40.5\n    },\n    \"notes\": null\n}"}],"_postman_id":"a9c20d22-0b01-4e10-80df-7a94dc56a84e"},{"name":"Retrieve Invoice","id":"142bb3ea-0824-43d2-876a-8690dae39df8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":"https://{{region}}.vatapi.com/v2/invoice/{{invoice_id}}","description":"<p>Specify an <code>invoice_id</code> value in the URI to retreive an invoice.</p>\n","urlObject":{"protocol":"https","path":["v2","invoice","{{invoice_id}}"],"host":["{{region}}","vatapi","com"],"query":[],"variable":[]}},"response":[{"id":"6d835f27-f4bb-4a6a-ac10-1e69f0bc4b7f","name":"Retrieve Invoice","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":"https://{{region}}.vatapi.com/v2/invoice/{{invoice_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 29 Jan 2019 16:36:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"621"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"fd3184b3-23e3-11e9-a22c-8f994c1f870c"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"x-amzn-Remapped-Connection","value":"Keep-Alive"},{"key":"x-amz-apigw-id","value":"URkXbEObLPEFsUw="},{"key":"x-amzn-Remapped-Server","value":"London"},{"key":"X-Powered-By","value":"VAT API Version 2"},{"key":"x-amzn-Remapped-Date","value":"Tue, 29 Jan 2019 16:36:12 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"invoice_id\": \"{{invoice_id}}\",\n    \"invoice_number\": \"GGB/79\",\n    \"invoice_url\": \"https://vatinvoice.co.uk/1679091c5a\",\n    \"created\": \"2019-01-29 10:59:01\",\n    \"updated\": \"2019-01-29 10:59:01\",\n    \"issue_date\": \"2019-01-17 11:00:00\",\n    \"tax_point\": \"2019-01-17 11:00:00\",\n    \"type\": \"sale\",\n    \"currency\": \"EUR\",\n    \"local_currency\": {\n        \"to\": \"GBP\",\n        \"rate\": 0.88\n    },\n    \"zero_rated\": false,\n    \"business\": {\n        \"trading_name\": \"VAT API\",\n        \"trading_address\": \"International House, 24 Holborn Viaduct, City of London, EC1A 2BN\",\n        \"vat_number\": \"GB289111588\",\n        \"logo\": \"https://vatapi.com/images/logo-invoice.jpg\"\n    },\n    \"customer\": {\n        \"name\": \"Amazon Europe Core SARL\",\n        \"address\": \"Société à responsabilité limitée, 38 avenue John F. Kennedy, L-1855 Luxembourg\",\n        \"vat_number\": \"LU26375245\"\n    },\n    \"line_items\": [\n        {\n            \"id\": \"{{id}}\",\n            \"sku\": \"PROD1\",\n            \"description\": \"Product 1\",\n            \"quantity\": 1,\n            \"price_each\": 10,\n            \"discount_rate\": 10,\n            \"vat_rate\": 17,\n            \"line_total\": 9\n        },\n        {\n            \"id\": \"{{id}}\",\n            \"sku\": \"PROD2\",\n            \"description\": \"Product 2\",\n            \"quantity\": 2,\n            \"price_each\": 20,\n            \"discount_rate\": 10,\n            \"vat_rate\": 17,\n            \"line_total\": 18\n        }\n    ],\n    \"totals\": {\n        \"discount\": 4.27,\n        \"subtotal\": 38.47,\n        \"vat\": 0,\n        \"vat_local\": 0,\n        \"total\": 38.47\n    },\n    \"notes\": null,\n    \"message\": null\n}"}],"_postman_id":"142bb3ea-0824-43d2-876a-8690dae39df8"},{"name":"Paginate Invoices","id":"073dbd82-a33e-463e-8068-75d724116831","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":"https://{{region}}.vatapi.com/v2/invoice/paginate?settings_identifier={{settings_identifier}}&limit={{limit}}&offset={{offset}}&type={{type}}&customer_name={{customer_name}}&order_by={{order_by}}&sort={{sort}}","description":"<p>This resource allows you to retrieve and filter all the invoices for a particular <code>settings_identifier</code> value allowing you to paginate results.</p>\n","urlObject":{"protocol":"https","path":["v2","invoice","paginate"],"host":["{{region}}","vatapi","com"],"query":[{"description":{"content":"<p>(String | Required)</p>\n","type":"text/plain"},"key":"settings_identifier","value":"{{settings_identifier}}"},{"description":{"content":"<p>(Integer) Limit how many results to retrieve. Defaults to 10. Max 100.</p>\n","type":"text/plain"},"key":"limit","value":"{{limit}}"},{"description":{"content":"<p>(Integer) Set an offset value to allow pagination of results. Defaults to 0.</p>\n","type":"text/plain"},"key":"offset","value":"{{offset}}"},{"description":{"content":"<p>(String) Specify an invoice type ie; 'sale' or 'refund'. Defaults to null.</p>\n","type":"text/plain"},"key":"type","value":"{{type}}"},{"description":{"content":"<p>(String) Filter by a customer name. Defaults to null.</p>\n","type":"text/plain"},"key":"customer_name","value":"{{customer_name}}"},{"description":{"content":"<p>(String) Order the results by the invoices 'created', 'updated', issue_date' or 'tax_point' dates. Defaults to null.</p>\n","type":"text/plain"},"key":"order_by","value":"{{order_by}}"},{"description":{"content":"<p>(String) Sort the results by DESC or ASC. Defaults to null.</p>\n","type":"text/plain"},"key":"sort","value":"{{sort}}"}],"variable":[]}},"response":[{"id":"d07f843d-0e43-490a-9675-b33d7f840afb","name":"Paginate Invoices","originalRequest":{"method":"GET","header":[{"key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":{"raw":"https://{{region}}.vatapi.com/v2/invoice/paginate?settings_identifier={{settings_identifier}}","protocol":"https","host":["{{region}}","vatapi","com"],"path":["v2","invoice","paginate"],"query":[{"key":"settings_identifier","value":"{{settings_identifier}}","description":"(String)"},{"key":"limit","value":"","description":"(Integer) Limit how many results to retrieve. Defaults to 10. Max 100.","disabled":true},{"key":"offset","value":"","description":"(Integer) Set an offset value to allow pagination of results. Defaults to 0.","disabled":true},{"key":"type","value":"","description":"(String) Specify an invoice type ie; 'sale' or 'refund'. Defaults to null.","disabled":true},{"description":"(String) Filter by a customer name. Defaults to null.","key":"customer_name","value":"","disabled":true},{"key":"order_by","value":"","description":"(String) Order the results by the invoices 'created', 'updated', issue_date' or 'tax_point' dates. Defaults to null.","disabled":true},{"key":"sort","value":"","description":"(String) Sort the results by DESC or ASC. Defaults to null.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Feb 2019 12:55:44 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1146"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ad225348-2f8e-11e9-b918-81a1238b761d"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"x-amzn-Remapped-Connection","value":"Keep-Alive"},{"key":"x-amz-apigw-id","value":"VCgIoG30LPEFWug="},{"key":"x-amzn-Remapped-Server","value":"London"},{"key":"X-Powered-By","value":"VAT API Version 2"},{"key":"x-amzn-Remapped-Date","value":"Wed, 13 Feb 2019 12:55:44 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"results\": 3,\n    \"invoices\": [\n        {\n            \"invoice_id\": \"{{invoice_id}}\",\n            \"invoice_number\": \"VA-3\",\n            \"invoice_url\": \"https://vatinvoice.co.uk/eccbc87e4b\",\n            \"created\": \"2019-02-13 12:27:01\",\n            \"updated\": \"2019-02-13 12:27:01\",\n            \"issue_date\": \"2019-01-17 11:00:00\",\n            \"tax_point\": \"2019-01-17 11:00:00\",\n            \"type\": \"sale\",\n            \"currency\": \"EUR\",\n            \"local_currency\": {\n                \"to\": \"GBP\",\n                \"rate\": 0.88\n            },\n            \"zero_rated\": true,\n            \"business\": {\n                \"trading_name\": \"Demo Commerce\",\n                \"trading_address\": \"Demo Street, London, WA1 7GT\",\n                \"vat_number\": \"GB154636784\",\n                \"logo\": \"https://democommerce.com/logo.png\"\n            },\n            \"customer\": {\n                \"name\": \"Amazon Europe Core SARL\",\n                \"address\": \"Société à responsabilité limitée, 38 avenue John F. Kennedy, L-1855 Luxembourg\",\n                \"vat_number\": \"LU26375245\"\n            },\n            \"line_items\": [\n                {\n                    \"id\": \"{{id}}\",\n                    \"sku\": \"PROD1\",\n                    \"description\": \"Product 1\",\n                    \"quantity\": 1,\n                    \"price_each\": 8.55,\n                    \"discount_rate\": 10,\n                    \"vat_rate\": 0,\n                    \"line_total\": 7.7\n                },\n                {\n                    \"id\": \"{{id}}\",\n                    \"sku\": \"PROD2\",\n                    \"description\": \"Product 2\",\n                    \"quantity\": 2,\n                    \"price_each\": 17.09,\n                    \"discount_rate\": 10,\n                    \"vat_rate\": 0,\n                    \"line_total\": 30.77\n                }\n            ],\n            \"totals\": {\n                \"discount\": 4.27,\n                \"subtotal\": 38.47,\n                \"vat\": 0,\n                \"vat_local\": 0,\n                \"total\": 38.47\n            },\n            \"notes\": null\n        },\n        {...\n    ]\n}"}],"_postman_id":"073dbd82-a33e-463e-8068-75d724116831"},{"name":"Update Invoice","id":"7ed94125-2282-4bbe-b013-940c5cbd207a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"body":{"mode":"raw","raw":"{\n\t\"line_items\": [\n\t\t{\n\t\t\t\"id\": \"{{1}}\",\n\t\t\t\"quantity\": 1\n\t\t}\t\n\t]\n}"},"url":"https://{{region}}.vatapi.com/v2/invoice/{{invoice_id}}","description":"<p>Specify an <code>invoice_id</code> value in the URI to update an invoice.</p>\n<p>You can update any of the attributes below.</p>\n<h2 id=\"attributes\">Attributes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>order_ref</td>\n<td>String</td>\n<td>No</td>\n<td>Specify an associated order reference. Max 128 characters.</td>\n</tr>\n<tr>\n<td>issue_date</td>\n<td>String</td>\n<td>No</td>\n<td>Defaults to todays date/time. Issue date/time of the invoice in 'YYYY-MM-DD HH:MM:SS' format.</td>\n</tr>\n<tr>\n<td>tax_point</td>\n<td>String</td>\n<td>No</td>\n<td>Defaults to todays date/time. The tax point (or 'time of supply'), in the 'YYYY-MM-DD HH:MM:SS' format is the date the transaction takes place for VAT purposes.</td>\n</tr>\n<tr>\n<td><strong>type</strong></td>\n<td>String</td>\n<td><strong>Yes</strong></td>\n<td>Specify whether the invoice is a 'sale' or 'refund'.</td>\n</tr>\n<tr>\n<td><strong>currency</strong></td>\n<td>String</td>\n<td><strong>Yes</strong></td>\n<td>The currency in which the customer is being invoiced specified by it's 3 character ISO 4217 code.</td>\n</tr>\n<tr>\n<td>local_currency</td>\n<td>Object</td>\n<td>No</td>\n<td>Reference Child Attribute table below.</td>\n</tr>\n<tr>\n<td>order_discount_method</td>\n<td>String</td>\n<td>No</td>\n<td>The discount method to be applied to line level discounts and invoice level discounts, set this to 'fixed' or 'percentage', defaults to 'fixed'.</td>\n</tr>\n<tr>\n<td>order_discount_amount</td>\n<td>Float</td>\n<td>No</td>\n<td>Specify a discount amount to apply at the invoice level, for example if you wanted to apply a 10% discount to an order you'd set this value at 20.00 and the <code>order_discount_method</code> to 'percentage'.</td>\n</tr>\n<tr>\n<td>vat_charging_method</td>\n<td>String</td>\n<td>No</td>\n<td>Defaults to exclusive. If your prices already include VAT then set this value to 'inclusive' otherwise set to 'exclusive' and the appropriate VAT will be added on.</td>\n</tr>\n<tr>\n<td>zero_rated</td>\n<td>Boolean</td>\n<td>No</td>\n<td>Defaults to false. If set to 'true' the invoice will be zero-rated in accordance with reverse charge provisions.</td>\n</tr>\n<tr>\n<td>customer</td>\n<td>Object</td>\n<td>No</td>\n<td>Reference Child Attribute table below.</td>\n</tr>\n<tr>\n<td>line_items</td>\n<td>Array</td>\n<td>No</td>\n<td>Reference Child Attribute table below.</td>\n</tr>\n<tr>\n<td>notes</td>\n<td>String</td>\n<td>No</td>\n<td>Add any notes you would like to store alongside the invoice. Max 1000 characters.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"child-attributes\">Child Attributes</h2>\n<p><code>local_currency</code> Object</p>\n<p>This applies to UK companies doing international trade but may also apply to other EU countries. For example, if the supply takes place in the UK and the sale is made in a foreign currency it is a requirement to show the Sterling total VAT payable on the VAT invoice.</p>\n<p>Reference link:- <a href=\"https://www.gov.uk/vat-record-keeping/vat-invoices\">https://www.gov.uk/vat-record-keeping/vat-invoices</a> refer to the section 'International trade' toward the bottom of the page.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>to</strong></td>\n<td>String</td>\n<td><strong>Yes</strong></td>\n<td>The 3 character ISO 4217 currency code to convert the total VAT payable amount to. Must be GBP or EUR</td>\n</tr>\n<tr>\n<td>rate</td>\n<td>Float</td>\n<td>No</td>\n<td>Defaults to current rate. The exchange rate between the <code>currency</code> and <code>local_currency</code> &gt; <code>to</code> values, to be VAT compliant the rate used must align with the <code>tax_point</code> you specify, if you do not specify a rate the current HMRC or European Central Bank rate will be used.</td>\n</tr>\n</tbody>\n</table>\n</div><p><code>customer</code> Object</p>\n<p>In this object you can specify the details of your customer.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>name</strong></td>\n<td>String</td>\n<td><strong>Yes</strong></td>\n<td>The name or business name of the customer. Max 255 characters.</td>\n</tr>\n<tr>\n<td>address</td>\n<td>String</td>\n<td>No</td>\n<td>The address of the customer. Max 255 characters.</td>\n</tr>\n<tr>\n<td>vat_number</td>\n<td>String</td>\n<td>No</td>\n<td>The VAT number of the customer. Max 16 characters.</td>\n</tr>\n</tbody>\n</table>\n</div><p><code>line_items</code> Array</p>\n<p>An array of line items being invoiced for.</p>\n<p><strong>Note:- An invoice can contain a max of 100 line items. This is a soft limit, contact support if you need this limit upping.</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong></td>\n<td>String</td>\n<td><strong>Yes</strong></td>\n<td>The <code>id</code> of an existing line item.</td>\n</tr>\n<tr>\n<td>sku</td>\n<td>String</td>\n<td>No</td>\n<td>A stock keeping unit to identify the item. Max 40 characters.</td>\n</tr>\n<tr>\n<td><strong>description</strong></td>\n<td>String</td>\n<td><strong>Yes</strong></td>\n<td>A description of the item. Max 600 characters.</td>\n</tr>\n<tr>\n<td><strong>quantity</strong></td>\n<td>Integer</td>\n<td><strong>Yes</strong></td>\n<td>The quantity of the item. Must be greater than 0.</td>\n</tr>\n<tr>\n<td><strong>price_each</strong></td>\n<td>Float</td>\n<td><strong>Yes</strong></td>\n<td>The price of the item. Must be to 2 decimal places. E.g. \"10.00\", \"9.99\".</td>\n</tr>\n<tr>\n<td>discount</td>\n<td>Float</td>\n<td>No</td>\n<td>A discount to be applied to the line item total, for example if you wanted to discount the line item total by 10% you'd set this value to 10.00 and the <code>order_discount_method</code> to 'percentage' or if you wanted to just knock £10.00 off you'd set at 10.00 and not pass in the <code>order_discount_method</code> value as it defaults to 'fixed'.</td>\n</tr>\n<tr>\n<td><strong>vat_rate</strong></td>\n<td>Integer</td>\n<td><strong>Yes</strong></td>\n<td>The % VAT rate to apply to the item.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v2","invoice","{{invoice_id}}"],"host":["{{region}}","vatapi","com"],"query":[],"variable":[]}},"response":[{"id":"f7a0672f-a3b3-4660-8806-227d278e4317","name":"Update Invoice","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"body":{"mode":"raw","raw":"{\n\t\"line_items\": [\n\t\t{\n\t\t\t\"id\": \"{{1}}\",\n\t\t\t\"quantity\": 1\n\t\t}\t\n\t]\n}"},"url":"https://{{region}}.vatapi.com/v2/invoice/{{invoice_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Feb 2019 15:38:17 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"779"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"620f25ea-2fa5-11e9-a0be-0f4726b7ea89"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"x-amzn-Remapped-Connection","value":"Keep-Alive"},{"key":"x-amz-apigw-id","value":"VC38cENkrPEFeIQ="},{"key":"x-amzn-Remapped-Server","value":"London"},{"key":"X-Powered-By","value":"VAT API Version 2"},{"key":"x-amzn-Remapped-Date","value":"Wed, 13 Feb 2019 15:38:17 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"invoice_id\": \"{{invoice_id}}\",\n    \"invoice_number\": \"VA-3\",\n    \"invoice_url\": \"https://vatinvoice.co.uk/eccbc87e4b\",\n    \"created\": \"2019-02-13 12:27:01\",\n    \"updated\": \"2019-02-13 15:38:17\",\n    \"issue_date\": \"2019-01-17 11:00:00\",\n    \"tax_point\": \"2019-01-17 11:00:00\",\n    \"type\": \"sale\",\n    \"currency\": \"EUR\",\n    \"local_currency\": {\n        \"to\": \"GBP\",\n        \"rate\": 0.88\n    },\n    \"order_discount_method\": \"fixed\",\n    \"order_discount_amount\": 2,\n    \"vat_charging_method\": \"inclusive\",\n    \"zero_rated\": true,\n    \"business\": {\n        \"trading_name\": \"Demo Commerce\",\n        \"trading_address\": \"Demo Street, London, WA1 7GT\",\n        \"vat_number\": \"GB154636784\",\n        \"logo\": \"https://democommerce.com/logo.png\"\n    },\n    \"customer\": {\n        \"name\": \"Test\",\n        \"address\": \"Société à responsabilité limitée, 38 avenue John F. Kennedy, L-1855 Luxembourg\",\n        \"vat_number\": \"LU26375245\"\n    },\n    \"line_items\": [\n        {\n            \"id\": \"{{id}}\",\n            \"sku\": \"PROD1\",\n            \"description\": \"Product 1\",\n            \"quantity\": 1,\n            \"price_each\": 8.55,\n            \"discount\": 10,\n            \"vat_rate\": 0,\n            \"line_total\": 7.69\n        },\n        {\n            \"id\": \"{{id}}\",\n            \"sku\": \"PROD2\",\n            \"description\": \"Product 2\",\n            \"quantity\": 1,\n            \"price_each\": 17.09,\n            \"discount\": 10,\n            \"vat_rate\": 0,\n            \"line_total\": 15.38\n        }\n    ],\n    \"totals\": {\n    \t\"line_items_discount\": 2.57,\n        \"subtotal\": 23.07,\n        \"discount\": 2,\n        \"vat\": 0,\n        \"vat_local\": 0,\n        \"total\": 23.07\n    },\n    \"notes\": null\n}"}],"_postman_id":"7ed94125-2282-4bbe-b013-940c5cbd207a"},{"name":"Delete Invoice","id":"9d0b47fb-851a-446b-bba4-c351e86e4617","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":"https://{{region}}.vatapi.com/v2/invoice/{{invoice_id}}","description":"<p>Specify an <code>invoice_id</code> value in the URI to delete an invoice.</p>\n","urlObject":{"protocol":"https","path":["v2","invoice","{{invoice_id}}"],"host":["{{region}}","vatapi","com"],"query":[],"variable":[]}},"response":[{"id":"c5700509-421c-4b8e-8282-752ff812a293","name":"Delete Invoice","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":"https://{{region}}.vatapi.com/v2/invoice/{{invoice_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 29 Jan 2019 16:11:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"95"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"95230f21-23e0-11e9-a509-194e59f313ab"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"x-amzn-Remapped-Connection","value":"Keep-Alive"},{"key":"x-amz-apigw-id","value":"URgy1G9NrPEFjuw="},{"key":"x-amzn-Remapped-Server","value":"London"},{"key":"X-Powered-By","value":"VAT API Version 2"},{"key":"x-amzn-Remapped-Date","value":"Tue, 29 Jan 2019 16:11:49 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"invoice_id\": \"{{id}}\"\n}"}],"_postman_id":"9d0b47fb-851a-446b-bba4-c351e86e4617"}],"id":"6ed76361-cc70-49bf-930a-4947f3513476","event":[{"listen":"prerequest","script":{"id":"e7822ba4-50b9-44a8-9e7e-1f59ed3077c9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"0dd60c2c-cd69-4636-9ef9-a0b923682a09","type":"text/javascript","exec":[""]}}],"_postman_id":"6ed76361-cc70-49bf-930a-4947f3513476","description":""},{"name":"Currency Resources","item":[{"name":"Conversion Rates","id":"eeeb61b8-ee37-4059-b227-daa320eea2d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":"https://{{region}}.vatapi.com/v2/currency-conversion-rates?currency_code={{currency_code}}","description":"<p>Specify the query parameter <code>currency_code</code> as GBP to retrieve the current exchange rates, updated monthly by the UK tax authority HMRC.</p>\n<p>Specify the query parameter <code>currency_code</code> as EUR to retrieve the current exchange rates, updated daily by the European Central Bank.</p>\n","urlObject":{"protocol":"https","path":["v2","currency-conversion-rates"],"host":["{{region}}","vatapi","com"],"query":[{"description":{"content":"<p>(String| Required) <code>GBP</code> or <code>EUR</code></p>\n","type":"text/plain"},"key":"currency_code","value":"{{currency_code}}"}],"variable":[]}},"response":[{"id":"1ee430b4-34c7-4e40-90ea-2a3d5105655f","name":"Conversion Rates","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":{"raw":"https://{{region}}.vatapi.com/v2/currency-conversion-rates?currency_code=GBP","protocol":"https","host":["{{region}}","vatapi","com"],"path":["v2","currency-conversion-rates"],"query":[{"key":"currency_code","value":"GBP"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Feb 2019 15:58:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1313"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"2b1cce37-2fa8-11e9-9b0e-75de573bcd34"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"x-amzn-Remapped-Connection","value":"Keep-Alive"},{"key":"x-amz-apigw-id","value":"VC63XG7TLPEFYMw="},{"key":"x-amzn-Remapped-Server","value":"London"},{"key":"X-Powered-By","value":"VAT API Version 2"},{"key":"x-amzn-Remapped-Date","value":"Wed, 13 Feb 2019 15:58:13 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"reference_rates\": \"GBP\",\n    \"rates_last_updated\": \"2019-02-01 05:10:01\",\n    \"rates\": [\n        {\n            \"country_code\": \"ARS\",\n            \"rate\": 49.0445\n        },\n        {\n            \"country_code\": \"AUD\",\n            \"rate\": 1.8315\n        },\n        {..."}],"_postman_id":"eeeb61b8-ee37-4059-b227-daa320eea2d9"},{"name":"Convert Currency","id":"d3825421-a535-4428-a632-8f63dbd4f76e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":"https://{{region}}.vatapi.com/v2/currency-conversion?currency_from={{currency_from}}&currency_to={{currency_to}}&amount={{amount}}","description":"<p>This resource is useful if you invoice customers in a different currency to your own countries, for example in the UK when billing in an international currency the VAT amount must also be specified in GBP.</p>\n","urlObject":{"protocol":"https","path":["v2","currency-conversion"],"host":["{{region}}","vatapi","com"],"query":[{"description":{"content":"<p>(String | Required) Any valid 3 character ISO 4217 currency code that is published in the relevant Conversion Rates reource above.</p>\n","type":"text/plain"},"key":"currency_from","value":"{{currency_from}}"},{"description":{"content":"<p>(String| Required) <code>GBP</code> or <code>EUR</code></p>\n","type":"text/plain"},"key":"currency_to","value":"{{currency_to}}"},{"description":{"content":"<p>(Integer | Required) The <code>currency_from</code> amount to convert.</p>\n","type":"text/plain"},"key":"amount","value":"{{amount}}"}],"variable":[]}},"response":[{"id":"9bea36d8-a302-4d8e-b4a4-e31753a6bdba","name":"Convert Currency","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":{"raw":"https://{{region}}.vatapi.com/v2/currency-conversion?currency_from=USD&currency_to=GBP&amount=50","protocol":"https","host":["{{region}}","vatapi","com"],"path":["v2","currency-conversion"],"query":[{"key":"currency_from","value":"USD"},{"key":"currency_to","value":"GBP"},{"key":"amount","value":"50"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Feb 2019 16:15:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"145"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"9c671e27-2faa-11e9-8cb3-77e012bf22f2"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"x-amzn-Remapped-Connection","value":"Keep-Alive"},{"key":"x-amz-apigw-id","value":"VC9bSF8TrPEFu3g="},{"key":"x-amzn-Remapped-Server","value":"London"},{"key":"X-Powered-By","value":"VAT API Version 2"},{"key":"x-amzn-Remapped-Date","value":"Wed, 13 Feb 2019 16:15:42 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"currency_from\": \"USD\",\n    \"currency_to\": \"GBP\",\n    \"amount_from\": 50,\n    \"amount_to\": 38.28,\n    \"rate\": 1.3062,\n    \"rate_last_updated\": \"2019-02-01 05:10:01\"\n}"}],"_postman_id":"d3825421-a535-4428-a632-8f63dbd4f76e"}],"id":"5cf27d12-437e-4927-96d9-47b280b364c7","_postman_id":"5cf27d12-437e-4927-96d9-47b280b364c7","description":""},{"name":"EORI Resource","item":[{"name":"EORI Number Validation","id":"506fee4f-e0bf-478e-a0fb-7b6093d4a8d0","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"host":true,"user-agent":true,"accept":true,"accept-encoding":true,"connection":true}},"request":{"method":"GET","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":"https://{{region}}.vatapi.com/v2/eori-number-check?eori_number={{eori_number}}","description":"<p>Validate UK &amp; EU member state EORI numbers, this resource queries HMRC for UK EORI numbers and the EORI database ran by the European Commission for EU member state EORI numbers.</p>\n<p><strong>The <code>validation</code> response object</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"validation\": {\n    \"authority\": \"European Commission\",\n    \"status\": \"ok\",\n    \"fault_string\": null,\n    \"valid\": true,\n    \"request_date\": \"22/04/2022\",\n    \"name\": null,\n    \"street\": null,\n    \"postal_code\": null,\n    \"city\": null,\n    \"country\": null\n}\n</code></pre><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>String</td>\n<td>Will return 'ok' if the authorities database is accessible, 'error' if inaccessible and 'down' if the service is completely inaccessible.</td>\n</tr>\n<tr>\n<td>fault_string</td>\n<td>String</td>\n<td>Will return a fault string upon an 'error' status, otherwise it will be set to null.</td>\n</tr>\n<tr>\n<td>valid</td>\n<td>Boolean</td>\n<td>Will return true if a EORI number is valid, false if invalid.</td>\n</tr>\n<tr>\n<td>request_date</td>\n<td>String</td>\n<td>The date of the request.</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>The name of the organisation associated with the <code>eori_number</code>. If this value returns:- 'null', this means that the company associated with the EORI number does not allow the disclosure of this information.</td>\n</tr>\n<tr>\n<td>street</td>\n<td>String</td>\n<td>The street address of the organisation associated with the <code>eori_number</code>. If this value returns:- 'null', this means that the company associated with the EORI number does not allow the disclosure of this information.</td>\n</tr>\n<tr>\n<td>postal_code</td>\n<td>String</td>\n<td>The postal code of the organisation associated with the <code>eori_number</code>. If this value returns:- 'null', this means that the company associated with the EORI number does not allow the disclosure of this information.</td>\n</tr>\n<tr>\n<td>city</td>\n<td>String</td>\n<td>The city of the organisation associated with the <code>eori_number</code>. If this value returns:- 'null', this means that the company associated with the EORI number does not allow the disclosure of this information.</td>\n</tr>\n<tr>\n<td>country</td>\n<td>String</td>\n<td>The country of the organisation associated with the <code>eori_number</code>. If this value returns:- 'null', this means that the company associated with the EORI number does not allow the disclosure of this information.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v2","eori-number-check"],"host":["{{region}}","vatapi","com"],"query":[{"key":"eori_number","value":"{{eori_number}}"}],"variable":[]}},"response":[{"id":"53e4bc4d-e92f-499b-942f-20cf37fc16f9","name":"EORI Number Validation","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":{"raw":"https://{{region}}.vatapi.com/v2/eori-number-check?eori_number=LU26375245","protocol":"https","host":["{{region}}","vatapi","com"],"path":["v2","eori-number-check"],"query":[{"key":"eori_number","value":"LU26375245"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"eori_number\": \"LU26375245\",\n    \"validation\": {\n        \"authority\": \"European Commission\",\n        \"status\": \"ok\",\n        \"fault_string\": null,\n        \"valid\": true,\n        \"request_date\": \"22/04/2022\",\n        \"name\": null,\n        \"street\": null,\n        \"postal_code\": null,\n        \"city\": null,\n        \"country\": null\n    }\n}"}],"_postman_id":"506fee4f-e0bf-478e-a0fb-7b6093d4a8d0"}],"id":"95edd708-4ccc-4793-80a8-89d7615af9e9","_postman_id":"95edd708-4ccc-4793-80a8-89d7615af9e9","description":""}],"event":[{"listen":"prerequest","script":{"id":"7db30619-081e-42f1-9085-7479ec7024ee","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7b722f11-a3e4-44b5-9edd-9e1c7a293903","type":"text/javascript","exec":[""]}}],"variable":[{"key":"region","value":"{{region}}"},{"key":"x-api-key","value":"{{x-api-key}}"}]}