{"info":{"_postman_id":"e78f111d-ff8e-40e0-a7b3-5dfbc73825f1","name":"API Gateway","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"Authorization","item":[{"name":"Login","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","var data = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"token\", data.access_token);","postman.setEnvironmentVariable(\"tokenRefresh\", data.refresh_token);"]}}],"_postman_id":"e25d7fba-8404-471d-b2e6-9a7c2fac26e2","request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"{{username}}","type":"text"},{"key":"password","value":"{{password}}","type":"text"},{"key":"client_id","value":"{{client_id}}","type":"text"},{"key":"client_secret","value":"{{client_secret}}","type":"text"},{"key":"grant_type","value":"{{grant_type}}","type":"text"},{"key":"scope","value":"{{scope}}","type":"text"}]},"url":{"raw":"{{api_gateway}}/token?Content-Type=application/x-www-form-urlencoded","host":["{{api_gateway}}"],"path":["token"],"query":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}]}},"response":[]},{"name":"Login by GUID","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","var data = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"token\", data.access_token);","postman.setEnvironmentVariable(\"tokenRefresh\", data.refresh_token);"]}}],"_postman_id":"f7970659-f538-45ff-b688-4411045d4308","request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"{{username}}","type":"text","disabled":true},{"key":"password","value":"{{password}}","type":"text","disabled":true},{"key":"client_id","value":"{{client_id}}","type":"text"},{"key":"client_secret","value":"{{client_secret}}","type":"text"},{"key":"grant_type","value":"{{grant_type}}","type":"text"},{"key":"scope","value":"{{scope}}","type":"text"},{"key":"guid","value":"{{guid}}","type":"text"}]},"url":{"raw":"{{api_gateway}}/token?Content-Type=application/x-www-form-urlencoded","host":["{{api_gateway}}"],"path":["token"],"query":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}]}},"response":[]},{"name":"Login","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","var data = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"token\", data.access_token);","postman.setEnvironmentVariable(\"tokenRefresh\", data.refresh_token);"]}}],"_postman_id":"0f3f48d5-81db-4989-bf3e-b39d703026bf","request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"{{username}}","type":"text"},{"key":"password","value":"{{password}}","type":"text"},{"key":"client_id","value":"{{client_id}}","type":"text"},{"key":"client_secret","value":"{{client_secret}}","type":"text"},{"key":"grant_type","value":"{{grant_type}}","type":"text"},{"key":"scope","value":"{{scope}}","type":"text"}]},"url":{"raw":"{{api_gateway}}/token?Content-Type=application/x-www-form-urlencoded","host":["{{api_gateway}}"],"path":["token"],"query":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}]}},"response":[]}],"_postman_id":"0f0c4756-b055-4096-a5a5-fcb81d1296bb","protocolProfileBehavior":{}},{"name":"Quotations","item":[{"name":"QT-Simple-Exclusive-Amount","_postman_id":"9403aab7-a8d0-436a-b73e-cce5e370aa8f","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-22\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-23\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Exclusive - Simple Discount Amount\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": false,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"total\": 105\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"total\": 110\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"total\": 115\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountPercentage\": 0,\n  \"discountAmount\": 30,\n  \"totalAfterDiscount\": 300,\n  \"vatableAmount\": 300,\n  \"vatAmount\": 21,\n  \"isVat\": true,\n  \"grandTotal\": 321,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"remarks\": \"Create Document Quotations\\nExclusive Discount Amount\",\n  \"internalNotes\": \"Note OpenAPI\"\n}"},"url":"{{api_gateway}}/quotations"},"response":[{"id":"0977967e-dc67-46ab-a65d-1103f05ca269","name":"[Create] Quotations (Simple)","originalRequest":{"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"contactCode\": \"Contact001\",\r\n  \"contactName\": \"Contact\",\r\n  \"contactAddress\": \"Address Contact\",\r\n  \"contactTaxId\": \"1234567890123\",\r\n  \"contactBranch\": \"Branch Name\",\r\n  \"contactPerson\": \"New Postman\",\r\n  \"contactEmail\": \"new@flowaccount.com\",\r\n  \"contactNumber\": \"0813597000\",\r\n  \"contactZipCode\": \"10140\",\r\n  \"publishedOn\": \"2019-10-31\",\r\n  \"creditType\": 1,\r\n  \"creditDays\": 0,\r\n  \"dueDate\": \"2019-10-31\",\r\n  \"projectName\": \"Document Simple - Post form Post Man API Gateway \",\r\n  \"reference\": \"Reference\",\r\n  \"isVatInclusive\": false,\r\n  \"salesName\": \"API Gateway\",\r\n  \"items\": [\r\n    {\r\n        \"name\": \"Premium\",\r\n        \"description\": \"Package Premium\",\r\n        \"quantity\": 1,\r\n        \"unitName\": \"Pack\",\r\n        \"pricePerUnit\": 1990,\r\n        \"total\": 1990\r\n    },\r\n    {\r\n        \"name\": \"Advance\",\r\n        \"description\": \"Package Addvance\",\r\n        \"quantity\": 1,\r\n        \"unitName\": \"Pack\",\r\n        \"pricePerUnit\": 2990,\r\n        \"total\": 2990\r\n    },\r\n    {\r\n        \"name\": \"Unlimit x Kbank\",\r\n        \"description\": \"Package Unlimit x Kbank\",\r\n        \"quantity\": 1,\r\n        \"unitName\": \"Pack\",\r\n        \"pricePerUnit\": 4990,\r\n        \"total\": 4990\r\n    }\r\n  ],\r\n  \"subTotal\": 9970,\r\n  \"discountPercentage\": 10,\r\n  \"discountAmount\": 997,\r\n  \"totalAfterDiscount\": 8973,\r\n  \"isVat\": true,\r\n  \"vatAmount\": 628.11,\r\n  \"grandTotal\": 9601.11,\r\n  \"isWithholdingTax\": true,\r\n  \"withholdingTaxAmount\": 3,\r\n  \"remarks\": \"Remark Package FlowAccount\",\r\n  \"internalNotes\": \"Note Document\"\r\n}"},"url":{"raw":"{{api_gateway}}/quotations","host":["{{api_gateway}}"],"path":["quotations"],"query":[{"key":"","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"body":"{\n    \"contactName\": \"contactName\",\n    \"contactAddress\": \"contactAddress\",\n    \"contactTaxId\": \"1234567890123\",\n    \"contactBranch\": \"contactBranch\",\n    \"contactPerson\": \"contactPerson\",\n    \"contactEmail\": \"new@flowaccount.com\",\n    \"contactNumber\": \"0813597000\",\n    \"publishedOn\": \"2012-12-31\",\n    \"creditType\": 1,\n    \"creditDays\": 30,\n    \"dueDate\": \"2012-12-31\",\n    \"projectName\": \"projectName\",\n    \"reference\": \"reference\",\n    \"isVatInclusive\": false,\n    \"salesName\": \"salesName\",\n    \"items\": [\n    {\n        \"name\": \"Service\",\n        \"description\": \"Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 100,\n        \"total\": 100\n    }\n  ],\n  \"subTotal\": 100,\n  \"discountPercentage\": 10,\n  \"discount\": 10,\n  \"totalAfterDiscount\": 90,\n  \"isVat\": true,\n  \"vatAmount\": 6.30,\n  \"grandTotal\": 96.30,\n  \"remarks\": \"Remark Remark\",\n  \"internalNotes\": \"Note\",\n  \"status\": 1\n  }"}]},{"name":"QT-Simple-Exclusive-Percent","_postman_id":"21f58232-fbd3-43d1-bbb6-52e9b58f1a2a","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-22\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-23\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Exclusive - Simple Discount Percent\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": false,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"total\": 105\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"total\": 110\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"total\": 115\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountPercentage\": 10,\n  \"discountAmount\": 33,\n  \"totalAfterDiscount\": 297,\n  \"vatableAmount\": 297,\n  \"vatAmount\": 20.79,\n  \"isVat\": true,\n  \"grandTotal\": 317.79,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"remarks\": \"Create Document Quotations\\nExclusive Discount Percent\",\n  \"internalNotes\": \"Note OpenAPI\"\n}"},"url":"{{api_gateway}}/quotations"},"response":[{"id":"7996edeb-c37a-4c6b-80b0-855778ca4093","name":"[Create] Quotations (Simple)","originalRequest":{"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"contactCode\": \"Contact001\",\r\n  \"contactName\": \"Contact\",\r\n  \"contactAddress\": \"Address Contact\",\r\n  \"contactTaxId\": \"1234567890123\",\r\n  \"contactBranch\": \"Branch Name\",\r\n  \"contactPerson\": \"New Postman\",\r\n  \"contactEmail\": \"new@flowaccount.com\",\r\n  \"contactNumber\": \"0813597000\",\r\n  \"contactZipCode\": \"10140\",\r\n  \"publishedOn\": \"2019-10-31\",\r\n  \"creditType\": 1,\r\n  \"creditDays\": 0,\r\n  \"dueDate\": \"2019-10-31\",\r\n  \"projectName\": \"Document Simple - Post form Post Man API Gateway \",\r\n  \"reference\": \"Reference\",\r\n  \"isVatInclusive\": false,\r\n  \"salesName\": \"API Gateway\",\r\n  \"items\": [\r\n    {\r\n        \"name\": \"Premium\",\r\n        \"description\": \"Package Premium\",\r\n        \"quantity\": 1,\r\n        \"unitName\": \"Pack\",\r\n        \"pricePerUnit\": 1990,\r\n        \"total\": 1990\r\n    },\r\n    {\r\n        \"name\": \"Advance\",\r\n        \"description\": \"Package Addvance\",\r\n        \"quantity\": 1,\r\n        \"unitName\": \"Pack\",\r\n        \"pricePerUnit\": 2990,\r\n        \"total\": 2990\r\n    },\r\n    {\r\n        \"name\": \"Unlimit x Kbank\",\r\n        \"description\": \"Package Unlimit x Kbank\",\r\n        \"quantity\": 1,\r\n        \"unitName\": \"Pack\",\r\n        \"pricePerUnit\": 4990,\r\n        \"total\": 4990\r\n    }\r\n  ],\r\n  \"subTotal\": 9970,\r\n  \"discountPercentage\": 10,\r\n  \"discountAmount\": 997,\r\n  \"totalAfterDiscount\": 8973,\r\n  \"isVat\": true,\r\n  \"vatAmount\": 628.11,\r\n  \"grandTotal\": 9601.11,\r\n  \"isWithholdingTax\": true,\r\n  \"withholdingTaxAmount\": 3,\r\n  \"remarks\": \"Remark Package FlowAccount\",\r\n  \"internalNotes\": \"Note Document\"\r\n}"},"url":{"raw":"{{api_gateway}}/quotations","host":["{{api_gateway}}"],"path":["quotations"],"query":[{"key":"","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"body":"{\n    \"contactName\": \"contactName\",\n    \"contactAddress\": \"contactAddress\",\n    \"contactTaxId\": \"1234567890123\",\n    \"contactBranch\": \"contactBranch\",\n    \"contactPerson\": \"contactPerson\",\n    \"contactEmail\": \"new@flowaccount.com\",\n    \"contactNumber\": \"0813597000\",\n    \"publishedOn\": \"2012-12-31\",\n    \"creditType\": 1,\n    \"creditDays\": 30,\n    \"dueDate\": \"2012-12-31\",\n    \"projectName\": \"projectName\",\n    \"reference\": \"reference\",\n    \"isVatInclusive\": false,\n    \"salesName\": \"salesName\",\n    \"items\": [\n    {\n        \"name\": \"Service\",\n        \"description\": \"Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 100,\n        \"total\": 100\n    }\n  ],\n  \"subTotal\": 100,\n  \"discountPercentage\": 10,\n  \"discount\": 10,\n  \"totalAfterDiscount\": 90,\n  \"isVat\": true,\n  \"vatAmount\": 6.30,\n  \"grandTotal\": 96.30,\n  \"remarks\": \"Remark Remark\",\n  \"internalNotes\": \"Note\",\n  \"status\": 1\n  }"}]},{"name":"QT-Simple-Inclusive-Amount","_postman_id":"f8f3bbdc-4330-48ed-9ca9-617511ce93de","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-22\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-23\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Inclusive - Simple Discount Amount\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": true,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"total\": 105\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"total\": 110\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"total\": 115\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountPercentage\": 0,\n  \"discountAmount\": 30,\n  \"totalAfterDiscount\": 300,\n  \"vatableAmount\": 280.37,\n  \"vatAmount\": 19.63,\n  \"isVat\": true,\n  \"grandTotal\": 300,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"remarks\": \"Create Document Quotations\\nInclusive Discount Amount\",\n  \"internalNotes\": \"Note OpenAPI\"\n}"},"url":"{{api_gateway}}/quotations"},"response":[{"id":"d9da6508-d826-4db2-aa6c-74ed11f89921","name":"[Create] Quotations (Simple)","originalRequest":{"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"contactCode\": \"Contact001\",\r\n  \"contactName\": \"Contact\",\r\n  \"contactAddress\": \"Address Contact\",\r\n  \"contactTaxId\": \"1234567890123\",\r\n  \"contactBranch\": \"Branch Name\",\r\n  \"contactPerson\": \"New Postman\",\r\n  \"contactEmail\": \"new@flowaccount.com\",\r\n  \"contactNumber\": \"0813597000\",\r\n  \"contactZipCode\": \"10140\",\r\n  \"publishedOn\": \"2019-10-31\",\r\n  \"creditType\": 1,\r\n  \"creditDays\": 0,\r\n  \"dueDate\": \"2019-10-31\",\r\n  \"projectName\": \"Document Simple - Post form Post Man API Gateway \",\r\n  \"reference\": \"Reference\",\r\n  \"isVatInclusive\": false,\r\n  \"salesName\": \"API Gateway\",\r\n  \"items\": [\r\n    {\r\n        \"name\": \"Premium\",\r\n        \"description\": \"Package Premium\",\r\n        \"quantity\": 1,\r\n        \"unitName\": \"Pack\",\r\n        \"pricePerUnit\": 1990,\r\n        \"total\": 1990\r\n    },\r\n    {\r\n        \"name\": \"Advance\",\r\n        \"description\": \"Package Addvance\",\r\n        \"quantity\": 1,\r\n        \"unitName\": \"Pack\",\r\n        \"pricePerUnit\": 2990,\r\n        \"total\": 2990\r\n    },\r\n    {\r\n        \"name\": \"Unlimit x Kbank\",\r\n        \"description\": \"Package Unlimit x Kbank\",\r\n        \"quantity\": 1,\r\n        \"unitName\": \"Pack\",\r\n        \"pricePerUnit\": 4990,\r\n        \"total\": 4990\r\n    }\r\n  ],\r\n  \"subTotal\": 9970,\r\n  \"discountPercentage\": 10,\r\n  \"discountAmount\": 997,\r\n  \"totalAfterDiscount\": 8973,\r\n  \"isVat\": true,\r\n  \"vatAmount\": 628.11,\r\n  \"grandTotal\": 9601.11,\r\n  \"isWithholdingTax\": true,\r\n  \"withholdingTaxAmount\": 3,\r\n  \"remarks\": \"Remark Package FlowAccount\",\r\n  \"internalNotes\": \"Note Document\"\r\n}"},"url":{"raw":"{{api_gateway}}/quotations","host":["{{api_gateway}}"],"path":["quotations"],"query":[{"key":"","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"body":"{\n    \"contactName\": \"contactName\",\n    \"contactAddress\": \"contactAddress\",\n    \"contactTaxId\": \"1234567890123\",\n    \"contactBranch\": \"contactBranch\",\n    \"contactPerson\": \"contactPerson\",\n    \"contactEmail\": \"new@flowaccount.com\",\n    \"contactNumber\": \"0813597000\",\n    \"publishedOn\": \"2012-12-31\",\n    \"creditType\": 1,\n    \"creditDays\": 30,\n    \"dueDate\": \"2012-12-31\",\n    \"projectName\": \"projectName\",\n    \"reference\": \"reference\",\n    \"isVatInclusive\": false,\n    \"salesName\": \"salesName\",\n    \"items\": [\n    {\n        \"name\": \"Service\",\n        \"description\": \"Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 100,\n        \"total\": 100\n    }\n  ],\n  \"subTotal\": 100,\n  \"discountPercentage\": 10,\n  \"discount\": 10,\n  \"totalAfterDiscount\": 90,\n  \"isVat\": true,\n  \"vatAmount\": 6.30,\n  \"grandTotal\": 96.30,\n  \"remarks\": \"Remark Remark\",\n  \"internalNotes\": \"Note\",\n  \"status\": 1\n  }"}]},{"name":"QT-Simple-Inclusive-Percent","_postman_id":"c1a03880-958c-4c42-9af1-cdd8718de15f","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-22\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-23\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Inclusive - Simple Discount Amount\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": true,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"total\": 105\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"total\": 110\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"total\": 115\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountPercentage\": 10,\n  \"discountAmount\": 33,\n  \"totalAfterDiscount\": 297,\n  \"vatableAmount\": 277.57,\n  \"vatAmount\": 19.43,\n  \"isVat\": true,\n  \"grandTotal\": 297,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"remarks\": \"Create Document Quotations\\nInclusive Discount Percent\",\n  \"internalNotes\": \"Note OpenAPI\"\n}"},"url":"{{api_gateway}}/quotations"},"response":[{"id":"0b86f520-6ccd-4637-83a4-51b08f072855","name":"[Create] Quotations (Simple)","originalRequest":{"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"contactCode\": \"Contact001\",\r\n  \"contactName\": \"Contact\",\r\n  \"contactAddress\": \"Address Contact\",\r\n  \"contactTaxId\": \"1234567890123\",\r\n  \"contactBranch\": \"Branch Name\",\r\n  \"contactPerson\": \"New Postman\",\r\n  \"contactEmail\": \"new@flowaccount.com\",\r\n  \"contactNumber\": \"0813597000\",\r\n  \"contactZipCode\": \"10140\",\r\n  \"publishedOn\": \"2019-10-31\",\r\n  \"creditType\": 1,\r\n  \"creditDays\": 0,\r\n  \"dueDate\": \"2019-10-31\",\r\n  \"projectName\": \"Document Simple - Post form Post Man API Gateway \",\r\n  \"reference\": \"Reference\",\r\n  \"isVatInclusive\": false,\r\n  \"salesName\": \"API Gateway\",\r\n  \"items\": [\r\n    {\r\n        \"name\": \"Premium\",\r\n        \"description\": \"Package Premium\",\r\n        \"quantity\": 1,\r\n        \"unitName\": \"Pack\",\r\n        \"pricePerUnit\": 1990,\r\n        \"total\": 1990\r\n    },\r\n    {\r\n        \"name\": \"Advance\",\r\n        \"description\": \"Package Addvance\",\r\n        \"quantity\": 1,\r\n        \"unitName\": \"Pack\",\r\n        \"pricePerUnit\": 2990,\r\n        \"total\": 2990\r\n    },\r\n    {\r\n        \"name\": \"Unlimit x Kbank\",\r\n        \"description\": \"Package Unlimit x Kbank\",\r\n        \"quantity\": 1,\r\n        \"unitName\": \"Pack\",\r\n        \"pricePerUnit\": 4990,\r\n        \"total\": 4990\r\n    }\r\n  ],\r\n  \"subTotal\": 9970,\r\n  \"discountPercentage\": 10,\r\n  \"discountAmount\": 997,\r\n  \"totalAfterDiscount\": 8973,\r\n  \"isVat\": true,\r\n  \"vatAmount\": 628.11,\r\n  \"grandTotal\": 9601.11,\r\n  \"isWithholdingTax\": true,\r\n  \"withholdingTaxAmount\": 3,\r\n  \"remarks\": \"Remark Package FlowAccount\",\r\n  \"internalNotes\": \"Note Document\"\r\n}"},"url":{"raw":"{{api_gateway}}/quotations","host":["{{api_gateway}}"],"path":["quotations"],"query":[{"key":"","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"body":"{\n    \"contactName\": \"contactName\",\n    \"contactAddress\": \"contactAddress\",\n    \"contactTaxId\": \"1234567890123\",\n    \"contactBranch\": \"contactBranch\",\n    \"contactPerson\": \"contactPerson\",\n    \"contactEmail\": \"new@flowaccount.com\",\n    \"contactNumber\": \"0813597000\",\n    \"publishedOn\": \"2012-12-31\",\n    \"creditType\": 1,\n    \"creditDays\": 30,\n    \"dueDate\": \"2012-12-31\",\n    \"projectName\": \"projectName\",\n    \"reference\": \"reference\",\n    \"isVatInclusive\": false,\n    \"salesName\": \"salesName\",\n    \"items\": [\n    {\n        \"name\": \"Service\",\n        \"description\": \"Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 100,\n        \"total\": 100\n    }\n  ],\n  \"subTotal\": 100,\n  \"discountPercentage\": 10,\n  \"discount\": 10,\n  \"totalAfterDiscount\": 90,\n  \"isVat\": true,\n  \"vatAmount\": 6.30,\n  \"grandTotal\": 96.30,\n  \"remarks\": \"Remark Remark\",\n  \"internalNotes\": \"Note\",\n  \"status\": 1\n  }"}]},{"name":"QT-Inline-Exclusive-Bath","_postman_id":"56081131-2942-4931-8729-27c5442c911a","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-21\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-22\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Exclusive - Inline Discount Baht\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": false,\n  \"useInlineVat\": false,\n  \"discountType\": 3,\n  \"items\": [\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"discountAmount\": 5,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"discountAmount\": 10,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"discountAmount\": 15,\n        \"total\": 100\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountAmount\": 30,\n  \"totalAfterDiscount\": 300,\n  \"vatableAmount\": 321,\n  \"vatAmount\": 21,\n  \"isVat\": true,\n  \"grandTotal\": 321,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"remarks\": \"Create Document Quotations Inline Discount\\nExclusive Discount Bath\",\n  \"internalNotes\": \"Note OpenAPI\"\n}"},"url":"{{api_gateway}}/quotations/inline"},"response":[]},{"name":"QT-Inline-Exclusive-Percent","_postman_id":"4c4bebd7-1167-41a6-b7f4-ce39f3efb379","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-21\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-22\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Inclusive - Inline Discount Percent\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": false,\n  \"useInlineVat\": false,\n  \"discountType\": 1,\n  \"items\": [\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 105,\n        \"discountAmountPercentage\": 5,\n        \"total\": 99.75\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 110,\n        \"discountAmountPercentage\": 10,\n        \"total\": 99\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 115,\n        \"discountAmountPercentage\": 15,\n        \"total\": 97.75\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountAmount\": 33.50,\n  \"totalAfterDiscount\": 296.50,\n  \"vatableAmount\": 277.10,\n  \"vatAmount\": 20.76,\n  \"isVat\": true,\n  \"grandTotal\": 317.26,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"remarks\": \"Create Document Quotations Inline Discount\\nExclusive Discount Percent\",\n  \"internalNotes\": \"Note OpenAPI\"\n}"},"url":"{{api_gateway}}/quotations/inline"},"response":[]},{"name":"QT-Inline-Inclusive-Bath","_postman_id":"3cdf3fe9-5777-4148-a055-80bc21774d3f","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-21\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-22\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Inclusive- Inline Discount Baht\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": true,\n  \"useInlineVat\": false,\n  \"discountType\": 3,\n  \"items\": [\n    {\n        \"name\": \"Advance Package\",\n        \"description\": \"FlowAccount\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 105,\n        \"discountAmount\": 5,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Advance Package\",\n        \"description\": \"FlowAccount\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 110,\n        \"discountAmount\": 10,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Advance Package\",\n        \"description\": \"FlowAccount\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 115,\n        \"discountAmount\": 15,\n        \"total\": 100\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountAmount\": 30,\n  \"totalAfterDiscount\": 300,\n  \"vatableAmount\": 280.37,\n  \"vatAmount\": 19.63,\n  \"isVat\": true,\n  \"grandTotal\": 300,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"remarks\": \"Create Document Quotations Inline Discount\\nInclusive Discount Bath\",\n  \"internalNotes\": \"Note OpenAPI\"\n}"},"url":"{{api_gateway}}/quotations/inline"},"response":[]},{"name":"QT-Inline-Inclusive-Percent","_postman_id":"114c5dcf-59d0-4b6e-9ccf-815674d2d323","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-21\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-22\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Inclusive - Inline Discount Percent\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": true,\n  \"useInlineVat\": false,\n  \"discountType\": 1,\n  \"items\": [\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 105,\n        \"discountAmountPercentage\": 5,\n        \"total\": 99.75\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 110,\n        \"discountAmountPercentage\": 10,\n        \"total\": 99\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 115,\n        \"discountAmountPercentage\": 15,\n        \"total\": 97.75\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountAmount\": 33.50,\n  \"totalAfterDiscount\": 296.50,\n  \"vatableAmount\": 277.10,\n  \"vatAmount\": 19.40,\n  \"isVat\": true,\n  \"grandTotal\": 296.50,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"remarks\": \"Create Document Quotations Inline Discount\\nInclusive Discount Percent\",\n  \"internalNotes\": \"Note OpenAPI\"\n}"},"url":"{{api_gateway}}/quotations/inline"},"response":[]},{"name":"QT-Inline-Vat-Exclusive-Bath","_postman_id":"da9945bc-580b-4aba-a3d5-6a56d0cdc2cd","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-21\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-22\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Exclusive - Inline Vat Bath\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": false,\n  \"useInlineVat\": true,\n  \"discountType\": 3,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"discountAmount\": 5,\n        \"vatRate\": 7,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"discountAmount\": 10,\n        \"vatRate\": 0,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"discountAmount\": 15,\n        \"vatRate\": -1,\n        \"total\": 100\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountAmount\": 30,\n  \"totalAfterDiscount\": 300,\n  \"exemptAmount\": 200,\n  \"vatableAmount\": 100,\n  \"vatAmount\": 7,\n  \"isVat\": true,\n  \"grandTotal\": 307,\n  \"remarks\": \"Create Document Quotations Inline Vat\\nExclusive Discount Bath\",\n  \"internalNotes\": \"Note OpenAPI\"\n}"},"url":"{{api_gateway}}/quotations/inline"},"response":[]},{"name":"QT-Inline-Vat-Exclusive-Percent","_postman_id":"ae7e0ec4-852a-495e-a7eb-1dd1d4066ea0","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-21\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-22\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Exclusive - Inline Vat Bath\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": false,\n  \"useInlineVat\": true,\n  \"discountType\": 1,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"discountAmount\": 5,\n        \"vatRate\": 7,\n        \"total\": 99.75\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"discountAmount\": 10,\n        \"vatRate\": 0,\n        \"total\": 99.00\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"discountAmount\": 15,\n        \"vatRate\": -1,\n        \"total\": 97.75\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountAmount\": 33.50,\n  \"totalAfterDiscount\": 296.50,\n  \"exemptAmount\": 196.75,\n  \"vatableAmount\": 99.75,\n  \"vatAmount\": 6.98,\n  \"isVat\": true,\n  \"grandTotal\": 303.48,\n  \"remarks\": \"Create Document Quotations Inline Vat\\nExclusive Discount Percent\",\n  \"internalNotes\": \"Note OpenAPI\"\n}"},"url":"{{api_gateway}}/quotations/inline"},"response":[]},{"name":"QT-Inline-Vat-Inclusive-Bath","_postman_id":"e7904525-27d8-4783-bff9-3f6a78b6d230","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-21\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-22\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Inclusive - Inline Vat Bath\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": true,\n  \"useInlineVat\": true,\n  \"discountType\": 3,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"discountAmount\": 5,\n        \"vatRate\": 7,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"discountAmount\": 10,\n        \"vatRate\": 0,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"discountAmount\": 15,\n        \"vatRate\": -1,\n        \"total\": 100\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountAmount\": 30,\n  \"totalAfterDiscount\": 300,\n  \"exemptAmount\": 200,\n  \"vatableAmount\": 93.46,\n  \"vatAmount\": 6.54,\n  \"isVat\": true,\n  \"grandTotal\": 300,\n  \"remarks\": \"Create Document Quotations Inline Vat\\nInclusive Discount Bath\",\n  \"internalNotes\": \"Note OpenAPI\"\n}"},"url":"{{api_gateway}}/quotations/inline"},"response":[]},{"name":"QT-Inline-Vat-Inclusive-Percent","_postman_id":"ca92b62e-540f-4103-ab88-5d153e2261ec","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-21\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-22\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Inclusive - Inline Vat Bath\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": true,\n  \"useInlineVat\": true,\n  \"discountType\": 1,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"discountAmount\": 5,\n        \"vatRate\": 7,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"discountAmount\": 10,\n        \"vatRate\": 0,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"discountAmount\": 15,\n        \"vatRate\": -1,\n        \"total\": 100\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountAmount\": 33.50,\n  \"totalAfterDiscount\": 296.50,\n  \"exemptAmount\": 196.75,\n  \"vatableAmount\": 93.22,\n  \"vatAmount\": 6.53,\n  \"isVat\": true,\n  \"grandTotal\": 296.50,\n  \"remarks\": \"Create Document Quotations Inline Vat\\nInclusive Discount Percent\",\n  \"internalNotes\": \"Note OpenAPI\"\n}"},"url":"{{api_gateway}}/quotations/inline"},"response":[]},{"name":"QT Upload File","_postman_id":"3a7484f2-2e6e-4e7d-8ca0-75d3fb834875","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"formdata","formdata":[{"key":"logo","type":"file","src":"/Users/new_mobile/Desktop/Desktop New/logo/Package_unlimit.jpg"}]},"url":"{{api_gateway}}//quotations/82174/attachment "},"response":[]},{"name":"QT Send Email","event":[{"listen":"prerequest","script":{"id":"c9fc7321-f63d-4ba9-b9b3-914de8731411","exec":[""],"type":"text/javascript"}}],"_postman_id":"504fe98e-c420-425c-b855-dd1ccfde8c9e","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"documentId\" : 4722503,\n\t\"fromemail\" : \"tester.flow2019@gmail.com\",\n\t\"toemail\" : \"tester.flow2019@gmail.com\",\n\t\"cCMyself\" : true,\n\t\"ccEmail\" : \"tester.flow2019@gmail.com\",\n    \"bccEmail\" : \"tester.flow2019@gmail.com\",\n    \"subject\" : \"document quotations\",\n    \"message\" : \"send email from API\",\n    \"culture\" : \"th\"\n}"},"url":"{{api_gateway}}/quotations/email-document","description":"Send Email Quotations."},"response":[]},{"name":"QT - ShareDocument","_postman_id":"444a8393-5a98-4b72-8566-d116bc9851f4","protocolProfileBehavior":{"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"documentId\": 82589\n}"},"url":"{{api_gateway}}/quotations/sharedocument"},"response":[]},{"name":"Get All - Quotations","_postman_id":"f99e5cf0-1cce-4ac6-a02b-da5647a8dd05","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"{{api_gateway}}/quotations"},"response":[]}],"_postman_id":"e7f7cbdd-e938-4786-90bd-d7ee865d3bbd","protocolProfileBehavior":{}},{"name":"Billing Notes","item":[{"name":"BL-Simple-Exclusive-Bath","_postman_id":"f92d3a4e-a7dd-4bf5-a9df-7a7c41b33c05","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2020-02-22\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2020-02-23\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Exclusive - Simple Discount Amount\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": false,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"total\": 105\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"total\": 110\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"total\": 115\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountPercentage\": 0,\n  \"discountAmount\": 30,\n  \"totalAfterDiscount\": 300,\n  \"vatableAmount\": 300,\n  \"vatAmount\": 21,\n  \"isVat\": true,\n  \"grandTotal\": 321,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"remarks\": \"Create Document Billing Notes\\nExclusive Discount Amount\",\n  \"internalNotes\": \"Note OpenAPI\"\n}","options":{"raw":{}}},"url":"{{api_gateway}}/billing-notes"},"response":[]},{"name":"BL-Simple-Exclusive-Percent","_postman_id":"d198ab70-88d6-4fb1-b10f-c98f27290d21","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-22\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-23\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Exclusive - Simple Discount Percent\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": false,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"total\": 105\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"total\": 110\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"total\": 115\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountPercentage\": 10,\n  \"discountAmount\": 33,\n  \"totalAfterDiscount\": 297,\n  \"vatableAmount\": 297,\n  \"vatAmount\": 20.79,\n  \"isVat\": true,\n  \"grandTotal\": 317.79,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"remarks\": \"Create Document Billing Notes\\nExclusive Discount Percent\",\n  \"internalNotes\": \"Note OpenAPI\",\n  \"showSignatureOrStamp\" : true\n}"},"url":"{{api_gateway}}/billing-notes"},"response":[]},{"name":"BL-Simple-Inclusive-Bath","_postman_id":"fe8bf27a-fe85-4b15-a0d1-afabd9bfeb27","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-22\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-23\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Inclusive - Simple Discount Amount\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": true,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"total\": 105\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"total\": 110\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"total\": 115\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountPercentage\": 0,\n  \"discountAmount\": 30,\n  \"totalAfterDiscount\": 300,\n  \"vatableAmount\": 280.37,\n  \"vatAmount\": 19.63,\n  \"isVat\": true,\n  \"grandTotal\": 300,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"remarks\": \"Create Document Billing Notes\\nInclusive Discount Amount\",\n  \"internalNotes\": \"Note OpenAPI\",\n  \"showSignatureOrStamp\" : true\n}"},"url":"{{api_gateway}}/billing-notes"},"response":[]},{"name":"BL-Simple-Inclusive-Percent","_postman_id":"9b160681-6b37-42b9-a0a0-0ed8e0007870","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-22\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-23\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Inclusive - Simple Discount Amount\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": true,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"total\": 105\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"total\": 110\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"total\": 115\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountPercentage\": 10,\n  \"discountAmount\": 33,\n  \"totalAfterDiscount\": 297,\n  \"vatableAmount\": 277.57,\n  \"vatAmount\": 19.43,\n  \"isVat\": true,\n  \"grandTotal\": 297,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"remarks\": \"Create Document Billing Notes\\nInclusive Discount Percent\",\n  \"internalNotes\": \"Note OpenAPI\",\n  \"showSignatureOrStamp\" : true\n}"},"url":"{{api_gateway}}/billing-notes"},"response":[]},{"name":"BL-Inline-Exclusive-Bath","_postman_id":"3f9eda6b-d4fa-4f9a-af5b-6b5a6a6eab21","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2020-04-21\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2020-04-22\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Exclusive - Inline Discount Baht\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": false,\n  \"useInlineVat\": false,\n  \"discountType\": 3,\n  \"items\": [\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"discountAmount\": 5,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"discountAmount\": 10,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"discountAmount\": 15,\n        \"total\": 100\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountAmount\": 30,\n  \"totalAfterDiscount\": 300,\n  \"vatableAmount\": 321,\n  \"vatAmount\": 21,\n  \"isVat\": true,\n  \"grandTotal\": 321,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"remarks\": \"Create Document Billing Notes Inline Discount\\nExclusive Discount Bath\",\n  \"internalNotes\": \"Note OpenAPI\",\n  \"showSignatureOrStamp\" : true\n}"},"url":"{{api_gateway}}/billing-notes/inline"},"response":[]},{"name":"BL-Inline-Exclusive-Percent","_postman_id":"70299f31-b78b-47dd-9d8d-7d01fa683541","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-21\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-22\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Exclusive - Inline Discount Percent\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": false,\n  \"useInlineVat\": false,\n  \"discountType\": 1,\n  \"items\": [\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 105,\n        \"discountAmountPercentage\": 5,\n        \"total\": 99.75\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 110,\n        \"discountAmountPercentage\": 10,\n        \"total\": 99\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 115,\n        \"discountAmountPercentage\": 15,\n        \"total\": 97.75\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountAmount\": 33.50,\n  \"totalAfterDiscount\": 296.50,\n  \"vatableAmount\": 277.10,\n  \"vatAmount\": 20.76,\n  \"isVat\": true,\n  \"grandTotal\": 317.26,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"remarks\": \"Create Document Billing Notes Inline Discount\\nExclusive Discount Percent\",\n  \"internalNotes\": \"Note OpenAPI\",\n  \"showSignatureOrStamp\" : true\n}"},"url":"{{api_gateway}}/billing-notes/inline"},"response":[]},{"name":"BL-Inline-Inclusive-Bath","_postman_id":"03c6e378-7f5c-47d7-95ed-6aa848958e55","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-21\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-22\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Inclusive- Inline Discount Baht\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": true,\n  \"useInlineVat\": false,\n  \"discountType\": 3,\n  \"items\": [\n    {\n        \"name\": \"Advance Package\",\n        \"description\": \"FlowAccount\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 105,\n        \"discountAmount\": 5,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Advance Package\",\n        \"description\": \"FlowAccount\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 110,\n        \"discountAmount\": 10,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Advance Package\",\n        \"description\": \"FlowAccount\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 115,\n        \"discountAmount\": 15,\n        \"total\": 100\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountAmount\": 30,\n  \"totalAfterDiscount\": 300,\n  \"vatableAmount\": 280.37,\n  \"vatAmount\": 19.63,\n  \"isVat\": true,\n  \"grandTotal\": 300,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"remarks\": \"Create Document Billing Notes Inline Discount\\nInclusive Discount Bath\",\n  \"internalNotes\": \"Note OpenAPI\",\n  \"showSignatureOrStamp\" : true\n}"},"url":"{{api_gateway}}/billing-notes/inline"},"response":[]},{"name":"BL-Inline-Inclusive-Percent","_postman_id":"2d229d8f-1960-41e5-9fa1-a67a3b24143c","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-21\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-22\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Inclusive - Inline Discount Percent\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": true,\n  \"useInlineVat\": false,\n  \"discountType\": 1,\n  \"items\": [\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 105,\n        \"discountAmountPercentage\": 5,\n        \"total\": 99.75\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 110,\n        \"discountAmountPercentage\": 10,\n        \"total\": 99\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 115,\n        \"discountAmountPercentage\": 15,\n        \"total\": 97.75\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountAmount\": 33.50,\n  \"totalAfterDiscount\": 296.50,\n  \"vatableAmount\": 277.10,\n  \"vatAmount\": 19.40,\n  \"isVat\": true,\n  \"grandTotal\": 296.50,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"remarks\": \"Create Document Billing Notes Inline Discount\\nInclusive Discount Percent\",\n  \"internalNotes\": \"Note OpenAPI\",\n  \"showSignatureOrStamp\" : true\n}"},"url":"{{api_gateway}}/billing-notes/inline"},"response":[]},{"name":"BL-Inline-Vat-Exclusive-Bath","_postman_id":"2a2e7cb6-57c9-4a8d-9131-31f862c476f2","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-21\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-22\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Exclusive - Inline Vat Bath\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": false,\n  \"useInlineVat\": true,\n  \"discountType\": 3,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"discountAmount\": 5,\n        \"vatRate\": 7,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"discountAmount\": 10,\n        \"vatRate\": 0,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"discountAmount\": 15,\n        \"vatRate\": -1,\n        \"total\": 100\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountAmount\": 30,\n  \"totalAfterDiscount\": 300,\n  \"exemptAmount\": 200,\n  \"vatableAmount\": 100,\n  \"vatAmount\": 7,\n  \"isVat\": true,\n  \"grandTotal\": 307,\n  \"remarks\": \"Create Document Billing Notes Inline Vat\\nExclusive Discount Bath\",\n  \"internalNotes\": \"Note OpenAPI\",\n  \"showSignatureOrStamp\" : true\n}"},"url":"{{api_gateway}}/billing-notes/inline"},"response":[]},{"name":"BL-Inline-Vat-Exclusive-Percent","_postman_id":"a3724ab0-2bf9-42af-b4c0-2cbe4d7598a2","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-21\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-22\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Exclusive - Inline Vat Bath\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": false,\n  \"useInlineVat\": true,\n  \"discountType\": 1,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"discountAmount\": 5,\n        \"vatRate\": 7,\n        \"total\": 99.75\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"discountAmount\": 10,\n        \"vatRate\": 0,\n        \"total\": 99.00\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"discountAmount\": 15,\n        \"vatRate\": -1,\n        \"total\": 97.75\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountAmount\": 33.50,\n  \"totalAfterDiscount\": 296.50,\n  \"exemptAmount\": 196.75,\n  \"vatableAmount\": 99.75,\n  \"vatAmount\": 6.98,\n  \"isVat\": true,\n  \"grandTotal\": 303.48,\n  \"remarks\": \"Create Document Billing Notes Inline Vat\\nExclusive Discount Percent\",\n  \"internalNotes\": \"Note OpenAPI\",\n  \"showSignatureOrStamp\" : true\n}"},"url":"{{api_gateway}}/billing-notes/inline"},"response":[]},{"name":"BL-Inline-Vat-Inclusive-Bath","_postman_id":"09bad394-5e6c-4ecb-a661-7c4a113873dc","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-21\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-22\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Inclusive - Inline Vat Bath\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": true,\n  \"useInlineVat\": true,\n  \"discountType\": 3,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"discountAmount\": 5,\n        \"vatRate\": 7,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"discountAmount\": 10,\n        \"vatRate\": 0,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"discountAmount\": 15,\n        \"vatRate\": -1,\n        \"total\": 100\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountAmount\": 30,\n  \"totalAfterDiscount\": 300,\n  \"exemptAmount\": 200,\n  \"vatableAmount\": 93.46,\n  \"vatAmount\": 6.54,\n  \"isVat\": true,\n  \"grandTotal\": 300,\n  \"remarks\": \"Create Document Billing Notes Inline Vat\\nInclusive Discount Bath\",\n  \"internalNotes\": \"Note OpenAPI\",\n  \"showSignatureOrStamp\" : true\n}"},"url":"{{api_gateway}}/billing-notes/inline"},"response":[]},{"name":"BL-Inline-Vat-Inclusive-Percent","_postman_id":"ead8dccf-1c3f-483a-9cbb-e95eded4bf4c","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-21\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-22\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Inclusive - Inline Vat Percent\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": true,\n  \"useInlineVat\": true,\n  \"discountType\": 1,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"discountAmount\": 5,\n        \"vatRate\": 7,\n        \"total\": 99.75\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"discountAmount\": 10,\n        \"vatRate\": 0,\n        \"total\": 99\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"discountAmount\": 15,\n        \"vatRate\": -1,\n        \"total\": 97.75\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountAmount\": 33.50,\n  \"totalAfterDiscount\": 296.50,\n  \"exemptAmount\": 196.75,\n  \"vatableAmount\": 93.22,\n  \"vatAmount\": 6.53,\n  \"isVat\": true,\n  \"grandTotal\": 296.50,\n  \"remarks\": \"Create Document Quotations Inline Vat\\nInclusive Discount Percent\",\n  \"internalNotes\": \"Note OpenAPI\",\n  \"showSignatureOrStamp\" : true\n}"},"url":"{{api_gateway}}/billing-notes/inline"},"response":[]},{"name":"Upgrade BL-Simple","_postman_id":"3ec8766d-2d7e-41ad-8693-f49c5c5102f2","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-22\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-23\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Exclusive - Simple Discount Amount\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": false,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"total\": 105\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"total\": 110\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"total\": 115\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountPercentage\": 0,\n  \"discountAmount\": 30,\n  \"totalAfterDiscount\": 300,\n  \"vatableAmount\": 300,\n  \"vatAmount\": 21,\n  \"isVat\": true,\n  \"grandTotal\": 321,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"remarks\": \"Create Document Quotations\\nExclusive Discount Amount\",\n  \"internalNotes\": \"Note OpenAPI\",\n  \"documentReferences\": [\n    {\n      \"referenceId\" : 82334,\n      \"referenceDocumentSerial\" : \"QT2019120025\",\n      \"referenceDocumentType\" : 3\n    }\n  ]\n}"},"url":"{{api_gateway}}/billing-notes/"},"response":[]},{"name":"BL Upload File","_postman_id":"ff096502-74f9-49b5-b329-78e185b1c614","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"formdata","formdata":[{"key":"logo","type":"file","src":"/Users/new_mobile/Desktop/Desktop New/logo/Package_unlimit.jpg"}]},"url":"{{api_gateway}}//billing-notes/67080/attachment "},"response":[]},{"name":"BL Send Email","_postman_id":"806474a0-e53f-4a72-8d1c-561ced5897a4","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"bccEmail\" : \"tester.flow2019@gmail.com\",\n    \"cCMyself\" : true,\n    \"ccEmail\" : \"tester.flow2019@gmail.com\",\n    \"culture\" : \"th\",\n    \"documentId\" : 3413365,\n    \"fromemail\" : \"tester.flow2019@gmail.com\",\n    \"message\" : \"send email from API\",\n    \"subject\" : \"document billing notes\",\n    \"toemail\" : \"tester.flow2019@gmail.com\",\n    \"doCopy\" : false\n}"},"url":"{{api_gateway}}/billing-notes/email-document"},"response":[]},{"name":"BL Share Document","_postman_id":"fb79a794-7d08-4627-8840-fb5309a4310e","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"documentId\" : 3413365\n}"},"url":"{{api_gateway}}/billing-notes/sharedocument"},"response":[]},{"name":"[GET All] Billing Notes","_postman_id":"669b0f73-e89f-4e96-b4bc-2f9a03c4fa33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_gateway}}/billing-notes"},"response":[]},{"name":"[GET By ID] Billing Notes","_postman_id":"e8642283-99d0-40b6-b190-19108ec339ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_gateway}}/billing-notes/66619"},"response":[]},{"name":"[PUT By ID] Billing Notes","event":[{"listen":"prerequest","script":{"id":"b6f0fca2-d5b8-4914-b5fa-41006892a819","exec":[""],"type":"text/javascript"}}],"_postman_id":"69543f10-0def-467e-9818-aa3972991315","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"contactName\": \"Example\",\n  \"contactAddress\": \"Example OpenAPI\",\n  \"contactTaxId\": \"1212121212121\",\n  \"contactBranch\": \"OpenAPI\",\n  \"contactPerson\": \"OpenAPI 2\",\n  \"contactNumber\": \"9999999999\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactZipCode\": \"10140\",\n  \"publishedOn\": \"2019-12-04\",\n  \"creditType\": 1,\n  \"creditDays\": 5,\n  \"dueDate\": \"2019-12-13\",\n  \"salesName\": \"New\",\n  \"projectName\": \"xxxxx xxxxx\",\n  \"reference\": \"Reference xxxx\",\n  \"isVatInclusive\": false,\n  \"documentDiscountTypes\": 1,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 100,\n        \"discountAmount\": 0,\n        \"vatRate\": 7,\n        \"total\": 100\n    },\n    {\n        \"name\": \"non-Inventory\",\n        \"description\": \"non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 100,\n        \"discountAmount\": 0,\n        \"vatRate\": 7,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 100,\n        \"discountAmount\": 0,\n        \"vatRate\": 7,\n        \"total\": 100\n    }\n  ],\n  \"subTotal\": 300,\n  \"discount\": 0,\n  \"totalAfterDiscount\": 300,\n  \"isVat\": true, \n  \"vatableAmount\": 300,\n  \"vatAmount\": 21,\n  \"grandTotal\": 321,\n  \"remarks\": \"Remarks\",\n  \"internalNotes\": \"Remarks\"\n}"},"url":"{{api_gateway}}/billing-notes/66619"},"response":[]},{"name":"BL Upload Files","_postman_id":"8c8f2715-0e89-4cae-8aee-376b83d108c0","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"content-type","value":"multipart/form-data; boundary=----WebKitFormBoundaryk0RcivC4tA4AnJ9P"}],"body":{"mode":"formdata","formdata":[{"key":"attachment","type":"file","src":"/Users/new_mobile/Desktop/Desktop New/logo/Facebok_logo.png"}]},"url":"{{api_gateway}}//billing-notes/67862/attachment "},"response":[]}],"_postman_id":"a9149409-7ef0-47db-b972-ff3d673f7b54","protocolProfileBehavior":{}},{"name":"Tax Invoices","item":[{"name":"INV-Simple-Exclusive-Amount","_postman_id":"876369f7-1934-4df9-b3ff-ab42d160d948","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2020-04-10\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2020-04-10\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Exclusive - Simple Discount Amount\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": false,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"total\": 105\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"total\": 110\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"total\": 115\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountPercentage\": 0,\n  \"discountAmount\": 30,\n  \"totalAfterDiscount\": 300,\n  \"vatableAmount\": 300,\n  \"vatAmount\": 21,\n  \"isVat\": true,\n  \"grandTotal\": 321,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"remarks\": \"Create Document Billing Notes\\nExclusive Discount Amount\",\n  \"internalNotes\": \"Note OpenAPI\"\n}"},"url":"{{api_gateway}}/tax-invoices"},"response":[]},{"name":"INV-Simple-Exclusive-Percent","_postman_id":"c183744b-3049-4df8-8033-64b620988715","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-22\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-23\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Exclusive - Simple Discount Percent\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": false,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"total\": 105\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"total\": 110\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"total\": 115\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountPercentage\": 10,\n  \"discountAmount\": 33,\n  \"totalAfterDiscount\": 297,\n  \"vatableAmount\": 297,\n  \"vatAmount\": 20.79,\n  \"isVat\": true,\n  \"grandTotal\": 317.79,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"remarks\": \"Create Document Billing Notes\\nExclusive Discount Percent\",\n  \"internalNotes\": \"Note OpenAPI\",\n  \"showSignatureOrStamp\" : true\n}"},"url":"{{api_gateway}}/tax-invoices"},"response":[]},{"name":"INV-Simple-Inclusive-Amount","_postman_id":"7f8d7857-a058-4924-a6df-609f4ce4fabe","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-22\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-23\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Inclusive - Simple Discount Amount\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": true,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"total\": 105\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"total\": 110\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"total\": 115\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountPercentage\": 0,\n  \"discountAmount\": 30,\n  \"totalAfterDiscount\": 300,\n  \"vatableAmount\": 280.37,\n  \"vatAmount\": 19.63,\n  \"isVat\": true,\n  \"grandTotal\": 300,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"remarks\": \"Create Document Billing Notes\\nInclusive Discount Amount\",\n  \"internalNotes\": \"Note OpenAPI\",\n  \"showSignatureOrStamp\" : true\n}"},"url":"{{api_gateway}}/tax-invoices"},"response":[]},{"name":"INV-Simple-Inclusive-Percent","_postman_id":"2ae6c0dc-fca5-48d4-9f84-963726af3879","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-22\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-23\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Inclusive - Simple Discount Amount\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": true,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"total\": 105\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"total\": 110\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"total\": 115\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountPercentage\": 10,\n  \"discountAmount\": 33,\n  \"totalAfterDiscount\": 297,\n  \"vatableAmount\": 277.57,\n  \"vatAmount\": 19.43,\n  \"isVat\": true,\n  \"grandTotal\": 297,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"remarks\": \"Create Document Billing Notes\\nInclusive Discount Percent\",\n  \"internalNotes\": \"Note OpenAPI\",\n  \"showSignatureOrStamp\" : true\n}"},"url":"{{api_gateway}}/tax-invoices"},"response":[]},{"name":"INV-Inline-Exclusive-Bath","_postman_id":"44d233c1-45c7-4b9c-a385-c212f539d927","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2020-04-27\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2020-04-28\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Exclusive - Inline Discount Baht\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": false,\n  \"useInlineVat\": false,\n  \"discountType\": 3,\n  \"items\": [\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"discountAmount\": 5,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"discountAmount\": 10,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"discountAmount\": 15,\n        \"total\": 100\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountAmount\": 30,\n  \"totalAfterDiscount\": 300,\n  \"vatableAmount\": 321,\n  \"vatAmount\": 21,\n  \"isVat\": true,\n  \"grandTotal\": 321,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"remarks\": \"Create Document Billing Notes Inline Discount\\nExclusive Discount Bath\",\n  \"internalNotes\": \"Note OpenAPI\",\n  \"showSignatureOrStamp\" : true\n}"},"url":"{{api_gateway}}/tax-invoices/inline"},"response":[]},{"name":"INV-Inline-Exclusive-Percent","_postman_id":"406c0adb-85d7-4e70-8289-32470e5c12af","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-21\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-22\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Exclusive - Inline Discount Percent\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": false,\n  \"useInlineVat\": false,\n  \"discountType\": 1,\n  \"items\": [\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 105,\n        \"discountAmountPercentage\": 5,\n        \"total\": 99.75\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 110,\n        \"discountAmountPercentage\": 10,\n        \"total\": 99\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 115,\n        \"discountAmountPercentage\": 15,\n        \"total\": 97.75\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountAmount\": 33.50,\n  \"totalAfterDiscount\": 296.50,\n  \"vatableAmount\": 277.10,\n  \"vatAmount\": 20.76,\n  \"isVat\": true,\n  \"grandTotal\": 317.26,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"remarks\": \"Create Document Billing Notes Inline Discount\\nExclusive Discount Percent\",\n  \"internalNotes\": \"Note OpenAPI\",\n  \"showSignatureOrStamp\" : true\n}"},"url":"{{api_gateway}}/tax-invoices/inline"},"response":[]},{"name":"INV-Inline-Inclusive-Bath","_postman_id":"719b5ebc-fd99-4983-ad55-d66175149d4b","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-21\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-22\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Inclusive- Inline Discount Baht\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": true,\n  \"useInlineVat\": false,\n  \"discountType\": 3,\n  \"items\": [\n    {\n        \"name\": \"Advance Package\",\n        \"description\": \"FlowAccount\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 105,\n        \"discountAmount\": 5,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Advance Package\",\n        \"description\": \"FlowAccount\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 110,\n        \"discountAmount\": 10,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Advance Package\",\n        \"description\": \"FlowAccount\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 115,\n        \"discountAmount\": 15,\n        \"total\": 100\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountAmount\": 30,\n  \"totalAfterDiscount\": 300,\n  \"vatableAmount\": 280.37,\n  \"vatAmount\": 19.63,\n  \"isVat\": true,\n  \"grandTotal\": 300,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"remarks\": \"Create Document Billing Notes Inline Discount\\nInclusive Discount Bath\",\n  \"internalNotes\": \"Note OpenAPI\",\n  \"showSignatureOrStamp\" : true\n}"},"url":"{{api_gateway}}/tax-invoices/inline"},"response":[]},{"name":"INV-Inline-Inclusive-Percent","_postman_id":"ce63a7bc-3f7c-4c49-bf94-52f1110e2eb2","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-21\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-22\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Inclusive - Inline Discount Percent\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": true,\n  \"useInlineVat\": false,\n  \"discountType\": 1,\n  \"items\": [\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 105,\n        \"discountAmountPercentage\": 5,\n        \"total\": 99.75\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 110,\n        \"discountAmountPercentage\": 10,\n        \"total\": 99\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 115,\n        \"discountAmountPercentage\": 15,\n        \"total\": 97.75\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountAmount\": 33.50,\n  \"totalAfterDiscount\": 296.50,\n  \"vatableAmount\": 277.10,\n  \"vatAmount\": 19.40,\n  \"isVat\": true,\n  \"grandTotal\": 296.50,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"remarks\": \"Create Document Billing Notes Inline Discount\\nInclusive Discount Percent\",\n  \"internalNotes\": \"Note OpenAPI\",\n  \"showSignatureOrStamp\" : true\n}"},"url":"{{api_gateway}}/tax-invoices/inline"},"response":[]},{"name":"INV-Inline-Vat-Exclusive-Bath","_postman_id":"2096b116-a36f-45e5-ba40-2d0c3f10eb45","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-21\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-22\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Exclusive - Inline Vat Bath\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": false,\n  \"useInlineVat\": true,\n  \"discountType\": 3,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"discountAmount\": 5,\n        \"vatRate\": 7,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"discountAmount\": 10,\n        \"vatRate\": 0,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"discountAmount\": 15,\n        \"vatRate\": -1,\n        \"total\": 100\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountAmount\": 30,\n  \"totalAfterDiscount\": 300,\n  \"exemptAmount\": 200,\n  \"vatableAmount\": 100,\n  \"vatAmount\": 7,\n  \"isVat\": true,\n  \"grandTotal\": 307,\n  \"remarks\": \"Create Document Billing Notes Inline Vat\\nExclusive Discount Bath\",\n  \"internalNotes\": \"Note OpenAPI\",\n  \"showSignatureOrStamp\" : true\n}"},"url":"{{api_gateway}}/tax-invoices/inline"},"response":[]},{"name":"INV-Inline-Vat-Exclusive-Percent","_postman_id":"b5ae7ebc-7b0a-4dfd-8dbd-538209ec6fcb","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-21\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-22\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Exclusive - Inline Vat Bath\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": false,\n  \"useInlineVat\": true,\n  \"discountType\": 1,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"discountAmount\": 5,\n        \"vatRate\": 7,\n        \"total\": 99.75\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"discountAmount\": 10,\n        \"vatRate\": 0,\n        \"total\": 99.00\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"discountAmount\": 15,\n        \"vatRate\": -1,\n        \"total\": 97.75\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountAmount\": 33.50,\n  \"totalAfterDiscount\": 296.50,\n  \"exemptAmount\": 196.75,\n  \"vatableAmount\": 99.75,\n  \"vatAmount\": 6.98,\n  \"isVat\": true,\n  \"grandTotal\": 303.48,\n  \"remarks\": \"Create Document Billing Notes Inline Vat\\nExclusive Discount Percent\",\n  \"internalNotes\": \"Note OpenAPI\",\n  \"showSignatureOrStamp\" : true\n}"},"url":"{{api_gateway}}/tax-invoices/inline"},"response":[]},{"name":"INV-Inline-Vat-Inclusive-Bath","_postman_id":"13e9d4bf-bc54-4570-a668-a06d8a445b55","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-21\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-22\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Inclusive - Inline Vat Bath\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": true,\n  \"useInlineVat\": true,\n  \"discountType\": 3,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"discountAmount\": 5,\n        \"vatRate\": 7,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"discountAmount\": 10,\n        \"vatRate\": 0,\n        \"total\": 100\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"discountAmount\": 15,\n        \"vatRate\": -1,\n        \"total\": 100\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountAmount\": 30,\n  \"totalAfterDiscount\": 300,\n  \"exemptAmount\": 200,\n  \"vatableAmount\": 93.46,\n  \"vatAmount\": 6.54,\n  \"isVat\": true,\n  \"grandTotal\": 300,\n  \"remarks\": \"Create Document Billing Notes Inline Vat\\nInclusive Discount Bath\",\n  \"internalNotes\": \"Note OpenAPI\",\n  \"showSignatureOrStamp\" : true\n}"},"url":"{{api_gateway}}/tax-invoices/inline"},"response":[]},{"name":"INV-Inline-Vat-Inclusive-Percent","_postman_id":"55e749b6-6d4d-458a-a81d-42af5dd0f78e","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-21\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-22\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Inclusive - Inline Vat Percent\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": true,\n  \"useInlineVat\": true,\n  \"discountType\": 1,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"discountAmount\": 5,\n        \"vatRate\": 7,\n        \"total\": 99.75\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"discountAmount\": 10,\n        \"vatRate\": 0,\n        \"total\": 99\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"discountAmount\": 15,\n        \"vatRate\": -1,\n        \"total\": 97.75\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountAmount\": 33.50,\n  \"totalAfterDiscount\": 296.50,\n  \"exemptAmount\": 196.75,\n  \"vatableAmount\": 93.22,\n  \"vatAmount\": 6.53,\n  \"isVat\": true,\n  \"grandTotal\": 296.50,\n  \"remarks\": \"Create Document Quotations Inline Vat\\nInclusive Discount Percent\",\n  \"internalNotes\": \"Note OpenAPI\",\n  \"showSignatureOrStamp\" : true\n}"},"url":"{{api_gateway}}/tax-invoices/inline"},"response":[]},{"name":"INV Upload File","_postman_id":"fb3290a2-a517-4af3-8eb7-f01d5f31ce4e","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"formdata","formdata":[{"key":"logo","type":"file","src":"/Users/new_mobile/Desktop/Desktop New/logo/Package_unlimit.jpg"}]},"url":"{{api_gateway}}//tax-invoices/67080/attachment "},"response":[]},{"name":"INV Send Email","_postman_id":"b159d541-2a29-4165-a75b-f9a8c6557c65","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"bccEmail\" : \"tester.flow2019@gmail.com\",\n    \"cCMyself\" : true,\n    \"ccEmail\" : \"tester.flow2019@gmail.com\",\n    \"culture\" : \"th\",\n    \"documentId\" : 11613121,\n    \"fromemail\" : \"tester.flow2019@gmail.com\",\n    \"message\" : \"send email from API \",\n    \"subject\" : \"document billing notes\",\n    \"toemail\" : \"tester.flow2019@gmail.com\",\n    \"doCopy\" : false\n}"},"url":"{{api_gateway}}/tax-invoices/email-document"},"response":[]},{"name":"INV Share Document","_postman_id":"ce117a75-87a0-4f62-8a4d-81e666e21f2a","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"documentId\" : 11613121\n}"},"url":"{{api_gateway}}/tax-invoices/sharedocument"},"response":[]},{"name":"[Get All] Tax invoice","_postman_id":"7b5c9adb-08e1-4fa6-8fb7-f4c099693384","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"{{api_gateway}}/tax-invoices"},"response":[]},{"name":"[Get By ID] Tax invoice","_postman_id":"c460ed17-8306-4a6f-93ac-ab98ef097851","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"{{api_gateway}}/tax-invoices/9672285"},"response":[]},{"name":"Upgrade - BL to INV","_postman_id":"d35b35e9-cbd6-45ea-8ecc-87cbe8ef08ad","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"publishedOn\": \"2020-04-20T15:49:00.172\",\n    \"contactName\": \"บริษัท ลูกค้า จำกัด, คุณลูกค้า ซื้อประจำ\",\n    \"documentReferences\": [\n        {\n            \"referenceId\": 3413365,\n            \"referenceDocumentSerial\": \"BL2020040002\",\n            \"referenceDocumentType\": 5\n        }\n    ]\n}"},"url":"{{api_gateway}}/tax-invoices"},"response":[]}],"_postman_id":"efbf972a-5111-4dfb-b491-22e604427917","protocolProfileBehavior":{}},{"name":"Receipt","item":[{"name":"Upgrade Invoice to Receipt","_postman_id":"b273f08a-34d8-43df-87c2-d1ed9be7dd73","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"contactName\": \"upgrade invoice to receipt\",\n  \"contactGroup\": 1,\n  \"publishedOn\": \"2020-04-27\",\n  \"creditType\": 1,\n  \"creditDays\": 30,\n  \"dueDate\": \"2020-04-27\",\n  \"salesName\": \"Sale Office\",\n  \"projectName\": \"string\",\n  \"subTotal\": 1000,\n  \"totalAfterDiscount\": 1000,\n  \"grandTotal\": 1000,\n  \"documentShowWithholdingTax\": false,\n  \"documentStructureType\": \"SimpleDocument\",\n  \"documentReference\": [\n    {\n      \"recordId\": 109001,\n      \"referenceDocumentSerial\": \"INV2020040003\",\n      \"referenceDocumentType\": 7\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"{{api_gateway}}/receipts"},"response":[]},{"name":"Get - All Receipt","_postman_id":"f9b2020a-6b1f-42b3-9bca-a563b224272c","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"{{api_gateway}}/receipts"},"response":[]},{"name":"Get - By ID Documet","_postman_id":"0f07ec70-f481-4a5a-953a-1e4f9872c1a5","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"{{api_gateway}}/receipts/2178755"},"response":[]},{"name":"RE - Share Document","_postman_id":"a6a03036-8e3d-4fc5-aa0b-d089c5f3e1fb","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"documentId\" : 23798\n}"},"url":"{{api_gateway}}/receipts/sharedocument"},"response":[]},{"name":"RE - Send Email","_postman_id":"1ffaeb94-31eb-4f92-8744-17b28f33bc2c","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"bccEmail\" : \"tester.flow2019@gmail.com\",\n    \"cCMyself\" : true,\n    \"ccEmail\" : \"tester.flow2019@gmail.com\",\n    \"culture\" : \"th\",\n    \"documentId\" : 23798,\n    \"fromemail\" : \"tester.flow2019@gmail.com\",\n    \"message\" : \"send email from API \",\n    \"subject\" : \"document billing notes\",\n    \"toemail\" : \"tester.flow2019@gmail.com\",\n    \"doCopy\" : false\n}"},"url":"{{api_gateway}}/receipts/email-document"},"response":[]}],"_postman_id":"03851444-56e3-4a62-865d-29771f70d08d","protocolProfileBehavior":{}},{"name":"Cash Invoice","item":[{"name":"[Create] cash-invoices ราคารวมภาษี","_postman_id":"ee578320-3637-42ec-ad23-2c654985c925","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"#C0001\",\n  \"contactName\": \"FlowAccount Co., Ltd.\",\n  \"contactAddress\": \"141/63 38th Floor Unit 40B1 Skulthai Surawong Tower\\nSurawong Road. Suriyawong\\nBangrak Bangkok Thailand 10500\",\n  \"contactBranch\": \"Main Branch\",\n  \"contactPerson\": \"Mr.Test Flowaccount\",\n  \"contactEmail\": \"test@flowaccount.com\",\n  \"contactNumber\": \"0123456789\",\n  \"contactZipCode\": \"10150\",\n  \"contactTaxId\": \"1100400485555\",\n  \"creditType\": 3,\n  \"publishedOn\": \"2019-04-30\",\n  \"creditDays\": 0,\n  \"dueDate\": \"2019-04-30\",\n  \"projectName\": \"Open API\", \n  \"reference\": \"REF001\",\n  \"isVatInclusive\": true,\n  \"discountType\": 1,\n  \"discountPercentage\": 10,\n  \"discountAmount\": 60, \n  \"salesName\": \"Vorapod\",\n    \"items\": \n  [\n    {\n        \"type\": 1,\n        \"productCode\": \"APP001\",\n        \"name\": \"iPhone Xs Max\",\n        \"description\": \"The new iPhone 2018\",\n        \"quantity\": 2,\n        \"unitName\": \"Device\",\n        \"pricePerUnit\": 150,\n        \"total\": 300\n    },\n    {\n        \"type\": 1,\n        \"productCode\": \"APP002\",\n        \"name\": \"iPhone Xr Blue Color\",\n        \"description\": \"The new iPhone 2018\",\n        \"quantity\": 2,\n        \"unitName\": \"Device\",\n        \"pricePerUnit\": 150,\n        \"total\": 300\n    } \n  ],\n  \"subTotal\": 600,\n  \"totalAfterDiscount\": 540,\n  \"grandTotal\": 577.80,\n  \"totalWithoutVat\": 504.67,\n  \"vatAmount\": 37.80,\n  \"remarks\": \"หมายเหตุ\",\n  \"internalNotes\": \"โน๊ตภายในบริษัท\",\n  \"paymentMethod\": 1,\n  \"paymentDate\": \"2019-04-30\",\n  \"paymentRemarks\": \"หมายเหตุการชำระเงิน\",\n  \"collected\": 561.60,\n  \"withheldAmount\": 16.20,\n  \"withheldPercent\": 3,\n  \"fee\": 0\n}"},"url":"{{api_gateway}}/cash-invoices"},"response":[]},{"name":"CA-Simple-Inclusive-Percent ","_postman_id":"35ab60de-4121-43a8-9741-0c2bd0f57875","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"V002\",\n  \"contactName\": \"OpenAPI\",\n  \"contactAddress\": \"Address\\nOpenAPI\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Name\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"contactGroup\" : 3,\n  \"publishedOn\": \"2019-12-22\",\n  \"creditType\": 1,\n  \"creditDays\": 1,\n  \"dueDate\": \"2019-12-23\",\n  \"salesName\": \"ApiGateway\",\n  \"projectName\": \"Inclusive - Simple Discount Amount\",\n  \"reference\": \"Ref Document\",\n  \"isVatInclusive\": true,\n  \"useReceiptDeduction\": true,\n  \"items\": [\n    {\n        \"name\": \"Inventory\",\n        \"description\": \"Description Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 105,\n        \"total\": 105\n    },\n    {\n        \"name\": \"Non-Inventory\",\n        \"description\": \"Description Non-Inventory\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 110,\n        \"total\": 110\n    },\n    {\n        \"name\": \"Service\",\n        \"description\": \"Description Service\",\n        \"quantity\": 1,\n        \"unitName\": \"Pack\",\n        \"pricePerUnit\": 115,\n        \"total\": 115\n    }\n  ],\n  \"subTotal\": 330,\n  \"discountPercentage\": 10,\n  \"discountAmount\": 33,\n  \"totalAfterDiscount\": 297,\n  \"vatableAmount\": 277.57,\n  \"vatAmount\": 19.43,\n  \"isVat\": true,\n  \"grandTotal\": 297,\n  \"documentShowWithholdingTax\": true,\n  \"documentWithholdingTaxPercentage\" : 3,\n  \"documentDeductionAmount\": 10,\n  \"documentDeductionType\": 1,\n  \"remarks\": \"Create Document Billing Notes\\nInclusive Discount Percent\",\n  \"internalNotes\": \"Note OpenAPI\",\n  \"showSignatureOrStamp\" : true\n}"},"url":"{{api_gateway}}/cash-invoices"},"response":[]},{"name":"Get All - Cash Invoice","_postman_id":"6ae5f3a4-14e3-40d7-a7a3-97abdd4aea42","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"{{api_gateway}}/cash-invoices"},"response":[]},{"name":"CA - Sharedocument","_postman_id":"e658ea40-82dc-4871-880f-63d99acde54e","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"documentId\" : 561967\n}"},"url":"{{api_gateway}}/cash-invoices/sharedocument"},"response":[]},{"name":"CA - Send Email","_postman_id":"84bacff8-dced-4081-b9f8-78dbf7e1eda9","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"bccEmail\" : \"tester.flow2019@gmail.com\",\n    \"cCMyself\" : true,\n    \"ccEmail\" : \"tester.flow2019@gmail.com\",\n    \"culture\" : \"th\",\n    \"documentId\" : 719541,\n    \"fromemail\" : \"tester.flow2019@gmail.com\",\n    \"message\" : \"send email from API \",\n    \"subject\" : \"document billing notes\",\n    \"toemail\" : \"tester.flow2019@gmail.com\",\n    \"doCopy\" : false\n}"},"url":"{{api_gateway}}/cash-invoices/email-document"},"response":[]}],"_postman_id":"e5cd467b-f8a5-4d87-9fc5-ae5cba9574a9","protocolProfileBehavior":{}},{"name":"Purchases Orders","item":[{"name":"Get All - Purchases Orders","_postman_id":"060a4b6e-9b77-4083-ae5d-b91394d4610d","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"{{api_gateway}}/purchases"},"response":[]},{"name":"PO - Sharedocument","_postman_id":"26f22a73-801c-4ab9-a052-f5886a615a3e","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"documentId\" : 1839003\n}"},"url":"{{api_gateway}}/purchases-orders/sharedocument"},"response":[]},{"name":"PO - Send Email","_postman_id":"6ac343f4-6bab-44f8-8230-dc15f442f75a","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"documentId\" : 1839003,\n\t\"fromemail\" : \"tester.flow2019@gmail.com\",\n\t\"toemail\" : \"tester.flow2019@gmail.com\",\n\t\"cCMyself\" : true,\n\t\"ccEmail\" : \"tester.flow2019@gmail.com\",\n    \"bccEmail\" : \"tester.flow2019@gmail.com\",\n    \"subject\" : \"document quotations\",\n    \"message\" : \"send email from API\",\n    \"culture\" : \"th\"\n}"},"url":"{{api_gateway}}/purchases-orders/email-document"},"response":[]}],"_postman_id":"849f3d47-8f2d-46f4-a801-c5801e036a0e","protocolProfileBehavior":{}},{"name":"Receipt Inventory","item":[{"name":"Get All - Receipt Inventory","_postman_id":"01277ef0-56b1-4730-bda5-8aa0708f1bae","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"{{api_gateway}}/purchases"},"response":[]},{"name":"RI - Sharedocument","_postman_id":"32cc8ad4-0a0a-4482-a79f-67c11b50b38d","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"documentId\" : 1615797\n}"},"url":"{{api_gateway}}/purchases/sharedocument"},"response":[]},{"name":"RI - Send Email","_postman_id":"ef3fc2a3-d053-4ad2-9587-a9d9a1019a13","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"documentId\" : 1615797,\n\t\"fromemail\" : \"tester.flow2019@gmail.com\",\n\t\"toemail\" : \"tester.flow2019@gmail.com\",\n\t\"cCMyself\" : true,\n\t\"ccEmail\" : \"tester.flow2019@gmail.com\",\n    \"bccEmail\" : \"tester.flow2019@gmail.com\",\n    \"subject\" : \"document receipt inventory\",\n    \"message\" : \"send email from API\",\n    \"culture\" : \"th\"\n}"},"url":"{{api_gateway}}/purchases/email-document"},"response":[]}],"_postman_id":"a8c63a68-9dd7-49eb-8235-25dbdab2ec3c","protocolProfileBehavior":{}},{"name":"Expenses","item":[{"name":"[Upload] Expenses File","_postman_id":"67330c5f-5304-478e-bb88-40abef0f152c","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"formdata","formdata":[{"key":"logo","type":"file","src":"/Users/new_mobile/Desktop/Desktop New/logo/Package_basic.jpg"}]},"url":"{{api_gateway}}//expenses/94305/attachment "},"response":[]},{"name":"[Create] Expenses (Inline Inclusive)","_postman_id":"118b381e-cb21-4d39-a1f6-da2d15cebc0e","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"S0001\",\n  \"contactName\": \"Supplier\",\n  \"contactAddress\": \"Supplier Address\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Supplier\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"publishedOn\": \"2019-11-11\",\n  \"creditType\": 1,\n  \"creditDays\": 0,\n  \"dueDate\": \"2019-11-11\",\n  \"projectName\": \"Open API - Expense Document Simple (Inclusive)\",\n  \"reference\": \"Ref.101010\",\n  \"isVatInclusive\": true,\n  \"salesName\": \"ApiGateway\",\n  \"discountType\": 3,\n  \"items\": [\n    {\n        \"description\": \"Expense openapi inline\",\n        \"systemCode\": 1001,\n\t\t\"categoryId\": 40238,\n        \"nameForeign\": \"Marketing & Advertising\",\n        \"nameLocal\": \"การตลาดและโฆษณา\",\n        \"creditCategory\": 2,\n        \"creditId\": 1081994,\n        \"creditCode\": \"21399\",\n        \"creditNameForeign\": \"21399 / Other Payables\",\n        \"creditNameLocal\": \"21399 / เจ้าหนี้อืน\",\n        \"debitCategory\": 5,\n        \"debitId\": 1082099,\n        \"debitCode\": \"53029\",\n        \"debitNameForeign\": \"53029 / Other advertising and marketing\",\n        \"debitNameLocal\": \"53029 / ค่าใช้จ่ายด้านโฆษณาและการตลาดอื่นๆ\",\n        \"quantity\": 1,\n        \"unitName\": \"ชิ้น\",\n        \"pricePerUnit\": 250,\n        \"discountAmount\": 10,\n        \"vatRate\": 7,\n        \"total\": 240\n    }\n  ],\n  \"subTotal\": 250,\n  \"discountAmount\": 10,\n  \"totalAfterDiscount\": 240,\n  \"exemptAmount\": 0,\n  \"vatableAmount\": 224.30,\n  \"vatAmount\": 15.70,\n  \"grandTotal\": 240,\n  \"remarks\": \"OpenAPI\",\n  \"internalNotes\": \"Internal Note\"\n}"},"url":"{{api_gateway}}/expenses/inline"},"response":[]},{"name":"[Create] Expenses (Inline Exclusive)","_postman_id":"fde99938-1806-4b09-bb4f-41c9ce9073d7","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"S0001\",\n  \"contactName\": \"Supplier\",\n  \"contactAddress\": \"Supplier Address\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Supplier\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"publishedOn\": \"2019-11-11\",\n  \"creditType\": 1,\n  \"creditDays\": 0,\n  \"dueDate\": \"2019-11-11\",\n  \"projectName\": \"Open API - Expense Document Simple (Inclusive)\",\n  \"reference\": \"Ref.101010\",\n  \"isVatInclusive\": false,\n  \"salesName\": \"ApiGateway\",\n  \"discountType\": 3,\n  \"items\": [\n    {\n        \"description\": \"Expense openapi inline\",\n        \"systemCode\": 1001,\n\t\t\"categoryId\": 40238,\n        \"nameForeign\": \"Marketing & Advertising\",\n        \"nameLocal\": \"การตลาดและโฆษณา\",\n        \"creditCategory\": 2,\n        \"creditId\": 1081994,\n        \"creditCode\": \"21399\",\n        \"creditNameForeign\": \"21399 / Other Payables\",\n        \"creditNameLocal\": \"21399 / เจ้าหนี้อืน\",\n        \"debitCategory\": 5,\n        \"debitId\": 1082099,\n        \"debitCode\": \"53029\",\n        \"debitNameForeign\": \"53029 / Other advertising and marketing\",\n        \"debitNameLocal\": \"53029 / ค่าใช้จ่ายด้านโฆษณาและการตลาดอื่นๆ\",\n        \"quantity\": 1,\n        \"unitName\": \"ชิ้น\",\n        \"pricePerUnit\": 250,\n        \"discountAmount\": 10,\n        \"vatRate\": 7,\n        \"total\": 240\n    }\n  ],\n  \"subTotal\": 250,\n  \"discountAmount\": 10,\n  \"totalAfterDiscount\": 240,\n  \"exemptAmount\": 0,\n  \"vatableAmount\": 240.00,\n  \"vatAmount\": 16.80,\n  \"grandTotal\": 256.80,\n  \"remarks\": \"OpenAPI\",\n  \"internalNotes\": \"Internal Note\"\n}"},"url":"{{api_gateway}}/expenses/inline"},"response":[]},{"name":"[Create] Expenses Simple (Inclusive)","_postman_id":"5735d799-4fab-4ee8-9eac-d070f2785390","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"S0001\",\n  \"contactName\": \"Supplier\",\n  \"contactAddress\": \"Supplier Address\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Supplier\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"publishedOn\": \"2019-11-11\",\n  \"creditType\": 1,\n  \"creditDays\": 0,\n  \"dueDate\": \"2019-11-11\",\n  \"projectName\": \"Open API - Expense Document Simple (Inclusive)\",\n  \"reference\": \"Ref.101010\",\n  \"isVatInclusive\": true,\n  \"salesName\": \"ApiGateway\",\n  \"items\": [\n    {\n        \"description\": \"Expense openapi\",\n        \"systemCode\": 1001,\n\t\t\"categoryId\": 40238,\n        \"nameForeign\": \"Marketing & Advertising\",\n        \"nameLocal\": \"การตลาดและโฆษณา\",\n        \"creditId\": 1081994,\n        \"creditCode\": \"21399\",\n        \"creditCategory\": 2,\n        \"creditNameForeign\": \"21399 / Other Payables\",\n        \"creditNameLocal\": \"21399 / เจ้าหนี้อืน\",\n        \"debitId\": 1082099,\n        \"debitCode\": \"53029\",\n        \"debitCategory\": 5,\n        \"debitNameForeign\": \"53029 / Other advertising and marketing\",\n        \"debitNameLocal\": \"53029 / ค่าใช้จ่ายด้านโฆษณาและการตลาดอื่นๆ\",\n        \"quantity\": 1,\n        \"unitName\": \"ชิ้น\",\n        \"pricePerUnit\": 250,\n        \"total\": 250\n    }\n  ],\n  \"subTotal\": 250,\n  \"discountPercentage\": 0,\n  \"discountAmount\": 30,\n  \"isVat\": true,\n  \"totalAfterDiscount\": 220,\n  \"vatAmount\": 14.39,\n  \"grandTotal\": 220,\n  \"remarks\": \"OpenAPI\",\n  \"internalNotes\": \"Internal Note\"\n}"},"url":"{{api_gateway}}/expenses"},"response":[]},{"name":"[Create] Expenses Simple (Exclusive)","_postman_id":"2b7c43d7-e70a-473c-b679-952fa6bf5900","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"S0001\",\n  \"contactName\": \"Supplier\",\n  \"contactAddress\": \"Supplier Address\",\n  \"contactTaxId\": \"1100400485611\",\n  \"contactBranch\": \"Branch Supplier\",\n  \"contactPerson\": \"ApiGateway\",\n  \"contactEmail\": \"openapi@flowaccount.com\",\n  \"contactNumber\": \"0813597000\",\n  \"contactZipCode\": \"10140\",\n  \"publishedOn\": \"2019-11-11\",\n  \"creditType\": 1,\n  \"creditDays\": 0,\n  \"dueDate\": \"2019-11-11\",\n  \"projectName\": \"Open API - Expense Document Simple (Exclusive)\",\n  \"reference\": \"Ref.101010\",\n  \"isVatInclusive\": false,\n  \"salesName\": \"ApiGateway\",\n  \"items\": [\n    {\n        \"description\": \"Expense openapi\",\n        \"systemCode\": 1001,\n\t\t\"categoryId\": 40238,\n        \"nameForeign\": \"Marketing & Advertising\",\n        \"nameLocal\": \"การตลาดและโฆษณา\",\n        \"creditId\": 1081994,\n        \"creditCode\": \"21399\",\n        \"creditCategory\": 2,\n        \"creditNameForeign\": \"21399 / Other Payables\",\n        \"creditNameLocal\": \"21399 / เจ้าหนี้อืน\",\n        \"debitId\": 1082099,\n        \"debitCode\": \"53029\",\n        \"debitCategory\": 5,\n        \"debitNameForeign\": \"53029 / Other advertising and marketing expenses\",\n        \"debitNameLocal\": \"53029 / ค่าใช้จ่ายด้านโฆษณาและการตลาดอื่นๆนๆดอื่นๆ\",\n        \"quantity\": 1,\n        \"unitName\": \"ชิ้น\",\n        \"pricePerUnit\": 250,\n        \"total\": 250\n    }\n  ],\n  \"subTotal\": 250,\n  \"discountPercentage\": 10,\n  \"discountAmount\": 30,\n  \"isVat\": true,\n  \"totalAfterDiscount\": 220,\n  \"vatAmount\": 15.40,\n  \"grandTotal\": 235.40,\n  \"remarks\": \"OpenAPI\",\n  \"internalNotes\": \"Internal Note\"\n}"},"url":"{{api_gateway}}/expenses"},"response":[]},{"name":"Get catgoeies accounting","_postman_id":"f7e07275-ac6f-4acd-ab15-4fe852bf3b73","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"{{api_gateway}}/expenses/categories/accounting"},"response":[]},{"name":"Get catgoeies business","_postman_id":"3f0e44f1-22d2-4ce0-aca9-1c4c7a58725d","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"{{api_gateway}}/expenses/categories/business"},"response":[]},{"name":"Get All - Expense","_postman_id":"20bd2ffb-082d-436b-9c39-63fe8d40ce00","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"{{api_gateway}}/expenses"},"response":[]},{"name":"EXP - Sharedocument","_postman_id":"632a9f84-2161-4122-b534-a10919179164","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"documentId\" : 5106927\n}"},"url":"{{api_gateway}}/expenses/sharedocument"},"response":[]},{"name":"EXP - Send Email","_postman_id":"27c1a1e4-adf8-4f62-8a4d-e5540525f829","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"documentId\" : 5106927,\n\t\"fromemail\" : \"tester.flow2019@gmail.com\",\n\t\"toemail\" : \"tester.flow2019@gmail.com\",\n\t\"cCMyself\" : true,\n\t\"ccEmail\" : \"tester.flow2019@gmail.com\",\n    \"bccEmail\" : \"tester.flow2019@gmail.com\",\n    \"subject\" : \"document expense\",\n    \"message\" : \"send email from API\",\n    \"culture\" : \"th\"\n}"},"url":"{{api_gateway}}/expenses/email-document"},"response":[]}],"_postman_id":"569edf81-7aee-4fb3-9268-9dfa5e87fb09","protocolProfileBehavior":{}},{"name":"Withholding Tax","item":[{"name":"[Create] WHT","_postman_id":"cc59ad9f-082b-493d-bfe5-e866de039738","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"authority","value":"api-core-a-staging.flowaccount.com","disabled":true},{"key":"accept","value":"application/json, text/plain, */*","disabled":true},{"key":"sec-fetch-dest","value":"empty","disabled":true},{"warning":"This is a duplicate header and will be overridden by the authorization header generated by Postman.","key":"authorization","value":"Bearer c8bda371b3a6619b0d29898e3e94d9e3c07f0a8bcabf1003ec4f891f522811d3","disabled":true},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36","disabled":true},{"key":"content-type","value":"application/json"},{"key":"origin","value":"https://a-staging-new.flowaccount.com","disabled":true},{"key":"sec-fetch-site","value":"same-site","disabled":true},{"key":"sec-fetch-mode","value":"cors","disabled":true},{"key":"referer","value":"https://a-staging-new.flowaccount.com/N592236/business/withholding-tax/new","disabled":true},{"key":"accept-language","value":"th-TH,th;q=0.9,en;q=0.8","disabled":true},{"key":"cookie","value":"_ga=GA1.2.1470384973.1563282242; hubspotutk=4ec950d8b16cacf66104f142212ad93d; _hjid=8f64696a-b791-4576-9d78-46d74c2b8d42; wsstky=W1; mp_41272d18399c471ff77934a08cde5694_mixpanel=%7B%22distinct_id%22%3A%20%22495853%22%2C%22%24device_id%22%3A%20%2216c00e99275174-04e29d738b154c-e343166-168000-16c00e992764ed%22%2C%22%24initial_referrer%22%3A%20%22https%3A%2F%2Fauth.flowaccount.com%2Fconnect%2Fauthorize%2Flogin%3Fclient_id%3Dflowaccount-mvc%26redirect_uri%3Dhttps%253A%252F%252Fapp.flowaccount.com%252F%26response_mode%3Dform_post%26response_type%3Dcode%2520id_token%26scope%3Dopenid%2520flowaccount-api%2520offline_access%2520tenant%26state%3DOpenIdConnect.AuthenticationProperties%253DUqXSL6WW0M8es3fyum5KddRO2jCKxctLFhHbqNjDrg1Cm7acHR1mvKnPf4RBx1w-CfJczyM2hAv9sEf-CuC6glaRM-pcIxB6mg8seQMWksHWaFocM9wnt5j3oCNFMsLp8yR1dBNEvFpbZ8DR1B9eYWMzvM0E9h1ulOxq-jbkvJA362lz5wrtmjVqMn3hoSnmFw0uVd94SqTTmuZ35582h8qLshjkRKUdSlvFRfLhsRk%26nonce%3D636989801935939351.ZDE2OWI4ZmEtYzIxNS00OTQ3LWI0M2YtZTczMzhhY2MyMGExY2JiNzA4MzUtZDcyZC00ZTdlLTljMGUtODhhMWU5ZWRjNTVl%22%2C%22%24initial_referring_domain%22%3A%20%22auth.flowaccount.com%22%2C%22%24user_id%22%3A%20%22495853%22%2C%22__mps%22%3A%20%7B%7D%2C%22__mpso%22%3A%20%7B%7D%2C%22__mpus%22%3A%20%7B%7D%2C%22__mpa%22%3A%20%7B%7D%2C%22__mpu%22%3A%20%7B%7D%2C%22__mpr%22%3A%20%5B%5D%2C%22__mpap%22%3A%20%5B%5D%7D; _gcl_au=1.1.1530379244.1579799938; ReferrerUrl=https%3A%2F%2Fflowaccount.com; ReferrerUrlQuery=https%3A%2F%2Fflowaccount.com; culture=th; _gid=GA1.2.1577001574.1581234326; __hssrc=1; __hstc=225320709.4ec950d8b16cacf66104f142212ad93d.1563282242189.1581234326059.1581236690341.52; canary=false; NCSRF=RandomBytes%23IikvQ5Bl8xBUoQ%3d%3d%7cHmac%2356WDgMQJtzRKnj8YwSr42jggrm%2fKZl5kedR1C%2fg%2flZ0%3d%7cCreatedDate%232020-02-09T08%3a26%3a36.5494573%2b00%3a00","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"contactName\": \"Withholidng\",\r\n    \"contactAddress\": \"address\",\r\n    \"contactNumber\": \"028181969\",\r\n    \"contactGroup\": 3,\r\n    \"contactPerson\": \"New New\",\r\n    \"contactTaxId\": \"1212121212121\",\r\n    \"contactBranch\": \"office heads\",\r\n    \"contactEmail\": \"email@email.com\",\r\n    \"publishedOn\": \"2020-04-12\",\r\n    \"entity\": 7,\r\n    \"textOther\": \"2020\",\r\n    \"withholdingTaxItems\": [\r\n        {\r\n            \"incomeType\": 3,\r\n            \"taxRate\": 3,\r\n            \"taxAmount\": 107,\r\n            \"taxAmountNoVat\": 100,\r\n            \"total\": 104,\r\n            \"isVatInclusive\": false,\r\n            \"vatType\": 3,\r\n            \"description\": null,\r\n            \"value\": \"100\",\r\n            \"withheld\": 3,\r\n            \"taxType\": 1\r\n        }\r\n    ],\r\n    \"isVatInclusive\": false,\r\n    \"isVat\": true,\r\n    \"total\": 100,\r\n    \"totalTaxWithheld\": 3,\r\n    \"taxPayment\": 7,\r\n    \"taxPaymentOthers\": \"Other 777\",\r\n    \"providentFundNumber\": \"9999\", \r\n    \"providentFundAmount\": \"888\", \r\n    \"socialSecurityAmount\": \"777\", \r\n    \"remarks\": \"remark\",\r\n    \"internalNotes\": \"note\",\r\n    \"showSignatureOrStamp\": true\r\n}"},"url":"{{api_gateway}}/withholding-taxes"},"response":[]},{"name":"Get All - Withholding Tax","_postman_id":"036aa6e1-372b-461c-8bc0-1a1d01aa0df8","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Postman-Token","value":"da316360-d41d-4397-b585-852a2ba9212a","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"{{api_gateway}}/withholding-taxes"},"response":[]},{"name":"WHT - Sharedocument","_postman_id":"508876e7-482c-457b-8aec-3fba52cde0ca","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"documentId\" : 1542393\n}"},"url":"{{api_gateway}}/withholding-taxes/sharedocument"},"response":[]},{"name":"WHT - Send Email","_postman_id":"4eaa8742-a762-4ea1-a5c1-2b8d2a017596","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"documentId\" : 1542393,\n\t\"fromemail\" : \"tester.flow2019@gmail.com\",\n\t\"toemail\" : \"tester.flow2019@gmail.com\",\n\t\"cCMyself\" : true,\n\t\"ccEmail\" : \"tester.flow2019@gmail.com\",\n    \"bccEmail\" : \"tester.flow2019@gmail.com\",\n    \"subject\" : \"document expense\",\n    \"message\" : \"send email from API\",\n    \"culture\" : \"th\"\n}"},"url":"{{api_gateway}}/withholding-taxes/email-document"},"response":[]}],"_postman_id":"6813aea6-a704-46e6-89d5-a4de5719ae90","protocolProfileBehavior":{}},{"name":"Payment","item":[{"name":"Payment - Simple Credit Card","_postman_id":"5e47fd41-b5fc-4429-907c-8a621fac8f02","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"content-type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"documentId\": 561967,\n    \"paymentDate\": \"2019-12-21\",\n    \"collected\": 100,\n    \"paymentDeductionType\": 0,\n    \"paymentDeductionAmount\": 0,\n    \"withheldPercentage\": 0,\n    \"withheldAmount\": 0,\n    \"paymentCharge\": 0,\n    \"paymentMethod\": 7,\n    \"transferBankAccountId\": 0,\n    \"bankAccountId\": 0,\n    \"chequeDate\": \"2020-03-31\",\n    \"chequeNumber\": \"\",\n    \"chequeBankAccountId\": 0,\n    \"creditCardBankAccountId\": 2,\n    \"paymentRemarks\": \"Payment CreditCard\",\n    \"remainingCollectedType\": 0,\n    \"remainingCollected\": 0\n}","options":{"raw":{}}},"url":"{{api_gateway}}/cash-invoices/561967/payment"},"response":[]},{"name":"Payment - Simple Cheque","_postman_id":"59d7c280-75ad-498d-a710-3ab782cde49d","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"content-type","value":"application/json"},{"key":"cookie","value":"_ga=GA1.2.1143271295.1575264414; _gcl_au=1.1.307567905.1575264415; hubspotutk=88402959481e041ebf6cd2aa95b1310a; __hssrc=1; wsstky=W2; _fbp=fb.1.1577167709399.1677273958; _gid=GA1.2.850022932.1578298734; culture=th; mp_41272d18399c471ff77934a08cde5694_mixpanel=%7B%22distinct_id%22%3A%20%22495853%22%2C%22%24device_id%22%3A%20%2216f0cb3c8da2bf-02ef444cb64fe-3964720e-13c680-16f0cb3c8db4f2%22%2C%22%24initial_referrer%22%3A%20%22https%3A%2F%2Fauth.flowaccount.com%2Fconnect%2Fauthorize%3Fclient_id%3Dflowaccount-mvc%26redirect_uri%3Dhttps%253a%252f%252fapp.flowaccount.com%252f%26response_mode%3Dform_post%26response_type%3Dcode%2Bid_token%26scope%3Dopenid%2Bflowaccount-api%2Boffline_access%2Btenant%26state%3DOpenIdConnect.AuthenticationProperties%253dCXmSmNFyaltjfv41rqH23CBUUTiTbFb4UZdQW7Gx0b0cY2mawnIgyyyeJx8RT-5ejCCEQs6hBzuHE2U75T6rfICIGezkA7hhw4odr9zmYSMtDyFzzKp3lnt0jFiLUVZ2evTnQ5MSCYiL-1DKXlJ5rupfY9r-1bAT8xFTStv_jbhGVkf8rYMzYyTSgBVs2Scg85OsrZ_uchMV286d6Bix6E8QzdI7MSbNQUDwMingrKg%26nonce%3D637120629016331698.M2FiNWUxMzMtMjk4ZS00YjdmLTk3YTctNmE2ZGYzOWVjNmFjZGE4OTVlNjgtZDU4My00YjY4LWE3N2YtODkwMTVkZTk1ZjIz%22%2C%22%24initial_referring_domain%22%3A%20%22auth.flowaccount.com%22%2C%22__mps%22%3A%20%7B%7D%2C%22__mpso%22%3A%20%7B%7D%2C%22__mpus%22%3A%20%7B%7D%2C%22__mpa%22%3A%20%7B%7D%2C%22__mpu%22%3A%20%7B%7D%2C%22__mpr%22%3A%20%5B%5D%2C%22__mpap%22%3A%20%5B%5D%2C%22%24user_id%22%3A%20%22495853%22%7D; ReferrerUrl=https%3A%2F%2Fflowaccount.com; ReferrerUrlQuery=https%3A%2F%2Fflowaccount.com; __hstc=225320709.88402959481e041ebf6cd2aa95b1310a.1575381914058.1578475392187.1578479755394.86; canary=false; NCSRF=RandomBytes%23TM0HkWYtphusMw%3d%3d%7cHmac%23VNLkwij1s40gxOG1acACh7DKxL7maIfO7Ps%2f3u1vU2g%3d%7cCreatedDate%232020-01-08T10%3a38%3a42.0134610%2b00%3a00","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"documentId\": 561967,\n    \"paymentDate\": \"2019-12-21\",\n    \"collected\": 100,\n    \"paymentDeductionType\": 0,\n    \"paymentDeductionAmount\": 0,\n    \"withheldPercentage\": 0,\n    \"withheldAmount\": 0,\n    \"paymentCharge\": 0,\n    \"paymentMethod\": 3,\n    \"transferBankAccountId\": 0,\n    \"bankAccountId\": null,\n    \"chequeDate\": \"2020-03-31\",\n    \"chequeNumber\": \"1234567890\",\n    \"chequeBankAccountId\": 0,\n    \"creditCardBankAccountId\": 0,\n    \"paymentRemarks\": \"Payment Cheque\",\n    \"remainingCollectedType\": 0,\n    \"remainingCollected\": 0\n}"},"url":"{{api_gateway}}/cash-invoices/561967/payment"},"response":[]},{"name":"Payment - Simple Transfer","_postman_id":"bee1c023-51cc-4fee-a25b-b12c24b1530d","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"content-type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"documentId\": 561967,\n    \"paymentDate\": \"2019-12-21\",\n    \"collected\": 100,\n    \"paymentDeductionType\": 0,\n    \"paymentDeductionAmount\": 0,\n    \"withheldPercentage\": 0,\n    \"withheldAmount\": 0,\n    \"paymentCharge\": 0,\n    \"paymentMethod\": 5,\n    \"transferBankAccountId\": 2,\n    \"bankAccountId\": 19256,\n    \"chequeDate\": \"2020-03-31\",\n    \"chequeNumber\": 0,\n    \"chequeBankAccountId\": 0,\n    \"creditCardBankAccountId\": 0,\n    \"paymentRemarks\": \"Payment Transfer\",\n    \"remainingCollectedType\": 0,\n    \"remainingCollected\": 0\n}"},"url":"{{api_gateway}}/cash-invoices/561967/payment"},"response":[]},{"name":"Payment - Simple Cash","_postman_id":"db10d4d3-62f1-430c-8964-cece47be9950","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"content-type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"documentId\": 561967,\n    \"paymentDate\": \"2019-12-21\",\n    \"collected\": 100,\n    \"paymentDeductionType\": 0,\n    \"paymentDeductionAmount\": 0,\n    \"withheldPercentage\": 0,\n    \"withheldAmount\": 0,\n    \"paymentCharge\": 0,\n    \"paymentMethod\": 1,\n    \"transferBankAccountId\": 0,\n    \"chequeDate\": \"2019-12-21\",\n    \"chequeNumber\": 0,\n    \"chequeBankAccountId\": 0,\n    \"creditCardBankAccountId\": 0,\n    \"paymentRemarks\": \"Payment Cash\",\n    \"remainingCollectedType\": 0,\n    \"remainingCollected\": 0\n}","options":{"raw":{"language":"json"}}},"url":"{{api_gateway}}/cash-invoices/561967/payment"},"response":[]}],"_postman_id":"81b90da0-cd9c-486a-9a92-303bc56bd5b6","protocolProfileBehavior":{}},{"name":"Contacts","item":[{"name":"Get Contact","_postman_id":"854c07dc-9775-4f51-badd-b1421ee484af","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{api_gateway}}/contacts","host":["{{api_gateway}}"],"path":["contacts"],"query":[{"key":"filter","value":"[{'columnName':'contactType','columnValue':'3','columnPredicateOperator':'And'}]","disabled":true},{"key":"sortBy","value":"[{'name':'contactType','sortOrder':'desc'}]","description":"Sort by contact type","disabled":true},{"key":"sortBy","value":"[{'name':'namelocal','sortOrder':'desc'}]","description":"Sort by contact name","disabled":true},{"key":"sortBy","value":"[{'name':'contactPerson','sortOrder':'desc'}]","description":"Sort by contact person name","disabled":true},{"key":"sortBy","value":"[{'name':'email','sortOrder':'desc'}]","description":"Sort by contact email","disabled":true},{"key":"sortBy","value":"[{'name':'phone2','sortOrder':'desc'}]","description":"Sort by contact mobile","disabled":true}]}},"response":[]},{"name":"create contact","_postman_id":"3586a633-47c5-4f1b-a629-ffbabca969db","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"authority","value":"api-core-c-staging.flowaccount.com","disabled":true},{"key":"accept","value":"application/json, text/plain, */*","disabled":true},{"key":"origin","value":"https://c-staging-new.flowaccount.com","disabled":true},{"warning":"This is a duplicate header and will be overridden by the authorization header generated by Postman.","key":"authorization","value":"Bearer 0bfa17679b65be13fe1868a1f7981f05e6a19b9a75f13b1fe7e6678303c620f6","disabled":true},{"key":"user-agent","value":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36","disabled":true},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"sec-fetch-site","value":"same-site","disabled":true},{"key":"sec-fetch-mode","value":"cors","disabled":true},{"key":"referer","value":"https://c-staging-new.flowaccount.com/N592236/business/contacts","disabled":true},{"key":"accept-encoding","value":"gzip, deflate, br","disabled":true},{"key":"accept-language","value":"en-US,en;q=0.9,th;q=0.8","disabled":true},{"key":"cookie","value":"_ga=GA1.2.1143271295.1575264414; _gcl_au=1.1.307567905.1575264415; hubspotutk=88402959481e041ebf6cd2aa95b1310a; __hssrc=1; wsstky=W2; ReferrerUrlQuery=https%3A%2F%2Fflowaccount.com%2F; _fbp=fb.1.1577167709399.1677273958; _gid=GA1.2.850022932.1578298734; culture=th; ReferrerUrl=https%3A%2F%2Fadvance.flowaccount.com%2FN509497%2Fbusiness%2Fcontacts; mp_41272d18399c471ff77934a08cde5694_mixpanel=%7B%22distinct_id%22%3A%20%22495853%22%2C%22%24device_id%22%3A%20%2216f0cb3c8da2bf-02ef444cb64fe-3964720e-13c680-16f0cb3c8db4f2%22%2C%22%24initial_referrer%22%3A%20%22https%3A%2F%2Fauth.flowaccount.com%2Fconnect%2Fauthorize%3Fclient_id%3Dflowaccount-mvc%26redirect_uri%3Dhttps%253a%252f%252fapp.flowaccount.com%252f%26response_mode%3Dform_post%26response_type%3Dcode%2Bid_token%26scope%3Dopenid%2Bflowaccount-api%2Boffline_access%2Btenant%26state%3DOpenIdConnect.AuthenticationProperties%253dCXmSmNFyaltjfv41rqH23CBUUTiTbFb4UZdQW7Gx0b0cY2mawnIgyyyeJx8RT-5ejCCEQs6hBzuHE2U75T6rfICIGezkA7hhw4odr9zmYSMtDyFzzKp3lnt0jFiLUVZ2evTnQ5MSCYiL-1DKXlJ5rupfY9r-1bAT8xFTStv_jbhGVkf8rYMzYyTSgBVs2Scg85OsrZ_uchMV286d6Bix6E8QzdI7MSbNQUDwMingrKg%26nonce%3D637120629016331698.M2FiNWUxMzMtMjk4ZS00YjdmLTk3YTctNmE2ZGYzOWVjNmFjZGE4OTVlNjgtZDU4My00YjY4LWE3N2YtODkwMTVkZTk1ZjIz%22%2C%22%24initial_referring_domain%22%3A%20%22auth.flowaccount.com%22%2C%22__mps%22%3A%20%7B%7D%2C%22__mpso%22%3A%20%7B%7D%2C%22__mpus%22%3A%20%7B%7D%2C%22__mpa%22%3A%20%7B%7D%2C%22__mpu%22%3A%20%7B%7D%2C%22__mpr%22%3A%20%5B%5D%2C%22__mpap%22%3A%20%5B%5D%2C%22%24user_id%22%3A%20%22495853%22%7D; FlowApp.ApplicationCookie=1UpiJbYP1Emv2lgr6XQ8U9-hLPYb--SAl0jQcidJWkmFXz4fRhJux9DIctajqHXJfrpbU575GRZaYfsQdMvotQcAvcr5KiZkif7VLDjD42ubflDqFEhpGTupYn0xEWXeb2XDFYveWlVmazqfuK_FhjJnt58OpUcxVQFqDx6W6XOkeGpRE87h-ieFdlXTslw5Mciv5sTLDPTouyZzib6VExAEy1RJ0FZ-MF8-xPs0DPQd-LRBNQdWqtxK5_pu5vxvxftsHv4RxQ5oj0t5tOHXL3Covhw0QhJNGaLn5K2pq21cItVh7mOSg2MTxI9apjvnDmVr2e4OBZFvQbdo5ob3Xl67gV6QW8h2oLfzDA6vcuBPBEcw6TDsaoYMyDtHMaIBqc6nCkMtX2WKKDkCWxkBF3OwepgVDzr8pUNyuN9MpS0VHxEFJFKP4zrqX8lsM2FMIGkK8yrQm2lPzKZrg4hmqtgE6VV8t495_JqPv48msOhDCnW8VbhaYbUULaw0XYNtp8_SvyoagJwUNrAyKoqLQJFihnTo2PfIrATQp535kGl-2HIay8URrqHWBJxSsVtRDlnRk_chd77PRAyfTjEt-YR-m1xRt5kcmOCsuzl7NM7-0c7X97p3ndTUd7ZtR4L1E-p6TzpGSEHbwueGxzR_VOw4ewPGJ8p4AlIW9vuzR1FG1rwG7C9wmeVVWPQD497pK94HNSUeiDPJgpsMYarDqlBU9fNAuLl5oQ1L0mRZN4CnQew-0oZGWmI0lQ2SxBrIuixWPrBHG5APxIInEEs7h0Dd_S7dmckF-nK8z0-xcggOgN9MsBmAvGBRk8inPfcvm0C7nQVe_EU_dU1gFBoKrJg699YJhLeQygArZba3mBtMhNuDHzOIa3oS1hB66Ln8N20bCtKSrK9mAWjzdPhYyG40XUHgOVZ2XAz9OPNQ5z8Au1NR-KsnF7jZzjpEXbkALln65SbGwbLucg8omKBo0_klSeDGhIOMQkuKlH3SlHXO2r1r988T32cuei6dPY06hdszcqSBZ9me65D3snWxthSb4T1yDCBkLpx1Fg-e16EiDkun_ysg5-xsUqrRwDFDsowhNnQwRB6oEH1tpy2JdsNo0i2LeRDIN4AgHr5u_K_athpPCBdmsUWJRke3Wl_h70emvT4qEtWXpP7vAH2jzw; __hstc=225320709.88402959481e041ebf6cd2aa95b1310a.1575381914058.1578398245587.1578412479168.81; __hssc=225320709.1.1578412479168; canary=false; NCSRF=RandomBytes%23r15Sm3ZMxpSzpw%3d%3d%7cHmac%23PUfE%2f0oO0ECDzp22639y0fnyYihxt9vKLjq5PSK6JSc%3d%7cCreatedDate%232020-01-07T16%3a00%3a28.6346982%2b00%3a00","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"contactName\": \"บริษัทตัวอย่าง\",\n    \"contactType\": 3,\n    \"contactGroup\": 3,\n    \"contactCode\": \"C0003\",\n    \"contactAddress\": \"141/12 ชั้น 11 ยูนิต 12B อาคารชุด สกุลไทย สุรวงศ์ ทาวเวอร์ \\nถนนสุรวงศ์ แขวงสุริยวงศ์ เขตบางรัก กรุงเทพมหานคร 10500\",\n    \"contactTaxId\": \"0105558096348\",\n    \"contactBranch\": \"สำนักงานใหญ่\",\n    \"contactBranchCode\": \"00000\",\n    \"contactPerson\": \"ชื่อผู้ติดต่อ\",\n    \"contactEmail\": \"email@email.com\",\n    \"contactMobile\": \"099-999-9999\",\n    \"contactOffice\": \"02-888-8888\",\n    \"contactFax\": \"02-777-7777 ต่อ 1\",\n    \"contactWebsite\": \"www.flowaccount.com\",\n    \"conatactShippingAddress\": \"141/12 ชั้น 11 ยูนิต 12B อาคารชุด สกุลไทย สุรวงศ์ ทาวเวอร์ \\nถนนสุรวงศ์ แขวงสุริยวงศ์ เขตบางรัก กรุงเทพมหานคร 10500\",\n    \"contactCreditDays\": 30,\n    \"contactBankId\": 2,\n    \"contactBankAccountNumber\": \"0123456789\",\n    \"contactBankBranch\": \"สีลม\",\n    \"contactBankAccountType\": 1,\n    \"contactNote\": \"ข้อมูลตัวอย่างสามารถลบแถวออกได้\"\n}","options":{"raw":{}}},"url":"{{api_gateway}}/contacts"},"response":[]},{"name":"create contact","_postman_id":"33eb4453-158f-40a2-95f5-da30b6fba56b","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"PUT","header":[{"key":"authority","value":"api-core-c-staging.flowaccount.com","disabled":true},{"key":"accept","value":"application/json, text/plain, */*","disabled":true},{"key":"origin","value":"https://c-staging-new.flowaccount.com","disabled":true},{"warning":"This is a duplicate header and will be overridden by the authorization header generated by Postman.","key":"authorization","value":"Bearer d41ad752e51781fcae1b7b972239d36cea776518c3fa34b49204b6aa183e8827","disabled":true},{"key":"user-agent","value":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36","disabled":true},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"sec-fetch-site","value":"same-site","disabled":true},{"key":"sec-fetch-mode","value":"cors","disabled":true},{"key":"referer","value":"https://c-staging-new.flowaccount.com/N592236/business/contacts","disabled":true},{"key":"accept-encoding","value":"gzip, deflate, br","disabled":true},{"key":"accept-language","value":"en-US,en;q=0.9,th;q=0.8","disabled":true},{"key":"cookie","value":"_ga=GA1.2.1143271295.1575264414; _gcl_au=1.1.307567905.1575264415; hubspotutk=88402959481e041ebf6cd2aa95b1310a; __hssrc=1; wsstky=W2; ReferrerUrlQuery=https%3A%2F%2Fflowaccount.com%2F; _fbp=fb.1.1577167709399.1677273958; _gid=GA1.2.850022932.1578298734; culture=th; ReferrerUrl=https%3A%2F%2Fadvance.flowaccount.com%2FN509497%2Fbusiness%2Fcontacts; mp_41272d18399c471ff77934a08cde5694_mixpanel=%7B%22distinct_id%22%3A%20%22495853%22%2C%22%24device_id%22%3A%20%2216f0cb3c8da2bf-02ef444cb64fe-3964720e-13c680-16f0cb3c8db4f2%22%2C%22%24initial_referrer%22%3A%20%22https%3A%2F%2Fauth.flowaccount.com%2Fconnect%2Fauthorize%3Fclient_id%3Dflowaccount-mvc%26redirect_uri%3Dhttps%253a%252f%252fapp.flowaccount.com%252f%26response_mode%3Dform_post%26response_type%3Dcode%2Bid_token%26scope%3Dopenid%2Bflowaccount-api%2Boffline_access%2Btenant%26state%3DOpenIdConnect.AuthenticationProperties%253dCXmSmNFyaltjfv41rqH23CBUUTiTbFb4UZdQW7Gx0b0cY2mawnIgyyyeJx8RT-5ejCCEQs6hBzuHE2U75T6rfICIGezkA7hhw4odr9zmYSMtDyFzzKp3lnt0jFiLUVZ2evTnQ5MSCYiL-1DKXlJ5rupfY9r-1bAT8xFTStv_jbhGVkf8rYMzYyTSgBVs2Scg85OsrZ_uchMV286d6Bix6E8QzdI7MSbNQUDwMingrKg%26nonce%3D637120629016331698.M2FiNWUxMzMtMjk4ZS00YjdmLTk3YTctNmE2ZGYzOWVjNmFjZGE4OTVlNjgtZDU4My00YjY4LWE3N2YtODkwMTVkZTk1ZjIz%22%2C%22%24initial_referring_domain%22%3A%20%22auth.flowaccount.com%22%2C%22__mps%22%3A%20%7B%7D%2C%22__mpso%22%3A%20%7B%7D%2C%22__mpus%22%3A%20%7B%7D%2C%22__mpa%22%3A%20%7B%7D%2C%22__mpu%22%3A%20%7B%7D%2C%22__mpr%22%3A%20%5B%5D%2C%22__mpap%22%3A%20%5B%5D%2C%22%24user_id%22%3A%20%22495853%22%7D; FlowApp.ApplicationCookie=1UpiJbYP1Emv2lgr6XQ8U9-hLPYb--SAl0jQcidJWkmFXz4fRhJux9DIctajqHXJfrpbU575GRZaYfsQdMvotQcAvcr5KiZkif7VLDjD42ubflDqFEhpGTupYn0xEWXeb2XDFYveWlVmazqfuK_FhjJnt58OpUcxVQFqDx6W6XOkeGpRE87h-ieFdlXTslw5Mciv5sTLDPTouyZzib6VExAEy1RJ0FZ-MF8-xPs0DPQd-LRBNQdWqtxK5_pu5vxvxftsHv4RxQ5oj0t5tOHXL3Covhw0QhJNGaLn5K2pq21cItVh7mOSg2MTxI9apjvnDmVr2e4OBZFvQbdo5ob3Xl67gV6QW8h2oLfzDA6vcuBPBEcw6TDsaoYMyDtHMaIBqc6nCkMtX2WKKDkCWxkBF3OwepgVDzr8pUNyuN9MpS0VHxEFJFKP4zrqX8lsM2FMIGkK8yrQm2lPzKZrg4hmqtgE6VV8t495_JqPv48msOhDCnW8VbhaYbUULaw0XYNtp8_SvyoagJwUNrAyKoqLQJFihnTo2PfIrATQp535kGl-2HIay8URrqHWBJxSsVtRDlnRk_chd77PRAyfTjEt-YR-m1xRt5kcmOCsuzl7NM7-0c7X97p3ndTUd7ZtR4L1E-p6TzpGSEHbwueGxzR_VOw4ewPGJ8p4AlIW9vuzR1FG1rwG7C9wmeVVWPQD497pK94HNSUeiDPJgpsMYarDqlBU9fNAuLl5oQ1L0mRZN4CnQew-0oZGWmI0lQ2SxBrIuixWPrBHG5APxIInEEs7h0Dd_S7dmckF-nK8z0-xcggOgN9MsBmAvGBRk8inPfcvm0C7nQVe_EU_dU1gFBoKrJg699YJhLeQygArZba3mBtMhNuDHzOIa3oS1hB66Ln8N20bCtKSrK9mAWjzdPhYyG40XUHgOVZ2XAz9OPNQ5z8Au1NR-KsnF7jZzjpEXbkALln65SbGwbLucg8omKBo0_klSeDGhIOMQkuKlH3SlHXO2r1r988T32cuei6dPY06hdszcqSBZ9me65D3snWxthSb4T1yDCBkLpx1Fg-e16EiDkun_ysg5-xsUqrRwDFDsowhNnQwRB6oEH1tpy2JdsNo0i2LeRDIN4AgHr5u_K_athpPCBdmsUWJRke3Wl_h70emvT4qEtWXpP7vAH2jzw; __hstc=225320709.88402959481e041ebf6cd2aa95b1310a.1575381914058.1578398245587.1578412479168.81; __hssc=225320709.1.1578412479168; canary=false; NCSRF=RandomBytes%23r15Sm3ZMxpSzpw%3d%3d%7cHmac%23PUfE%2f0oO0ECDzp22639y0fnyYihxt9vKLjq5PSK6JSc%3d%7cCreatedDate%232020-01-07T16%3a00%3a28.6346982%2b00%3a00","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"id\": 130093,\n    \"contactGroup\": 3,\n    \"contactType\": 3,\n    \"contactCode\": \"Code\",\n    \"contactName\": \"name contact 009\",\n    \"contactAddress\": \"address contact\",\n    \"contactTaxId\": \"1212121212121\",\n    \"contactBranchCode\": \"code branch\",\n    \"contactBranch\": \"name branch\",\n    \"contactPerson\": \"person contact\",\n    \"contactEmail\": \"email@email.com\",\n    \"contactMobile\": \"Telephone\",\n    \"contactBankId\": 2,\n    \"contactBankAccountNumber\": \"3333333333\",\n    \"contactBankBranch\": \"name bank\",\n    \"contactBankAccountType\": 1,\n    \"contactCreditDays\": \"30\",\n    \"conatactShippingAddress\": \"send address\",\n    \"contactWebsite\": \"website\",\n    \"contactFax\": \"fax\",\n    \"contactOffice\": \"office\",\n    \"contactNote\": \"Note\"\n}"},"url":"{{api_gateway}}/contacts/130093"},"response":[]}],"_postman_id":"2b10dfd9-d1d1-4f28-bf21-154cecab9bce","protocolProfileBehavior":{}},{"name":"Products","item":[{"name":"Create Product Service","_postman_id":"90da4001-155a-48b1-a1fe-45cd269b2186","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": 1,\n    \"code\": \"ServiceAP2\",\n    \"name\": \"Service\",\n    \"sellDescription\": \"Service Description\",\n    \"sellPrice\": 100,\n    \"sellVatType\": 3,\n    \"unitName\": \"Service\",\n    \"categoryName\": \"Service\",\n    \"barcode\": \"BarcodeService\"\n}","options":{"raw":{}}},"url":"{{api_gateway}}/products"},"response":[]},{"name":"Create Product Non Inventory","_postman_id":"4aafb5ee-61b3-4000-8270-210f3e3e8569","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"type\": 3,\n    \"code\": \"NonInventoryAPI\",\n    \"name\": \"Non Inventory\",\n    \"sellDescription\": \"Non Inventory Description\",\n    \"sellPrice\": 100,\n    \"sellVatType\": 3,\n    \"unitName\": \"Product\",\n    \"categoryName\": \"Product\",\n    \"barcode\": \"BarcodeNon\",\n    \"buyDescription\": \"Non Inventory Description\",\n    \"buyPrice\": 50,\n    \"buyVatType\": 3\n}","options":{"raw":{}}},"url":"{{api_gateway}}/products"},"response":[]},{"name":"Create Product Inventory","_postman_id":"954be7fb-ee90-4791-b615-f94fb66a162b","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"type\": 5,\n    \"code\": \"InventoryAPI 1\",\n    \"name\": \"Inventory\",\n    \"sellDescription\": \"Inventory Description\",\n    \"sellPrice\": 100,\n    \"sellVatType\": 3,\n    \"unitName\": \"Product\",\n    \"categoryName\": \"Product\",\n    \"barcode\": \"BarcodeInventory\",\n    \"buyDescription\": \"Inventory Description\",\n    \"buyPrice\": 50,\n    \"buyVatType\": 3,\n    \"inventoryPublishedOn\": \"2020-01-01\",\n    \"inventoryQuantity\": 100,\n    \"inventoryPrice\": 50\n}","options":{"raw":{}}},"url":"{{api_gateway}}/products"},"response":[]},{"name":"Get - All Product","_postman_id":"b5f2e6bd-dede-45f6-8d92-54fe06ee896f","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{api_gateway}}/products"},"response":[]},{"name":"Get Product and Query","_postman_id":"11299b5a-f9a8-44f6-ba72-dda8dc3168a4","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{api_gateway}}/products?filter=[{'columnName':'productCode','columnValue':'986505401','columnPredicateOperator':'And'}]","host":["{{api_gateway}}"],"path":["products"],"query":[{"key":"currentPage","value":"1","disabled":true},{"key":"pageSize","value":"2","disabled":true},{"key":"filter","value":"[{'columnName':'productCode','columnValue':'986505401','columnPredicateOperator':'And'}]"}]}},"response":[]}],"_postman_id":"c4958696-ecbf-48a1-988d-7320e19f3b3a","protocolProfileBehavior":{}},{"name":"MyCompany","item":[{"name":"Create - Bank Account","_postman_id":"0fd41dd8-d4fe-481a-8e01-c0036694a34f","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"bankAccountNumber\": 1234567890,\n    \"bankAccountName\": \"บัญชีรับเงินบริษัท\",\n    \"bankAccountType\": 1,\n    \"bankBranch\": \"เซ็นทรัลพระราม 2\",\n    \"bankId\": 2\n}","options":{"raw":{"language":"json"}}},"url":"{{api_gateway}}/bank-accounts"},"response":[]},{"name":"GET - Bank Account List","_postman_id":"f9f09d2b-6a09-4ca3-bcad-3321e9287a47","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{api_gateway}}/bank-accounts"},"response":[]},{"name":"GET - Company List","_postman_id":"79bb5e7f-733d-4059-96d5-db365d893a75","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[],"url":"{{api_gateway}}/company/list"},"response":[]},{"name":"GET - Company Info","_postman_id":"dfbd8d2b-3f88-4989-9d12-c261564edbaf","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[],"url":"{{api_gateway}}/company/info"},"response":[]},{"name":"GET - User Information","_postman_id":"9476a8de-e346-4c59-b637-416ca6967229","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[],"url":"{{api_gateway}}/user/info"},"response":[]},{"name":"Update - Company Infomation","_postman_id":"74d7954b-93c4-423c-a4d0-e1c5e09d96df","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"companyType\": 10,\n    \"companyName\": \"OpenAPI\",\n    \"companyNameEn\": \"\",\n    \"companyAddress\": \"\",\n    \"companyAddressEn\": \"\",\n    \"companyZipCode\": \"\",\n    \"companyTaxId\": \"\",\n    \"companyBranchCode\": \"\",\n    \"companyBranch\": \"\",\n    \"companyBranchEn\": \"\",\n    \"companyPhone\": \"\",\n    \"companyMobile\": \"\",\n    \"companyFax\": \"\",\n    \"companyWebsite\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_gateway}}/company/info"},"response":[]}],"_postman_id":"49dcaae3-6d19-461d-ba6b-40aa1e70806a","protocolProfileBehavior":{}}],"event":[{"listen":"prerequest","script":{"id":"4e75fe82-1a8f-4a98-a1b4-07dfac9063e0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5a2cf4ea-18b5-43b2-aafb-8b01bf6a8b1a","type":"text/javascript","exec":[""]}}],"variable":[{"id":"7d330f10-3e3d-462f-b3c8-add73c4d9fc4","key":"api-doc","value":"https://doc-api-c-staging.flowaccount.com","type":"string","disabled":true}],"protocolProfileBehavior":{}}