{"collection":{"info":{"_postman_id":"979836bd-755e-4f91-8851-b1ae7a231c66","name":"OpenAPI - Collection","description":"[https://developers.flowaccount.com/](https://developers.flowaccount.com/)","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","createdAt":"2025-07-14T11:39:51.000Z","updatedAt":"2026-09-01T23:04:45.000Z","lastUpdatedBy":"45983860","uid":"45983860-979836bd-755e-4f91-8851-b1ae7a231c66"},"item":[{"name":"Authorization","item":[{"name":"Authentication","event":[{"listen":"test","script":{"id":"ce89f9fc-8dad-4b02-a35c-ae758820cc4c","exec":["pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","var data = JSON.parse(responseBody);\r","\r","pm.environment.set(\"token\", data.access_token);"],"type":"text/javascript","packages":{}}}],"id":"d2206e7a-ac4d-4462-9e05-36fa400b9ebc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Cookie","value":"culture=th"}],"body":{"mode":"urlencoded","urlencoded":[{"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","host":["{{api_gateway}}"],"path":["token"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T05:16:22.000Z","uid":"45983860-d2206e7a-ac4d-4462-9e05-36fa400b9ebc"}],"id":"ffcdaa29-fd23-4236-9026-9975b11f4e96","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-ffcdaa29-fd23-4236-9026-9975b11f4e96"},{"name":"Quotation (QT)","item":[{"name":"Get-All-QT","event":[{"listen":"test","script":{"id":"6af33b32-b729-414d-92a1-e78eb080bca5","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"1f689676-19fd-4b1a-9c47-a6e96f2f1e13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/quotations?currentPage=1&pageSize=20","host":["{{api_gateway}}"],"path":["quotations"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true},{"key":"searchString","value":"","disabled":true},{"key":"range","value":"3","disabled":true},{"key":"month","value":"7","disabled":true},{"key":"year","value":"2021","disabled":true}]}},"response":[{"id":"c0f878d2-6c6e-49d8-a249-edc403061691","name":"Query-Previous Month","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/quotations?currentPage=1&pageSize=20&range=3&month=5&year=2021","host":["{{api_gateway}}"],"path":["quotations"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"3","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"5"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-c0f878d2-6c6e-49d8-a249-edc403061691"},{"id":"dd026f94-43f6-4ea2-b579-086a7b642c87","name":"Query-Fisical Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/quotations?currentPage=1&pageSize=20&range=&month=15&year=2021","host":["{{api_gateway}}"],"path":["quotations"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"15"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-dd026f94-43f6-4ea2-b579-086a7b642c87"},{"id":"c303c6b0-b904-4fc0-98a2-c36594f1d65d","name":"Query-Previous Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/quotations?currentPage=1&pageSize=20&range=5&month=&year=2021","host":["{{api_gateway}}"],"path":["quotations"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"5","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":""},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-c303c6b0-b904-4fc0-98a2-c36594f1d65d"},{"id":"0abbf0ec-bdd0-4747-85a2-ee602ee2d447","name":"Query-Date Range","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/quotations?currentPage=1&pageSize=20&startDate=2021-06-01&endDate=2021-06-30&range=5","host":["{{api_gateway}}"],"path":["quotations"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"startDate","value":"2021-06-01"},{"key":"endDate","value":"2021-06-30"},{"key":"range","value":"5","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"year","value":"","disabled":true},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"month","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-0abbf0ec-bdd0-4747-85a2-ee602ee2d447"},{"id":"40998e0a-628a-4d75-a94d-69ce303fffc1","name":"Query-Current Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/quotations?currentPage=1&pageSize=20&range=7&year=2021","host":["{{api_gateway}}"],"path":["quotations"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"7","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"year","value":"2021"},{"key":"startDate","value":"2021-06-01","disabled":true},{"key":"endDate","value":"2021-06-30","disabled":true},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"month","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-40998e0a-628a-4d75-a94d-69ce303fffc1"},{"id":"fb1d53ea-5797-4cea-ba15-be6a833ce85c","name":"Query-Current Month","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/quotations?currentPage=1&pageSize=20&range=1&month=6&year=2021","host":["{{api_gateway}}"],"path":["quotations"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"1","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"6"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-fb1d53ea-5797-4cea-ba15-be6a833ce85c"},{"id":"b813f0d2-7f2d-4c28-9ab6-40281dc5ac9a","name":"Query-Search String","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/quotations?currentPage=1&pageSize=20&searchString=QT2021070001","host":["{{api_gateway}}"],"path":["quotations"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"searchString","value":"QT2021070001","description":"Search by Contact Name, Project Name, Document Serial"},{"key":"range","value":"","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year","disabled":true},{"key":"month","value":"","disabled":true},{"key":"year","value":"","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-b813f0d2-7f2d-4c28-9ab6-40281dc5ac9a"}],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-24T04:00:20.000Z","uid":"45983860-1f689676-19fd-4b1a-9c47-a6e96f2f1e13"},{"name":"Get-QT-By-ID","event":[{"listen":"test","script":{"id":"d91b915f-8670-4f2a-9bf7-a067616851bc","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"978ac590-c4df-4dab-ae9b-1d772a41224a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/quotations/{{recordId}}","host":["{{api_gateway}}"],"path":["quotations","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T08:32:24.000Z","uid":"45983860-978ac590-c4df-4dab-ae9b-1d772a41224a"},{"name":"Create-QT-Simple","event":[{"listen":"test","script":{"id":"38194e00-661b-4647-8418-4dfd3a5882e5","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"ce714c35-f7ff-430a-b769-a9e679b67e69","exec":[""],"type":"text/javascript","packages":{}}}],"id":"86151f57-a62f-45c4-bc58-98c2c4919fbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/quotations","host":["{{api_gateway}}"],"path":["quotations"]}},"response":[{"id":"9fe52d2c-6aa8-4bb7-97c8-53f736d2690f","name":"Create-QT-Simple-Exclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/quotations","host":["{{api_gateway}}"],"path":["quotations"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-17T04:55:57.000Z","updatedAt":"2025-07-18T08:02:38.000Z","uid":"45983860-9fe52d2c-6aa8-4bb7-97c8-53f736d2690f"},{"id":"0fe87af1-d2bf-4d65-9466-67200b282698","name":"Create-QT-Simple-Inclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": true,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 19.63,\r\n\t\"grandTotal\": 300,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.41,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/quotations","host":["{{api_gateway}}"],"path":["quotations"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-17T04:55:49.000Z","updatedAt":"2025-07-18T08:03:38.000Z","uid":"45983860-0fe87af1-d2bf-4d65-9466-67200b282698"}],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-18T08:25:40.000Z","uid":"45983860-86151f57-a62f-45c4-bc58-98c2c4919fbd"},{"name":"Create-QT-Inline","event":[{"listen":"test","script":{"id":"6a69a050-7db7-42bc-a683-e008434b3cb3","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"7c596f77-64ce-423c-9621-862e82594c25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/quotations/inline","host":["{{api_gateway}}"],"path":["quotations","inline"]}},"response":[{"id":"b06b9b18-0583-40a4-accb-2eed4ba6efdb","name":"Create-QT-Inline-Discount-Exclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/quotations/inline","host":["{{api_gateway}}"],"path":["quotations","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-17T05:14:03.000Z","updatedAt":"2025-07-18T08:06:01.000Z","uid":"45983860-b06b9b18-0583-40a4-accb-2eed4ba6efdb"},{"id":"61a2a56a-ab5c-4f40-8ebf-c2714635538c","name":"Create-QT-Inline-Discount-Inclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/quotations/inline","host":["{{api_gateway}}"],"path":["quotations","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-17T05:14:06.000Z","updatedAt":"2025-07-18T08:07:32.000Z","uid":"45983860-61a2a56a-ab5c-4f40-8ebf-c2714635538c"},{"id":"b63f4e66-3541-43de-bd7f-e73221bd5924","name":"Create-QT-Inline-Vat-Exclusvie","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.90,\r\n\t\"grandTotal\": 288.90,\r\n\t\"documentShowWithholdingTax\": false,\r\n\t\"documentWithholdingTaxPercentage\": 0,\r\n\t\"documentWithholdingTaxAmount\": 0,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Exmaple Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": true,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/quotations/inline","host":["{{api_gateway}}"],"path":["quotations","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-17T05:14:09.000Z","updatedAt":"2025-07-18T08:11:21.000Z","uid":"45983860-b63f4e66-3541-43de-bd7f-e73221bd5924"},{"id":"cef4da57-aaea-43ab-9563-ebe0cc3199a9","name":"Create-QT-Inline-Vat-Inclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 5.89,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": false,\r\n\t\"documentWithholdingTaxPercentage\": 0,\r\n\t\"documentWithholdingTaxAmount\": 0,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": true,\r\n\t\"exemptAmount\": 180,\r\n\t\"vatableAmount\": 84.11,\r\n\t\"items\": [\r\n\t{\r\n\t\t\t\"type\": 1, //use existing productId\r\n\t\t\t\"name\": \"Example Item 1\",\r\n\t\t\t\"description\": \"Example description\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"cm\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n\t\t\t\"discountAmount\": 10,\r\n\t\t\t\"vatRate\": 0\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"type\": 3, //use existing productId\r\n\t\t\t\"name\": \"Example Item 2\",\r\n\t\t\t\"description\": \"Example description\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"kg\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n\t\t\t\"discountAmount\": 10,\r\n\t\t\t\"vatRate\": -1\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"type\": 1, //use existing productId\r\n\t\t\t\"name\": \"Example Item 3\",\r\n\t\t\t\"description\": \"Example description\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"dozen\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n\t\t\t\"discountAmount\": 10,\r\n\t\t\t\"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/quotations/inline","host":["{{api_gateway}}"],"path":["quotations","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-17T05:14:10.000Z","updatedAt":"2025-07-18T08:14:45.000Z","uid":"45983860-cef4da57-aaea-43ab-9563-ebe0cc3199a9"}],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-24T03:59:47.000Z","uid":"45983860-7c596f77-64ce-423c-9621-862e82594c25"},{"name":"Update-QT-Simple","event":[{"listen":"test","script":{"id":"db6c69fa-2f63-4a27-87ab-bd859dd13e66","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"0ac9972f-1b3d-4caa-a5a4-a7c9043d4491","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": false,\r\n\t\"documentWithholdingTaxPercentage\": 0,\r\n\t\"documentWithholdingTaxAmount\": 0,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Remark\",\r\n\t\"internalNotes\": \"Note\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"UpdateSimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/quotations/{{recordId}}","host":["{{api_gateway}}"],"path":["quotations","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T08:36:41.000Z","uid":"45983860-0ac9972f-1b3d-4caa-a5a4-a7c9043d4491"},{"name":"Update-QT-Inline","event":[{"listen":"test","script":{"id":"965d0a79-c16e-411d-b4b9-795c733fdb74","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"64cff43f-14ac-4e4c-9447-6638042c37e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Remark Document\",\r\n\t\"internalNotes\": \"Internal Note\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"UpdateInlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/quotations/{{recordId}}","host":["{{api_gateway}}"],"path":["quotations","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T08:36:54.000Z","uid":"45983860-64cff43f-14ac-4e4c-9447-6638042c37e3"},{"name":"Delete-QT-By-ID","event":[{"listen":"test","script":{"id":"ebb19fc8-7e73-40b6-951d-0737d8632b5f","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"d72d6c4a-19a9-48c0-add7-f8413579e4db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"DELETE","header":[],"url":{"raw":"{{api_gateway}}/quotations/{{recordId}}","host":["{{api_gateway}}"],"path":["quotations","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T08:37:15.000Z","uid":"45983860-d72d6c4a-19a9-48c0-add7-f8413579e4db"},{"name":"Change-Status-QT","event":[{"listen":"test","script":{"id":"bb4d3a79-1002-4972-863d-24d36e0c60f1","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"c04dac39-f004-40ed-a7d9-4ed5e343b537","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/quotations/{{recordId}}/status/awaiting","host":["{{api_gateway}}"],"path":["quotations","{{recordId}}","status","awaiting"]}},"response":[{"id":"afd0c105-c038-4830-8fcf-7a548f160505","name":"Change-Status-QT-Void","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/quotations/7915708/status/rejected","host":["{{api_gateway}}"],"path":["quotations","7915708","status","rejected"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-afd0c105-c038-4830-8fcf-7a548f160505"},{"id":"52a46bc7-e615-4509-b595-95f9b0768c77","name":"Change-Status-QT-Awaiting","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/quotations/7915708/status/awaiting","host":["{{api_gateway}}"],"path":["quotations","7915708","status","awaiting"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-52a46bc7-e615-4509-b595-95f9b0768c77"},{"id":"4e692afc-aed8-4df6-82c6-4c5408191a9e","name":"Change-Status-QT-Approved","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/quotations/7915708/status/approved","host":["{{api_gateway}}"],"path":["quotations","7915708","status","approved"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-4e692afc-aed8-4df6-82c6-4c5408191a9e"},{"id":"a76b5228-eb3d-4061-afef-1fa810558012","name":"Change-Status-QT-ApprovedAndProcessed","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/quotations/7915708/status/approvedandprocessed","host":["{{api_gateway}}"],"path":["quotations","7915708","status","approvedandprocessed"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-a76b5228-eb3d-4061-afef-1fa810558012"}],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T08:38:30.000Z","uid":"45983860-c04dac39-f004-40ed-a7d9-4ed5e343b537"},{"name":"Upload-File-QT","event":[{"listen":"test","script":{"id":"ec4e0401-aaef-4c76-abac-04d0b1c25de1","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"9183f5e3-c6f5-4ef3-a51c-d9b4380012ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"","type":"file","src":"/C:/Users/findb/OneDrive/Pictures/BlueSea.jpg"}]},"url":{"raw":"{{api_gateway}}/quotations/{{recordId}}/attachment","host":["{{api_gateway}}"],"path":["quotations","{{recordId}}","attachment"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T08:39:19.000Z","uid":"45983860-9183f5e3-c6f5-4ef3-a51c-d9b4380012ce"},{"name":"Share-Document-QT","event":[{"listen":"test","script":{"id":"2a808621-9c72-4e05-8468-1eeaa609f10e","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"107ce47a-4941-4985-903f-0857dfce13a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"documentId\": 30881712,\r\n\t\"culture\": \"th\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/quotations/sharedocument","host":["{{api_gateway}}"],"path":["quotations","sharedocument"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T09:14:25.000Z","uid":"45983860-107ce47a-4941-4985-903f-0857dfce13a2"}],"id":"b5068aa1-e0cc-40d4-8875-36f83e89ade6","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T05:35:07.000Z","uid":"45983860-b5068aa1-e0cc-40d4-8875-36f83e89ade6"},{"name":"Billing Notes (BL)","item":[{"name":"Get-All-BL","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"id":"8d12857c-8b7c-491a-9fb7-8f1c018fa7e9"}}],"id":"4c52c66d-c533-4389-863b-66873ac70523","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/billing-notes?currentPage=1&pageSize=20&range=3&month=7&year=2021","host":["{{api_gateway}}"],"path":["billing-notes"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true},{"key":"searchString","value":"","disabled":true},{"key":"range","value":"3"},{"key":"month","value":"7"},{"key":"year","value":"2021"}]}},"response":[{"id":"ea3da7b9-4484-45c7-8ee7-1f32ccf357c9","name":"Query-Previous Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/billing-notes?currentPage=1&pageSize=20&range=5&month=&year=2021","host":["{{api_gateway}}"],"path":["billing-notes"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"5","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":""},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-ea3da7b9-4484-45c7-8ee7-1f32ccf357c9"},{"id":"af6fe537-9dd8-4e33-a58b-95ae0e49dd00","name":"Query-Current Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/billing-notes?currentPage=1&pageSize=20&range=7&year=2021","host":["{{api_gateway}}"],"path":["billing-notes"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"7","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"year","value":"2021"},{"key":"startDate","value":"2021-06-01","disabled":true},{"key":"endDate","value":"2021-06-30","disabled":true},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"month","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-af6fe537-9dd8-4e33-a58b-95ae0e49dd00"},{"id":"4bff7e95-9f7d-44ea-acd1-d8d38e129568","name":"Query-Search String","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/billing-notes?currentPage=1&pageSize=20&searchString=BL2021070001","host":["{{api_gateway}}"],"path":["billing-notes"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial"},{"key":"range","value":"","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year","disabled":true},{"key":"month","value":"","disabled":true},{"key":"year","value":"","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-4bff7e95-9f7d-44ea-acd1-d8d38e129568"},{"id":"2b2e47d6-60e5-4c1f-8556-df718f396a38","name":"Query-Date Range","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/billing-notes?currentPage=1&pageSize=20&startDate=2021-06-01&endDate=2021-06-30&range=5","host":["{{api_gateway}}"],"path":["billing-notes"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"startDate","value":"2021-06-01"},{"key":"endDate","value":"2021-06-30"},{"key":"range","value":"5","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"year","value":"","disabled":true},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"month","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-2b2e47d6-60e5-4c1f-8556-df718f396a38"},{"id":"55eb86b5-1423-453f-967c-75b2eec7d7e9","name":"Query-Current Month","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/billing-notes?currentPage=1&pageSize=20&range=1&month=6&year=2021","host":["{{api_gateway}}"],"path":["billing-notes"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"1","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"6"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-55eb86b5-1423-453f-967c-75b2eec7d7e9"},{"id":"288a6916-461d-4e0c-9aaa-db8d11d847a6","name":"Query-Previous Month","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/billing-notes?currentPage=1&pageSize=20&range=3&month=5&year=2021","host":["{{api_gateway}}"],"path":["billing-notes"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"3","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"5"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-288a6916-461d-4e0c-9aaa-db8d11d847a6"},{"id":"d649e826-9a38-4cf8-85cb-865fb9cf25aa","name":"Query-Fisical Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/billing-notes?currentPage=1&pageSize=20&range=&month=15&year=2021","host":["{{api_gateway}}"],"path":["billing-notes"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"15"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-d649e826-9a38-4cf8-85cb-865fb9cf25aa"}],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-4c52c66d-c533-4389-863b-66873ac70523"},{"name":"Get-BL-By-ID","event":[{"listen":"test","script":{"id":"3626acab-51bb-4b24-b31e-5bba53e67a94","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"f36ae0a4-e370-40d1-a193-5e6e18e0d14e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/billing-notes/{{recordId}}","host":["{{api_gateway}}"],"path":["billing-notes","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:05:33.000Z","uid":"45983860-f36ae0a4-e370-40d1-a193-5e6e18e0d14e"},{"name":"Create-BL-Simple","event":[{"listen":"test","script":{"id":"19180d54-a0a2-4530-9a1d-520d2ae0195d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"4aeb35fe-ae8d-4e8b-a2b7-556112525c8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/billing-notes","host":["{{api_gateway}}"],"path":["billing-notes"]}},"response":[{"id":"3cf3ef5e-d0c1-477c-88c0-18305aaf9743","name":"Create-BL-Simple-Exclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/billing-notes","host":["{{api_gateway}}"],"path":["billing-notes"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T08:25:05.000Z","updatedAt":"2025-07-18T08:25:23.000Z","uid":"45983860-3cf3ef5e-d0c1-477c-88c0-18305aaf9743"},{"id":"25f94c9c-1de9-4c8e-a2e4-04c3624bf3e5","name":"Create-BL-Simple-Inclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": true,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 19.63,\r\n\t\"grandTotal\": 300,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.41,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/billing-notes","host":["{{api_gateway}}"],"path":["billing-notes"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T08:25:35.000Z","updatedAt":"2025-07-18T08:28:44.000Z","uid":"45983860-25f94c9c-1de9-4c8e-a2e4-04c3624bf3e5"}],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-18T08:25:40.000Z","uid":"45983860-4aeb35fe-ae8d-4e8b-a2b7-556112525c8b"},{"name":"Create-BL-Inline","event":[{"listen":"test","script":{"id":"6a69a050-7db7-42bc-a683-e008434b3cb3","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"bea8448e-dbfa-4a24-8068-5e0e6afb6b7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/billing-notes/inline","host":["{{api_gateway}}"],"path":["billing-notes","inline"]}},"response":[{"id":"dd6bc215-b5cb-4d80-8e10-0caaba75c21e","name":"Create-BL-Inline-Discount-Exclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/billing-notes/inline","host":["{{api_gateway}}"],"path":["billing-notes","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T08:26:41.000Z","updatedAt":"2025-07-18T08:28:51.000Z","uid":"45983860-dd6bc215-b5cb-4d80-8e10-0caaba75c21e"},{"id":"7eca68e5-85f0-475f-839a-485ecd066f2f","name":"Create-BL-Inline-Discount-Inclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/billing-notes/inline","host":["{{api_gateway}}"],"path":["billing-notes","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T08:26:41.000Z","updatedAt":"2025-07-18T08:28:35.000Z","uid":"45983860-7eca68e5-85f0-475f-839a-485ecd066f2f"},{"id":"e4e9d74f-327f-4c57-88ae-b1a563e71ca6","name":"Create-BL-Inline-Vat-Exclusvie","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.90,\r\n\t\"grandTotal\": 288.90,\r\n\t\"documentShowWithholdingTax\": false,\r\n\t\"documentWithholdingTaxPercentage\": 0,\r\n\t\"documentWithholdingTaxAmount\": 0,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Exmaple Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": true,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/billing-notes/inline","host":["{{api_gateway}}"],"path":["billing-notes","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T08:26:41.000Z","updatedAt":"2025-07-18T08:29:46.000Z","uid":"45983860-e4e9d74f-327f-4c57-88ae-b1a563e71ca6"},{"id":"615f163e-e61e-491f-bef8-f6e1472a90b1","name":"Create-BL-Inline-Vat-Inclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 5.89,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": false,\r\n\t\"documentWithholdingTaxPercentage\": 0,\r\n\t\"documentWithholdingTaxAmount\": 0,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": true,\r\n\t\"exemptAmount\": 180,\r\n\t\"vatableAmount\": 84.11,\r\n\t\"items\": [\r\n\t{\r\n\t\t\t\"type\": 1, //use existing productId\r\n\t\t\t\"name\": \"Example Item 1\",\r\n\t\t\t\"description\": \"Example description\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"cm\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n\t\t\t\"discountAmount\": 10,\r\n\t\t\t\"vatRate\": 0\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"type\": 3, //use existing productId\r\n\t\t\t\"name\": \"Example Item 2\",\r\n\t\t\t\"description\": \"Example description\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"kg\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n\t\t\t\"discountAmount\": 10,\r\n\t\t\t\"vatRate\": -1\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"type\": 1, //use existing productId\r\n\t\t\t\"name\": \"Example Item 3\",\r\n\t\t\t\"description\": \"Example description\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"dozen\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n\t\t\t\"discountAmount\": 10,\r\n\t\t\t\"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/billing-notes/inline","host":["{{api_gateway}}"],"path":["billing-notes","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T08:26:41.000Z","updatedAt":"2025-07-18T08:29:52.000Z","uid":"45983860-615f163e-e61e-491f-bef8-f6e1472a90b1"}],"createdAt":"2025-07-18T08:26:41.000Z","updatedAt":"2025-07-29T12:07:33.000Z","uid":"45983860-bea8448e-dbfa-4a24-8068-5e0e6afb6b7a"},{"name":"Upgrade-BL-Simple","event":[{"listen":"test","script":{"id":"def661f8-8df7-4238-aa6c-53e8df1160e1","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"b4cc190a-6e93-42ab-9f9c-f33b06e33697","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/billing-notes","host":["{{api_gateway}}"],"path":["upgrade","billing-notes"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-18T08:39:20.000Z","uid":"45983860-b4cc190a-6e93-42ab-9f9c-f33b06e33697"},{"name":"Upgrade-BL-Inline","event":[{"listen":"test","script":{"id":"43592042-e584-43e5-8417-0c8e5532f2f4","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"8152f3a8-51cb-4d78-89d9-b54c151ead22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/billing-notes/inline","host":["{{api_gateway}}"],"path":["upgrade","billing-notes","inline"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-18T08:43:02.000Z","uid":"45983860-8152f3a8-51cb-4d78-89d9-b54c151ead22"},{"name":"Update-BL-Simple","event":[{"listen":"test","script":{"id":"db6c69fa-2f63-4a27-87ab-bd859dd13e66","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"8db88792-994e-43a5-8d40-47ae27cefc08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": false,\r\n\t\"documentWithholdingTaxPercentage\": 0,\r\n\t\"documentWithholdingTaxAmount\": 0,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Remark\",\r\n\t\"internalNotes\": \"Note\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"UpdateSimpleDocument\",\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/billing-notes/{{recordId}}","host":["{{api_gateway}}"],"path":["billing-notes","{{recordId}}"]}},"response":[],"createdAt":"2025-07-18T08:31:14.000Z","updatedAt":"2025-07-29T12:16:58.000Z","uid":"45983860-8db88792-994e-43a5-8d40-47ae27cefc08"},{"name":"Update-BL-Inline","event":[{"listen":"test","script":{"id":"965d0a79-c16e-411d-b4b9-795c733fdb74","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"5659af48-50af-47ab-bc53-26fed4273382","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Remark Document\",\r\n\t\"internalNotes\": \"Internal Note\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"UpdateInlineDocument\",\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/billing-notes/{{recordId}}","host":["{{api_gateway}}"],"path":["billing-notes","{{recordId}}"]}},"response":[],"createdAt":"2025-07-18T08:31:16.000Z","updatedAt":"2025-07-29T12:17:09.000Z","uid":"45983860-5659af48-50af-47ab-bc53-26fed4273382"},{"name":"Delete-BL-By-ID","event":[{"listen":"test","script":{"id":"45953a3f-d334-481f-8cc9-c28ac03fa520","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"aac8192d-a6c1-47d6-9cf5-7393c1288543","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"DELETE","header":[],"url":{"raw":"{{api_gateway}}/billing-notes/{{recordId}}","host":["{{api_gateway}}"],"path":["billing-notes","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:17:21.000Z","uid":"45983860-aac8192d-a6c1-47d6-9cf5-7393c1288543"},{"name":"Change-Status-BL","event":[{"listen":"test","script":{"id":"a44f1333-822a-4bbb-b876-981c4aa1de2d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"bd48b146-ebd8-4783-91a1-fad6915a50ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/billing-notes/{{recordId}}/status/awaiting","host":["{{api_gateway}}"],"path":["billing-notes","{{recordId}}","status","awaiting"]}},"response":[{"id":"84d7ec78-5dd9-4f5a-a30a-d5bda46e4495","name":"Change-Status-BL-ApprovedAndProcessed","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/billing-notes/5512755/status/approvedandprocessed","host":["{{api_gateway}}"],"path":["billing-notes","5512755","status","approvedandprocessed"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-84d7ec78-5dd9-4f5a-a30a-d5bda46e4495"},{"id":"6cb5a0f7-6269-4aa7-adf8-0a2789edade3","name":"Change-Status-BL-Awaiting","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/billing-notes/5512755/status/awaiting","host":["{{api_gateway}}"],"path":["billing-notes","5512755","status","awaiting"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-6cb5a0f7-6269-4aa7-adf8-0a2789edade3"},{"id":"6949e550-009a-4280-aaac-bf978b37e632","name":"Change-Status-BL-Void","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/billing-notes/5512755/status/void","host":["{{api_gateway}}"],"path":["billing-notes","5512755","status","void"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-6949e550-009a-4280-aaac-bf978b37e632"},{"id":"c613ec34-02cd-4bcc-8e09-4c636a616a1f","name":"Change-Status-BL-Approved","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/billing-notes/5512755/status/approved","host":["{{api_gateway}}"],"path":["billing-notes","5512755","status","approved"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-c613ec34-02cd-4bcc-8e09-4c636a616a1f"}],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:31:04.000Z","uid":"45983860-bd48b146-ebd8-4783-91a1-fad6915a50ea"},{"name":"Upload-File-BL","event":[{"listen":"test","script":{"id":"4891e2ac-d7d9-49df-bc9e-454923a40509","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"f82a1700-82d3-4089-b6b7-66b6d1cf4b39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"","type":"file","src":"/C:/Users/findb/OneDrive/Pictures/BlueSea.jpg"}]},"url":{"raw":"{{api_gateway}}/billing-notes/{{recordId}}/attachment","host":["{{api_gateway}}"],"path":["billing-notes","{{recordId}}","attachment"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:31:17.000Z","uid":"45983860-f82a1700-82d3-4089-b6b7-66b6d1cf4b39"},{"name":"Send-Email-BL","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"id":"c3eaffab-18f2-4823-b8b8-1880bfcf3567"}}],"id":"a338aa21-cc44-40f9-aeb5-accbc45660a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"documentId\": 5512755,\r\n  \"fromemail\": \"developer_support@flowaccount.com\",\r\n  \"toemail\": \"developer_support@flowaccount.com\",\r\n  \"cCMyself\": true,\r\n  \"ccEmail\": \"developer_support@flowaccount.com\",\r\n  \"bccEmail\": \"developer_support@flowaccount.com\",\r\n  \"subject\": \"Send Email\",\r\n  \"message\": \"Send Email from production\",\r\n  \"doCopy\": true,\r\n  \"documentStructureType\": \"SendEmailCoppies\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/billing-notes/email-document","host":["{{api_gateway}}"],"path":["billing-notes","email-document"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-a338aa21-cc44-40f9-aeb5-accbc45660a2"},{"name":"Share-Document-BL","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"id":"af166fee-17dc-4c6a-9e70-417c7d5fac39"}}],"id":"2a4f4b37-9e99-4dde-80b4-61efcf7ba739","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"documentId\": 81281,\r\n\t\"culture\": \"th\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/billing-notes/sharedocument","host":["{{api_gateway}}"],"path":["billing-notes","sharedocument"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-2a4f4b37-9e99-4dde-80b4-61efcf7ba739"}],"id":"c5e858ee-e972-455f-83a4-19cf289a723c","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-22T05:28:43.000Z","uid":"45983860-c5e858ee-e972-455f-83a4-19cf289a723c"},{"name":"Tax Invoices (INV)","item":[{"name":"Get-All-INV","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"id":"2a873e1f-6bb1-40c8-a64b-5125cf8f9376"}}],"id":"61726067-97cc-4502-9c5b-329c1b4ab9ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices?currentPage=1&pageSize=20&range=3&month=7&year=2021","host":["{{api_gateway}}"],"path":["tax-invoices"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true},{"key":"searchString","value":"","disabled":true},{"key":"range","value":"3"},{"key":"month","value":"7"},{"key":"year","value":"2021"}]}},"response":[{"id":"7e8c14a3-ab0f-47aa-a6bd-210885cad30d","name":"Query-Search String","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices?currentPage=1&pageSize=20&searchString=INV2021070001","host":["{{api_gateway}}"],"path":["tax-invoices"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"searchString","value":"INV2021070001","description":"Search by Contact Name, Project Name, Document Serial"},{"key":"range","value":"","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year","disabled":true},{"key":"month","value":"","disabled":true},{"key":"year","value":"","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-7e8c14a3-ab0f-47aa-a6bd-210885cad30d"},{"id":"e723b005-c02e-4f22-a8b1-e932c018a18f","name":"Query-Date Range","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices?currentPage=1&pageSize=20&startDate=2021-06-01&endDate=2021-06-30&range=5","host":["{{api_gateway}}"],"path":["tax-invoices"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"startDate","value":"2021-06-01"},{"key":"endDate","value":"2021-06-30"},{"key":"range","value":"5","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"year","value":"","disabled":true},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"month","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-18T08:46:07.000Z","uid":"45983860-e723b005-c02e-4f22-a8b1-e932c018a18f"},{"id":"96fd1d81-efe9-417b-b979-29c34fdc4256","name":"Query-Current Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices?currentPage=1&pageSize=20&range=7&year=2021","host":["{{api_gateway}}"],"path":["tax-invoices"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"7","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"year","value":"2021"},{"key":"startDate","value":"2021-06-01","disabled":true},{"key":"endDate","value":"2021-06-30","disabled":true},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"month","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-96fd1d81-efe9-417b-b979-29c34fdc4256"},{"id":"110cd0e1-1da3-4175-ae64-abca557b560a","name":"Query-Current Month","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices?currentPage=1&pageSize=20&range=1&month=6&year=2021","host":["{{api_gateway}}"],"path":["tax-invoices"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"1","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"6"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-110cd0e1-1da3-4175-ae64-abca557b560a"},{"id":"df04f501-fc92-4102-8bab-2c95741b1a94","name":"Query-Previous Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices?currentPage=1&pageSize=20&range=5&month=&year=2021","host":["{{api_gateway}}"],"path":["tax-invoices"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"5","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":""},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-df04f501-fc92-4102-8bab-2c95741b1a94"},{"id":"5b53737e-bee4-4a09-8813-2c48879d37b5","name":"Query-Fisical Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices?currentPage=1&pageSize=20&range=&month=15&year=2021","host":["{{api_gateway}}"],"path":["tax-invoices"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"15"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-5b53737e-bee4-4a09-8813-2c48879d37b5"},{"id":"6e47bcd2-09dd-41fe-b0d2-43c3ee33c7a7","name":"Query-Previous Month","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices?currentPage=1&pageSize=20&range=3&month=5&year=2021","host":["{{api_gateway}}"],"path":["tax-invoices"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"3","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"5"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-6e47bcd2-09dd-41fe-b0d2-43c3ee33c7a7"}],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-61726067-97cc-4502-9c5b-329c1b4ab9ed"},{"name":"Get-INV-By-ID","event":[{"listen":"test","script":{"id":"f597fffe-1acf-49ee-864f-27601b4d326d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"559eb6cb-a847-4068-a95f-7d953413a86f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices/{{recordId}}","host":["{{api_gateway}}"],"path":["tax-invoices","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:31:32.000Z","uid":"45983860-559eb6cb-a847-4068-a95f-7d953413a86f"},{"name":"Create-INV-Simple","event":[{"listen":"test","script":{"id":"19180d54-a0a2-4530-9a1d-520d2ae0195d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"a224a406-1fa7-4f97-b2af-4fe43ed81c82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices","host":["{{api_gateway}}"],"path":["tax-invoices"]}},"response":[{"id":"b5333983-9850-4aba-990c-c6358a19b353","name":"Create-INV-Simple-Exclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices","host":["{{api_gateway}}"],"path":["tax-invoices"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T08:47:15.000Z","updatedAt":"2025-07-18T08:48:53.000Z","uid":"45983860-b5333983-9850-4aba-990c-c6358a19b353"},{"id":"feb0fc44-5d89-47d2-bfe6-f1d352533fcf","name":"Create-INV-Simple-Inclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": true,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 19.63,\r\n\t\"grandTotal\": 300,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.41,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices","host":["{{api_gateway}}"],"path":["tax-invoices"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T08:47:15.000Z","updatedAt":"2025-07-18T08:49:12.000Z","uid":"45983860-feb0fc44-5d89-47d2-bfe6-f1d352533fcf"}],"createdAt":"2025-07-18T08:47:15.000Z","updatedAt":"2025-07-18T08:48:09.000Z","uid":"45983860-a224a406-1fa7-4f97-b2af-4fe43ed81c82"},{"name":"Create-INV-Simple-With-Payment","event":[{"listen":"test","script":{"id":"19180d54-a0a2-4530-9a1d-520d2ae0195d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"ff3618a6-83b9-4133-a230-02a14a7218bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/with-payment","host":["{{api_gateway}}"],"path":["tax-invoices","with-payment"]}},"response":[{"id":"db3bb735-3ac0-44d1-9712-9f54d37a1365","name":"Create-INV-Simple-With-Payment-Cash","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/with-payment","host":["{{api_gateway}}"],"path":["tax-invoices","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T08:57:25.000Z","updatedAt":"2025-07-18T09:03:49.000Z","uid":"45983860-db3bb735-3ac0-44d1-9712-9f54d37a1365"},{"id":"365b9932-ac28-4893-b6bb-dee1149b2120","name":"Create-INV-Simple-With-Payment-Cheque","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingCheque\",\r\n\t\"paymentMethod\": 3,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cheque\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"chequeDate\": \"2025-07-31\",\r\n    \"chequeBankAccountId\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/with-payment","host":["{{api_gateway}}"],"path":["tax-invoices","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T09:03:13.000Z","updatedAt":"2025-07-18T09:06:09.000Z","uid":"45983860-365b9932-ac28-4893-b6bb-dee1149b2120"},{"id":"2ab74868-965b-40b8-b916-22b1ff6344ed","name":"Create-INV-Simple-With-Payment-Transfer","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingTransfer\",\r\n\t\"paymentMethod\": 5,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Bank Transfer\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"transferBankAccountId\": 1,\r\n    \"bankAccountId\": 1234 //use existing id\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/with-payment","host":["{{api_gateway}}"],"path":["tax-invoices","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T09:03:22.000Z","updatedAt":"2025-07-18T09:20:04.000Z","uid":"45983860-2ab74868-965b-40b8-b916-22b1ff6344ed"},{"id":"45b5cebc-eed8-4af9-b75b-9b5cad0963f4","name":"Create-INV-Simple-With-Payment-OtherChannel","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingOtherChannel\",\r\n\t\"paymentMethod\": 13,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Other Channel\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"otherChannelId\": 1, //use existing id\r\n    \"otherChannelPaymentChannel\": 1,\r\n    \"otherChannelName\": \"Example Other Channel\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/with-payment","host":["{{api_gateway}}"],"path":["tax-invoices","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T09:03:19.000Z","updatedAt":"2025-07-21T10:39:51.000Z","uid":"45983860-45b5cebc-eed8-4af9-b75b-9b5cad0963f4"}],"createdAt":"2025-07-18T08:57:25.000Z","updatedAt":"2025-07-18T09:03:22.000Z","uid":"45983860-ff3618a6-83b9-4133-a230-02a14a7218bb"},{"name":"Create-INV-Inline","event":[{"listen":"test","script":{"id":"6a69a050-7db7-42bc-a683-e008434b3cb3","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"e0b9a768-7c39-48a5-adaf-a728957c0053","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/inline","host":["{{api_gateway}}"],"path":["tax-invoices","inline"]}},"response":[{"id":"f7cdebc5-68de-4644-bc2b-599c314a23a5","name":"Create-INV-Inline-Discount-Exclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/inline","host":["{{api_gateway}}"],"path":["tax-invoices","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T08:50:49.000Z","updatedAt":"2025-07-18T08:52:36.000Z","uid":"45983860-f7cdebc5-68de-4644-bc2b-599c314a23a5"},{"id":"4ae2fb6a-66c4-4414-987f-68e1e5c4cee2","name":"Create-INV-Inline-Discount-Inclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/inline","host":["{{api_gateway}}"],"path":["tax-invoices","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T08:50:49.000Z","updatedAt":"2025-07-18T08:53:12.000Z","uid":"45983860-4ae2fb6a-66c4-4414-987f-68e1e5c4cee2"},{"id":"28b48718-86c4-4e93-888f-c76f10e2cfeb","name":"Create-INV-Inline-Vat-Exclusvie","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.90,\r\n\t\"grandTotal\": 288.90,\r\n\t\"documentShowWithholdingTax\": false,\r\n\t\"documentWithholdingTaxPercentage\": 0,\r\n\t\"documentWithholdingTaxAmount\": 0,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Exmaple Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": true,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/inline","host":["{{api_gateway}}"],"path":["tax-invoices","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T08:50:49.000Z","updatedAt":"2025-07-18T08:52:55.000Z","uid":"45983860-28b48718-86c4-4e93-888f-c76f10e2cfeb"},{"id":"965a138b-2277-4cdc-8115-81acc289264c","name":"Create-INV-Inline-Vat-Inclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 5.89,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": false,\r\n\t\"documentWithholdingTaxPercentage\": 0,\r\n\t\"documentWithholdingTaxAmount\": 0,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": true,\r\n\t\"exemptAmount\": 180,\r\n\t\"vatableAmount\": 84.11,\r\n\t\"items\": [\r\n\t{\r\n\t\t\t\"type\": 1, //use existing productId\r\n\t\t\t\"name\": \"Example Item 1\",\r\n\t\t\t\"description\": \"Example description\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"cm\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n\t\t\t\"discountAmount\": 10,\r\n\t\t\t\"vatRate\": 0\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"type\": 3, //use existing productId\r\n\t\t\t\"name\": \"Example Item 2\",\r\n\t\t\t\"description\": \"Example description\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"kg\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n\t\t\t\"discountAmount\": 10,\r\n\t\t\t\"vatRate\": -1\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"type\": 1, //use existing productId\r\n\t\t\t\"name\": \"Example Item 3\",\r\n\t\t\t\"description\": \"Example description\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"dozen\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n\t\t\t\"discountAmount\": 10,\r\n\t\t\t\"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/inline","host":["{{api_gateway}}"],"path":["tax-invoices","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T08:50:49.000Z","updatedAt":"2025-07-18T08:53:06.000Z","uid":"45983860-965a138b-2277-4cdc-8115-81acc289264c"}],"createdAt":"2025-07-18T08:50:49.000Z","updatedAt":"2025-07-21T04:09:10.000Z","uid":"45983860-e0b9a768-7c39-48a5-adaf-a728957c0053"},{"name":"Create-INV-Inline-With-Payment","event":[{"listen":"test","script":{"id":"19180d54-a0a2-4530-9a1d-520d2ae0195d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"36ad5262-6759-4ac9-bf21-2d1cc74117d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["tax-invoices","inline","with-payment"]}},"response":[{"id":"d1943979-4e09-425e-b6ed-62cc7ff70673","name":"Create-INV-Inline-With-Payment-Cash","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["tax-invoices","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T09:22:16.000Z","updatedAt":"2025-07-18T09:25:15.000Z","uid":"45983860-d1943979-4e09-425e-b6ed-62cc7ff70673"},{"id":"39ee7010-8038-4a10-b05c-310d42beb785","name":"Create-INV-Inline-With-Payment-Cheque","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingCheque\",\r\n\t\"paymentMethod\": 3,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cheque\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"chequeDate\": \"2025-07-31\",\r\n    \"chequeBankAccountId\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["tax-invoices","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T09:22:16.000Z","updatedAt":"2025-07-18T09:25:42.000Z","uid":"45983860-39ee7010-8038-4a10-b05c-310d42beb785"},{"id":"1ce47164-ed7b-4e32-949e-151deb0be00c","name":"Create-INV-Inline-With-Payment-Transfer","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingTransfer\",\r\n\t\"paymentMethod\": 5,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Bank Transfer\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"transferBankAccountId\": 1,\r\n    \"bankAccountId\": 1234 //use existing id\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["tax-invoices","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T09:22:16.000Z","updatedAt":"2025-07-21T11:13:15.000Z","uid":"45983860-1ce47164-ed7b-4e32-949e-151deb0be00c"},{"id":"9f4f5669-7dae-4703-b21c-e42e3994478e","name":"Create-INV-Inline-With-Payment-OtherChannel","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingOtherChannel\",\r\n\t\"paymentMethod\": 13,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Other Channel\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"otherChannelId\": 1, //use existing id\r\n    \"otherChannelPaymentChannel\": 1,\r\n    \"otherChannelName\": \"Example Other Channel\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["tax-invoices","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T09:22:16.000Z","updatedAt":"2025-07-21T11:13:03.000Z","uid":"45983860-9f4f5669-7dae-4703-b21c-e42e3994478e"}],"createdAt":"2025-07-18T09:22:16.000Z","updatedAt":"2025-07-24T04:21:47.000Z","uid":"45983860-36ad5262-6759-4ac9-bf21-2d1cc74117d7"},{"name":"Upgrade-INV-Simple","event":[{"listen":"test","script":{"id":"d3e06851-9fd7-4e8a-a9a7-91a65ea75dbe","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"5444674f-c349-4a95-a681-234dbbd6acaf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/tax-invoices","host":["{{api_gateway}}"],"path":["upgrade","tax-invoices"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-18T08:56:09.000Z","uid":"45983860-5444674f-c349-4a95-a681-234dbbd6acaf"},{"name":"Upgrade-INV-Simple-With-Payment","event":[{"listen":"test","script":{"id":"19180d54-a0a2-4530-9a1d-520d2ae0195d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"c8b483b7-d11e-4952-8b5e-8da008539248","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/tax-invoices/with-payment","host":["{{api_gateway}}"],"path":["upgrade","tax-invoices","with-payment"]}},"response":[{"id":"3824979b-e9a7-4eed-a044-a064e2d3184d","name":"Upgrade-INV-Simple-With-Payment-Cash","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/tax-invoices/with-payment","host":["{{api_gateway}}"],"path":["upgrade","tax-invoices","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T09:26:44.000Z","updatedAt":"2025-07-21T10:07:54.000Z","uid":"45983860-3824979b-e9a7-4eed-a044-a064e2d3184d"},{"id":"11b33699-1bef-47a0-b715-cd05ac0bd2f3","name":"Upgrade-INV-Simple-With-Payment-Cheque","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingCheque\",\r\n\t\"paymentMethod\": 3,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cheque\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"chequeDate\": \"2025-07-31\",\r\n    \"chequeBankAccountId\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/tax-invoices/with-payment","host":["{{api_gateway}}"],"path":["upgrade","tax-invoices","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T09:26:44.000Z","updatedAt":"2025-07-21T10:07:58.000Z","uid":"45983860-11b33699-1bef-47a0-b715-cd05ac0bd2f3"},{"id":"0c652b0b-7f6c-48ca-90ba-b12e2227e48d","name":"Upgrade-INV-Simple-With-Payment-Transfer","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingTransfer\",\r\n\t\"paymentMethod\": 5,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Bank Transfer\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"transferBankAccountId\": 1,\r\n    \"bankAccountId\": 1234 //use existing id\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/tax-invoices/with-payment","host":["{{api_gateway}}"],"path":["upgrade","tax-invoices","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T09:26:44.000Z","updatedAt":"2025-07-21T10:08:02.000Z","uid":"45983860-0c652b0b-7f6c-48ca-90ba-b12e2227e48d"},{"id":"011b8db1-59df-4afd-a720-f62fce4849b9","name":"Upgrade-INV-Simple-With-Payment-OtherChannel","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingOtherChannel\",\r\n\t\"paymentMethod\": 13,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Other Channel\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"otherChannelId\": 1, //use existing id\r\n    \"otherChannelPaymentChannel\": 1,\r\n    \"otherChannelName\": \"Example Other Channel\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/tax-invoices/with-payment","host":["{{api_gateway}}"],"path":["upgrade","tax-invoices","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T09:26:44.000Z","updatedAt":"2025-07-21T10:40:33.000Z","uid":"45983860-011b8db1-59df-4afd-a720-f62fce4849b9"}],"createdAt":"2025-07-18T09:26:44.000Z","updatedAt":"2025-07-21T10:16:18.000Z","uid":"45983860-c8b483b7-d11e-4952-8b5e-8da008539248"},{"name":"Upgrade-INV-Inline","event":[{"listen":"test","script":{"id":"2b174ed3-fcdc-46e5-b7a7-80716de8ab7a","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"e808f4dc-3ee6-484d-93b4-1e5d8705032d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/tax-invoices/inline","host":["{{api_gateway}}"],"path":["upgrade","tax-invoices","inline"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-21T10:17:03.000Z","uid":"45983860-e808f4dc-3ee6-484d-93b4-1e5d8705032d"},{"name":"Upgrade-INV-Inline-With-Payment","event":[{"listen":"test","script":{"id":"19180d54-a0a2-4530-9a1d-520d2ae0195d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"b8e90f16-fd8d-4afe-9826-52878de7861d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/tax-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","tax-invoices","inline","with-payment"]}},"response":[{"id":"afc7dc44-f6dd-4707-a896-b2e4d2434e94","name":"Upgrade-INV-Inline-With-Payment-Cash","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/tax-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","tax-invoices","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T09:26:50.000Z","updatedAt":"2025-07-21T10:17:29.000Z","uid":"45983860-afc7dc44-f6dd-4707-a896-b2e4d2434e94"},{"id":"e2b4b828-301d-40fa-895b-a01caa14b3af","name":"Upgrade-INV-Inline-With-Payment-Cheque","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingCheque\",\r\n\t\"paymentMethod\": 3,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cheque\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"chequeDate\": \"2025-07-31\",\r\n    \"chequeBankAccountId\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/tax-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","tax-invoices","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T09:26:50.000Z","updatedAt":"2025-07-21T10:20:11.000Z","uid":"45983860-e2b4b828-301d-40fa-895b-a01caa14b3af"},{"id":"6a01587d-624a-494f-8b22-b62a01802a4d","name":"Upgrade-INV-Inline-With-Payment-Transfer","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingTransfer\",\r\n\t\"paymentMethod\": 5,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Bank Transfer\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"transferBankAccountId\": 1,\r\n    \"bankAccountId\": 1234 //use existing id\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/tax-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","tax-invoices","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T09:26:50.000Z","updatedAt":"2025-07-21T10:20:21.000Z","uid":"45983860-6a01587d-624a-494f-8b22-b62a01802a4d"},{"id":"3a00c731-362c-4fb6-9bce-8936304c707b","name":"Upgrade-INV-Inline-With-Payment-OtherChannel","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingOtherChannel\",\r\n\t\"paymentMethod\": 13,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Other Channel\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"otherChannelId\": 1, //use existing id\r\n    \"otherChannelPaymentChannel\": 1,\r\n    \"otherChannelName\": \"Example Other Channel\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/tax-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","tax-invoices","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T09:26:50.000Z","updatedAt":"2025-07-21T10:20:59.000Z","uid":"45983860-3a00c731-362c-4fb6-9bce-8936304c707b"}],"createdAt":"2025-07-18T09:26:50.000Z","updatedAt":"2025-07-21T10:19:30.000Z","uid":"45983860-b8e90f16-fd8d-4afe-9826-52878de7861d"},{"name":"Update-INV-Simple","event":[{"listen":"test","script":{"id":"6c3c357f-55ec-4d49-9dee-216861717ef7","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"065c0c1a-4587-4f32-b618-f556534589c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": false,\r\n\t\"documentWithholdingTaxPercentage\": 0,\r\n\t\"documentWithholdingTaxAmount\": 0,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Remark\",\r\n\t\"internalNotes\": \"Note\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"UpdateSimpleDocument\",\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/{{recordId}}","host":["{{api_gateway}}"],"path":["tax-invoices","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:30:41.000Z","uid":"45983860-065c0c1a-4587-4f32-b618-f556534589c2"},{"name":"Update-INV-Inline","event":[{"listen":"test","script":{"id":"7326fae5-fe83-40f9-863d-e2a7993d527f","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"c8e8b7bc-593d-43ee-a6b6-a89b0466074d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Remark Document\",\r\n\t\"internalNotes\": \"Internal Note\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"UpdateInlineDocument\",\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/{{recordId}}","host":["{{api_gateway}}"],"path":["tax-invoices","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:30:34.000Z","uid":"45983860-c8e8b7bc-593d-43ee-a6b6-a89b0466074d"},{"name":"Delete-INV-By-ID","event":[{"listen":"test","script":{"id":"3928d96c-3bd5-42de-80c4-7927621710aa","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"cbb28e8a-1ce6-4458-b3eb-138ff9a0b5cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"DELETE","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices/{{recordId}}","host":["{{api_gateway}}"],"path":["tax-invoices","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:30:23.000Z","uid":"45983860-cbb28e8a-1ce6-4458-b3eb-138ff9a0b5cb"},{"name":"Change-Status-INV","event":[{"listen":"test","script":{"id":"76128eeb-92c7-4a92-a29f-d01187283909","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"e61bdc08-e72e-4382-902b-5bf34b2f5dbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices/{{recordId}}/status/awaiting","host":["{{api_gateway}}"],"path":["tax-invoices","{{recordId}}","status","awaiting"]}},"response":[{"id":"c572b45b-9e69-4ee1-8d65-08d9eff36a24","name":"Change-Status-INV-InvoiceDelivered","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices/5512755/status/invoicedelivered","host":["{{api_gateway}}"],"path":["tax-invoices","5512755","status","invoicedelivered"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-c572b45b-9e69-4ee1-8d65-08d9eff36a24"},{"id":"db36fd06-1667-4f6e-9a30-c62eb1b59f0b","name":"Change-Status-INV-Void","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices/5512755/status/void","host":["{{api_gateway}}"],"path":["tax-invoices","5512755","status","void"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-db36fd06-1667-4f6e-9a30-c62eb1b59f0b"},{"id":"8f283c03-8e6a-4ed7-8535-111c91d85358","name":"Change-Status-INV-Awaiting","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices/5512755/status/awaiting","host":["{{api_gateway}}"],"path":["tax-invoices","5512755","status","awaiting"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-8f283c03-8e6a-4ed7-8535-111c91d85358"}],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:31:53.000Z","uid":"45983860-e61bdc08-e72e-4382-902b-5bf34b2f5dbe"},{"name":"Change-Status-Paid-INV","event":[{"listen":"test","script":{"id":"0ae2868c-c5db-4603-8640-a3f66218dccb","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"698a5dd9-b4db-4798-ade9-174777e6ce3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentReceivingCash\",\r\n  \"documentId\": 5512185,\r\n  \"paymentMethod\": 1,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"paymentDeductionType\": 0,\r\n  \"paymentDeductionAmount\": 0,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Receiving Cash\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/{{recordId}}/payment","host":["{{api_gateway}}"],"path":["tax-invoices","{{recordId}}","payment"]}},"response":[{"id":"ebbd7a68-db14-4f06-be71-b4f4c639ad15","name":"Change-Status-Paid-Cash","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentReceivingCash\",\r\n  \"documentId\": 5512185,\r\n  \"paymentMethod\": 1,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"paymentDeductionType\": 0,\r\n  \"paymentDeductionAmount\": 0,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Receiving Cash\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/5512185/payment","host":["{{api_gateway}}"],"path":["tax-invoices","5512185","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T05:25:36.000Z","updatedAt":"2025-07-21T05:28:20.000Z","uid":"45983860-ebbd7a68-db14-4f06-be71-b4f4c639ad15"},{"id":"25262b1f-19d5-4e0d-a3a1-7cdcff010a82","name":"Change-Status-Paid-Cheque","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentReceivingCheque\",\r\n  \"documentId\": 5512185,\r\n  \"paymentMethod\": 3,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"paymentDeductionType\": 0,\r\n  \"paymentDeductionAmount\": 0,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Receiving Cheque\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0,\r\n  \"chequeDate\": \"2021-01-01\",\r\n  \"chequeNumber\": \"122-122-122\",\r\n  \"chequeBankAccountId\": 3\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/5512185/payment","host":["{{api_gateway}}"],"path":["tax-invoices","5512185","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T05:25:36.000Z","updatedAt":"2025-07-21T05:31:21.000Z","uid":"45983860-25262b1f-19d5-4e0d-a3a1-7cdcff010a82"},{"id":"73174053-c3b7-4117-b649-23d88b1946c1","name":"Change-Status-Paid-Transfer","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentReceivingTransfer\",\r\n  \"documentId\": 5512185,\r\n  \"paymentMethod\": 5,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"paymentDeductionType\": 0,\r\n  \"paymentDeductionAmount\": 0,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Receiving Transfer\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0,\r\n  \"transferBankAccountId\": 3,\r\n  \"bankAccountId\": \"12345\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/5512185/payment","host":["{{api_gateway}}"],"path":["tax-invoices","5512185","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T05:25:36.000Z","updatedAt":"2025-07-21T05:34:18.000Z","uid":"45983860-73174053-c3b7-4117-b649-23d88b1946c1"},{"id":"af2d05b2-b752-4def-82e8-55fc691265c1","name":"Change-Status-Paid-OtherChannel","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentReceivingOtherChannel\",\r\n  \"documentId\": 5512185,\r\n  \"paymentMethod\": 13,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"paymentDeductionType\": 0,\r\n  \"paymentDeductionAmount\": 0,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Receiving OtherChannel\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0,\r\n  \"otherChannelId\": 1234,\r\n  \"otherChannelPaymentChannel\": 1,\r\n  \"otherChannelName\": \"WongNai POS\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/5512185/payment","host":["{{api_gateway}}"],"path":["tax-invoices","5512185","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T05:25:36.000Z","updatedAt":"2025-07-21T05:38:24.000Z","uid":"45983860-af2d05b2-b752-4def-82e8-55fc691265c1"}],"createdAt":"2025-07-21T05:25:36.000Z","updatedAt":"2025-07-29T12:32:00.000Z","uid":"45983860-698a5dd9-b4db-4798-ade9-174777e6ce3f"},{"name":"Upload-File-INV","event":[{"listen":"test","script":{"id":"a6d9e449-808b-4bab-b971-e6bdf174e565","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"f6d5361c-ce40-453e-b1a1-545800b98c95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"","type":"file","src":"/C:/Users/findb/OneDrive/Pictures/BlueSea.jpg"}]},"url":{"raw":"{{api_gateway}}/tax-invoices/{{recordId}}/attachment","host":["{{api_gateway}}"],"path":["tax-invoices","{{recordId}}","attachment"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:32:19.000Z","uid":"45983860-f6d5361c-ce40-453e-b1a1-545800b98c95"},{"name":"Send-Email-INV","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"id":"2fefa254-fc46-454d-bc3c-252b23618235"}}],"id":"e36fbc9d-769f-4194-a017-22fb57b03acd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"documentId\": 19213241,\r\n  \"fromemail\": \"developer_support@flowaccount.com\",\r\n  \"toemail\": \"developer_support@flowaccount.com\",\r\n  \"cCMyself\": true,\r\n  \"ccEmail\": \"developer_support@flowaccount.com\",\r\n  \"bccEmail\": \"developer_support@flowaccount.com\",\r\n  \"subject\": \"Send Email\",\r\n  \"message\": \"Send Email from production\",\r\n  \"doCopy\": true,\r\n  \"documentStructureType\": \"SendEmailCoppies\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/email-document","host":["{{api_gateway}}"],"path":["tax-invoices","email-document"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-e36fbc9d-769f-4194-a017-22fb57b03acd"},{"name":"Share-Document-INV","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"id":"2ef023ec-abf3-4752-846e-89b49b0acca3"}}],"id":"059cb527-98c7-4a1b-8f84-452223b3eca9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"documentId\": 19213241,\r\n\t\"culture\": \"th\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/sharedocument","host":["{{api_gateway}}"],"path":["tax-invoices","sharedocument"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-059cb527-98c7-4a1b-8f84-452223b3eca9"}],"id":"21b1614d-79ae-462e-bdd2-ccc84bf3dce8","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-22T05:28:56.000Z","uid":"45983860-21b1614d-79ae-462e-bdd2-ccc84bf3dce8"},{"name":"Tax Invoices (INV) / Receipt (RE)","item":[{"name":"Get-All-INV/RE","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"id":"2a873e1f-6bb1-40c8-a64b-5125cf8f9376"}}],"id":"b4ebc4ae-c0f5-4a7b-b781-1f980d4a2f3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices?currentPage=1&pageSize=20&range=3&month=7&year=2021","host":["{{api_gateway}}"],"path":["tax-invoices"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true},{"key":"searchString","value":"","disabled":true},{"key":"range","value":"3"},{"key":"month","value":"7"},{"key":"year","value":"2021"}]}},"response":[{"id":"bf69fac3-f10b-45e2-80f0-ac38379b584c","name":"Query-Search String","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices?currentPage=1&pageSize=20&searchString=INV2021070001","host":["{{api_gateway}}"],"path":["tax-invoices"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"searchString","value":"INV2021070001","description":"Search by Contact Name, Project Name, Document Serial"},{"key":"range","value":"","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year","disabled":true},{"key":"month","value":"","disabled":true},{"key":"year","value":"","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:54:41.000Z","uid":"45983860-bf69fac3-f10b-45e2-80f0-ac38379b584c"},{"id":"22fbedbe-6fbe-40a1-bf21-00a5597c9272","name":"Query-Date Range","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices?currentPage=1&pageSize=20&startDate=2021-06-01&endDate=2021-06-30&range=5","host":["{{api_gateway}}"],"path":["tax-invoices"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"startDate","value":"2021-06-01"},{"key":"endDate","value":"2021-06-30"},{"key":"range","value":"5","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"year","value":"","disabled":true},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"month","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:54:41.000Z","uid":"45983860-22fbedbe-6fbe-40a1-bf21-00a5597c9272"},{"id":"694d0dd9-35b7-4dc8-8ff6-65e8fda6f34b","name":"Query-Current Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices?currentPage=1&pageSize=20&range=7&year=2021","host":["{{api_gateway}}"],"path":["tax-invoices"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"7","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"year","value":"2021"},{"key":"startDate","value":"2021-06-01","disabled":true},{"key":"endDate","value":"2021-06-30","disabled":true},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"month","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:54:41.000Z","uid":"45983860-694d0dd9-35b7-4dc8-8ff6-65e8fda6f34b"},{"id":"4972ac7f-f82d-4301-b8d3-57d59cc90cf4","name":"Query-Current Month","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices?currentPage=1&pageSize=20&range=1&month=6&year=2021","host":["{{api_gateway}}"],"path":["tax-invoices"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"1","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"6"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:54:41.000Z","uid":"45983860-4972ac7f-f82d-4301-b8d3-57d59cc90cf4"},{"id":"75f93f9a-6c73-4359-aa98-6305fe1eb7f7","name":"Query-Previous Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices?currentPage=1&pageSize=20&range=5&month=&year=2021","host":["{{api_gateway}}"],"path":["tax-invoices"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"5","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":""},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:54:41.000Z","uid":"45983860-75f93f9a-6c73-4359-aa98-6305fe1eb7f7"},{"id":"adce0f51-8f9e-4866-8879-60cadaa474aa","name":"Query-Fisical Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices?currentPage=1&pageSize=20&range=&month=15&year=2021","host":["{{api_gateway}}"],"path":["tax-invoices"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"15"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:54:41.000Z","uid":"45983860-adce0f51-8f9e-4866-8879-60cadaa474aa"},{"id":"e62eb4b2-0911-490d-a751-b6546af2fb38","name":"Query-Previous Month","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices?currentPage=1&pageSize=20&range=3&month=5&year=2021","host":["{{api_gateway}}"],"path":["tax-invoices"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"3","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"5"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:54:41.000Z","uid":"45983860-e62eb4b2-0911-490d-a751-b6546af2fb38"}],"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:55:05.000Z","uid":"45983860-b4ebc4ae-c0f5-4a7b-b781-1f980d4a2f3c"},{"name":"Get-INV/RE-By-ID","event":[{"listen":"test","script":{"id":"f597fffe-1acf-49ee-864f-27601b4d326d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"67dfe5b6-e6ac-4695-acb8-c38615b02f93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices/{{recordId}}","host":["{{api_gateway}}"],"path":["tax-invoices","{{recordId}}"]}},"response":[],"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-29T12:30:13.000Z","uid":"45983860-67dfe5b6-e6ac-4695-acb8-c38615b02f93"},{"name":"Create-INV/RE-Simple","event":[{"listen":"test","script":{"id":"19180d54-a0a2-4530-9a1d-520d2ae0195d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"a7ff55dc-9674-462f-848b-4cfc2563dbb9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices","host":["{{api_gateway}}"],"path":["tax-invoices"]}},"response":[{"id":"b34bea8b-8d2b-4948-abe2-304e2f868b04","name":"Create-INV/RE-Simple-Exclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices","host":["{{api_gateway}}"],"path":["tax-invoices"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:58:59.000Z","uid":"45983860-b34bea8b-8d2b-4948-abe2-304e2f868b04"},{"id":"b427e5aa-7b44-42db-81fc-1371536b1ff4","name":"Create-INV/RE-Simple-Inclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": true,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 19.63,\r\n\t\"grandTotal\": 300,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.41,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices","host":["{{api_gateway}}"],"path":["tax-invoices"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:59:05.000Z","uid":"45983860-b427e5aa-7b44-42db-81fc-1371536b1ff4"}],"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:58:53.000Z","uid":"45983860-a7ff55dc-9674-462f-848b-4cfc2563dbb9"},{"name":"Create-INV/RE-Simple-With-Payment","event":[{"listen":"test","script":{"id":"19180d54-a0a2-4530-9a1d-520d2ae0195d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"aa4806d9-e356-4b39-9b30-643b8fda2ff1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/with-payment","host":["{{api_gateway}}"],"path":["tax-invoices","with-payment"]}},"response":[{"id":"399283e8-f871-43b2-9239-52b1be86f6f9","name":"Create-INV/RE-Simple-With-Payment-Cash","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/with-payment","host":["{{api_gateway}}"],"path":["tax-invoices","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:55:42.000Z","uid":"45983860-399283e8-f871-43b2-9239-52b1be86f6f9"},{"id":"e7c67010-03a0-4d87-ab53-23831ba57268","name":"Create-INV/RE-Simple-With-Payment-Cheque","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingCheque\",\r\n\t\"paymentMethod\": 3,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cheque\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"chequeDate\": \"2025-07-31\",\r\n    \"chequeBankAccountId\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/with-payment","host":["{{api_gateway}}"],"path":["tax-invoices","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:55:46.000Z","uid":"45983860-e7c67010-03a0-4d87-ab53-23831ba57268"},{"id":"4fbaab76-d2a6-4972-b30d-ba0bf913e9d8","name":"Create-INV/RE-Simple-With-Payment-Transfer","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingTransfer\",\r\n\t\"paymentMethod\": 5,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Bank Transfer\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"transferBankAccountId\": 1,\r\n    \"bankAccountId\": 1234 //use existing id\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/with-payment","host":["{{api_gateway}}"],"path":["tax-invoices","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:55:49.000Z","uid":"45983860-4fbaab76-d2a6-4972-b30d-ba0bf913e9d8"},{"id":"035ada80-9947-488f-85f9-b1a8300e62e8","name":"Create-INV/RE-Simple-With-Payment-OtherChannel","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingOtherChannel\",\r\n\t\"paymentMethod\": 13,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Other Channel\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"otherChannelId\": 1, //use existing id\r\n    \"otherChannelPaymentChannel\": 1,\r\n    \"otherChannelName\": \"Example Other Channel\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/with-payment","host":["{{api_gateway}}"],"path":["tax-invoices","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T10:42:41.000Z","uid":"45983860-035ada80-9947-488f-85f9-b1a8300e62e8"}],"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:59:12.000Z","uid":"45983860-aa4806d9-e356-4b39-9b30-643b8fda2ff1"},{"name":"Create-INV/RE-Inline","event":[{"listen":"test","script":{"id":"6a69a050-7db7-42bc-a683-e008434b3cb3","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"8efb965c-e79a-4c48-bcf6-d145c3f01d28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/inline","host":["{{api_gateway}}"],"path":["tax-invoices","inline"]}},"response":[{"id":"e2c7f2d9-82dd-48a9-9fb3-d0c1606cade6","name":"Create-INV/RE-Inline-Discount-Exclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/inline","host":["{{api_gateway}}"],"path":["tax-invoices","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:59:27.000Z","uid":"45983860-e2c7f2d9-82dd-48a9-9fb3-d0c1606cade6"},{"id":"ae33bee7-6bf0-4fcd-9f64-8b32960330c6","name":"Create-INV/RE-Inline-Discount-Inclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/inline","host":["{{api_gateway}}"],"path":["tax-invoices","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:59:31.000Z","uid":"45983860-ae33bee7-6bf0-4fcd-9f64-8b32960330c6"},{"id":"eb385baf-88f5-46a5-8621-645cb18847df","name":"Create-INV/RE-Inline-Vat-Exclusvie","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.90,\r\n\t\"grandTotal\": 288.90,\r\n\t\"documentShowWithholdingTax\": false,\r\n\t\"documentWithholdingTaxPercentage\": 0,\r\n\t\"documentWithholdingTaxAmount\": 0,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Exmaple Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": true,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/inline","host":["{{api_gateway}}"],"path":["tax-invoices","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:59:36.000Z","uid":"45983860-eb385baf-88f5-46a5-8621-645cb18847df"},{"id":"2106770d-7150-4939-916f-1634692ee204","name":"Create-INV/RE-Inline-Vat-Inclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 5.89,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": false,\r\n\t\"documentWithholdingTaxPercentage\": 0,\r\n\t\"documentWithholdingTaxAmount\": 0,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": true,\r\n\t\"exemptAmount\": 180,\r\n\t\"vatableAmount\": 84.11,\r\n\t\"items\": [\r\n\t{\r\n\t\t\t\"type\": 1, //use existing productId\r\n\t\t\t\"name\": \"Example Item 1\",\r\n\t\t\t\"description\": \"Example description\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"cm\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n\t\t\t\"discountAmount\": 10,\r\n\t\t\t\"vatRate\": 0\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"type\": 3, //use existing productId\r\n\t\t\t\"name\": \"Example Item 2\",\r\n\t\t\t\"description\": \"Example description\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"kg\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n\t\t\t\"discountAmount\": 10,\r\n\t\t\t\"vatRate\": -1\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"type\": 1, //use existing productId\r\n\t\t\t\"name\": \"Example Item 3\",\r\n\t\t\t\"description\": \"Example description\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"dozen\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n\t\t\t\"discountAmount\": 10,\r\n\t\t\t\"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/inline","host":["{{api_gateway}}"],"path":["tax-invoices","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:59:40.000Z","uid":"45983860-2106770d-7150-4939-916f-1634692ee204"}],"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:59:21.000Z","uid":"45983860-8efb965c-e79a-4c48-bcf6-d145c3f01d28"},{"name":"Create-INV/RE-Inline-With-Payment","event":[{"listen":"test","script":{"id":"19180d54-a0a2-4530-9a1d-520d2ae0195d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"06eb9750-8412-438b-80bd-1253f408899d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["tax-invoices","inline","with-payment"]}},"response":[{"id":"c41f80bc-f082-46ff-be05-21ab18060e07","name":"Create-INV/RE-Inline-With-Payment-Cash","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["tax-invoices","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:56:27.000Z","uid":"45983860-c41f80bc-f082-46ff-be05-21ab18060e07"},{"id":"86a53436-6778-467e-892a-9ccefde13e5d","name":"Create-INV/RE-Inline-With-Payment-Cheque","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingCheque\",\r\n\t\"paymentMethod\": 3,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cheque\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"chequeDate\": \"2025-07-31\",\r\n    \"chequeBankAccountId\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["tax-invoices","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:56:31.000Z","uid":"45983860-86a53436-6778-467e-892a-9ccefde13e5d"},{"id":"6d8ab6e0-9ba2-405e-8dc0-d767f7cf7d6b","name":"Create-INV/RE-Inline-With-Payment-Transfer","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingTransfer\",\r\n\t\"paymentMethod\": 5,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Bank Transfer\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"transferBankAccountId\": 1,\r\n    \"bankAccountId\": 1234 //use existing id\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["tax-invoices","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T11:12:28.000Z","uid":"45983860-6d8ab6e0-9ba2-405e-8dc0-d767f7cf7d6b"},{"id":"7953ec35-e19a-4f74-9e5e-b35d1ae7e2dc","name":"Create-INV/RE-Inline-With-Payment-OtherChannel","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingOtherChannel\",\r\n\t\"paymentMethod\": 13,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Other Channel\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"otherChannelId\": 1, //use existing id\r\n    \"otherChannelPaymentChannel\": 1,\r\n    \"otherChannelName\": \"Example Other Channel\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["tax-invoices","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T11:12:39.000Z","uid":"45983860-7953ec35-e19a-4f74-9e5e-b35d1ae7e2dc"}],"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-24T04:22:04.000Z","uid":"45983860-06eb9750-8412-438b-80bd-1253f408899d"},{"name":"Upgrade-INV/RE-Simple","event":[{"listen":"test","script":{"id":"d3e06851-9fd7-4e8a-a9a7-91a65ea75dbe","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"4f7cfe48-d7c6-4f6d-b049-c6d7e4e2c19c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/tax-invoices","host":["{{api_gateway}}"],"path":["upgrade","tax-invoices"]}},"response":[],"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T10:22:13.000Z","uid":"45983860-4f7cfe48-d7c6-4f6d-b049-c6d7e4e2c19c"},{"name":"Upgrade-INV/RE-Simple-With-Payment","event":[{"listen":"test","script":{"id":"19180d54-a0a2-4530-9a1d-520d2ae0195d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"4526f278-44be-4929-a3cd-38ea451e05ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/tax-invoices/with-payment","host":["{{api_gateway}}"],"path":["upgrade","tax-invoices","with-payment"]}},"response":[{"id":"11c75295-eeef-4ab9-889f-4126f89d1ea3","name":"Upgrade-INV/RE-Simple-With-Payment-Cash","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/tax-invoices/with-payment","host":["{{api_gateway}}"],"path":["upgrade","tax-invoices","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T10:09:00.000Z","uid":"45983860-11c75295-eeef-4ab9-889f-4126f89d1ea3"},{"id":"5b711895-1b97-4c18-90ed-47c1abb5c4fa","name":"Upgrade-INV/RE-Simple-With-Payment-Cheque","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingCheque\",\r\n\t\"paymentMethod\": 3,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cheque\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"chequeDate\": \"2025-07-31\",\r\n    \"chequeBankAccountId\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/tax-invoices/with-payment","host":["{{api_gateway}}"],"path":["upgrade","tax-invoices","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T10:09:07.000Z","uid":"45983860-5b711895-1b97-4c18-90ed-47c1abb5c4fa"},{"id":"feea66bc-2729-40a8-9335-17867f25fb41","name":"Upgrade-INV/RE-Simple-With-Payment-Transfer","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingTransfer\",\r\n\t\"paymentMethod\": 5,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Bank Transfer\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"transferBankAccountId\": 1,\r\n    \"bankAccountId\": 1234 //use existing id\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/tax-invoices/with-payment","host":["{{api_gateway}}"],"path":["upgrade","tax-invoices","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T10:09:55.000Z","uid":"45983860-feea66bc-2729-40a8-9335-17867f25fb41"},{"id":"721f0c74-2dc1-43f3-af48-d0c223d7c11d","name":"Upgrade-INV/RE-Simple-With-Payment-OtherChannel","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingOtherChannel\",\r\n\t\"paymentMethod\": 13,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Other Channel\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"otherChannelId\": 1, //use existing id\r\n    \"otherChannelPaymentChannel\": 1,\r\n    \"otherChannelName\": \"Example Other Channel\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/tax-invoices/with-payment","host":["{{api_gateway}}"],"path":["upgrade","tax-invoices","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T11:19:21.000Z","uid":"45983860-721f0c74-2dc1-43f3-af48-d0c223d7c11d"}],"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T10:22:22.000Z","uid":"45983860-4526f278-44be-4929-a3cd-38ea451e05ee"},{"name":"Upgrade-INV/RE-Inline","event":[{"listen":"test","script":{"id":"2b174ed3-fcdc-46e5-b7a7-80716de8ab7a","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"0cb5606a-f0d7-460f-b666-3b8c1777adbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/tax-invoices/inline","host":["{{api_gateway}}"],"path":["upgrade","tax-invoices","inline"]}},"response":[],"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T10:44:44.000Z","uid":"45983860-0cb5606a-f0d7-460f-b666-3b8c1777adbd"},{"name":"Upgrade-INV/RE-Inline-With-Payment","event":[{"listen":"test","script":{"id":"19180d54-a0a2-4530-9a1d-520d2ae0195d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"6504fd64-7ed5-42f0-abd6-73a2413ef10c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/tax-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","tax-invoices","inline","with-payment"]}},"response":[{"id":"9b8e763d-2e7e-4746-bdea-73c308ab380a","name":"Upgrade-INV/RE-Inline-With-Payment-Cash","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/tax-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","tax-invoices","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T10:45:10.000Z","uid":"45983860-9b8e763d-2e7e-4746-bdea-73c308ab380a"},{"id":"d2ce7df3-43a2-42c4-bc2b-7403cb8e1166","name":"Upgrade-INV/RE-Inline-With-Payment-Cheque","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingCheque\",\r\n\t\"paymentMethod\": 3,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cheque\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"chequeDate\": \"2025-07-31\",\r\n    \"chequeBankAccountId\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/tax-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","tax-invoices","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T10:45:26.000Z","uid":"45983860-d2ce7df3-43a2-42c4-bc2b-7403cb8e1166"},{"id":"ce037991-3cbd-4794-8295-d0bbec3568de","name":"Upgrade-INV/RE-Inline-With-Payment-Transfer","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingTransfer\",\r\n\t\"paymentMethod\": 5,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Bank Transfer\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"transferBankAccountId\": 1,\r\n    \"bankAccountId\": 1234 //use existing id\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/tax-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","tax-invoices","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T10:46:08.000Z","uid":"45983860-ce037991-3cbd-4794-8295-d0bbec3568de"},{"id":"45c1483a-20c3-45e5-845d-f4560570738a","name":"Upgrade-INV/RE-Inline-With-Payment-OtherChannel","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingOtherChannel\",\r\n\t\"paymentMethod\": 13,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Other Channel\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"otherChannelId\": 1, //use existing id\r\n    \"otherChannelPaymentChannel\": 1,\r\n    \"otherChannelName\": \"Example Other Channel\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/tax-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","tax-invoices","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T10:46:39.000Z","uid":"45983860-45c1483a-20c3-45e5-845d-f4560570738a"}],"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T10:45:57.000Z","uid":"45983860-6504fd64-7ed5-42f0-abd6-73a2413ef10c"},{"name":"Update-INV/RE-Simple","event":[{"listen":"test","script":{"id":"6c3c357f-55ec-4d49-9dee-216861717ef7","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"a7dc04f6-0596-4067-b3ac-9c3ec657934d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": false,\r\n\t\"documentWithholdingTaxPercentage\": 0,\r\n\t\"documentWithholdingTaxAmount\": 0,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Remark\",\r\n\t\"internalNotes\": \"Note\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"UpdateSimpleDocument\",\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/{{recordId}}","host":["{{api_gateway}}"],"path":["tax-invoices","{{recordId}}"]}},"response":[],"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-29T12:30:01.000Z","uid":"45983860-a7dc04f6-0596-4067-b3ac-9c3ec657934d"},{"name":"Update-INV/RE-Inline","event":[{"listen":"test","script":{"id":"7326fae5-fe83-40f9-863d-e2a7993d527f","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"dce0ad87-ec1c-4ba2-8660-5f85a2c5d8cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Remark Document\",\r\n\t\"internalNotes\": \"Internal Note\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"UpdateInlineDocument\",\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/{{recordId}}","host":["{{api_gateway}}"],"path":["tax-invoices","{{recordId}}"]}},"response":[],"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-29T12:29:51.000Z","uid":"45983860-dce0ad87-ec1c-4ba2-8660-5f85a2c5d8cb"},{"name":"Delete-INV/RE-By-ID","event":[{"listen":"test","script":{"id":"3928d96c-3bd5-42de-80c4-7927621710aa","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"15e4c52e-5b9c-4f77-bf89-1afd8c200d85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"DELETE","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices/{{recordId}}","host":["{{api_gateway}}"],"path":["tax-invoices","{{recordId}}"]}},"response":[],"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-29T12:29:29.000Z","uid":"45983860-15e4c52e-5b9c-4f77-bf89-1afd8c200d85"},{"name":"Change-Status-INV/RE","event":[{"listen":"test","script":{"id":"76128eeb-92c7-4a92-a29f-d01187283909","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"ec5a76e8-0241-46b3-a1c4-f09ff1bd0f70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices/{{recordId}}/status/awaiting","host":["{{api_gateway}}"],"path":["tax-invoices","{{recordId}}","status","awaiting"]}},"response":[{"id":"12e29924-0c22-49f2-84b3-e1daba96263d","name":"Change-Status-INV/RE-InvoiceDelivered","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices/5512755/status/invoicedelivered","host":["{{api_gateway}}"],"path":["tax-invoices","5512755","status","invoicedelivered"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:58:00.000Z","uid":"45983860-12e29924-0c22-49f2-84b3-e1daba96263d"},{"id":"c7315966-b020-4928-99bd-c0dd5afe198a","name":"Change-Status-INV/RE-Void","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices/5512755/status/void","host":["{{api_gateway}}"],"path":["tax-invoices","5512755","status","void"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:58:03.000Z","uid":"45983860-c7315966-b020-4928-99bd-c0dd5afe198a"},{"id":"6b962c38-d0e8-4d86-82a6-ef1d7458ee81","name":"Change-Status-INV/RE-Awaiting","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices/5512755/status/awaiting","host":["{{api_gateway}}"],"path":["tax-invoices","5512755","status","awaiting"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:58:06.000Z","uid":"45983860-6b962c38-d0e8-4d86-82a6-ef1d7458ee81"}],"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-29T12:29:36.000Z","uid":"45983860-ec5a76e8-0241-46b3-a1c4-f09ff1bd0f70"},{"name":"Change-Status-Paid-INV/RE","event":[{"listen":"test","script":{"id":"0ae2868c-c5db-4603-8640-a3f66218dccb","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"560459df-071b-48bc-9fda-25d7d0999c61","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentReceivingCash\",\r\n  \"documentId\": 5512185,\r\n  \"paymentMethod\": 1,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"paymentDeductionType\": 0,\r\n  \"paymentDeductionAmount\": 0,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Receiving Cash\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/{{recordId}}/payment","host":["{{api_gateway}}"],"path":["tax-invoices","{{recordId}}","payment"]}},"response":[{"id":"e1503314-07b9-4299-98d7-f3d298948079","name":"Change-Status-Paid-Cash","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentReceivingCash\",\r\n  \"documentId\": 5512185,\r\n  \"paymentMethod\": 1,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"paymentDeductionType\": 0,\r\n  \"paymentDeductionAmount\": 0,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Receiving Cash\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/5512185/payment","host":["{{api_gateway}}"],"path":["tax-invoices","5512185","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:54:41.000Z","uid":"45983860-e1503314-07b9-4299-98d7-f3d298948079"},{"id":"295a3c51-a55c-43b3-a910-5167492213d3","name":"Change-Status-Paid-Cheque","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentReceivingCheque\",\r\n  \"documentId\": 5512185,\r\n  \"paymentMethod\": 3,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"paymentDeductionType\": 0,\r\n  \"paymentDeductionAmount\": 0,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Receiving Cheque\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0,\r\n  \"chequeDate\": \"2021-01-01\",\r\n  \"chequeNumber\": \"122-122-122\",\r\n  \"chequeBankAccountId\": 3\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/5512185/payment","host":["{{api_gateway}}"],"path":["tax-invoices","5512185","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:54:41.000Z","uid":"45983860-295a3c51-a55c-43b3-a910-5167492213d3"},{"id":"5d4e35fc-92fa-4ea2-9378-528d4cf0bb85","name":"Change-Status-Paid-Transfer","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentReceivingTransfer\",\r\n  \"documentId\": 5512185,\r\n  \"paymentMethod\": 5,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"paymentDeductionType\": 0,\r\n  \"paymentDeductionAmount\": 0,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Receiving Transfer\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0,\r\n  \"transferBankAccountId\": 3,\r\n  \"bankAccountId\": \"12345\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/5512185/payment","host":["{{api_gateway}}"],"path":["tax-invoices","5512185","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:54:41.000Z","uid":"45983860-5d4e35fc-92fa-4ea2-9378-528d4cf0bb85"},{"id":"bb728a14-446a-4259-b2bf-48ec05dab982","name":"Change-Status-Paid-OtherChannel","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentReceivingOtherChannel\",\r\n  \"documentId\": 5512185,\r\n  \"paymentMethod\": 13,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"paymentDeductionType\": 0,\r\n  \"paymentDeductionAmount\": 0,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Receiving OtherChannel\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0,\r\n  \"otherChannelId\": 1234,\r\n  \"otherChannelPaymentChannel\": 1,\r\n  \"otherChannelName\": \"WongNai POS\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/5512185/payment","host":["{{api_gateway}}"],"path":["tax-invoices","5512185","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:54:41.000Z","uid":"45983860-bb728a14-446a-4259-b2bf-48ec05dab982"}],"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-29T12:32:43.000Z","uid":"45983860-560459df-071b-48bc-9fda-25d7d0999c61"},{"name":"Upload-File-INV/RE","event":[{"listen":"test","script":{"id":"a6d9e449-808b-4bab-b971-e6bdf174e565","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"9074662d-510c-4368-bfe6-52482bbc5164","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"","type":"file","src":"/C:/Users/findb/OneDrive/Pictures/BlueSea.jpg"}]},"url":{"raw":"{{api_gateway}}/tax-invoices/{{recordId}}/attachment","host":["{{api_gateway}}"],"path":["tax-invoices","{{recordId}}","attachment"]}},"response":[],"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-29T12:32:49.000Z","uid":"45983860-9074662d-510c-4368-bfe6-52482bbc5164"},{"name":"Send-Email-INV/RE","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"id":"2fefa254-fc46-454d-bc3c-252b23618235"}}],"id":"fe2d23c1-0b72-409c-b4e6-5db63428fa6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"documentId\": 19213241,\r\n  \"fromemail\": \"developer_support@flowaccount.com\",\r\n  \"toemail\": \"developer_support@flowaccount.com\",\r\n  \"cCMyself\": true,\r\n  \"ccEmail\": \"developer_support@flowaccount.com\",\r\n  \"bccEmail\": \"developer_support@flowaccount.com\",\r\n  \"subject\": \"Send Email\",\r\n  \"message\": \"Send Email from production\",\r\n  \"doCopy\": true,\r\n  \"documentStructureType\": \"SendEmailCoppies\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/email-document","host":["{{api_gateway}}"],"path":["tax-invoices","email-document"]}},"response":[],"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:57:49.000Z","uid":"45983860-fe2d23c1-0b72-409c-b4e6-5db63428fa6c"},{"name":"Share-Document-INV/RE","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"id":"2ef023ec-abf3-4752-846e-89b49b0acca3"}}],"id":"1dc5b67a-c9ce-44a6-a63b-f343a8b9d7cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"documentId\": 19213241,\r\n\t\"culture\": \"th\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/tax-invoices/sharedocument","host":["{{api_gateway}}"],"path":["tax-invoices","sharedocument"]}},"response":[],"createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-21T05:57:51.000Z","uid":"45983860-1dc5b67a-c9ce-44a6-a63b-f343a8b9d7cc"}],"id":"162e4db3-08b6-4b3e-9745-15ded73a427f","createdAt":"2025-07-21T05:54:41.000Z","updatedAt":"2025-07-22T05:29:07.000Z","uid":"45983860-162e4db3-08b6-4b3e-9745-15ded73a427f"},{"name":"Receipt (RE)","item":[{"name":"Get-All-RE","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"id":"60dfbe85-4aa5-4745-8383-733b4144fc2e"}}],"id":"07d96fea-88b6-4dfb-8e84-0dbb822563e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/receipts?currentPage=1&pageSize=20&range=3&month=7&year=2021","host":["{{api_gateway}}"],"path":["receipts"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true},{"key":"searchString","value":"","disabled":true},{"key":"range","value":"3"},{"key":"month","value":"7"},{"key":"year","value":"2021"}]}},"response":[{"id":"dd1218b9-4c58-422f-a8bf-6b65dedc5b0c","name":"Query-Previous Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/receipts?currentPage=1&pageSize=20&range=5&month=&year=2021","host":["{{api_gateway}}"],"path":["receipts"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"5","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":""},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-dd1218b9-4c58-422f-a8bf-6b65dedc5b0c"},{"id":"e941aa1a-40a0-432b-83c8-037da14f3f5e","name":"Query-Previous Month","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/receipts?currentPage=1&pageSize=20&range=3&month=5&year=2021","host":["{{api_gateway}}"],"path":["receipts"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"3","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"5"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-e941aa1a-40a0-432b-83c8-037da14f3f5e"},{"id":"809a1bdd-90c4-499f-b256-1106df1de585","name":"Query-Current Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/receipts?currentPage=1&pageSize=20&range=7&year=2021","host":["{{api_gateway}}"],"path":["receipts"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"7","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"year","value":"2021"},{"key":"startDate","value":"2021-06-01","disabled":true},{"key":"endDate","value":"2021-06-30","disabled":true},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"month","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-809a1bdd-90c4-499f-b256-1106df1de585"},{"id":"d6f9423b-4459-4e89-8c97-04ea07def64a","name":"Query-Search String","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/receipts?currentPage=1&pageSize=20&searchString=RE2021070001","host":["{{api_gateway}}"],"path":["receipts"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"searchString","value":"RE2021070001","description":"Search by Contact Name, Project Name, Document Serial"},{"key":"range","value":"","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year","disabled":true},{"key":"month","value":"","disabled":true},{"key":"year","value":"","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-d6f9423b-4459-4e89-8c97-04ea07def64a"},{"id":"6d1ab126-0695-4bdd-82da-848403bf079e","name":"Query-Date Range","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/receipts?currentPage=1&pageSize=20&startDate=2021-06-01&endDate=2021-06-30&range=5","host":["{{api_gateway}}"],"path":["receipts"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"startDate","value":"2021-06-01"},{"key":"endDate","value":"2021-06-30"},{"key":"range","value":"5","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"year","value":"","disabled":true},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"month","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-6d1ab126-0695-4bdd-82da-848403bf079e"},{"id":"cbc3fab5-0eb9-4a01-9cd0-acddba3a9fea","name":"Query-Fisical Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/receipts?currentPage=1&pageSize=20&range=&month=15&year=2021","host":["{{api_gateway}}"],"path":["receipts"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"15"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-cbc3fab5-0eb9-4a01-9cd0-acddba3a9fea"},{"id":"959a5229-7e20-4caa-bbf3-2f25a8c05ea6","name":"Query-Current Month","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/receipts?currentPage=1&pageSize=20&range=1&month=6&year=2021","host":["{{api_gateway}}"],"path":["receipts"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"1","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"6"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-959a5229-7e20-4caa-bbf3-2f25a8c05ea6"}],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-07d96fea-88b6-4dfb-8e84-0dbb822563e3"},{"name":"Get-RE-By-ID","event":[{"listen":"test","script":{"id":"fb241a65-5d2d-452f-96ac-326fae1c7815","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"cb55bd8f-0d2e-484f-bd61-961e0d833c67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/receipts/{{recordId}}","host":["{{api_gateway}}"],"path":["receipts","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:33:04.000Z","uid":"45983860-cb55bd8f-0d2e-484f-bd61-961e0d833c67"},{"name":"Upgrade-RE-Simple","event":[{"listen":"test","script":{"id":"19180d54-a0a2-4530-9a1d-520d2ae0195d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"11f93c8f-e781-472f-a188-200c31768b94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"INV2021070001\",\r\n\t\t\t\"referenceDocumentType\": 7\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/receipts","host":["{{api_gateway}}"],"path":["upgrade","receipts"]}},"response":[{"id":"08d9f2c3-7d62-40ce-8353-dad0b82575d6","name":"Upgrade-RE-Simple-Exclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"INV2021070001\",\r\n\t\t\t\"referenceDocumentType\": 7\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"INV2021070001\",\r\n\t\t\t\"referenceDocumentType\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/receipts","host":["{{api_gateway}}"],"path":["upgrade","receipts"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T10:03:53.000Z","updatedAt":"2025-07-21T10:48:32.000Z","uid":"45983860-08d9f2c3-7d62-40ce-8353-dad0b82575d6"},{"id":"1ee61b05-6c62-4185-9c58-960ed7b19aea","name":"Upgrade-RE-Simple-Inclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": true,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 19.63,\r\n\t\"grandTotal\": 300,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.41,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"INV2021070001\",\r\n\t\t\t\"referenceDocumentType\": 7\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"INV2021070001\",\r\n\t\t\t\"referenceDocumentType\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/receipts","host":["{{api_gateway}}"],"path":["upgrade","receipts"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T10:03:53.000Z","updatedAt":"2025-07-21T10:48:34.000Z","uid":"45983860-1ee61b05-6c62-4185-9c58-960ed7b19aea"}],"createdAt":"2025-07-21T10:03:53.000Z","updatedAt":"2025-07-21T10:48:28.000Z","uid":"45983860-11f93c8f-e781-472f-a188-200c31768b94"},{"name":"Upgrade-RE-Simple-With-Payment","event":[{"listen":"test","script":{"id":"19180d54-a0a2-4530-9a1d-520d2ae0195d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"3524dc9d-f9db-4809-bb3d-cba5cb75decb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"INV2021070001\",\r\n\t\t\t\"referenceDocumentType\": 7\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/receipts/with-payment","host":["{{api_gateway}}"],"path":["upgrade","receipts","with-payment"]}},"response":[{"id":"5d7e0657-3116-4d09-8696-8a6425b2a816","name":"Upgrade-RE-Simple-With-Payment-Cash","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/receipts/with-payment","host":["{{api_gateway}}"],"path":["upgrade","receipts","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T10:04:09.000Z","updatedAt":"2025-07-21T10:13:24.000Z","uid":"45983860-5d7e0657-3116-4d09-8696-8a6425b2a816"},{"id":"16d36ee5-ac6a-4ddf-a9bd-b91eb6b62c72","name":"Upgrade-RE-Simple-With-Payment-Cheque","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingCheque\",\r\n\t\"paymentMethod\": 3,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cheque\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"chequeDate\": \"2025-07-31\",\r\n    \"chequeBankAccountId\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/receipts/with-payment","host":["{{api_gateway}}"],"path":["upgrade","receipts","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T10:04:09.000Z","updatedAt":"2025-07-21T10:13:28.000Z","uid":"45983860-16d36ee5-ac6a-4ddf-a9bd-b91eb6b62c72"},{"id":"84a3e2c5-0f03-4e4b-ae2f-4ec11a529167","name":"Upgrade-RE-Simple-With-Payment-Transfer","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingTransfer\",\r\n\t\"paymentMethod\": 5,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Bank Transfer\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"transferBankAccountId\": 1,\r\n    \"bankAccountId\": 1234 //use existing id\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/receipts/with-payment","host":["{{api_gateway}}"],"path":["upgrade","receipts","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T10:04:09.000Z","updatedAt":"2025-07-21T10:13:32.000Z","uid":"45983860-84a3e2c5-0f03-4e4b-ae2f-4ec11a529167"},{"id":"2f222548-6a0f-45f1-807e-369a58c285ba","name":"Upgrade-RE-Simple-With-Payment-OtherChannel","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingOtherChannel\",\r\n\t\"paymentMethod\": 13,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Other Channel\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"otherChannelId\": 1, //use existing id\r\n    \"otherChannelPaymentChannel\": 1,\r\n    \"otherChannelName\": \"Example Other Channel\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/receipts/with-payment","host":["{{api_gateway}}"],"path":["upgrade","receipts","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T10:04:09.000Z","updatedAt":"2025-07-21T10:48:20.000Z","uid":"45983860-2f222548-6a0f-45f1-807e-369a58c285ba"}],"createdAt":"2025-07-21T10:04:09.000Z","updatedAt":"2025-07-21T10:47:53.000Z","uid":"45983860-3524dc9d-f9db-4809-bb3d-cba5cb75decb"},{"name":"Upgrade-RE-Inline","event":[{"listen":"test","script":{"id":"6a69a050-7db7-42bc-a683-e008434b3cb3","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"66ec784e-e068-47e2-9df7-81e90bc11047","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"INV2021070001\",\r\n\t\t\t\"referenceDocumentType\": 7\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/receipts/inline","host":["{{api_gateway}}"],"path":["receipts","inline"]}},"response":[{"id":"6d9d2666-bfa1-4caa-a738-70bfd3e7d8db","name":"Upgrade-RE-Inline-Discount-Exclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"INV2021070001\",\r\n\t\t\t\"referenceDocumentType\": 7\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/receipts/inline","host":["{{api_gateway}}"],"path":["receipts","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T10:03:59.000Z","updatedAt":"2025-07-21T10:54:49.000Z","uid":"45983860-6d9d2666-bfa1-4caa-a738-70bfd3e7d8db"},{"id":"e22a95a5-5a14-46c4-bae1-c3ea4abff4b1","name":"Upgrade-RE-Inline-Discount-Inclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"INV2021070001\",\r\n\t\t\t\"referenceDocumentType\": 7\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/receipts/inline","host":["{{api_gateway}}"],"path":["receipts","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T10:03:59.000Z","updatedAt":"2025-07-21T10:54:52.000Z","uid":"45983860-e22a95a5-5a14-46c4-bae1-c3ea4abff4b1"},{"id":"2c3d89d6-d6f2-4583-ae56-37e85f42c10c","name":"Upgrade-RE-Inline-Vat-Exclusvie","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.90,\r\n\t\"grandTotal\": 288.90,\r\n\t\"documentShowWithholdingTax\": false,\r\n\t\"documentWithholdingTaxPercentage\": 0,\r\n\t\"documentWithholdingTaxAmount\": 0,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Exmaple Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"INV2021070001\",\r\n\t\t\t\"referenceDocumentType\": 7\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": true,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/receipts/inline","host":["{{api_gateway}}"],"path":["receipts","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T10:03:59.000Z","updatedAt":"2025-07-21T10:54:55.000Z","uid":"45983860-2c3d89d6-d6f2-4583-ae56-37e85f42c10c"},{"id":"96aebec1-8c9d-4aec-8721-68fbdcf0b15e","name":"Upgrade-RE-Inline-Vat-Inclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 5.89,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": false,\r\n\t\"documentWithholdingTaxPercentage\": 0,\r\n\t\"documentWithholdingTaxAmount\": 0,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"INV2021070001\",\r\n\t\t\t\"referenceDocumentType\": 7\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": true,\r\n\t\"exemptAmount\": 180,\r\n\t\"vatableAmount\": 84.11,\r\n\t\"items\": [\r\n\t{\r\n\t\t\t\"type\": 1, //use existing productId\r\n\t\t\t\"name\": \"Example Item 1\",\r\n\t\t\t\"description\": \"Example description\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"cm\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n\t\t\t\"discountAmount\": 10,\r\n\t\t\t\"vatRate\": 0\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"type\": 3, //use existing productId\r\n\t\t\t\"name\": \"Example Item 2\",\r\n\t\t\t\"description\": \"Example description\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"kg\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n\t\t\t\"discountAmount\": 10,\r\n\t\t\t\"vatRate\": -1\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"type\": 1, //use existing productId\r\n\t\t\t\"name\": \"Example Item 3\",\r\n\t\t\t\"description\": \"Example description\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"dozen\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n\t\t\t\"discountAmount\": 10,\r\n\t\t\t\"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/receipts/inline","host":["{{api_gateway}}"],"path":["receipts","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T10:03:59.000Z","updatedAt":"2025-07-21T10:55:03.000Z","uid":"45983860-96aebec1-8c9d-4aec-8721-68fbdcf0b15e"}],"createdAt":"2025-07-21T10:03:59.000Z","updatedAt":"2025-07-21T10:52:12.000Z","uid":"45983860-66ec784e-e068-47e2-9df7-81e90bc11047"},{"name":"Upgrade-RE-Inline-With-Payment","event":[{"listen":"test","script":{"id":"19180d54-a0a2-4530-9a1d-520d2ae0195d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"397238a7-ae14-4162-81cd-40ea8eacea67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"INV2021070001\",\r\n\t\t\t\"referenceDocumentType\": 7\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/receipts/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","receipts","inline","with-payment"]}},"response":[{"id":"d86e5f93-796c-45d6-9cea-e7efb68cce0a","name":"Upgrade-RE-Inline-With-Payment-Cash","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"INV2021070001\",\r\n\t\t\t\"referenceDocumentType\": 7\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/receipts/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","receipts","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T10:04:18.000Z","updatedAt":"2025-07-21T10:55:14.000Z","uid":"45983860-d86e5f93-796c-45d6-9cea-e7efb68cce0a"},{"id":"03630d53-7898-430c-a030-d662b2c502b8","name":"Upgrade-RE-Inline-With-Payment-Cheque","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"INV2021070001\",\r\n\t\t\t\"referenceDocumentType\": 7\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingCheque\",\r\n\t\"paymentMethod\": 3,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cheque\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"chequeDate\": \"2025-07-31\",\r\n    \"chequeBankAccountId\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/receipts/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","receipts","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T10:04:18.000Z","updatedAt":"2025-07-21T10:55:18.000Z","uid":"45983860-03630d53-7898-430c-a030-d662b2c502b8"},{"id":"271d4430-2760-4808-bca8-3dfdcaf5836b","name":"Upgrade-RE-Inline-With-Payment-Transfer","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"INV2021070001\",\r\n\t\t\t\"referenceDocumentType\": 7\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingTransfer\",\r\n\t\"paymentMethod\": 5,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Bank Transfer\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"transferBankAccountId\": 1,\r\n    \"bankAccountId\": 1234 //use existing id\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/receipts/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","receipts","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T10:04:18.000Z","updatedAt":"2025-07-21T10:55:21.000Z","uid":"45983860-271d4430-2760-4808-bca8-3dfdcaf5836b"},{"id":"8feaa9c2-2f3d-4d41-b35e-c923d33d0bd7","name":"Upgrade-RE-Inline-With-Payment-OtherChannel","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"INV2021070001\",\r\n\t\t\t\"referenceDocumentType\": 7\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingOtherChannel\",\r\n\t\"paymentMethod\": 13,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Other Channel\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"otherChannelId\": 1, //use existing id\r\n    \"otherChannelPaymentChannel\": 1,\r\n    \"otherChannelName\": \"Example Other Channel\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/receipts/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","receipts","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T10:04:18.000Z","updatedAt":"2025-07-21T10:55:24.000Z","uid":"45983860-8feaa9c2-2f3d-4d41-b35e-c923d33d0bd7"}],"createdAt":"2025-07-21T10:04:18.000Z","updatedAt":"2025-07-21T10:55:10.000Z","uid":"45983860-397238a7-ae14-4162-81cd-40ea8eacea67"},{"name":"Update-RE-Simple","event":[{"listen":"test","script":{"id":"4e4b7c1e-a46d-4de6-9ab1-3d01ccb52899","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"1caec7f8-47e1-40f2-9e9b-794d5e0fe403","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": false,\r\n\t\"documentWithholdingTaxPercentage\": 0,\r\n\t\"documentWithholdingTaxAmount\": 0,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Remark\",\r\n\t\"internalNotes\": \"Note\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"UpdateSimpleDocument\",\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"INV2021070001\",\r\n\t\t\t\"referenceDocumentType\": 7\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/receipts/{{recordId}}","host":["{{api_gateway}}"],"path":["receipts","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:33:16.000Z","uid":"45983860-1caec7f8-47e1-40f2-9e9b-794d5e0fe403"},{"name":"Update-RE-Inline","event":[{"listen":"test","script":{"id":"a6f8ce2a-08f8-4856-9e7f-3f5b4c96b232","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"99899bea-7e7f-48bb-b385-819617880beb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Remark Document\",\r\n\t\"internalNotes\": \"Internal Note\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"UpdateInlineDocument\",\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"INV2021070001\",\r\n\t\t\t\"referenceDocumentType\": 7\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/receipts/{{recordId}}","host":["{{api_gateway}}"],"path":["receipts","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:33:22.000Z","uid":"45983860-99899bea-7e7f-48bb-b385-819617880beb"},{"name":"Delete-RE-By-ID","event":[{"listen":"test","script":{"id":"aa94f161-6c76-4d81-b186-f65d827b3dce","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"e2ccb578-7457-4bcb-8a82-008fb5384636","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"DELETE","header":[],"url":{"raw":"{{api_gateway}}/receipts/{{recordId}}","host":["{{api_gateway}}"],"path":["receipts","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:33:28.000Z","uid":"45983860-e2ccb578-7457-4bcb-8a82-008fb5384636"},{"name":"Change-Status-RE","event":[{"listen":"test","script":{"id":"c94d6318-d8e6-4b54-b11c-6e73548f4044","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"8f3057d9-a30a-424d-80a6-ee314cdec3db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/tax-invoices/{{recordId}}/status/awaiting","host":["{{api_gateway}}"],"path":["tax-invoices","{{recordId}}","status","awaiting"]}},"response":[{"id":"803cb6bd-c3c3-499c-bb61-ab958c9a1fdb","name":"Change-Status-RE-Awaiting","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/receipts/5512755/status/awaiting","host":["{{api_gateway}}"],"path":["receipts","5512755","status","awaiting"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-803cb6bd-c3c3-499c-bb61-ab958c9a1fdb"},{"id":"c00fdf64-4f0c-4c6e-982c-21a52dfda558","name":"Change-Status-RE-Void","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/receipts/5512755/status/void","host":["{{api_gateway}}"],"path":["receipts","5512755","status","void"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-c00fdf64-4f0c-4c6e-982c-21a52dfda558"}],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:33:34.000Z","uid":"45983860-8f3057d9-a30a-424d-80a6-ee314cdec3db"},{"name":"Change-Status-Paid-RE","event":[{"listen":"test","script":{"id":"0bcad268-4c73-4fdb-833c-28d913cd3e2f","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"097b9031-bf74-4ca9-8353-1b267ffa6fbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentReceivingCash\",\r\n  \"documentId\": 19213241,\r\n  \"paymentMethod\": 1,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"paymentDeductionType\": 0,\r\n  \"paymentDeductionAmount\": 0,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Receiving Cash\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/receipts/{{recordId}}/payment","host":["{{api_gateway}}"],"path":["receipts","{{recordId}}","payment"]}},"response":[{"id":"0c4ac5be-6861-4ac1-b791-508a0f5271c4","name":"Change-Status-Paid-Cash","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentReceivingCash\",\r\n  \"documentId\": 19213241,\r\n  \"paymentMethod\": 1,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"paymentDeductionType\": 0,\r\n  \"paymentDeductionAmount\": 0,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Receiving Cash\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/receipts/19213241/payment","host":["{{api_gateway}}"],"path":["receipts","19213241","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-21T10:57:34.000Z","uid":"45983860-0c4ac5be-6861-4ac1-b791-508a0f5271c4"},{"id":"75b47019-07ba-41f6-b12a-e8566b90f42f","name":"Change-Status-Paid-Cheque","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentReceivingCheque\",\r\n  \"documentId\": 19213241,\r\n  \"paymentMethod\": 3,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"paymentDeductionType\": 0,\r\n  \"paymentDeductionAmount\": 0,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Receiving Cheque\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0,\r\n  \"chequeDate\": \"2021-01-01\",\r\n  \"chequeNumber\": \"122-122-122\",\r\n  \"chequeBankAccountId\": 3\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/receipts/19213241/payment","host":["{{api_gateway}}"],"path":["receipts","19213241","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-21T10:58:07.000Z","uid":"45983860-75b47019-07ba-41f6-b12a-e8566b90f42f"},{"id":"29f03822-116b-4855-bfb9-1823c637d726","name":"Change-Status-Paid-Transfer","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentReceivingTransfer\",\r\n  \"documentId\": 19213241,\r\n  \"paymentMethod\": 5,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"paymentDeductionType\": 0,\r\n  \"paymentDeductionAmount\": 0,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Receiving Transfer\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0,\r\n  \"transferBankAccountId\": 3,\r\n  \"bankAccountId\": \"12345\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/receipts/19213241/payment","host":["{{api_gateway}}"],"path":["receipts","19213241","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-21T10:59:10.000Z","uid":"45983860-29f03822-116b-4855-bfb9-1823c637d726"},{"id":"22024949-27bc-4437-a4fa-2ab4b1ad6100","name":"Change-Status-Paid-OtherChannel","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentReceivingOtherChannel\",\r\n  \"documentId\": 19213241,\r\n  \"paymentMethod\": 13,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"paymentDeductionType\": 0,\r\n  \"paymentDeductionAmount\": 0,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Receiving OtherChannel\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0,\r\n  \"otherChannelId\": 1234,\r\n  \"otherChannelPaymentChannel\": 1,\r\n  \"otherChannelName\": \"WongNai POS\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/receipts/19213241/payment","host":["{{api_gateway}}"],"path":["receipts","19213241","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-21T10:59:13.000Z","uid":"45983860-22024949-27bc-4437-a4fa-2ab4b1ad6100"}],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:33:41.000Z","uid":"45983860-097b9031-bf74-4ca9-8353-1b267ffa6fbd"},{"name":"Upload-File-RE","event":[{"listen":"test","script":{"id":"28a32877-80d5-4f4c-a8bb-cd02669c9315","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"d488a748-125e-4aba-9c38-ab3204afee63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"","type":"file","src":"/C:/Users/findb/OneDrive/Pictures/BlueSea.jpg"}]},"url":{"raw":"{{api_gateway}}/receipts/{{recordId}}/attachment","host":["{{api_gateway}}"],"path":["receipts","{{recordId}}","attachment"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:33:50.000Z","uid":"45983860-d488a748-125e-4aba-9c38-ab3204afee63"},{"name":"Send-Email-RE","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"id":"fe12aaca-8d19-46ba-bd39-046b5aa8b67e"}}],"id":"bf1ab07e-45ef-46f4-8529-03b85ffcadd4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"documentId\": 19213241,\r\n  \"fromemail\": \"developer_support@flowaccount.com\",\r\n  \"toemail\": \"developer_support@flowaccount.com\",\r\n  \"cCMyself\": true,\r\n  \"ccEmail\": \"developer_support@flowaccount.com\",\r\n  \"bccEmail\": \"developer_support@flowaccount.com\",\r\n  \"subject\": \"Send Email\",\r\n  \"message\": \"Send Email from production\",\r\n  \"doCopy\": true,\r\n  \"documentStructureType\": \"SendEmailCoppies\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/receipts/email-document","host":["{{api_gateway}}"],"path":["receipts","email-document"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-bf1ab07e-45ef-46f4-8529-03b85ffcadd4"},{"name":"Share-Document-RE","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"id":"f03d7cf5-9145-4d2f-af8f-acae509e73bc"}}],"id":"f1aebe28-a166-4d8a-87b1-bdf85adaea05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"documentId\": 19213241,\r\n\t\"culture\": \"th\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/receipts/sharedocument","host":["{{api_gateway}}"],"path":["receipts","sharedocument"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-f1aebe28-a166-4d8a-87b1-bdf85adaea05"}],"id":"8f21ba10-a929-4bc9-a1a9-db9f01387f34","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-22T05:29:16.000Z","uid":"45983860-8f21ba10-a929-4bc9-a1a9-db9f01387f34"},{"name":"Cash Invoice (CA)","item":[{"name":"Get-All-CA","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"id":"201be503-f39c-4d26-8e07-e7f9916ac5d5"}}],"id":"71069c22-6e24-49e3-a1e9-cc17c63d44ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/cash-invoices?currentPage=1&pageSize=20&range=3&month=7&year=2021","host":["{{api_gateway}}"],"path":["cash-invoices"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true},{"key":"searchString","value":"","disabled":true},{"key":"range","value":"3"},{"key":"month","value":"7"},{"key":"year","value":"2021"}]}},"response":[{"id":"917587f3-b42f-46ba-b458-3c5ed45bf0a4","name":"Query-Current Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/cash-invoices?currentPage=1&pageSize=20&range=7&year=2021","host":["{{api_gateway}}"],"path":["cash-invoices"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"7","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"year","value":"2021"},{"key":"startDate","value":"2021-06-01","disabled":true},{"key":"endDate","value":"2021-06-30","disabled":true},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"month","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-917587f3-b42f-46ba-b458-3c5ed45bf0a4"},{"id":"6e7e488f-0b29-4725-a5b2-fa1d2a60972e","name":"Query-Previous Month","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/cash-invoices?currentPage=1&pageSize=20&range=3&month=5&year=2021","host":["{{api_gateway}}"],"path":["cash-invoices"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"3","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"5"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-6e7e488f-0b29-4725-a5b2-fa1d2a60972e"},{"id":"da2eec12-67df-46ce-b0a4-ab18a111a3cb","name":"Query-Date Range","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/cash-invoices?currentPage=1&pageSize=20&startDate=2021-06-01&endDate=2021-06-30&range=5","host":["{{api_gateway}}"],"path":["cash-invoices"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"startDate","value":"2021-06-01"},{"key":"endDate","value":"2021-06-30"},{"key":"range","value":"5","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"year","value":"","disabled":true},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"month","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-da2eec12-67df-46ce-b0a4-ab18a111a3cb"},{"id":"ae01e822-96cb-4eb8-8d8a-2f36131ad0c4","name":"Query-Current Month","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/cash-invoices?currentPage=1&pageSize=20&range=1&month=6&year=2021","host":["{{api_gateway}}"],"path":["cash-invoices"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"1","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"6"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-ae01e822-96cb-4eb8-8d8a-2f36131ad0c4"},{"id":"eeb4d599-f78b-402a-8944-b21a419707cd","name":"Query-Search String","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/cash-invoices?currentPage=1&pageSize=20&searchString=CA2021070001","host":["{{api_gateway}}"],"path":["cash-invoices"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"searchString","value":"CA2021070001","description":"Search by Contact Name, Project Name, Document Serial"},{"key":"range","value":"","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year","disabled":true},{"key":"month","value":"","disabled":true},{"key":"year","value":"","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-eeb4d599-f78b-402a-8944-b21a419707cd"},{"id":"39d99d20-ad00-40ae-ab7d-eac59822fc49","name":"Query-Previous Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/cash-invoices?currentPage=1&pageSize=20&range=5&month=&year=2021","host":["{{api_gateway}}"],"path":["cash-invoices"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"5","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":""},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-39d99d20-ad00-40ae-ab7d-eac59822fc49"},{"id":"cb94e809-4ba2-4048-9537-1250e77a784f","name":"Query-Fisical Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/cash-invoices?currentPage=1&pageSize=20&range=&month=15&year=2021","host":["{{api_gateway}}"],"path":["cash-invoices"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"15"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-cb94e809-4ba2-4048-9537-1250e77a784f"}],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-71069c22-6e24-49e3-a1e9-cc17c63d44ff"},{"name":"Get-CA-By-ID","event":[{"listen":"test","script":{"id":"195fdeea-82db-42ec-af27-508da1c7e336","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"640d2709-fee7-4267-a25c-95337746265e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/cash-invoices/{{recordId}}","host":["{{api_gateway}}"],"path":["cash-invoices","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:33:59.000Z","uid":"45983860-640d2709-fee7-4267-a25c-95337746265e"},{"name":"Create-CA-Simple","event":[{"listen":"test","script":{"id":"19180d54-a0a2-4530-9a1d-520d2ae0195d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"312e3b4b-09b0-4b57-8668-7a6a4f5d19a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices","host":["{{api_gateway}}"],"path":["cash-invoices"]}},"response":[{"id":"a9188008-bc9d-43fe-a42d-0823a10a1b56","name":"Create-CA-Simple-Exclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices","host":["{{api_gateway}}"],"path":["cash-invoices"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T11:02:26.000Z","updatedAt":"2025-07-21T11:03:26.000Z","uid":"45983860-a9188008-bc9d-43fe-a42d-0823a10a1b56"},{"id":"59cbd07c-cb5f-420f-8506-9e6ac528e23c","name":"Create-CA-Simple-Inclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": true,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 19.63,\r\n\t\"grandTotal\": 300,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.41,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices","host":["{{api_gateway}}"],"path":["cash-invoices"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T11:02:26.000Z","updatedAt":"2025-07-21T11:03:31.000Z","uid":"45983860-59cbd07c-cb5f-420f-8506-9e6ac528e23c"}],"createdAt":"2025-07-21T11:02:26.000Z","updatedAt":"2025-07-21T11:03:22.000Z","uid":"45983860-312e3b4b-09b0-4b57-8668-7a6a4f5d19a3"},{"name":"Create-CA-Simple-With-Payment","event":[{"listen":"test","script":{"id":"19180d54-a0a2-4530-9a1d-520d2ae0195d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"36d27979-8c3c-49b8-a2e2-7cd691fdf696","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices/with-payment","host":["{{api_gateway}}"],"path":["cash-invoices","with-payment"]}},"response":[{"id":"ab806f84-44fc-4553-b06a-91a181d681ef","name":"Create-CA-Simple-With-Payment-Cash","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices/with-payment","host":["{{api_gateway}}"],"path":["cash-invoices","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T11:07:23.000Z","updatedAt":"2025-07-21T11:09:53.000Z","uid":"45983860-ab806f84-44fc-4553-b06a-91a181d681ef"},{"id":"6f910fcf-52cd-4adf-839b-5c5c3fb27b5c","name":"Create-CA-Simple-With-Payment-Cheque","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingCheque\",\r\n\t\"paymentMethod\": 3,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cheque\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"chequeDate\": \"2025-07-31\",\r\n    \"chequeBankAccountId\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices/with-payment","host":["{{api_gateway}}"],"path":["cash-invoices","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T11:07:23.000Z","updatedAt":"2025-07-21T11:09:56.000Z","uid":"45983860-6f910fcf-52cd-4adf-839b-5c5c3fb27b5c"},{"id":"49ba6be8-a392-40c3-8b97-3c1cf9730832","name":"Create-CA-Simple-With-Payment-Transfer","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingTransfer\",\r\n\t\"paymentMethod\": 5,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Bank Transfer\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"transferBankAccountId\": 1,\r\n    \"bankAccountId\": 1234 //use existing id\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices/with-payment","host":["{{api_gateway}}"],"path":["cash-invoices","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T11:07:23.000Z","updatedAt":"2025-07-21T11:10:03.000Z","uid":"45983860-49ba6be8-a392-40c3-8b97-3c1cf9730832"},{"id":"e9c86ac5-6f88-41dc-bc16-30daf049c468","name":"Create-CA-Simple-With-Payment-OtherChannel","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingOtherChannel\",\r\n\t\"paymentMethod\": 13,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Other Channel\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"otherChannelId\": 1, //use existing id\r\n    \"otherChannelPaymentChannel\": 1,\r\n    \"otherChannelName\": \"Example Other Channel\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices/with-payment","host":["{{api_gateway}}"],"path":["cash-invoices","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T11:07:23.000Z","updatedAt":"2025-07-21T11:10:10.000Z","uid":"45983860-e9c86ac5-6f88-41dc-bc16-30daf049c468"}],"createdAt":"2025-07-21T11:07:23.000Z","updatedAt":"2025-07-21T11:09:45.000Z","uid":"45983860-36d27979-8c3c-49b8-a2e2-7cd691fdf696"},{"name":"Create-CA-Inline","event":[{"listen":"test","script":{"id":"6a69a050-7db7-42bc-a683-e008434b3cb3","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"2e875061-0c62-495d-8f64-c623f05c052f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices/inline","host":["{{api_gateway}}"],"path":["cash-invoices","inline"]}},"response":[{"id":"5931822e-5a09-426e-8d84-6133ac1f52e6","name":"Create-CA-Inline-Discount-Exclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices/inline","host":["{{api_gateway}}"],"path":["cash-invoices","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T11:04:50.000Z","updatedAt":"2025-07-21T11:06:06.000Z","uid":"45983860-5931822e-5a09-426e-8d84-6133ac1f52e6"},{"id":"a80746d3-d273-482f-aeb2-ee984929abb1","name":"Create-CA-Inline-Discount-Inclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices/inline","host":["{{api_gateway}}"],"path":["cash-invoices","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T11:04:50.000Z","updatedAt":"2025-07-21T11:06:10.000Z","uid":"45983860-a80746d3-d273-482f-aeb2-ee984929abb1"},{"id":"7e4a21a2-fe90-4db3-b0fd-261a7ed148e6","name":"Create-CA-Inline-Vat-Exclusvie","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.90,\r\n\t\"grandTotal\": 288.90,\r\n\t\"documentShowWithholdingTax\": false,\r\n\t\"documentWithholdingTaxPercentage\": 0,\r\n\t\"documentWithholdingTaxAmount\": 0,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Exmaple Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": true,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices/inline","host":["{{api_gateway}}"],"path":["cash-invoices","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T11:04:50.000Z","updatedAt":"2025-07-21T11:06:15.000Z","uid":"45983860-7e4a21a2-fe90-4db3-b0fd-261a7ed148e6"},{"id":"34a7b781-e884-4ddd-83a7-556acdeb69bc","name":"Create-CA-Inline-Vat-Inclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 5.89,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": false,\r\n\t\"documentWithholdingTaxPercentage\": 0,\r\n\t\"documentWithholdingTaxAmount\": 0,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": true,\r\n\t\"exemptAmount\": 180,\r\n\t\"vatableAmount\": 84.11,\r\n\t\"items\": [\r\n\t{\r\n\t\t\t\"type\": 1, //use existing productId\r\n\t\t\t\"name\": \"Example Item 1\",\r\n\t\t\t\"description\": \"Example description\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"cm\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n\t\t\t\"discountAmount\": 10,\r\n\t\t\t\"vatRate\": 0\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"type\": 3, //use existing productId\r\n\t\t\t\"name\": \"Example Item 2\",\r\n\t\t\t\"description\": \"Example description\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"kg\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n\t\t\t\"discountAmount\": 10,\r\n\t\t\t\"vatRate\": -1\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"type\": 1, //use existing productId\r\n\t\t\t\"name\": \"Example Item 3\",\r\n\t\t\t\"description\": \"Example description\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"dozen\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n\t\t\t\"discountAmount\": 10,\r\n\t\t\t\"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices/inline","host":["{{api_gateway}}"],"path":["cash-invoices","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T11:04:50.000Z","updatedAt":"2025-07-21T11:06:19.000Z","uid":"45983860-34a7b781-e884-4ddd-83a7-556acdeb69bc"}],"createdAt":"2025-07-21T11:04:50.000Z","updatedAt":"2025-07-21T11:06:01.000Z","uid":"45983860-2e875061-0c62-495d-8f64-c623f05c052f"},{"name":"Create-CA-Inline-With-Payment","event":[{"listen":"test","script":{"id":"19180d54-a0a2-4530-9a1d-520d2ae0195d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"6822e400-8b6f-4626-ac3a-a93cd4966519","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["cash-invoices","inline","with-payment"]}},"response":[{"id":"97f72816-821b-4927-b062-7844a6eb5afc","name":"Create-CA-Inline-With-Payment-Cash","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["cash-invoices","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T11:07:33.000Z","updatedAt":"2025-07-21T11:11:19.000Z","uid":"45983860-97f72816-821b-4927-b062-7844a6eb5afc"},{"id":"37811c5f-1f8e-464b-b2ab-f1c787913f76","name":"Create-CA-Inline-With-Payment-Cheque","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingCheque\",\r\n\t\"paymentMethod\": 3,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cheque\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"chequeDate\": \"2025-07-31\",\r\n    \"chequeBankAccountId\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["cash-invoices","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T11:07:33.000Z","updatedAt":"2025-07-21T11:11:23.000Z","uid":"45983860-37811c5f-1f8e-464b-b2ab-f1c787913f76"},{"id":"c262eb1b-0e9f-43c9-90ac-a8104e1ada9a","name":"Create-CA-Inline-With-Payment-Transfer","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingTransfer\",\r\n\t\"paymentMethod\": 5,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Bank Transfer\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"transferBankAccountId\": 1,\r\n    \"bankAccountId\": 1234 //use existing id\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["cash-invoices","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T11:07:33.000Z","updatedAt":"2025-07-21T11:11:53.000Z","uid":"45983860-c262eb1b-0e9f-43c9-90ac-a8104e1ada9a"},{"id":"6b038fe2-557f-4853-8c42-fbc5576a78ba","name":"Create-CA-Inline-With-Payment-OtherChannel","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingOtherChannel\",\r\n\t\"paymentMethod\": 13,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Other Channel\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"otherChannelId\": 1, //use existing id\r\n    \"otherChannelPaymentChannel\": 1,\r\n    \"otherChannelName\": \"Example Other Channel\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["cash-invoices","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T11:07:33.000Z","updatedAt":"2025-07-21T11:12:06.000Z","uid":"45983860-6b038fe2-557f-4853-8c42-fbc5576a78ba"}],"createdAt":"2025-07-21T11:07:33.000Z","updatedAt":"2025-07-24T04:22:38.000Z","uid":"45983860-6822e400-8b6f-4626-ac3a-a93cd4966519"},{"name":"Upgrade-CA-Simple","event":[{"listen":"test","script":{"id":"673f69e2-39a6-40f2-b6e4-4791647f0060","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"074db10f-82c8-46fe-82be-a2420116ed6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/cash-invoices","host":["{{api_gateway}}"],"path":["upgrade","cash-invoices"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-21T11:16:20.000Z","uid":"45983860-074db10f-82c8-46fe-82be-a2420116ed6e"},{"name":"Upgrade-CA-Simple-With-Payment","event":[{"listen":"test","script":{"id":"19180d54-a0a2-4530-9a1d-520d2ae0195d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"2f886ffb-1258-409f-a96d-160239883ea1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/cash-invoices/with-payment","host":["{{api_gateway}}"],"path":["upgrade","cash-invoices","with-payment"]}},"response":[{"id":"3a4c9c5e-eded-4812-be01-9402d917bd5f","name":"Upgrade-CA-Simple-With-Payment-Cash","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/cash-invoices/with-payment","host":["{{api_gateway}}"],"path":["upgrade","cash-invoices","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T11:21:07.000Z","updatedAt":"2025-07-21T11:22:58.000Z","uid":"45983860-3a4c9c5e-eded-4812-be01-9402d917bd5f"},{"id":"dae5faf9-9ec5-4af2-827f-abb1ad94afd4","name":"Upgrade-CA-Simple-With-Payment-Cheque","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingCheque\",\r\n\t\"paymentMethod\": 3,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cheque\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"chequeDate\": \"2025-07-31\",\r\n    \"chequeBankAccountId\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/cash-invoices/with-payment","host":["{{api_gateway}}"],"path":["upgrade","cash-invoices","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T11:21:07.000Z","updatedAt":"2025-07-21T11:23:03.000Z","uid":"45983860-dae5faf9-9ec5-4af2-827f-abb1ad94afd4"},{"id":"9566a047-9458-4a5d-8f54-848a2b98b182","name":"Upgrade-CA-Simple-With-Payment-Transfer","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingTransfer\",\r\n\t\"paymentMethod\": 5,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Bank Transfer\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"transferBankAccountId\": 1,\r\n    \"bankAccountId\": 1234 //use existing id\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/cash-invoices/with-payment","host":["{{api_gateway}}"],"path":["upgrade","cash-invoices","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T11:21:07.000Z","updatedAt":"2025-07-21T11:23:06.000Z","uid":"45983860-9566a047-9458-4a5d-8f54-848a2b98b182"},{"id":"4bd22fda-9802-40b7-b5bc-81d7739cbfd5","name":"Upgrade-CAA-Simple-With-Payment-OtherChannel","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingOtherChannel\",\r\n\t\"paymentMethod\": 13,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Other Channel\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"otherChannelId\": 1, //use existing id\r\n    \"otherChannelPaymentChannel\": 1,\r\n    \"otherChannelName\": \"Example Other Channel\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/cash-invoices/with-payment","host":["{{api_gateway}}"],"path":["upgrade","cash-invoices","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T11:21:07.000Z","updatedAt":"2025-07-21T11:23:11.000Z","uid":"45983860-4bd22fda-9802-40b7-b5bc-81d7739cbfd5"}],"createdAt":"2025-07-21T11:21:07.000Z","updatedAt":"2025-07-21T11:22:54.000Z","uid":"45983860-2f886ffb-1258-409f-a96d-160239883ea1"},{"name":"Upgrade-CA-Inline","event":[{"listen":"test","script":{"id":"a382cf48-8179-422f-8016-3f449adc6dae","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"703092a0-6d8c-4220-9cfe-777f8c0e4681","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/cash-invoices/inline","host":["{{api_gateway}}"],"path":["upgrade","cash-invoices","inline"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-21T11:17:09.000Z","uid":"45983860-703092a0-6d8c-4220-9cfe-777f8c0e4681"},{"name":"Upgrade-CA-Inline-With-Payment","event":[{"listen":"test","script":{"id":"19180d54-a0a2-4530-9a1d-520d2ae0195d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"8db483ec-06e5-452c-a615-fb3aa1bc81c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/cash-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","cash-invoices","inline","with-payment"]}},"response":[{"id":"e09bc013-ccf0-48a9-aa00-5c7ad4813364","name":"Upgrade-CA-Inline-With-Payment-Cash","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/cash-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","cash-invoices","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T11:21:17.000Z","updatedAt":"2025-07-21T11:23:18.000Z","uid":"45983860-e09bc013-ccf0-48a9-aa00-5c7ad4813364"},{"id":"d7e3d081-190c-4c23-a569-5f96ca6a945d","name":"Upgrade-CA-Inline-With-Payment-Cheque","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingCheque\",\r\n\t\"paymentMethod\": 3,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cheque\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"chequeDate\": \"2025-07-31\",\r\n    \"chequeBankAccountId\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/cash-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","cash-invoices","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T11:21:17.000Z","updatedAt":"2025-07-21T11:23:22.000Z","uid":"45983860-d7e3d081-190c-4c23-a569-5f96ca6a945d"},{"id":"17d09e1d-402d-4cc1-a6b2-7e55a14504b3","name":"Upgrade-CA-Inline-With-Payment-Transfer","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingTransfer\",\r\n\t\"paymentMethod\": 5,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Bank Transfer\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"transferBankAccountId\": 1,\r\n    \"bankAccountId\": 1234 //use existing id\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/cash-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","cash-invoices","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T11:21:17.000Z","updatedAt":"2025-07-21T11:23:31.000Z","uid":"45983860-17d09e1d-402d-4cc1-a6b2-7e55a14504b3"},{"id":"7df17495-d939-4fc0-910a-9f379076cc81","name":"Upgrade-CA-Inline-With-Payment-OtherChannel","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentReceivingOtherChannel\",\r\n\t\"paymentMethod\": 13,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"paymentDeductionType\": 1,\r\n\t\"paymentDeductionAmount\": 0,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Other Channel\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"otherChannelId\": 1, //use existing id\r\n    \"otherChannelPaymentChannel\": 1,\r\n    \"otherChannelName\": \"Example Other Channel\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/cash-invoices/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","cash-invoices","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T11:21:17.000Z","updatedAt":"2025-07-21T11:23:41.000Z","uid":"45983860-7df17495-d939-4fc0-910a-9f379076cc81"}],"createdAt":"2025-07-21T11:21:17.000Z","updatedAt":"2025-07-21T11:23:15.000Z","uid":"45983860-8db483ec-06e5-452c-a615-fb3aa1bc81c9"},{"name":"Update-CA-Simple","event":[{"listen":"test","script":{"id":"0d9fcfbc-48dc-49ef-a7c9-59253b413c8e","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"03d7a9a2-9e66-46ac-bf29-046fdf5c2038","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": false,\r\n\t\"documentWithholdingTaxPercentage\": 0,\r\n\t\"documentWithholdingTaxAmount\": 0,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Remark\",\r\n\t\"internalNotes\": \"Note\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"UpdateSimpleDocument\",\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices/{{recordId}}","host":["{{api_gateway}}"],"path":["cash-invoices","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:34:18.000Z","uid":"45983860-03d7a9a2-9e66-46ac-bf29-046fdf5c2038"},{"name":"Update-CA-Inline","event":[{"listen":"test","script":{"id":"9718a000-1089-481f-adba-b2e1b640fd58","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"50a23099-512f-4f53-857c-1146a9e353ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Remark Document\",\r\n\t\"internalNotes\": \"Internal Note\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"UpdateInlineDocument\",\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices/{{recordId}}","host":["{{api_gateway}}"],"path":["cash-invoices","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:34:23.000Z","uid":"45983860-50a23099-512f-4f53-857c-1146a9e353ce"},{"name":"Delete-CA-By-ID","event":[{"listen":"test","script":{"id":"22af632d-deea-4456-ae5e-2e2c1b231ac5","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"8b86bd0b-0dbb-487e-817e-1d894e40ca01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"DELETE","header":[],"url":{"raw":"{{api_gateway}}/cash-invoices/{{recordId}}","host":["{{api_gateway}}"],"path":["cash-invoices","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:34:33.000Z","uid":"45983860-8b86bd0b-0dbb-487e-817e-1d894e40ca01"},{"name":"Change-Status-CA","event":[{"listen":"test","script":{"id":"a705e84c-a601-4af3-a60b-8d8f02f5eb1d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"51fa93ee-0ebd-4abb-9bd1-a182ef09269c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/cash-invoices/{{recordId}}/status/awaiting","host":["{{api_gateway}}"],"path":["cash-invoices","{{recordId}}","status","awaiting"]}},"response":[{"id":"27f329b2-5b3f-45d5-af26-d40b3393831a","name":"Change-Status-CA-Awaiting","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/cash-invoices/5512755/status/awaiting","host":["{{api_gateway}}"],"path":["cash-invoices","5512755","status","awaiting"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-27f329b2-5b3f-45d5-af26-d40b3393831a"},{"id":"21d2f130-745b-491b-9b5b-b87a55ed72d2","name":"Change-Status-CA-Void","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/cash-invoices/5512755/status/void","host":["{{api_gateway}}"],"path":["cash-invoices","5512755","status","void"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-21d2f130-745b-491b-9b5b-b87a55ed72d2"}],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:34:43.000Z","uid":"45983860-51fa93ee-0ebd-4abb-9bd1-a182ef09269c"},{"name":"Change-Status-Paid-CA","event":[{"listen":"test","script":{"id":"0ae2868c-c5db-4603-8640-a3f66218dccb","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"b129f2ee-6814-4f94-a585-71cf26b246f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentReceivingCash\",\r\n  \"documentId\": 19213241,\r\n  \"paymentMethod\": 1,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"paymentDeductionType\": 0,\r\n  \"paymentDeductionAmount\": 0,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Receiving Cash\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices/{{recordId}}/payment","host":["{{api_gateway}}"],"path":["cash-invoices","{{recordId}}","payment"]}},"response":[{"id":"987d8ab2-7014-42e2-9e90-fa057b01cff8","name":"Change-Status-Paid-Cash","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentReceivingCash\",\r\n  \"documentId\": 19213241,\r\n  \"paymentMethod\": 1,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"paymentDeductionType\": 0,\r\n  \"paymentDeductionAmount\": 0,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Receiving Cash\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices/19213241/payment","host":["{{api_gateway}}"],"path":["cash-invoices","19213241","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T11:28:05.000Z","updatedAt":"2025-07-21T11:29:36.000Z","uid":"45983860-987d8ab2-7014-42e2-9e90-fa057b01cff8"},{"id":"daf74f09-214d-48c6-ac9b-abebd6ebf994","name":"Change-Status-Paid-Cheque","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentReceivingCheque\",\r\n  \"documentId\": 19213241,\r\n  \"paymentMethod\": 3,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"paymentDeductionType\": 0,\r\n  \"paymentDeductionAmount\": 0,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Receiving Cheque\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0,\r\n  \"chequeDate\": \"2021-01-01\",\r\n  \"chequeNumber\": \"122-122-122\",\r\n  \"chequeBankAccountId\": 3\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices/19213241/payment","host":["{{api_gateway}}"],"path":["cash-invoices","19213241","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T11:28:05.000Z","updatedAt":"2025-07-21T11:29:45.000Z","uid":"45983860-daf74f09-214d-48c6-ac9b-abebd6ebf994"},{"id":"953f75b4-a55f-47a7-b0de-2c1983c3b868","name":"Change-Status-Paid-Transfer","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentReceivingTransfer\",\r\n  \"documentId\": 19213241,\r\n  \"paymentMethod\": 5,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"paymentDeductionType\": 0,\r\n  \"paymentDeductionAmount\": 0,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Receiving Transfer\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0,\r\n  \"transferBankAccountId\": 3,\r\n  \"bankAccountId\": \"12345\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices/19213241/payment","host":["{{api_gateway}}"],"path":["cash-invoices","19213241","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T11:28:05.000Z","updatedAt":"2025-07-21T11:29:51.000Z","uid":"45983860-953f75b4-a55f-47a7-b0de-2c1983c3b868"},{"id":"fbc917bc-d2fa-4b39-ad8b-d9837c03bf4f","name":"Change-Status-Paid-OtherChannel","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentReceivingOtherChannel\",\r\n  \"documentId\": 19213241,\r\n  \"paymentMethod\": 13,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"paymentDeductionType\": 0,\r\n  \"paymentDeductionAmount\": 0,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Receiving OtherChannel\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0,\r\n  \"otherChannelId\": 1234,\r\n  \"otherChannelPaymentChannel\": 1,\r\n  \"otherChannelName\": \"WongNai POS\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices/19213241/payment","host":["{{api_gateway}}"],"path":["cash-invoices","19213241","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T11:28:05.000Z","updatedAt":"2025-07-21T11:30:03.000Z","uid":"45983860-fbc917bc-d2fa-4b39-ad8b-d9837c03bf4f"}],"createdAt":"2025-07-21T11:28:05.000Z","updatedAt":"2025-07-29T12:34:52.000Z","uid":"45983860-b129f2ee-6814-4f94-a585-71cf26b246f3"},{"name":"Upload-File-CA","event":[{"listen":"test","script":{"id":"d21646fa-ecd1-4a57-a533-a139005dd60f","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"6520d3a0-e161-4d2d-aa65-2e0af454ef24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"","type":"file","src":"/C:/Users/findb/OneDrive/Pictures/BlueSea.jpg"}]},"url":{"raw":"{{api_gateway}}/cash-invoices/{{recordId}}/attachment","host":["{{api_gateway}}"],"path":["cash-invoices","{{recordId}}","attachment"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:34:59.000Z","uid":"45983860-6520d3a0-e161-4d2d-aa65-2e0af454ef24"},{"name":"Send-Email-CA","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"id":"c9c23333-940c-41cd-b310-309fe49e731f"}}],"id":"0ecf5304-2c2d-4f34-a3ca-9c52812f1cc0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"documentId\": 19213241,\r\n  \"fromemail\": \"developer_support@flowaccount.com\",\r\n  \"toemail\": \"developer_support@flowaccount.com\",\r\n  \"cCMyself\": true,\r\n  \"ccEmail\": \"developer_support@flowaccount.com\",\r\n  \"bccEmail\": \"developer_support@flowaccount.com\",\r\n  \"subject\": \"Send Email\",\r\n  \"message\": \"Send Email from production\",\r\n  \"doCopy\": true,\r\n  \"documentStructureType\": \"SendEmailCoppies\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices/email-document","host":["{{api_gateway}}"],"path":["cash-invoices","email-document"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-0ecf5304-2c2d-4f34-a3ca-9c52812f1cc0"},{"name":"Share-Document-CA","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"id":"763b9259-fa44-4e9b-93a0-52c3c56252f3"}}],"id":"3cbc8276-4a0e-4e53-9162-882e96ead809","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"documentId\": 19213241,\r\n\t\"culture\": \"th\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/cash-invoices/sharedocument","host":["{{api_gateway}}"],"path":["cash-invoices","sharedocument"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-3cbc8276-4a0e-4e53-9162-882e96ead809"}],"id":"888780b2-2ef1-49db-86fc-841dba213bc9","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-22T05:29:26.000Z","uid":"45983860-888780b2-2ef1-49db-86fc-841dba213bc9"},{"name":"Purchase Order (PO)","item":[{"name":"Get-All-PO","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"id":"881d487c-aaa9-4fb5-a81f-9bbbcf9cf626"}}],"id":"5acbac2f-a31e-4f72-96ce-4d8f2bda4572","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/purchases-orders?currentPage=1&pageSize=20&range=3&month=7&year=2021","host":["{{api_gateway}}"],"path":["purchases-orders"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true},{"key":"searchString","value":"","disabled":true},{"key":"range","value":"3"},{"key":"month","value":"7"},{"key":"year","value":"2021"}]}},"response":[{"id":"c520a6e5-9901-4371-8828-756c519d0b17","name":"Query-Current Month","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/billing-notes?currentPage=1&pageSize=20&range=1&month=6&year=2021","host":["{{api_gateway}}"],"path":["billing-notes"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"1","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"6"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-c520a6e5-9901-4371-8828-756c519d0b17"},{"id":"11631d82-f09f-421f-b682-40f3db5c34b7","name":"Query-Previous Month","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/billing-notes?currentPage=1&pageSize=20&range=3&month=5&year=2021","host":["{{api_gateway}}"],"path":["billing-notes"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"3","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"5"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-11631d82-f09f-421f-b682-40f3db5c34b7"},{"id":"f4597581-7aab-4325-a7e5-139d2245ab1d","name":"Query-Search String","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/billing-notes?currentPage=1&pageSize=20&searchString=PO2021070001","host":["{{api_gateway}}"],"path":["billing-notes"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"searchString","value":"PO2021070001","description":"Search by Contact Name, Project Name, Document Serial"},{"key":"range","value":"","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year","disabled":true},{"key":"month","value":"","disabled":true},{"key":"year","value":"","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-f4597581-7aab-4325-a7e5-139d2245ab1d"},{"id":"df9e4c54-a775-42e4-9d6e-3c0d12906ac1","name":"Query-Date Range","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/billing-notes?currentPage=1&pageSize=20&startDate=2021-06-01&endDate=2021-06-30&range=5","host":["{{api_gateway}}"],"path":["billing-notes"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"startDate","value":"2021-06-01"},{"key":"endDate","value":"2021-06-30"},{"key":"range","value":"5","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"year","value":"","disabled":true},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"month","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-df9e4c54-a775-42e4-9d6e-3c0d12906ac1"},{"id":"cfc4a568-bee3-437b-9e33-2291f06a3c5c","name":"Query-Previous Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/billing-notes?currentPage=1&pageSize=20&range=5&month=&year=2021","host":["{{api_gateway}}"],"path":["billing-notes"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"5","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":""},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-cfc4a568-bee3-437b-9e33-2291f06a3c5c"},{"id":"607c47f9-b71a-4eb0-9fc3-1817b79d3038","name":"Query-Fisical Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/billing-notes?currentPage=1&pageSize=20&range=&month=15&year=2021","host":["{{api_gateway}}"],"path":["billing-notes"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"15"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-607c47f9-b71a-4eb0-9fc3-1817b79d3038"},{"id":"41d3d331-c747-47f6-a2ea-d9619ee24b1f","name":"Query-Current Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/billing-notes?currentPage=1&pageSize=20&range=7&year=2021","host":["{{api_gateway}}"],"path":["billing-notes"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"7","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"year","value":"2021"},{"key":"startDate","value":"2021-06-01","disabled":true},{"key":"endDate","value":"2021-06-30","disabled":true},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"month","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-41d3d331-c747-47f6-a2ea-d9619ee24b1f"}],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-5acbac2f-a31e-4f72-96ce-4d8f2bda4572"},{"name":"Get-PO-By-ID","event":[{"listen":"test","script":{"id":"c4d76e04-66e7-4eac-ab1a-1fdca60cf4a8","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"bb47b2d6-db01-4594-9ecf-13b359da68c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/purchases-orders/{{recordId}}","host":["{{api_gateway}}"],"path":["purchases-orders","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:35:15.000Z","uid":"45983860-bb47b2d6-db01-4594-9ecf-13b359da68c8"},{"name":"Create-PO-Simple","event":[{"listen":"test","script":{"id":"19180d54-a0a2-4530-9a1d-520d2ae0195d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"d8ad16a2-cf58-48fb-9bfd-64f451cd651e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases-orders","host":["{{api_gateway}}"],"path":["purchases-orders"]}},"response":[{"id":"c7feefc5-778d-4a33-9c92-01de8553bfa8","name":"Create-PO-Simple-Exclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases-orders","host":["{{api_gateway}}"],"path":["purchases-orders"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-22T05:03:52.000Z","updatedAt":"2025-07-22T05:06:03.000Z","uid":"45983860-c7feefc5-778d-4a33-9c92-01de8553bfa8"},{"id":"78b6a891-563a-4eaa-817b-7d9e029477c2","name":"Create-PO-Simple-Inclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": true,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 19.63,\r\n\t\"grandTotal\": 300,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.41,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases-orders","host":["{{api_gateway}}"],"path":["purchases-orders"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-22T05:03:52.000Z","updatedAt":"2025-07-22T05:06:08.000Z","uid":"45983860-78b6a891-563a-4eaa-817b-7d9e029477c2"}],"createdAt":"2025-07-22T05:03:52.000Z","updatedAt":"2025-07-22T05:06:17.000Z","uid":"45983860-d8ad16a2-cf58-48fb-9bfd-64f451cd651e"},{"name":"Create-PO-Inline","event":[{"listen":"test","script":{"id":"6a69a050-7db7-42bc-a683-e008434b3cb3","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"5d4b1e4f-8370-4081-b25b-09ff43366883","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases-orders/inline","host":["{{api_gateway}}"],"path":["purchases-orders","inline"]}},"response":[{"id":"3f3d0955-a03c-442a-b729-289cf44bb296","name":"Create-PO-Inline-Discount-Exclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases-orders/inline","host":["{{api_gateway}}"],"path":["purchases-orders","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-22T05:04:37.000Z","updatedAt":"2025-07-22T05:06:24.000Z","uid":"45983860-3f3d0955-a03c-442a-b729-289cf44bb296"},{"id":"c878b160-79f7-44fa-99a8-c1a0fdec7493","name":"Create-PO-Inline-Discount-Inclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases-orders/inline","host":["{{api_gateway}}"],"path":["purchases-orders","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-22T05:04:37.000Z","updatedAt":"2025-07-22T05:06:28.000Z","uid":"45983860-c878b160-79f7-44fa-99a8-c1a0fdec7493"},{"id":"8e2f0078-5fef-49d1-be8d-2895efdd3486","name":"Create-PO-Inline-Vat-Exclusvie","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.90,\r\n\t\"grandTotal\": 288.90,\r\n\t\"documentShowWithholdingTax\": false,\r\n\t\"documentWithholdingTaxPercentage\": 0,\r\n\t\"documentWithholdingTaxAmount\": 0,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Exmaple Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": true,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases-orders/inline","host":["{{api_gateway}}"],"path":["purchases-orders","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-22T05:04:37.000Z","updatedAt":"2025-07-22T05:06:33.000Z","uid":"45983860-8e2f0078-5fef-49d1-be8d-2895efdd3486"},{"id":"cd0103c3-b66e-42dc-88ec-b45ee8b873ee","name":"Create-PO-Inline-Vat-Inclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 5.89,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": false,\r\n\t\"documentWithholdingTaxPercentage\": 0,\r\n\t\"documentWithholdingTaxAmount\": 0,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": true,\r\n\t\"exemptAmount\": 180,\r\n\t\"vatableAmount\": 84.11,\r\n\t\"items\": [\r\n\t{\r\n\t\t\t\"type\": 1, //use existing productId\r\n\t\t\t\"name\": \"Example Item 1\",\r\n\t\t\t\"description\": \"Example description\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"cm\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n\t\t\t\"discountAmount\": 10,\r\n\t\t\t\"vatRate\": 0\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"type\": 3, //use existing productId\r\n\t\t\t\"name\": \"Example Item 2\",\r\n\t\t\t\"description\": \"Example description\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"kg\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n\t\t\t\"discountAmount\": 10,\r\n\t\t\t\"vatRate\": -1\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"type\": 1, //use existing productId\r\n\t\t\t\"name\": \"Example Item 3\",\r\n\t\t\t\"description\": \"Example description\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"dozen\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n\t\t\t\"discountAmount\": 10,\r\n\t\t\t\"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases-orders/inline","host":["{{api_gateway}}"],"path":["purchases-orders","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-22T05:04:37.000Z","updatedAt":"2025-07-22T05:06:43.000Z","uid":"45983860-cd0103c3-b66e-42dc-88ec-b45ee8b873ee"}],"createdAt":"2025-07-22T05:04:37.000Z","updatedAt":"2025-07-22T05:06:13.000Z","uid":"45983860-5d4b1e4f-8370-4081-b25b-09ff43366883"},{"name":"Upgrade-PO-Simple","event":[{"listen":"test","script":{"id":"770ca8c2-7cbb-4fd7-a0f7-af5c4dd194fe","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"f21a584e-7215-4bc4-ad90-ac860c80d21f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/purchases-orders","host":["{{api_gateway}}"],"path":["upgrade","purchases-orders"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-22T05:08:59.000Z","uid":"45983860-f21a584e-7215-4bc4-ad90-ac860c80d21f"},{"name":"Upgrade-PO-Inline","event":[{"listen":"test","script":{"id":"fc965231-2bb2-417b-8163-03effc74e193","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"a3334ea1-7535-45d7-b26a-2bff02ad144f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/purchases-orders/inline","host":["{{api_gateway}}"],"path":["upgrade","purchases-orders","inline"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-22T05:09:42.000Z","uid":"45983860-a3334ea1-7535-45d7-b26a-2bff02ad144f"},{"name":"Update-PO-Simple","event":[{"listen":"test","script":{"id":"a5da8699-d87b-4467-a86e-310cbcf98436","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"410cf7db-60ba-4ebd-8cac-c5f89bbcf088","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": false,\r\n\t\"documentWithholdingTaxPercentage\": 0,\r\n\t\"documentWithholdingTaxAmount\": 0,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Remark\",\r\n\t\"internalNotes\": \"Note\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"UpdateSimpleDocument\",\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases-orders/{{recordId}}","host":["{{api_gateway}}"],"path":["purchases-orders","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:35:26.000Z","uid":"45983860-410cf7db-60ba-4ebd-8cac-c5f89bbcf088"},{"name":"Update-PO-Inline","event":[{"listen":"test","script":{"id":"13aa02d0-6dfd-414d-a37a-a113c67fe9e2","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"f9d910cd-6e93-4319-9149-e144153b4530","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Remark Document\",\r\n\t\"internalNotes\": \"Internal Note\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"UpdateInlineDocument\",\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"QT2021070007\",\r\n\t\t\t\"referenceDocumentType\": 3\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases-orders/{{recordId}}","host":["{{api_gateway}}"],"path":["purchases-orders","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:35:42.000Z","uid":"45983860-f9d910cd-6e93-4319-9149-e144153b4530"},{"name":"Delete-PO-By-ID","event":[{"listen":"test","script":{"id":"7216c372-66cf-44ba-9555-08311be405ab","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"52cbf886-b852-4278-9b71-1df224706589","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"DELETE","header":[],"url":{"raw":"{{api_gateway}}/purchases-orders/{{recordId}}","host":["{{api_gateway}}"],"path":["purchases-orders","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:35:48.000Z","uid":"45983860-52cbf886-b852-4278-9b71-1df224706589"},{"name":"Change-Status-PO","event":[{"listen":"test","script":{"id":"5fea6862-2b13-432a-afc6-66169d76c4c8","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"e169e522-e3b3-422a-8ccb-4fceb63eac26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/purchases-orders/{{recordId}}/status/awaiting","host":["{{api_gateway}}"],"path":["purchases-orders","{{recordId}}","status","awaiting"]}},"response":[{"id":"dbecfbd4-c676-4f77-9f85-859ae21088d3","name":"Change-Status-PO-ApprovedAndProcessed","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/purchases-orders/5512755/status/approvedandprocessed","host":["{{api_gateway}}"],"path":["purchases-orders","5512755","status","approvedandprocessed"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-dbecfbd4-c676-4f77-9f85-859ae21088d3"},{"id":"3a494910-0a2b-431e-adde-5c9e3c69ee39","name":"Change-Status-PO-Void","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/purchases-orders/5512755/status/void","host":["{{api_gateway}}"],"path":["purchases-orders","5512755","status","void"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-3a494910-0a2b-431e-adde-5c9e3c69ee39"},{"id":"9863ca3b-1f9b-4f57-a76e-dbae75809454","name":"Change-Status-PO-Awaiting","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/purchases-orders/5512755/status/awaiting","host":["{{api_gateway}}"],"path":["purchases-orders","5512755","status","awaiting"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-9863ca3b-1f9b-4f57-a76e-dbae75809454"},{"id":"9efeb288-d64b-4c90-a866-da033e1d6d4d","name":"Change-Status-PO-Approved","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/purchases-orders/5512755/status/approved","host":["{{api_gateway}}"],"path":["purchases-orders","5512755","status","approved"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-9efeb288-d64b-4c90-a866-da033e1d6d4d"}],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:35:55.000Z","uid":"45983860-e169e522-e3b3-422a-8ccb-4fceb63eac26"},{"name":"Upload-File-PO","event":[{"listen":"test","script":{"id":"ec337033-4e0a-4ea7-96c1-26715be59a03","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"dfd90ccc-f08d-422e-9307-d0ed61a08b47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"","type":"file","src":"/C:/Users/findb/OneDrive/Pictures/BlueSea.jpg"}]},"url":{"raw":"{{api_gateway}}/purchases-orders/{{recordId}}/attachment","host":["{{api_gateway}}"],"path":["purchases-orders","{{recordId}}","attachment"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:36:07.000Z","uid":"45983860-dfd90ccc-f08d-422e-9307-d0ed61a08b47"},{"name":"Send-Email-PO","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"id":"1861c15c-5ac4-4405-afd5-7d4dc2861be2"}}],"id":"e82a60a2-3c3c-458a-9f22-341897540068","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"documentId\": 5512755,\r\n  \"fromemail\": \"developer_support@flowaccount.com\",\r\n  \"toemail\": \"developer_support@flowaccount.com\",\r\n  \"cCMyself\": true,\r\n  \"ccEmail\": \"developer_support@flowaccount.com\",\r\n  \"bccEmail\": \"developer_support@flowaccount.com\",\r\n  \"subject\": \"Send Email\",\r\n  \"message\": \"Send Email from production\",\r\n  \"doCopy\": true,\r\n  \"documentStructureType\": \"SendEmailCoppies\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases-orders/email-document","host":["{{api_gateway}}"],"path":["purchases-orders","email-document"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-e82a60a2-3c3c-458a-9f22-341897540068"},{"name":"Share-Document-PO","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"id":"c30d58e0-8615-49a4-8193-28a2d4a05a64"}}],"id":"f5069102-9b80-4496-8c15-8f422bac124d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"documentId\": 81281,\r\n\t\"culture\": \"th\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases-orders/sharedocument","host":["{{api_gateway}}"],"path":["purchases-orders","sharedocument"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:36:13.000Z","uid":"45983860-f5069102-9b80-4496-8c15-8f422bac124d"}],"id":"030c1b59-71d8-4910-9159-e128e770ff56","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:36:13.000Z","uid":"45983860-030c1b59-71d8-4910-9159-e128e770ff56"},{"name":"Receiving Inventory (RI)","item":[{"name":"Get-All-RI","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"id":"1c3f4001-3cca-4d7e-84ad-f4ef40bbe07d"}}],"id":"0ba7f7a5-281f-4b22-af65-76d6a98344cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/purchases?currentPage=1&pageSize=20&range=3&month=7&year=2021","host":["{{api_gateway}}"],"path":["purchases"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true},{"key":"searchString","value":"","disabled":true},{"key":"range","value":"3"},{"key":"month","value":"7"},{"key":"year","value":"2021"}]}},"response":[{"id":"10cb117d-0e2a-4f39-a22b-e15143d4c495","name":"Query-Current Month","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/purchases?currentPage=1&pageSize=20&range=1&month=6&year=2021","host":["{{api_gateway}}"],"path":["purchases"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"1","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"6"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-10cb117d-0e2a-4f39-a22b-e15143d4c495"},{"id":"19d1f7cb-c6e0-4148-a6a3-80ea65d7dd26","name":"Query-Previous Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/purchases?currentPage=1&pageSize=20&range=5&month=&year=2021","host":["{{api_gateway}}"],"path":["purchases"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"5","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":""},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-19d1f7cb-c6e0-4148-a6a3-80ea65d7dd26"},{"id":"d8114202-e09d-4e65-933b-fbec426507b7","name":"Query-Date Range","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/purchases?currentPage=1&pageSize=20&startDate=2021-06-01&endDate=2021-06-30&range=5","host":["{{api_gateway}}"],"path":["purchases"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"startDate","value":"2021-06-01"},{"key":"endDate","value":"2021-06-30"},{"key":"range","value":"5","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"year","value":"","disabled":true},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"month","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-d8114202-e09d-4e65-933b-fbec426507b7"},{"id":"5a2bbf0c-8845-43c3-9144-76ac5cebdc5c","name":"Query-Fisical Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/purchases?currentPage=1&pageSize=20&range=&month=15&year=2021","host":["{{api_gateway}}"],"path":["purchases"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"15"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-5a2bbf0c-8845-43c3-9144-76ac5cebdc5c"},{"id":"7a0aac51-7768-4437-9944-2eb52dc1a410","name":"Query-Previous Month","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/purchases?currentPage=1&pageSize=20&range=3&month=5&year=2021","host":["{{api_gateway}}"],"path":["purchases"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"3","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"5"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-7a0aac51-7768-4437-9944-2eb52dc1a410"},{"id":"6d117ee1-f516-4ce1-b2ae-440fc1cbf657","name":"Query-Search String","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/purchases?currentPage=1&pageSize=20&searchString=RI2021070001","host":["{{api_gateway}}"],"path":["purchases"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"searchString","value":"RI2021070001","description":"Search by Contact Name, Project Name, Document Serial"},{"key":"range","value":"","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year","disabled":true},{"key":"month","value":"","disabled":true},{"key":"year","value":"","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-6d117ee1-f516-4ce1-b2ae-440fc1cbf657"},{"id":"ff8bbcbe-c1bf-4a6f-b50c-6868013749a6","name":"Query-Current Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/purchases?currentPage=1&pageSize=20&range=7&year=2021","host":["{{api_gateway}}"],"path":["purchases"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"7","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"year","value":"2021"},{"key":"startDate","value":"2021-06-01","disabled":true},{"key":"endDate","value":"2021-06-30","disabled":true},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"month","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-ff8bbcbe-c1bf-4a6f-b50c-6868013749a6"}],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-0ba7f7a5-281f-4b22-af65-76d6a98344cf"},{"name":"Get-RI-By-ID","event":[{"listen":"test","script":{"id":"9ebf2453-887c-47e5-abd8-ec18e5b1a3ca","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"8682cae3-f583-4521-a740-710abb97f8c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/purchases/{{recordId}}","host":["{{api_gateway}}"],"path":["purchases","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:36:20.000Z","uid":"45983860-8682cae3-f583-4521-a740-710abb97f8c0"},{"name":"Create-RI-Simple","event":[{"listen":"test","script":{"id":"19180d54-a0a2-4530-9a1d-520d2ae0195d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"44f9cc88-a26d-4b28-a0ed-778f22fe2862","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases","host":["{{api_gateway}}"],"path":["purchases"]}},"response":[{"id":"9ccaf688-3662-447b-86d8-105e5e2ab43d","name":"Create-RI-Simple-Exclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases","host":["{{api_gateway}}"],"path":["purchases"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T04:07:41.000Z","updatedAt":"2025-07-21T04:11:03.000Z","uid":"45983860-9ccaf688-3662-447b-86d8-105e5e2ab43d"},{"id":"ef3bb53f-3eca-4ca2-91ce-9ebe574922ae","name":"Create-RI-Simple-Inclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": true,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 19.63,\r\n\t\"grandTotal\": 300,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.41,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases","host":["{{api_gateway}}"],"path":["purchases"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T04:07:41.000Z","updatedAt":"2025-07-21T04:11:07.000Z","uid":"45983860-ef3bb53f-3eca-4ca2-91ce-9ebe574922ae"}],"createdAt":"2025-07-21T04:07:41.000Z","updatedAt":"2025-07-21T04:10:54.000Z","uid":"45983860-44f9cc88-a26d-4b28-a0ed-778f22fe2862"},{"name":"Create-RI-Simple-With-Payment","event":[{"listen":"test","script":{"id":"19180d54-a0a2-4530-9a1d-520d2ae0195d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"894046ed-c52c-464f-b471-ce271e3d92a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentPaidCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/with-payment","host":["{{api_gateway}}"],"path":["purchases","with-payment"]}},"response":[{"id":"e4ce2417-f63c-4323-b569-d5d9717a61cc","name":"Create-RI-Simple-With-Payment-Cash","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentPaidCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/with-payment","host":["{{api_gateway}}"],"path":["purchases","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T04:13:59.000Z","updatedAt":"2025-07-21T04:16:56.000Z","uid":"45983860-e4ce2417-f63c-4323-b569-d5d9717a61cc"},{"id":"9b5c5bdc-818d-4499-8043-bd235aa395be","name":"Create-RI-Simple-With-Payment-Cheque","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentPaidCheque\",\r\n\t\"paymentMethod\": 3,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Cheque\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"chequeDate\": \"2025-07-31\",\r\n    \"chequeNumber\": \"122-122-122\",\r\n    \"chequeBankAccountId\": 1,\r\n    \"bankAccountId\": 12345,\r\n    \"bankChequeId\": 1234,\r\n    \"paymentCharge\": 100.00\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/with-payment","host":["{{api_gateway}}"],"path":["purchases","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T04:13:59.000Z","updatedAt":"2025-07-21T04:19:32.000Z","uid":"45983860-9b5c5bdc-818d-4499-8043-bd235aa395be"},{"id":"f5362ea3-e930-4401-be65-beca34cc419d","name":"Create-RI-Simple-With-Payment-Transfer","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentPaidTransfer\",\r\n\t\"paymentMethod\": 5,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Bank Transfer\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"transferBankAccountId\": 1,\r\n    \"bankAccountId\": 1234, //use existing id\r\n    \"paymentCharge\": 100.00\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/with-payment","host":["{{api_gateway}}"],"path":["purchases","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T04:13:59.000Z","updatedAt":"2025-07-21T04:21:04.000Z","uid":"45983860-f5362ea3-e930-4401-be65-beca34cc419d"},{"id":"b6c1f44c-6511-40ec-9ade-835430b45b78","name":"Create-RI-Simple-With-Payment-CreditCard","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentPaidCreditCard\",\r\n\t\"paymentMethod\": 7,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Credit Card\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"creditCardBankAccountId\": 1,\r\n    \"creditCardId\": 1234 //use existing id\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/with-payment","host":["{{api_gateway}}"],"path":["purchases","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T04:21:38.000Z","updatedAt":"2025-07-21T04:23:06.000Z","uid":"45983860-b6c1f44c-6511-40ec-9ade-835430b45b78"},{"id":"17d836fb-9ee6-4e63-a1a5-4a19e5e2133e","name":"Create-RI-Simple-With-Payment-PettyCash","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentPaidPettyCash\",\r\n\t\"paymentMethod\": 11,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Petty Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"pettyCashId\": 1,\r\n    \"pettyCashName\": \"Petty cash name\" //use existing id\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/with-payment","host":["{{api_gateway}}"],"path":["purchases","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T04:26:48.000Z","updatedAt":"2025-07-21T04:28:23.000Z","uid":"45983860-17d836fb-9ee6-4e63-a1a5-4a19e5e2133e"},{"id":"7efa095f-0170-4e3d-93e7-291d76964e48","name":"Create-RI-Simple-With-Payment-OtherChannel","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentPaidOtherChannel\",\r\n\t\"paymentMethod\": 13,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Other Channel\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"otherChannelId\": 1, //use existing id\r\n    \"otherChannelPaymentChannel\": 1,\r\n    \"otherChannelName\": \"Example Other Channel\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/with-payment","host":["{{api_gateway}}"],"path":["purchases","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T04:13:59.000Z","updatedAt":"2025-07-22T05:14:10.000Z","uid":"45983860-7efa095f-0170-4e3d-93e7-291d76964e48"}],"createdAt":"2025-07-21T04:13:59.000Z","updatedAt":"2025-07-21T04:26:48.000Z","uid":"45983860-894046ed-c52c-464f-b471-ce271e3d92a1"},{"name":"Create-RI-Inline","event":[{"listen":"test","script":{"id":"6a69a050-7db7-42bc-a683-e008434b3cb3","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"34395feb-593e-495b-8f5f-b5a30954cbf2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/inline","host":["{{api_gateway}}"],"path":["purchases","inline"]}},"response":[{"id":"525f19d3-6c69-43d9-ae68-a63e6a5b8ccd","name":"Create-RI-Inline-Discount-Exclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/inline","host":["{{api_gateway}}"],"path":["purchases","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T04:10:13.000Z","updatedAt":"2025-07-21T04:11:43.000Z","uid":"45983860-525f19d3-6c69-43d9-ae68-a63e6a5b8ccd"},{"id":"e23dda7a-01e0-4480-b3ed-75a8e336140a","name":"Create-RI-Inline-Discount-Inclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 17.66,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 7.57,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 252.34,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/inline","host":["{{api_gateway}}"],"path":["purchases","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T04:10:13.000Z","updatedAt":"2025-07-21T04:11:47.000Z","uid":"45983860-e23dda7a-01e0-4480-b3ed-75a8e336140a"},{"id":"abdc8d61-49dd-496b-be92-3d489575df24","name":"Create-RI-Inline-Vat-Exclusvie","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.90,\r\n\t\"grandTotal\": 288.90,\r\n\t\"documentShowWithholdingTax\": false,\r\n\t\"documentWithholdingTaxPercentage\": 0,\r\n\t\"documentWithholdingTaxAmount\": 0,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Exmaple Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": true,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/inline","host":["{{api_gateway}}"],"path":["purchases","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T04:10:13.000Z","updatedAt":"2025-07-21T04:11:50.000Z","uid":"45983860-abdc8d61-49dd-496b-be92-3d489575df24"},{"id":"dd2e64c3-e96e-4878-8f07-050c4aeed981","name":"Create-RI-Inline-Vat-Inclusive","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": true,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 5.89,\r\n\t\"grandTotal\": 270,\r\n\t\"documentShowWithholdingTax\": false,\r\n\t\"documentWithholdingTaxPercentage\": 0,\r\n\t\"documentWithholdingTaxAmount\": 0,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": true,\r\n\t\"exemptAmount\": 180,\r\n\t\"vatableAmount\": 84.11,\r\n\t\"items\": [\r\n\t{\r\n\t\t\t\"type\": 1, //use existing productId\r\n\t\t\t\"name\": \"Example Item 1\",\r\n\t\t\t\"description\": \"Example description\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"cm\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n\t\t\t\"discountAmount\": 10,\r\n\t\t\t\"vatRate\": 0\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"type\": 3, //use existing productId\r\n\t\t\t\"name\": \"Example Item 2\",\r\n\t\t\t\"description\": \"Example description\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"kg\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n\t\t\t\"discountAmount\": 10,\r\n\t\t\t\"vatRate\": -1\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"type\": 1, //use existing productId\r\n\t\t\t\"name\": \"Example Item 3\",\r\n\t\t\t\"description\": \"Example description\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"dozen\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n\t\t\t\"discountAmount\": 10,\r\n\t\t\t\"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/inline","host":["{{api_gateway}}"],"path":["purchases","inline"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T04:10:13.000Z","updatedAt":"2025-07-21T04:11:54.000Z","uid":"45983860-dd2e64c3-e96e-4878-8f07-050c4aeed981"}],"createdAt":"2025-07-21T04:10:13.000Z","updatedAt":"2025-07-21T04:11:39.000Z","uid":"45983860-34395feb-593e-495b-8f5f-b5a30954cbf2"},{"name":"Create-RI-Inline-With-Payment","event":[{"listen":"test","script":{"id":"19180d54-a0a2-4530-9a1d-520d2ae0195d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"2836d3e8-b4cf-4ade-bdcf-86b09041a5e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentPaidCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/inline/with-payment","host":["{{api_gateway}}"],"path":["purchases","inline","with-payment"]}},"response":[{"id":"f0e7792d-5bf4-43b6-8be1-6c77f2e6a5f3","name":"Create-RI-Inline-With-Payment-Cash","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentPaidCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/inline/with-payment","host":["{{api_gateway}}"],"path":["purchases","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T04:31:00.000Z","updatedAt":"2025-07-22T05:16:33.000Z","uid":"45983860-f0e7792d-5bf4-43b6-8be1-6c77f2e6a5f3"},{"id":"cecbc1f7-8382-4a74-81b4-38f6c87d0b88","name":"Create-RI-Inline-With-Payment-Cheque","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentPaidCheque\",\r\n\t\"paymentMethod\": 3,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Cheque\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"chequeDate\": \"2025-07-31\",\r\n    \"chequeNumber\": \"122-122-122\",\r\n    \"chequeBankAccountId\": 1,\r\n    \"bankAccountId\": 12345,\r\n    \"bankChequeId\": 1234,\r\n    \"paymentCharge\": 100.00\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/inline/with-payment","host":["{{api_gateway}}"],"path":["purchases","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T04:31:00.000Z","updatedAt":"2025-07-22T05:16:43.000Z","uid":"45983860-cecbc1f7-8382-4a74-81b4-38f6c87d0b88"},{"id":"92091c9c-f395-4e13-8012-2dac03398fdc","name":"Create-RI-Inline-With-Payment-Transfer","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentPaidTransfer\",\r\n\t\"paymentMethod\": 5,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Bank Transfer\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"transferBankAccountId\": 1,\r\n    \"bankAccountId\": 1234, //use existing id\r\n    \"paymentCharge\": 100.00\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/inline/with-payment","host":["{{api_gateway}}"],"path":["purchases","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T04:31:00.000Z","updatedAt":"2025-07-22T05:16:55.000Z","uid":"45983860-92091c9c-f395-4e13-8012-2dac03398fdc"},{"id":"f16632b9-90a9-4d26-94af-062dbb553761","name":"Create-RI-Inline-With-Payment-CreditCard","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentPaidCreditCard\",\r\n\t\"paymentMethod\": 7,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Credit Card\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"creditCardBankAccountId\": 1,\r\n    \"creditCardId\": 1234 //use existing id\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/inline/with-payment","host":["{{api_gateway}}"],"path":["purchases","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T04:34:05.000Z","updatedAt":"2025-07-22T05:17:07.000Z","uid":"45983860-f16632b9-90a9-4d26-94af-062dbb553761"},{"id":"cf7fd464-fc4a-431b-b14b-0d90b46d86ad","name":"Create-RI-Inline-With-Payment-PettyCash","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentPaidPettyCash\",\r\n\t\"paymentMethod\": 11,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Petty Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"pettyCashId\": 1,\r\n    \"pettyCashName\": \"Petty cash name\" //use existing id\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/inline/with-payment","host":["{{api_gateway}}"],"path":["purchases","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T04:34:02.000Z","updatedAt":"2025-07-22T05:17:16.000Z","uid":"45983860-cf7fd464-fc4a-431b-b14b-0d90b46d86ad"},{"id":"1cf1fbd2-b228-4f30-b84b-4367c95b6288","name":"Create-RI-Inline-With-Payment-OtherChannel","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentPaidOtherChannel\",\r\n\t\"paymentMethod\": 13,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Other Channel\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"otherChannelId\": 1, //use existing id\r\n    \"otherChannelPaymentChannel\": 1,\r\n    \"otherChannelName\": \"Example Other Channel\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purhcases/inline/with-payment","host":["{{api_gateway}}"],"path":["purhcases","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T04:31:00.000Z","updatedAt":"2025-07-22T05:17:50.000Z","uid":"45983860-1cf1fbd2-b228-4f30-b84b-4367c95b6288"}],"createdAt":"2025-07-21T04:31:00.000Z","updatedAt":"2025-07-22T05:16:16.000Z","uid":"45983860-2836d3e8-b4cf-4ade-bdcf-86b09041a5e7"},{"name":"Upgrade-RI-Simple","event":[{"listen":"test","script":{"id":"bf5162d1-74b4-4caf-823d-4a3737efc460","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"7fb2e4ba-7820-4004-b95b-4c8c0bad0ba5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"SimpleDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"PO2021070007\",\r\n\t\t\t\"referenceDocumentType\": 1\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/purchases","host":["{{api_gateway}}"],"path":["upgrade","purchases"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-22T05:18:17.000Z","uid":"45983860-7fb2e4ba-7820-4004-b95b-4c8c0bad0ba5"},{"name":"Upgrade-RI-Simple-With-Payment","event":[{"listen":"test","script":{"id":"19180d54-a0a2-4530-9a1d-520d2ae0195d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"7c70748f-b45e-4891-93e8-a8968be6fb10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n    \"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"PO2021070007\",\r\n\t\t\t\"referenceDocumentType\": 1\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentPaidCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/purchases/with-payment","host":["{{api_gateway}}"],"path":["upgrade","purchases","with-payment"]}},"response":[{"id":"3d0d04c7-3980-412b-87b1-d4e41f31c636","name":"Upgrade-RI-Simple-With-Payment-Cash","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n    \"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"PO2021070007\",\r\n\t\t\t\"referenceDocumentType\": 1\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentPaidCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/purchases/with-payment","host":["{{api_gateway}}"],"path":["upgrade","purchases","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T04:42:17.000Z","updatedAt":"2025-07-22T05:19:02.000Z","uid":"45983860-3d0d04c7-3980-412b-87b1-d4e41f31c636"},{"id":"47c362a4-85da-488f-b4c4-8d41f2c12b09","name":"Upgrade-RI-Simple-With-Payment-Cheque","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n    \"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"PO2021070007\",\r\n\t\t\t\"referenceDocumentType\": 1\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentPaidCheque\",\r\n\t\"paymentMethod\": 3,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Cheque\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"chequeDate\": \"2025-07-31\",\r\n    \"chequeNumber\": \"122-122-122\",\r\n    \"chequeBankAccountId\": 1,\r\n    \"bankAccountId\": 12345,\r\n    \"bankChequeId\": 1234,\r\n    \"paymentCharge\": 100.00\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/purchases/with-payment","host":["{{api_gateway}}"],"path":["upgrade","purchases","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T04:42:17.000Z","updatedAt":"2025-07-22T05:19:13.000Z","uid":"45983860-47c362a4-85da-488f-b4c4-8d41f2c12b09"},{"id":"00f7a684-f1ce-472e-ba53-182570948eee","name":"Upgrade-RI-Simple-With-Payment-Transfer","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n    \"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"PO2021070007\",\r\n\t\t\t\"referenceDocumentType\": 1\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentPaidTransfer\",\r\n\t\"paymentMethod\": 5,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Bank Transfer\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"transferBankAccountId\": 1,\r\n    \"bankAccountId\": 1234, //use existing id\r\n    \"paymentCharge\": 100.00\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/purchases/with-payment","host":["{{api_gateway}}"],"path":["upgrade","purchases","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T04:42:17.000Z","updatedAt":"2025-07-22T05:19:23.000Z","uid":"45983860-00f7a684-f1ce-472e-ba53-182570948eee"},{"id":"8a0accbf-1be4-4d50-b714-3e7550a8914b","name":"Upgrade-RI-Simple-With-Payment-CreditCard","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n    \"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"PO2021070007\",\r\n\t\t\t\"referenceDocumentType\": 1\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentPaidCreditCard\",\r\n\t\"paymentMethod\": 7,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Credit Card\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"creditCardBankAccountId\": 1,\r\n    \"creditCardId\": 1234 //use existing id\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/purchases/with-payment","host":["{{api_gateway}}"],"path":["upgrade","purchases","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T04:42:17.000Z","updatedAt":"2025-07-22T05:19:38.000Z","uid":"45983860-8a0accbf-1be4-4d50-b714-3e7550a8914b"},{"id":"2f76e5a7-9e3e-43e0-b588-e5889e68c47c","name":"Upgrade-RI-Simple-With-Payment-PettyCash","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n    \"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"PO2021070007\",\r\n\t\t\t\"referenceDocumentType\": 1\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentPaidPettyCash\",\r\n\t\"paymentMethod\": 11,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Petty Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"pettyCashId\": 1,\r\n    \"pettyCashName\": \"Petty cash name\" //use existing id\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/purchases/with-payment","host":["{{api_gateway}}"],"path":["upgrade","purchases","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T04:42:17.000Z","updatedAt":"2025-07-22T05:19:50.000Z","uid":"45983860-2f76e5a7-9e3e-43e0-b588-e5889e68c47c"},{"id":"e96b5dab-bc8f-4722-b158-215375f84b8f","name":"Upgrade-RI-Simple-With-Payment-OtherChannel","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-31\",\r\n\t\"creditType\": 3,\r\n\t\"creditDays\": 0,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 9,\r\n\t\"documentDeductionType\": 1,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remarks\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n    \"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"PO2021070007\",\r\n\t\t\t\"referenceDocumentType\": 1\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"SimpleDocumentWithPaymentReceivingCash\",\r\n\t\"paymentMethod\": 13,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 321,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Receiving Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"otherChannelId\": 1, //use existing id\r\n    \"otherChannelPaymentChannel\": 1,\r\n    \"otherChannelName\": \"Example Other Channel\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/purchases/with-payment","host":["{{api_gateway}}"],"path":["upgrade","purchases","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T04:42:17.000Z","updatedAt":"2025-07-22T05:20:01.000Z","uid":"45983860-e96b5dab-bc8f-4722-b158-215375f84b8f"}],"createdAt":"2025-07-21T04:42:17.000Z","updatedAt":"2025-07-22T05:18:51.000Z","uid":"45983860-7c70748f-b45e-4891-93e8-a8968be6fb10"},{"name":"Upgrade-RI-Inline","event":[{"listen":"test","script":{"id":"3d12ed38-9ca7-4064-9f4b-bfab9fbf030a","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"5b9de045-359e-4d3c-ad7f-9a06bf072027","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n    \"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"PO2021070007\",\r\n\t\t\t\"referenceDocumentType\": 1\r\n\t\t}\r\n\t],\r\n\t\"documentStructureType\": \"InlineDocument\",\r\n\t\"saleAndPurchaseChannel\": 0,\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/purchases/inline","host":["{{api_gateway}}"],"path":["upgrade","purchases","inline"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-22T05:20:45.000Z","uid":"45983860-5b9de045-359e-4d3c-ad7f-9a06bf072027"},{"name":"Upgrade-RI-Inline-With-Payment","event":[{"listen":"test","script":{"id":"19180d54-a0a2-4530-9a1d-520d2ae0195d","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"6a8d57fd-7438-43e3-859a-21a977079404","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n    \"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"PO2021070007\",\r\n\t\t\t\"referenceDocumentType\": 1\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentPaidCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/purchases/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","purchases","inline","with-payment"]}},"response":[{"id":"a780c908-e747-410d-8e27-615983003126","name":"Upgrade-RI-Inline-With-Payment-Cash","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n    \"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"PO2021070007\",\r\n\t\t\t\"referenceDocumentType\": 1\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentPaidCash\",\r\n\t\"paymentMethod\": 1,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/purchases/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","purchases","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:21:33.000Z","updatedAt":"2025-07-22T05:21:27.000Z","uid":"45983860-a780c908-e747-410d-8e27-615983003126"},{"id":"81aae6c8-54ac-482d-836f-ff6adb7156bc","name":"Upgrade-RI-Inline-With-Payment-Cheque","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n    \"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"PO2021070007\",\r\n\t\t\t\"referenceDocumentType\": 1\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentPaidCheque\",\r\n\t\"paymentMethod\": 3,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Cheque\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"chequeDate\": \"2025-07-31\",\r\n    \"chequeNumber\": \"122-122-122\",\r\n    \"chequeBankAccountId\": 1,\r\n    \"bankAccountId\": 12345,\r\n    \"bankChequeId\": 1234,\r\n    \"paymentCharge\": 100.00\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/purchases/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","purchases","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:21:33.000Z","updatedAt":"2025-07-22T05:21:42.000Z","uid":"45983860-81aae6c8-54ac-482d-836f-ff6adb7156bc"},{"id":"78626934-83db-4490-a80e-d86defd1933c","name":"Upgrade-RI-Inline-With-Payment-Transfer","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n    \"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"PO2021070007\",\r\n\t\t\t\"referenceDocumentType\": 1\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentPaidTransfer\",\r\n\t\"paymentMethod\": 5,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Bank Transfer\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"transferBankAccountId\": 1,\r\n    \"bankAccountId\": 1234, //use existing id\r\n    \"paymentCharge\": 100.00\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/purchases/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","purchases","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:21:33.000Z","updatedAt":"2025-07-22T05:21:55.000Z","uid":"45983860-78626934-83db-4490-a80e-d86defd1933c"},{"id":"352a0b69-53cf-44b3-abeb-fb11c3871117","name":"Upgrade-RI-Inline-With-Payment-CreditCard","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n    \"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"PO2021070007\",\r\n\t\t\t\"referenceDocumentType\": 1\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentPaidCreditCard\",\r\n\t\"paymentMethod\": 7,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Credit Card\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"creditCardBankAccountId\": 1,\r\n    \"creditCardId\": 1234 //use existing id\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/purchases/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","purchases","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:21:33.000Z","updatedAt":"2025-07-22T05:22:12.000Z","uid":"45983860-352a0b69-53cf-44b3-abeb-fb11c3871117"},{"id":"708c22f0-081e-4768-8925-9ecb6da6b528","name":"Upgrade-RI-Inline-With-Payment-PettyCash","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n    \"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"PO2021070007\",\r\n\t\t\t\"referenceDocumentType\": 1\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentPaidPettyCash\",\r\n\t\"paymentMethod\": 11,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Petty Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"pettyCashId\": 1,\r\n    \"pettyCashName\": \"Petty cash name\" //use existing id\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/purchases/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","purchases","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:21:33.000Z","updatedAt":"2025-07-22T05:22:26.000Z","uid":"45983860-708c22f0-081e-4768-8925-9ecb6da6b528"},{"id":"e2905485-e4d4-44eb-9f1c-d2bfeaf7592c","name":"Upgrade-RI-Inline-With-Payment-OtherChannel","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Example Remark\",\r\n\t\"internalNotes\": \"Example Notes\",\r\n\t\"showSignatureOrStamp\": true,\r\n    \"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"PO2021070007\",\r\n\t\t\t\"referenceDocumentType\": 1\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t],\r\n\t\"documentPaymentStructureType\": \"InlineDocumentWithPaymentPaidCash\",\r\n\t\"paymentMethod\": 13,\r\n\t\"paymentDate\": \"2025-07-31\",\r\n\t\"collected\": 288.9,\r\n\t\"withheldPercentage\": 0,\r\n\t\"withheldAmount\": 0,\r\n\t\"paymentRemarks\": \"Payment Paid Cash\",\r\n\t\"remainingCollectedType\": 51,\r\n\t\"remainingCollected\": 0,\r\n    \"otherChannelId\": 1, //use existing id\r\n    \"otherChannelPaymentChannel\": 1,\r\n    \"otherChannelName\": \"Example Other Channel\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/upgrade/purchases/inline/with-payment","host":["{{api_gateway}}"],"path":["upgrade","purchases","inline","with-payment"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-21T05:21:33.000Z","updatedAt":"2025-07-22T05:22:41.000Z","uid":"45983860-e2905485-e4d4-44eb-9f1c-d2bfeaf7592c"}],"createdAt":"2025-07-21T05:21:33.000Z","updatedAt":"2025-07-22T05:21:12.000Z","uid":"45983860-6a8d57fd-7438-43e3-859a-21a977079404"},{"name":"Update-RI-Simple","event":[{"listen":"test","script":{"id":"71c66957-f5e5-41a3-b686-ab554b69e2c7","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"b5024ba3-c516-4aa4-8ddf-4e2c59d082fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor\",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@gmail.com\",\r\n\t\"contactNumber\": \"087-654-3210\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 0,\r\n\t\"totalAfterDiscount\": 300,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 21,\r\n\t\"grandTotal\": 321,\r\n\t\"documentShowWithholdingTax\": false,\r\n\t\"documentWithholdingTaxPercentage\": 0,\r\n\t\"documentWithholdingTaxAmount\": 0,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Remark\",\r\n\t\"internalNotes\": \"Note\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"UpdateSimpleDocument\",\r\n    \"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"PO2021070007\",\r\n\t\t\t\"referenceDocumentType\": 1\r\n\t\t}\r\n\t],\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 100,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/{{recordId}}","host":["{{api_gateway}}"],"path":["purchases","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:36:32.000Z","uid":"45983860-b5024ba3-c516-4aa4-8ddf-4e2c59d082fb"},{"name":"Update-RI-Inline","event":[{"listen":"test","script":{"id":"8029330c-815b-4e73-adcd-1f59677ce6d7","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"717275db-cb10-4467-8f00-b71517042ec6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"recordId\": 0,\r\n\t\"companyName\": \"Good Afternoon Data\",\r\n\t\"companyNameEn\": \"Good Afternoon Data\",\r\n\t\"companyAddress\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyAddressEn\": \"Account Run Test Postman Collection Monitor  \",\r\n\t\"companyTaxId\": \"1231231231231\",\r\n\t\"companyBranch\": \"สำนักงานใหญ่\",\r\n\t\"companyBranchEn\": \"Head Office\",\r\n\t\"companyPhone\": \"02-026-8991\",\r\n\t\"companyMobile\": \"02-999-9999\",\r\n\t\"companyFax\": \"02-026-8991-1\",\r\n\t\"companyWebsite\": \"www.flowaccount.com\",\r\n\t\"contactCode\": \"excode\",\r\n\t\"contactName\": \"ExampleName\",\r\n\t\"contactAddress\": \"11/12 Example Rd, Silom, Bang Rak, Bangkok Example contact address\",\r\n\t\"contactTaxId\": \"1234567890123\",\r\n\t\"contactBranch\": \"สำนักงานใหญ่\",\r\n\t\"contactPerson\": \"ExamplePerson\",\r\n\t\"contactEmail\": \"Example@email.com\",\r\n\t\"contactNumber\": \"099-999-9999\",\r\n\t\"contactZipCode\": \"10500\",\r\n\t\"contactGroup\": 1,\r\n\t\"publishedOn\": \"2025-07-01\",\r\n\t\"creditType\": 1,\r\n\t\"creditDays\": 30,\r\n\t\"dueDate\": \"2025-07-31\",\r\n\t\"salesName\": \"Example salesName\",\r\n\t\"projectName\": \"Example Project\",\r\n\t\"reference\": \"Example Ref\",\r\n\t\"isVatInclusive\": false,\r\n\t\"useReceiptDeduction\": false,\r\n\t\"subTotal\": 300,\r\n\t\"discountPercentage\": 0,\r\n\t\"discountAmount\": 30,\r\n\t\"totalAfterDiscount\": 270,\r\n\t\"isVat\": true,\r\n\t\"vatAmount\": 18.9,\r\n\t\"grandTotal\": 288.9,\r\n\t\"documentShowWithholdingTax\": true,\r\n\t\"documentWithholdingTaxPercentage\": 3,\r\n\t\"documentWithholdingTaxAmount\": 8.10,\r\n\t\"documentDeductionType\": 0,\r\n\t\"documentDeductionAmount\": 0,\r\n\t\"remarks\": \"Remark Document\",\r\n\t\"internalNotes\": \"Internal Note\",\r\n\t\"showSignatureOrStamp\": true,\r\n\t\"documentStructureType\": \"UpdateInlineDocument\",\r\n    \"documentReference\": [\r\n\t\t{\r\n\t\t\t\"recordId\": 7916283,\r\n\t\t\t\"referenceDocumentSerial\": \"PO2021070007\",\r\n\t\t\t\"referenceDocumentType\": 1\r\n\t\t}\r\n\t],\r\n\t\"discountType\": 1,\r\n\t\"useInlineDiscount\": true,\r\n\t\"useInlineVat\": false,\r\n\t\"exemptAmount\": 0,\r\n\t\"vatableAmount\": 270,\r\n\t\"items\": [\r\n\t\t{\r\n            \"id\": 1001, //use existing product list id\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"name\": \"Service\",\r\n\t\t\t\"description\": \"Type service\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"บริการ\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41210\",\r\n\t\t\t\"buyChartOfAccountCode\": \"\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1002, //use existing product list id\r\n\t\t\t\"type\": 3,\r\n\t\t\t\"name\": \"Product Non Inventory\",\r\n\t\t\t\"description\": \"Type Non Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t},\r\n\t\t{\r\n            \"id\": 1003, //use existing product list id\r\n\t\t\t\"type\": 5,  //This type must create product before by using /product-masters\r\n\t\t\t\"name\": \"Product Inventory\",\r\n\t\t\t\"description\": \"Type Inventory\",\r\n\t\t\t\"quantity\": 1,\r\n\t\t\t\"unitName\": \"สินค้า\",\r\n\t\t\t\"pricePerUnit\": 100,\r\n\t\t\t\"total\": 90,\r\n\t\t\t\"sellChartOfAccountCode\": \"41110\",\r\n\t\t\t\"buyChartOfAccountCode\": \"51111.01\",\r\n            \"discountAmount\": 10,\r\n            \"vatRate\": 7\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/{{recordId}}","host":["{{api_gateway}}"],"path":["purchases","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:36:37.000Z","uid":"45983860-717275db-cb10-4467-8f00-b71517042ec6"},{"name":"Delete-RI-By-ID","event":[{"listen":"test","script":{"id":"1f984aad-fa6e-477e-ad2a-ccdc1ffa5bb9","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"4452547f-b3bb-44bc-b0f1-3060f56e43b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"DELETE","header":[],"url":{"raw":"{{api_gateway}}/purchases/{{recordId}}","host":["{{api_gateway}}"],"path":["purchases","{{recordId}}"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:36:43.000Z","uid":"45983860-4452547f-b3bb-44bc-b0f1-3060f56e43b2"},{"name":"Change-Status-RI","event":[{"listen":"test","script":{"id":"6cbf79a0-2c83-4ff0-80ce-ca95ac7058cc","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"ceb5621e-db97-4dc5-bce5-92c834041815","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/purchases/{{recordId}}/status/awaiting","host":["{{api_gateway}}"],"path":["purchases","{{recordId}}","status","awaiting"]}},"response":[{"id":"527389a3-5d7c-4364-863b-270c38c5bb72","name":"Change-Status-CA-Awaiting","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/purchases/5512755/status/awaiting","host":["{{api_gateway}}"],"path":["purchases","5512755","status","awaiting"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-527389a3-5d7c-4364-863b-270c38c5bb72"},{"id":"763f8822-9c8b-4fc0-b01f-dcac4e7865bb","name":"Change-Status-CA-Void","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{api_gateway}}/purchases/5512755/status/void","host":["{{api_gateway}}"],"path":["purchases","5512755","status","void"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-763f8822-9c8b-4fc0-b01f-dcac4e7865bb"}],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:36:49.000Z","uid":"45983860-ceb5621e-db97-4dc5-bce5-92c834041815"},{"name":"Change-Status-Paid-RI","event":[{"listen":"test","script":{"id":"0ae2868c-c5db-4603-8640-a3f66218dccb","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"bd916b0b-edf9-4c4d-bf74-06f5725859be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentPaidCash\",\r\n  \"documentId\": 5512185,\r\n  \"paymentMethod\": 1,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"paymentDeductionType\": 0,\r\n  \"paymentDeductionAmount\": 0,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Paid Cash\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/{{recordId}}/payment","host":["{{api_gateway}}"],"path":["purchases","{{recordId}}","payment"]}},"response":[{"id":"23863bff-c6ad-4b6f-b1ce-7d40ff0b2e33","name":"Change-Status-Paid-Cash","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentPaidCash\",\r\n  \"documentId\": 5512185,\r\n  \"paymentMethod\": 1,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Paid Cash\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/5512185/payment","host":["{{api_gateway}}"],"path":["purchases","5512185","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T05:39:16.000Z","updatedAt":"2025-07-21T05:40:51.000Z","uid":"45983860-23863bff-c6ad-4b6f-b1ce-7d40ff0b2e33"},{"id":"0a9c4d34-a684-441b-a5bd-4748605bfd9e","name":"Change-Status-Paid-Cheque","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentPaidCheque\",\r\n  \"documentId\": 5512185,\r\n  \"paymentMethod\": 3,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Paid Cheque\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0,\r\n  \"chequeDate\": \"2021-01-01\",\r\n  \"chequeNumber\": \"122-122-122\",\r\n  \"chequeBankAccountId\": 3,\r\n  \"bankAccountId\": 12345,\r\n  \"bankChequeId\": 1234,\r\n  \"paymentCharge\": 100.00\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/5512185/payment","host":["{{api_gateway}}"],"path":["purchases","5512185","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T05:39:16.000Z","updatedAt":"2025-07-21T05:42:21.000Z","uid":"45983860-0a9c4d34-a684-441b-a5bd-4748605bfd9e"},{"id":"eb6a05a4-d543-4474-b9f9-a0f271291a4d","name":"Change-Status-Paid-Transfer","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentPaidTransfer\",\r\n  \"documentId\": 5512185,\r\n  \"paymentMethod\": 5,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Paid Transfer\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0,\r\n  \"transferBankAccountId\": 3,\r\n  \"bankAccountId\": 12345,\r\n  \"paymentCharge\": 100.00\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/5512185/payment","host":["{{api_gateway}}"],"path":["purchases","5512185","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T05:39:16.000Z","updatedAt":"2025-07-21T05:44:15.000Z","uid":"45983860-eb6a05a4-d543-4474-b9f9-a0f271291a4d"},{"id":"b68332f4-eff4-4467-82ee-c62ed12b0339","name":"Change-Status-Paid-CreditCard","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentPaidCreditCard\",\r\n  \"documentId\": 5512185,\r\n  \"paymentMethod\": 7,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Paid Credit Card\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0,\r\n  \"creditCardBankAccountId\": 3,\r\n  \"creditCardId\": 12345\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/5512185/payment","host":["{{api_gateway}}"],"path":["purchases","5512185","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T05:44:26.000Z","updatedAt":"2025-07-21T05:45:36.000Z","uid":"45983860-b68332f4-eff4-4467-82ee-c62ed12b0339"},{"id":"35def1de-b5f1-4c8e-bdab-3a8731742732","name":"Change-Status-Paid-PettyCash","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentPaidPettyCash\",\r\n  \"documentId\": 5512185,\r\n  \"paymentMethod\": 11,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Paid Petty Cash\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0,\r\n  \"pettyCashId\": 1234,\r\n  \"pettyCashName\": \"Petty cash name 1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/5512185/payment","host":["{{api_gateway}}"],"path":["purchases","5512185","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T05:44:29.000Z","updatedAt":"2025-07-21T05:46:53.000Z","uid":"45983860-35def1de-b5f1-4c8e-bdab-3a8731742732"},{"id":"b02e5530-d3e4-4ca1-b67e-5f6dcc033c24","name":"Change-Status-Paid-OtherChannel","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"paymentStructureType\": \"PaymentPaidOtherChannel\",\r\n  \"documentId\": 5512185,\r\n  \"paymentMethod\": 13,\r\n  \"paymentDate\": \"2025-07-31\",\r\n  \"collected\": 100,\r\n  \"withheldPercentage\": 3,\r\n  \"withheldAmount\": 3.00,\r\n  \"paymentRemarks\": \"Payment Paid OtherChannel\",\r\n  \"remainingCollectedType\": 0,\r\n  \"remainingCollected\": 0,\r\n  \"otherChannelId\": 1234,\r\n  \"otherChannelPaymentChannel\": 1,\r\n  \"otherChannelName\": \"Mobile POS\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/5512185/payment","host":["{{api_gateway}}"],"path":["purchases","5512185","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-21T05:39:16.000Z","updatedAt":"2025-07-21T05:47:55.000Z","uid":"45983860-b02e5530-d3e4-4ca1-b67e-5f6dcc033c24"}],"createdAt":"2025-07-21T05:39:16.000Z","updatedAt":"2025-07-29T12:36:56.000Z","uid":"45983860-bd916b0b-edf9-4c4d-bf74-06f5725859be"},{"name":"Upload-File-RI","event":[{"listen":"test","script":{"id":"fbe31e7d-6aaa-444c-b2e5-ce1969736b8a","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{}}}],"id":"772cffe0-abc3-4578-b076-8e43446a39c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"","type":"file","src":"/C:/Users/findb/OneDrive/Pictures/BlueSea.jpg"}]},"url":{"raw":"{{api_gateway}}/purchases/{{recordId}}/attachment","host":["{{api_gateway}}"],"path":["purchases","{{recordId}}","attachment"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T12:37:02.000Z","uid":"45983860-772cffe0-abc3-4578-b076-8e43446a39c4"},{"name":"Send-Email-RI","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"id":"8c477dd4-dfb7-46f2-b35b-09081b8d0d5a"}}],"id":"46498d92-d333-4bb0-8735-64b3dec89099","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"documentId\": 19213241,\r\n  \"fromemail\": \"developer_support@flowaccount.com\",\r\n  \"toemail\": \"developer_support@flowaccount.com\",\r\n  \"cCMyself\": true,\r\n  \"ccEmail\": \"developer_support@flowaccount.com\",\r\n  \"bccEmail\": \"developer_support@flowaccount.com\",\r\n  \"subject\": \"Send Email\",\r\n  \"message\": \"Send Email from production\",\r\n  \"doCopy\": true,\r\n  \"documentStructureType\": \"SendEmailCoppies\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/email-document","host":["{{api_gateway}}"],"path":["purchases","email-document"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-46498d92-d333-4bb0-8735-64b3dec89099"},{"name":"Share-Document-RI","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"id":"dd443b1a-16b8-44c3-bcec-cb12ce56b6ca"}}],"id":"053fd126-6dc1-47b1-89ca-08eeabee5adf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"documentId\": 19213241,\r\n\t\"culture\": \"th\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/purchases/sharedocument","host":["{{api_gateway}}"],"path":["purchases","sharedocument"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-053fd126-6dc1-47b1-89ca-08eeabee5adf"}],"id":"ebe34b0c-1839-4d94-bc8a-bcd704bf869d","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-22T05:29:41.000Z","uid":"45983860-ebe34b0c-1839-4d94-bc8a-bcd704bf869d"},{"name":"Expense (EXP)","item":[{"name":"Get-All-Expense","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"id":"0b4964f9-82c6-41f6-b775-4fe72449cf5a"}}],"id":"5dce513f-df48-4696-841a-20cd88307a4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/expenses?currentPage=1&pageSize=20&range=3&month=7&year=2021","host":["{{api_gateway}}"],"path":["expenses"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true},{"key":"searchString","value":"","disabled":true},{"key":"range","value":"3"},{"key":"month","value":"7"},{"key":"year","value":"2021"}]}},"response":[{"id":"2e85922a-16cb-4bfb-a097-268526c79153","name":"Query-Previous Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/expenses?currentPage=1&pageSize=20&range=5&month=&year=2021","host":["{{api_gateway}}"],"path":["expenses"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"5","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":""},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-2e85922a-16cb-4bfb-a097-268526c79153"},{"id":"02a2c8f1-6082-4d70-ada3-b4653884cd82","name":"Query-Current Month","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/expenses?currentPage=1&pageSize=20&range=1&month=6&year=2021","host":["{{api_gateway}}"],"path":["expenses"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"1","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"6"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-02a2c8f1-6082-4d70-ada3-b4653884cd82"},{"id":"c7e3bc17-399d-4a2e-9d88-c27f1fcf4c7e","name":"Query-Fisical Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/expenses?currentPage=1&pageSize=20&range=&month=15&year=2021","host":["{{api_gateway}}"],"path":["expenses"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"15"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-c7e3bc17-399d-4a2e-9d88-c27f1fcf4c7e"},{"id":"dee9a858-4020-42ce-9d80-b1359b97ab74","name":"Query-Date Range","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/expenses?currentPage=1&pageSize=20&startDate=2021-06-01&endDate=2021-06-30&range=5","host":["{{api_gateway}}"],"path":["expenses"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"startDate","value":"2021-06-01"},{"key":"endDate","value":"2021-06-30"},{"key":"range","value":"5","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"year","value":"","disabled":true},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"month","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-dee9a858-4020-42ce-9d80-b1359b97ab74"},{"id":"04062ba0-a35f-4afb-b6b1-c90e59b53e49","name":"Query-Search String","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/expenses?currentPage=1&pageSize=20&searchString=EXP2021070001","host":["{{api_gateway}}"],"path":["expenses"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"searchString","value":"EXP2021070001","description":"Search by Contact Name, Project Name, Document Serial"},{"key":"range","value":"","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year","disabled":true},{"key":"month","value":"","disabled":true},{"key":"year","value":"","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-04062ba0-a35f-4afb-b6b1-c90e59b53e49"},{"id":"a7502ad3-dffd-44ed-aa85-94141b68ed12","name":"Query-Previous Month","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/expenses?currentPage=1&pageSize=20&range=3&month=5&year=2021","host":["{{api_gateway}}"],"path":["expenses"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"3","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"5"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-a7502ad3-dffd-44ed-aa85-94141b68ed12"},{"id":"2714fdb2-a5ad-40e1-a136-f2d88d62fd75","name":"Query-Current Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/expenses?currentPage=1&pageSize=20&range=7&year=2021","host":["{{api_gateway}}"],"path":["expenses"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"7","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"year","value":"2021"},{"key":"startDate","value":"2021-06-01","disabled":true},{"key":"endDate","value":"2021-06-30","disabled":true},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"month","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-2714fdb2-a5ad-40e1-a136-f2d88d62fd75"}],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-5dce513f-df48-4696-841a-20cd88307a4a"},{"name":"Get - Expense By Id","id":"118378f4-992c-4061-a38a-b8c131292957","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[{"key":"Postman-Token","value":"{{authorization_secret_-_uuid}}","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{api_gateway}}/expenses/{{recordId}}","host":["{{api_gateway}}"],"path":["expenses","{{recordId}}"]},"description":"แสดงข้อมูลเอกสารค่าใช้จ่าย ตามเลขที่ id เอกสาร\n\nDocument: https://developers.flowaccount.com/#tag/Expenses/paths/~1expenses~1inline~1with-payment/post"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-31T03:48:46.000Z","uid":"45983860-118378f4-992c-4061-a38a-b8c131292957"},{"name":"Get - Business Categories Expense","id":"c190d6b7-14ad-4127-b15e-58f544164799","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[{"key":"Postman-Token","value":"{{authorization_secret_-_uuid}}","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{api_gateway}}/expenses/categories/business","host":["{{api_gateway}}"],"path":["expenses","categories","business"]},"description":"เรียกดูข้อมูลหมวดหมู่เอกสารค่าใช้จ่าย (สำหรับนักธุรกิจ)\n\nDocument: https://developers.flowaccount.com/#tag/Expenses/paths/~1expenses~1categories~1business/get"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-c190d6b7-14ad-4127-b15e-58f544164799"},{"name":"Get - Accounting Categories Expense","id":"3fe2c99a-c1e8-4575-abe1-33299f810110","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[{"key":"Postman-Token","value":"{{authorization_secret_-_uuid}}","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{api_gateway}}/expenses/categories/accounting","host":["{{api_gateway}}"],"path":["expenses","categories","accounting"]},"description":"เรียกดูข้อมูลหมวดหมู่เอกสารค่าใช้จ่าย (สำหรับนักบัญชี)\n\nDocument: https://developers.flowaccount.com/#tag/Expenses/paths/~1expenses~1categories~1accounting/get"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-3fe2c99a-c1e8-4575-abe1-33299f810110"},{"name":"Create - Exp Simple (Exclusive vat)","id":"a93f0548-7629-40ea-a680-2dc59f341eb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"C0001\",\n  \"contactName\": \"บริษัท ตัวอย่าง จำกัด\",\n  \"contactAddress\": \"141/12 ชั้น 11 ยูนิต 12B อาคารชุด สกุลไทย สุรวงศ์ ทาวเวอร์ ถนนสุรวงศ์ แขวงสุริยวงศ์ เขตบางรัก กรุงเทพมหานคร\",\n  \"contactTaxId\": \"0105558096348\",\n  \"contactBranch\": \"สำนักงานใหญ่ 00000\",\n  \"contactPerson\": \"ชื่อผู้ติดต่อ\",\n  \"contactEmail\": \"developer_support@flowaccount.com\",\n  \"contactNumber\": \"099-999-9999\",\n  \"contactZipCode\": \"10500\",\n  \"contactGroup\": 1,\n  \"publishedOn\": \"2020-11-11\",\n  \"creditType\": 1,\n  \"creditDays\": 0,\n  \"dueDate\": \"2020-11-11\",\n  \"projectName\": \"Expense - Simple document exclusive vat\",\n  \"reference\": \"INV2020110001\",\n  \"isVatInclusive\": false,\n  \"salesName\": \"Sale Name\",\n  \"items\": [\n    {\n      \"description\": \"Marketing\",\n      \"systemCode\": 1001,\n      \"categoryId\": 199493,\n      \"nameForeign\": \"Marketing & Advertising\",\n      \"nameLocal\": \"การตลาดและโฆษณา\",\n      \"creditId\": 13775861,\n      \"creditCode\": \"21399\",\n      \"creditCategory\": 2,\n      \"creditNameForeign\": \"21399 / Other Payables\",\n      \"creditNameLocal\": \"21399 / เจ้าหนี้อืน\",\n      \"debitId\": 13776005,\n      \"debitCode\": \"53029\",\n      \"debitCategory\": 5,\n      \"debitNameForeign\": \"53029 / Other advertising and marketing expenses\",\n      \"debitNameLocal\": \"53029 / ค่าใช้จ่ายด้านโฆษณาและการตลาดอื่นๆนๆดอื่นๆ\",\n      \"quantity\": 1,\n      \"unitName\": \"Package\",\n      \"pricePerUnit\": 10000,\n      \"total\": 10000\n    }\n  ],\n  \"subTotal\": 10000,\n  \"discountPercentage\": 10,\n  \"discountAmount\": 1000,\n  \"totalAfterDiscount\": 9000,\n  \"isVat\": true,\n  \"vatAmount\": 630,\n  \"grandTotal\": 9630,\n  \"remarks\": \"Expense - Simple document exclusive vat\",\n  \"internalNotes\": \"Expense - Simple document exclusive vat\",\n  \"showSignatureOrStamp: true\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/expenses","host":["{{api_gateway}}"],"path":["expenses"]},"description":"สร้างเอกสารค่าใช้จ่าย\nSimple exclusive vat\n\nDocument: https://developers.flowaccount.com/#tag/Expenses/paths/~1expenses/post"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-a93f0548-7629-40ea-a680-2dc59f341eb7"},{"name":"Create - Exp Simple (Inclusive vat)","id":"5d21d395-fe3d-49a7-ad94-2b763518740c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"C0001\",\n  \"contactName\": \"บริษัท ตัวอย่าง จำกัด\",\n  \"contactAddress\": \"141/12 ชั้น 11 ยูนิต 12B อาคารชุด สกุลไทย สุรวงศ์ ทาวเวอร์ ถนนสุรวงศ์ แขวงสุริยวงศ์ เขตบางรัก กรุงเทพมหานคร\",\n  \"contactTaxId\": \"0105558096348\",\n  \"contactBranch\": \"สำนักงานใหญ่ 00000\",\n  \"contactPerson\": \"ชื่อผู้ติดต่อ\",\n  \"contactEmail\": \"developer_support@flowaccount.com\",\n  \"contactNumber\": \"099-999-9999\",\n  \"contactZipCode\": \"10500\",\n  \"contactGroup\": 1,\n  \"publishedOn\": \"2020-11-11\",\n  \"creditType\": 1,\n  \"creditDays\": 0,\n  \"dueDate\": \"2020-11-11\",\n  \"projectName\": \"Expense - Simple document inclusive vat\",\n  \"reference\": \"INV2020110001\",\n  \"isVatInclusive\": true,\n  \"salesName\": \"Sale Name\",\n  \"items\": [\n    {\n        \"description\": \"Marketing\",\n        \"systemCode\": 1001,\n\t\t\"categoryId\": 199493,\n        \"nameForeign\": \"Marketing & Advertising\",\n        \"nameLocal\": \"การตลาดและโฆษณา\",\n        \"creditId\": 13775861,\n        \"creditCode\": \"21399\",\n        \"creditCategory\": 2,\n        \"creditNameForeign\": \"21399 / Other Payables\",\n        \"creditNameLocal\": \"21399 / เจ้าหนี้อืน\",\n        \"debitId\": 13776005,\n        \"debitCode\": \"53029\",\n        \"debitCategory\": 5,\n        \"debitNameForeign\": \"53029 / Other advertising and marketing expenses\",\n        \"debitNameLocal\": \"53029 / ค่าใช้จ่ายด้านโฆษณาและการตลาดอื่นๆนๆดอื่นๆ\",\n        \"quantity\": 1,\n        \"unitName\": \"Package\",\n        \"pricePerUnit\": 10000,\n        \"total\": 10000\n    }\n  ],\n  \"subTotal\": 10000,\n  \"discountPercentage\": 10,\n  \"discountAmount\": 1000,\n  \"totalAfterDiscount\": 9000,\n  \"isVat\": true,\n  \"vatAmount\": 588.79,\n  \"grandTotal\": 9000,\n  \"remarks\": \"Expense - Simple document inclusive vat\",\n  \"internalNotes\": \"Expense - Simple document inclusive vat\",\n  \"showSignatureOrStamp: true\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/expenses","host":["{{api_gateway}}"],"path":["expenses"]},"description":"สร้างเอกสารค่าใช้จ่าย\nSimple inclusive vat\n\nDocument: https://developers.flowaccount.com/#tag/Expenses/paths/~1expenses/post"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-5d21d395-fe3d-49a7-ad94-2b763518740c"},{"name":"Create - Exp Inline discount percent","id":"f7801c4a-9b79-4b3d-b348-867659b51458","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"C0001\",\n  \"contactName\": \"บริษัท ตัวอย่าง จำกัด\",\n  \"contactAddress\": \"141/12 ชั้น 11 ยูนิต 12B อาคารชุด สกุลไทย สุรวงศ์ ทาวเวอร์ ถนนสุรวงศ์ แขวงสุริยวงศ์ เขตบางรัก กรุงเทพมหานคร\",\n  \"contactTaxId\": \"0105558096348\",\n  \"contactBranch\": \"สำนักงานใหญ่ 00000\",\n  \"contactPerson\": \"ชื่อผู้ติดต่อ\",\n  \"contactEmail\": \"developer_support@flowaccount.com\",\n  \"contactNumber\": \"099-999-9999\",\n  \"contactZipCode\": \"10500\",\n  \"contactGroup\": 1,\n  \"publishedOn\": \"2020-11-11\",\n  \"creditType\": 1,\n  \"creditDays\": 0,\n  \"dueDate\": \"2020-11-11\",\n  \"projectName\": \"Expense - Inline discount percentage inclusive vat\",\n  \"reference\": \"INV2020110001\",\n  \"isVatInclusive\": true,\n  \"salesName\": \"Sale Name\",\n  \"discountType\": 1,\n  \"useInlineDiscount\": true,\n  \"useInlineVat\": false,\n  \"items\": [\n    {\n      \"description\": \"Marketing\",\n      \"systemCode\": 1001,\n      \"categoryId\": 199493,\n      \"nameForeign\": \"Marketing & Advertising\",\n      \"nameLocal\": \"การตลาดและโฆษณา\",\n      \"creditId\": 13775861,\n      \"creditCode\": \"21399\",\n      \"creditCategory\": 2,\n      \"creditNameForeign\": \"21399 / Other Payables\",\n      \"creditNameLocal\": \"21399 / เจ้าหนี้อืน\",\n      \"debitId\": 13776005,\n      \"debitCode\": \"53029\",\n      \"debitCategory\": 5,\n      \"debitNameForeign\": \"53029 / Other advertising and marketing expenses\",\n      \"debitNameLocal\": \"53029 / ค่าใช้จ่ายด้านโฆษณาและการตลาดอื่นๆนๆดอื่นๆ\",\n      \"quantity\": 1,\n      \"unitName\": \"Package\",\n      \"pricePerUnit\": 10000,\n      \"discountAmount\": 10,\n      \"total\": 9000\n    }\n  ],\n  \"subTotal\": 10000,\n  \"discountAmount\": 1000,\n  \"exemptAmount\": 0,\n  \"vatableAmount\": 8411.21,\n  \"totalAfterDiscount\": 9000,\n  \"isVat\": true,\n  \"vatAmount\": 588.79,\n  \"grandTotal\": 9000,\n  \"remarks\": \"Expense - Inline discount percentage inclusive vat\",\n  \"internalNotes\": \"Expense - Inline discount percentage inclusive vat\",\n  \"showSignatureOrStamp: true\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/expenses/inline","host":["{{api_gateway}}"],"path":["expenses","inline"]},"description":"สร้างเอกสารค่าใช้จ่าย ส่วนลดเปอร์เซ็นต์ แยกตามรายการสินค้า\n\nInline discount percentage + inclusive vat\n\nDocument: http://developers.flowaccount.com/#tag/Expenses/paths/~1expenses~1inline/post"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-f7801c4a-9b79-4b3d-b348-867659b51458"},{"name":"Create - Exp Inline discount amount","id":"047c62c0-2659-4ef0-b33e-6fde0d1808b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"C0001\",\n  \"contactName\": \"บริษัท ตัวอย่าง จำกัด\",\n  \"contactAddress\": \"141/12 ชั้น 11 ยูนิต 12B อาคารชุด สกุลไทย สุรวงศ์ ทาวเวอร์ ถนนสุรวงศ์ แขวงสุริยวงศ์ เขตบางรัก กรุงเทพมหานคร\",\n  \"contactTaxId\": \"0105558096348\",\n  \"contactBranch\": \"สำนักงานใหญ่ 00000\",\n  \"contactPerson\": \"ชื่อผู้ติดต่อ\",\n  \"contactEmail\": \"developer_support@flowaccount.com\",\n  \"contactNumber\": \"099-999-9999\",\n  \"contactZipCode\": \"10500\",\n  \"contactGroup\": 1,\n  \"publishedOn\": \"2020-11-11\",\n  \"creditType\": 1,\n  \"creditDays\": 0,\n  \"dueDate\": \"2020-11-11\",\n  \"projectName\": \"Expense - Inline discount amount inclusive vat\",\n  \"reference\": \"INV2020110001\",\n  \"isVatInclusive\": true,\n  \"salesName\": \"Sale Name\",\n  \"discountType\": 3,\n  \"useInlineDiscount\": true,\n  \"useInlineVat\": false,\n  \"items\": [\n    {\n      \"description\": \"Marketing\",\n      \"systemCode\": 1001,\n      \"categoryId\": 199493,\n      \"nameForeign\": \"Marketing & Advertising\",\n      \"nameLocal\": \"การตลาดและโฆษณา\",\n      \"creditId\": 13775861,\n      \"creditCode\": \"21399\",\n      \"creditCategory\": 2,\n      \"creditNameForeign\": \"21399 / Other Payables\",\n      \"creditNameLocal\": \"21399 / เจ้าหนี้อืน\",\n      \"debitId\": 13776005,\n      \"debitCode\": \"53029\",\n      \"debitCategory\": 5,\n      \"debitNameForeign\": \"53029 / Other advertising and marketing expenses\",\n      \"debitNameLocal\": \"53029 / ค่าใช้จ่ายด้านโฆษณาและการตลาดอื่นๆนๆดอื่นๆ\",\n      \"quantity\": 1,\n      \"unitName\": \"Package\",\n      \"pricePerUnit\": 10000,\n      \"discountAmount\": 1000,\n      \"total\": 9000\n    }\n  ],\n  \"subTotal\": 10000,\n  \"discountAmount\": 1000,\n  \"exemptAmount\": 0,\n  \"vatableAmount\": 8411.21,\n  \"totalAfterDiscount\": 9000,\n  \"isVat\": true,\n  \"vatAmount\": 588.79,\n  \"grandTotal\": 9000,\n  \"remarks\": \"Expense - Inline discount amount inclusive vat\",\n  \"internalNotes\": \"Expense - Inline discount amount inclusive vat\",\n  \"showSignatureOrStamp: true\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/expenses/inline","host":["{{api_gateway}}"],"path":["expenses","inline"]},"description":"สร้างเอกสารค่าใช้จ่าย ส่วนลดแบบจำนวน แยกตามรายการสินค้า\n\nInline discount amount + inclusive vat\n\nDocument: http://developers.flowaccount.com/#tag/Expenses/paths/~1expenses~1inline/post"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-047c62c0-2659-4ef0-b33e-6fde0d1808b5"},{"name":"Create - Exp Inline vat (vat 7%)","id":"ae2febc4-d9b5-408d-84d5-2569f8930634","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"C0001\",\n  \"contactName\": \"บริษัท ตัวอย่าง จำกัด\",\n  \"contactAddress\": \"141/12 ชั้น 11 ยูนิต 12B อาคารชุด สกุลไทย สุรวงศ์ ทาวเวอร์ ถนนสุรวงศ์ แขวงสุริยวงศ์ เขตบางรัก กรุงเทพมหานคร\",\n  \"contactTaxId\": \"0105558096348\",\n  \"contactBranch\": \"สำนักงานใหญ่ 00000\",\n  \"contactPerson\": \"ชื่อผู้ติดต่อ\",\n  \"contactEmail\": \"developer_support@flowaccount.com\",\n  \"contactNumber\": \"099-999-9999\",\n  \"contactZipCode\": \"10500\",\n  \"contactGroup\": 1,\n  \"publishedOn\": \"2020-11-11\",\n  \"creditType\": 1,\n  \"creditDays\": 0,\n  \"dueDate\": \"2020-11-11\",\n  \"projectName\": \"Expense - Inline vat by item vat type 7%\",\n  \"reference\": \"INV2020110001\",\n  \"isVatInclusive\": true,\n  \"salesName\": \"Sale Name\",\n  \"discountType\": 1,\n  \"useInlineDiscount\": true,\n  \"useInlineVat\": true,\n  \"items\": [\n    {\n      \"description\": \"Marketing\",\n      \"systemCode\": 1001,\n      \"categoryId\": 199493,\n      \"nameForeign\": \"Marketing & Advertising\",\n      \"nameLocal\": \"การตลาดและโฆษณา\",\n      \"creditId\": 13775861,\n      \"creditCode\": \"21399\",\n      \"creditCategory\": 2,\n      \"creditNameForeign\": \"21399 / Other Payables\",\n      \"creditNameLocal\": \"21399 / เจ้าหนี้อืน\",\n      \"debitId\": 13776005,\n      \"debitCode\": \"53029\",\n      \"debitCategory\": 5,\n      \"debitNameForeign\": \"53029 / Other advertising and marketing expenses\",\n      \"debitNameLocal\": \"53029 / ค่าใช้จ่ายด้านโฆษณาและการตลาดอื่นๆนๆดอื่นๆ\",\n      \"quantity\": 1,\n      \"unitName\": \"Package\",\n      \"pricePerUnit\": 10000,\n      \"discountAmount\": 10,\n      \"vatRate\": 7,\n      \"total\": 9000\n    }\n  ],\n  \"subTotal\": 10000,\n  \"discountAmount\": 1000,\n  \"exemptAmount\": 0,\n  \"vatableAmount\": 8411.21,\n  \"totalAfterDiscount\": 9000,\n  \"isVat\": true,\n  \"vatAmount\": 588.79,\n  \"grandTotal\": 9000,\n  \"remarks\": \"Expense - Inline vat by item vat type 7%\",\n  \"internalNotes\": \"Expense - Inline vat by item vat type 7%\",\n  \"showSignatureOrStamp: true\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/expenses/inline","host":["{{api_gateway}}"],"path":["expenses","inline"]},"description":"สร้างเอกสารค่าใช้จ่าย ภาษีและส่วนลด แยกตามรายการสินค้า แบบมีภาษี 7 %\n\nInline discount amount + inclusive vat\n\nDocument: http://developers.flowaccount.com/#tag/Expenses/paths/~1expenses~1inline/post"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-ae2febc4-d9b5-408d-84d5-2569f8930634"},{"name":"Create - Exp Inline vat (no vat)","id":"39de07d1-e365-47cd-a949-2771f585e2a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"C0001\",\n  \"contactName\": \"บริษัท ตัวอย่าง จำกัด\",\n  \"contactAddress\": \"141/12 ชั้น 11 ยูนิต 12B อาคารชุด สกุลไทย สุรวงศ์ ทาวเวอร์ ถนนสุรวงศ์ แขวงสุริยวงศ์ เขตบางรัก กรุงเทพมหานคร\",\n  \"contactTaxId\": \"0105558096348\",\n  \"contactBranch\": \"สำนักงานใหญ่ 00000\",\n  \"contactPerson\": \"ชื่อผู้ติดต่อ\",\n  \"contactEmail\": \"developer_support@flowaccount.com\",\n  \"contactNumber\": \"099-999-9999\",\n  \"contactZipCode\": \"10500\",\n  \"contactGroup\": 1,\n  \"publishedOn\": \"2020-11-11\",\n  \"creditType\": 1,\n  \"creditDays\": 0,\n  \"dueDate\": \"2020-11-11\",\n  \"projectName\": \"Expense - Inline vat by item vat type no vat.\",\n  \"reference\": \"INV2020110001\",\n  \"isVatInclusive\": true,\n  \"salesName\": \"Sale Name\",\n  \"discountType\": 1,\n  \"useInlineDiscount\": true,\n  \"useInlineVat\": true,\n  \"items\": [\n    {\n      \"description\": \"Marketing\",\n      \"systemCode\": 1001,\n      \"categoryId\": 199493,\n      \"nameForeign\": \"Marketing & Advertising\",\n      \"nameLocal\": \"การตลาดและโฆษณา\",\n      \"creditId\": 13775861,\n      \"creditCode\": \"21399\",\n      \"creditCategory\": 2,\n      \"creditNameForeign\": \"21399 / Other Payables\",\n      \"creditNameLocal\": \"21399 / เจ้าหนี้อืน\",\n      \"debitId\": 13776005,\n      \"debitCode\": \"53029\",\n      \"debitCategory\": 5,\n      \"debitNameForeign\": \"53029 / Other advertising and marketing expenses\",\n      \"debitNameLocal\": \"53029 / ค่าใช้จ่ายด้านโฆษณาและการตลาดอื่นๆนๆดอื่นๆ\",\n      \"quantity\": 1,\n      \"unitName\": \"Package\",\n      \"pricePerUnit\": 10000,\n      \"discountAmount\": 10,\n      \"vatRate\": -1,\n      \"total\": 9000\n    }\n  ],\n  \"subTotal\": 10000,\n  \"discountAmount\": 1000,\n  \"exemptAmount\": 9000,\n  \"vatableAmount\": 0,\n  \"totalAfterDiscount\": 9000,\n  \"isVat\": true,\n  \"vatAmount\": 0,\n  \"grandTotal\": 9000,\n  \"remarks\": \"Expense - Inline vat by item vat type no vat.\",\n  \"internalNotes\": \"Expense - Inline vat by item vat type no vat.\",\n  \"showSignatureOrStamp: true\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/expenses/inline","host":["{{api_gateway}}"],"path":["expenses","inline"]},"description":"สร้างเอกสารค่าใช้จ่าย ภาษีและส่วนลด แยกตามรายการสินค้า แบบไม่มีภาษี\n\nInline discount amount inclusive vat\n\nDocument: http://developers.flowaccount.com/#tag/Expenses/paths/~1expenses~1inline/post"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-39de07d1-e365-47cd-a949-2771f585e2a6"},{"name":"Create - Exp Simple with payment (Exclusive vat)","id":"4ad6633d-cd95-4347-8ab9-d2d9176d989e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"C0001\",\n  \"contactName\": \"บริษัท ตัวอย่าง จำกัด\",\n  \"contactAddress\": \"141/12 ชั้น 11 ยูนิต 12B อาคารชุด สกุลไทย สุรวงศ์ ทาวเวอร์ ถนนสุรวงศ์ แขวงสุริยวงศ์ เขตบางรัก กรุงเทพมหานคร\",\n  \"contactTaxId\": \"0105558096348\",\n  \"contactBranch\": \"สำนักงานใหญ่ 00000\",\n  \"contactPerson\": \"ชื่อผู้ติดต่อ\",\n  \"contactEmail\": \"developer_support@flowaccount.com\",\n  \"contactNumber\": \"099-999-9999\",\n  \"contactZipCode\": \"10500\",\n  \"contactGroup\": 1,\n  \"publishedOn\": \"2020-11-11\",\n  \"creditType\": 1,\n  \"creditDays\": 0,\n  \"dueDate\": \"2020-11-11\",\n  \"projectName\": \"Expense - Simple document with payment exclusive vat\",\n  \"reference\": \"INV2020110001\",\n  \"isVatInclusive\": false,\n  \"salesName\": \"Sale Name\",\n  \"items\": [\n    {\n      \"description\": \"Marketing\",\n      \"systemCode\": 1001,\n      \"categoryId\": 199493,\n      \"nameForeign\": \"Marketing & Advertising\",\n      \"nameLocal\": \"การตลาดและโฆษณา\",\n      \"creditId\": 13775861,\n      \"creditCode\": \"21399\",\n      \"creditCategory\": 2,\n      \"creditNameForeign\": \"21399 / Other Payables\",\n      \"creditNameLocal\": \"21399 / เจ้าหนี้อืน\",\n      \"debitId\": 13776005,\n      \"debitCode\": \"53029\",\n      \"debitCategory\": 5,\n      \"debitNameForeign\": \"53029 / Other advertising and marketing expenses\",\n      \"debitNameLocal\": \"53029 / ค่าใช้จ่ายด้านโฆษณาและการตลาดอื่นๆนๆดอื่นๆ\",\n      \"quantity\": 1,\n      \"unitName\": \"Package\",\n      \"pricePerUnit\": 10000,\n      \"total\": 10000\n    }\n  ],\n  \"subTotal\": 10000,\n  \"discountPercentage\": 10,\n  \"discountAmount\": 1000,\n  \"totalAfterDiscount\": 9000,\n  \"isVat\": true,\n  \"vatAmount\": 630,\n  \"grandTotal\": 9630,\n  \"remarks\": \"Expense - Simple document exclusive vat\",\n  \"internalNotes\": \"Expense - Simple document exclusive vat\",\n  \"showSignatureOrStamp: true\": true,\n  \"paymentMethod\": 1,\n  \"paymentDate\": \"2020-11-11\",\n  \"collected\": 9630,\n  \"withheldPercentage\": 0,\n  \"withheldAmount\": 0,\n  \"paymentRemarks\": \"create expense simple with payment cash\",\n  \"remainingCollectedType\": 0,\n  \"remainingCollected\": 0\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/expenses/with-payment","host":["{{api_gateway}}"],"path":["expenses","with-payment"]},"description":"สร้างเอกสารค่าใช้จ่าย พร้อมเปลี่ยนสถานะชำระเงินแล้ว\n\nSimple with payment exclusive vat\n\nDocument: http://developers.flowaccount.com/#tag/Expenses/paths/~1expenses~1with-payment/post"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-4ad6633d-cd95-4347-8ab9-d2d9176d989e"},{"name":"Create - Exp Simple with payment (Exclusive vat) Test","id":"4e1d4461-56ff-4b80-930d-752be7f8eaf5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"contactCode\": \"\",\n\t\"contactName\": \"Omise Co., Ltd.\",\n\t\"contactAddress\": \"1448/4, J2 Building, Soi Ladprao 87 (Chandrasuk), Praditmanutham Road, Klongchan, Bangkapi, Bangkok\",\n\t\"contactTaxId\": \"0105556091152\",\n\t\"contactBranch\": \"Head Office\",\n\t\"contactPerson\": \"\",\n\t\"contactEmail\": \"\",\n\t\"contactNumber\": \"\",\n\t\"contactZipCode\": \"10240\",\n\t\"contactGroup\": 3,\n\t\"publishedOn\": \"2021-06-15\",\n\t\"creditType\": 1,\n\t\"creditDays\": 0,\n\t\"dueDate\": \"2021-06-15\",\n\t\"salesName\": \"sale@apitel.co\",\n\t\"projectName\": \"\",\n\t\"reference\": \"invoice: INV2021060007\",\n\t\"isVatInclusive\": true,\n\t\"discountType\": 1,\n\t\"useInlineDiscount\": false,\n\t\"useInlineVat\": false,\n\t\"expenseCategoryView\": 3,\n\t\"items\": [\n\t\t{\n\t\t\t\"description\": \"Marketing\",\n\t\t\t\"systemCode\": 1001,\n\t\t\t\"categoryId\": 199493,\n\t\t\t\"nameForeign\": \"Marketing & Advertising\",\n\t\t\t\"nameLocal\": \"การตลาดและโฆษณา\",\n\t\t\t\"creditId\": 13775861,\n\t\t\t\"creditCode\": \"21399\",\n\t\t\t\"creditCategory\": 2,\n\t\t\t\"creditNameForeign\": \"21399 / Other Payables\",\n\t\t\t\"creditNameLocal\": \"21399 / เจ้าหนี้อืน\",\n\t\t\t\"debitId\": 13776005,\n\t\t\t\"debitCode\": \"53029\",\n\t\t\t\"debitCategory\": 5,\n\t\t\t\"debitNameForeign\": \"53029 / Other advertising and marketing expenses\",\n\t\t\t\"debitNameLocal\": \"53029 / ค่าใช้จ่ายด้านโฆษณาและการตลาดอื่นๆนๆดอื่นๆ\",\n\t\t\t\"quantity\": 1,\n\t\t\t\"unitName\": \"Package\",\n\t\t\t\"pricePerUnit\": 10000,\n\t\t\t\"total\": 10000\n\t\t}\n\t],\n\t\"subTotal\": 41.789999999999964,\n\t\"discountPercentage\": 0,\n\t\"discountAmount\": 0,\n\t\"totalAfterDiscount\": 41.789999999999964,\n\t\"isVat\": true,\n\t\"grandTotal\": 41.789999999999964,\n\t\"remarks\": \"Transaction fee for invoice: INV2021060007\",\n\t\"internalNotes\": \"\",\n\t\"showSignatureOrStamp\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/expenses","host":["{{api_gateway}}"],"path":["expenses"]},"description":"สร้างเอกสารค่าใช้จ่าย พร้อมเปลี่ยนสถานะชำระเงินแล้ว\n\nSimple with payment exclusive vat\n\nDocument: http://developers.flowaccount.com/#tag/Expenses/paths/~1expenses~1with-payment/post"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-4e1d4461-56ff-4b80-930d-752be7f8eaf5"},{"name":"Create - Exp Inline vat with payment (vat 7%)","id":"a22aaa5d-0217-4ec3-9b69-ae65a482666d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"contactCode\": \"C0001\",\n  \"contactName\": \"บริษัท ตัวอย่าง จำกัด\",\n  \"contactAddress\": \"141/12 ชั้น 11 ยูนิต 12B อาคารชุด สกุลไทย สุรวงศ์ ทาวเวอร์ ถนนสุรวงศ์ แขวงสุริยวงศ์ เขตบางรัก กรุงเทพมหานคร\",\n  \"contactTaxId\": \"0105558096348\",\n  \"contactBranch\": \"สำนักงานใหญ่ 00000\",\n  \"contactPerson\": \"ชื่อผู้ติดต่อ\",\n  \"contactEmail\": \"developer_support@flowaccount.com\",\n  \"contactNumber\": \"099-999-9999\",\n  \"contactZipCode\": \"10500\",\n  \"contactGroup\": 1,\n  \"publishedOn\": \"2020-11-11\",\n  \"creditType\": 1,\n  \"creditDays\": 0,\n  \"dueDate\": \"2020-11-11\",\n  \"projectName\": \"Expense - Inline vat by item vat type 7%\",\n  \"reference\": \"INV2020110001\",\n  \"isVatInclusive\": true,\n  \"salesName\": \"Sale Name\",\n  \"discountType\": 1,\n  \"useInlineDiscount\": true,\n  \"useInlineVat\": true,\n  \"items\": [\n    {\n      \"description\": \"Marketing\",\n      \"systemCode\": 1001,\n      \"categoryId\": 199493,\n      \"nameForeign\": \"Marketing & Advertising\",\n      \"nameLocal\": \"การตลาดและโฆษณา\",\n      \"creditId\": 13775861,\n      \"creditCode\": \"21399\",\n      \"creditCategory\": 2,\n      \"creditNameForeign\": \"21399 / Other Payables\",\n      \"creditNameLocal\": \"21399 / เจ้าหนี้อืน\",\n      \"debitId\": 13776005,\n      \"debitCode\": \"53029\",\n      \"debitCategory\": 5,\n      \"debitNameForeign\": \"53029 / Other advertising and marketing expenses\",\n      \"debitNameLocal\": \"53029 / ค่าใช้จ่ายด้านโฆษณาและการตลาดอื่นๆนๆดอื่นๆ\",\n      \"quantity\": 1,\n      \"unitName\": \"Package\",\n      \"pricePerUnit\": 10000,\n      \"discountAmount\": 10,\n      \"vatRate\": 7,\n      \"total\": 9000\n    }\n  ],\n  \"subTotal\": 10000,\n  \"discountAmount\": 1000,\n  \"exemptAmount\": 0,\n  \"vatableAmount\": 8411.21,\n  \"totalAfterDiscount\": 9000,\n  \"isVat\": true,\n  \"vatAmount\": 588.79,\n  \"grandTotal\": 9000,\n  \"remarks\": \"Expense - Inline vat by item vat type 7%\",\n  \"internalNotes\": \"Expense - Inline vat by item vat type 7%\",\n  \"showSignatureOrStamp: true\": true,\n  \"paymentMethod\": 1,\n  \"paymentDate\": \"2020-11-11\",\n  \"collected\": 9630,\n  \"withheldPercentage\": 0,\n  \"withheldAmount\": 0,\n  \"paymentRemarks\": \"create expense simple with payment cash\",\n  \"remainingCollectedType\": 0,\n  \"remainingCollected\": 0\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/expenses/inline/with-payment","host":["{{api_gateway}}"],"path":["expenses","inline","with-payment"]},"description":"สร้างเอกสารค่าใช้จ่าย ภาษีและส่วนลด แยกตามรายการสินค้า พร้อมเปลี่ยนสถานะชำระเงินแล้ว\n\nInline vat + inline discount percent + inclusive vat \n\nDocument: http://developers.flowaccount.com/#tag/Expenses/paths/~1expenses~1inline~1with-payment/post"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-a22aaa5d-0217-4ec3-9b69-ae65a482666d"},{"name":"Update - Exp Simple (Exclusive vat) by Id","id":"7ec5f718-b9ee-45d0-b831-87ffb1db5d56","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"companyName\": \"บริษัท ตัวอย่าง จำกัด\",\n  \"companyNameEn\": \"Example Co., Ltd.\",\n  \"companyAddress\": \"141 ชั้น 40 อาคารชุด สกุลไทย สุรวงศ์ ทาวเวอร์ ถนนสุรวงศ์ แขวงสุริยวงศ์ เขตบางรัก กรุงเทพมหานคร 10500  \",\n  \"companyAddressEn\": \"141 40th fl. Skulthai Surawong Tower Surawong Rd. Suriyawong, Bangrak, Bangkok, Thailand 10500  \",\n  \"companyTaxId\": \"0123456789123\",\n  \"companyBranch\": \"สำนักงานใหญ่ Head Office\",\n  \"companyBranchEn\": \"สำนักงานใหญ่ 00000\",\n  \"companyPhone\": \"02-999-9999\",\n  \"companyMobile\": \"099-999-9999\",\n  \"companyFax\": \"02-999-9999\",\n  \"companyWebsite\": \"www.yourwebsite.com\",\n  \"contactCode\": \"C0001\",\n  \"contactName\": \"บริษัท ตัวอย่าง จำกัด\",\n  \"contactAddress\": \"141/12 ชั้น 11 ยูนิต 12B อาคารชุด สกุลไทย สุรวงศ์ ทาวเวอร์ ถนนสุรวงศ์ แขวงสุริยวงศ์ เขตบางรัก กรุงเทพมหานคร\",\n  \"contactTaxId\": \"0105558096348\",\n  \"contactBranch\": \"สำนักงานใหญ่ 00000\",\n  \"contactPerson\": \"ชื่อผู้ติดต่อ\",\n  \"contactEmail\": \"developer_support@flowaccount.com\",\n  \"contactNumber\": \"099-999-9999\",\n  \"contactZipCode\": \"10500\",\n  \"contactGroup\": 1,\n  \"publishedOn\": \"2020-11-11\",\n  \"creditType\": 1,\n  \"creditDays\": 0,\n  \"dueDate\": \"2020-11-11\",\n  \"projectName\": \"Expense - Simple document exclusive vat\",\n  \"reference\": \"INV2020110001\",\n  \"isVatInclusive\": false,\n  \"salesName\": \"Sale Name\",\n  \"items\": [\n    {\n      \"description\": \"Marketing\",\n      \"systemCode\": 1001,\n      \"categoryId\": 199493,\n      \"nameForeign\": \"Marketing & Advertising\",\n      \"nameLocal\": \"การตลาดและโฆษณา\",\n      \"creditId\": 13775861,\n      \"creditCode\": \"21399\",\n      \"creditCategory\": 2,\n      \"creditNameForeign\": \"21399 / Other Payables\",\n      \"creditNameLocal\": \"21399 / เจ้าหนี้อืน\",\n      \"debitId\": 13776005,\n      \"debitCode\": \"53029\",\n      \"debitCategory\": 5,\n      \"debitNameForeign\": \"53029 / Other advertising and marketing expenses\",\n      \"debitNameLocal\": \"53029 / ค่าใช้จ่ายด้านโฆษณาและการตลาดอื่นๆนๆดอื่นๆ\",\n      \"quantity\": 1,\n      \"unitName\": \"Package\",\n      \"pricePerUnit\": 10000,\n      \"total\": 10000\n    }\n  ],\n  \"subTotal\": 10000,\n  \"discountPercentage\": 10,\n  \"discountAmount\": 1000,\n  \"totalAfterDiscount\": 9000,\n  \"isVat\": true,\n  \"vatAmount\": 630,\n  \"grandTotal\": 9630,\n  \"remarks\": \"Expense - Simple document exclusive vat\",\n  \"internalNotes\": \"Expense - Simple document exclusive vat\",\n  \"showSignatureOrStamp: true\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/expenses/{{recordId}}","host":["{{api_gateway}}"],"path":["expenses","{{recordId}}"]},"description":"อัพเดรต เอกสารค่าใช้จ่าย\nUpdate Simple exclusive vat\n\nDocument: http://developers.flowaccount.com/#tag/Expenses/paths/~1expenses~1{id}/put"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-31T03:49:02.000Z","uid":"45983860-7ec5f718-b9ee-45d0-b831-87ffb1db5d56"},{"name":"Delete - Expense By Id","id":"f5aebade-14a5-46c9-af2a-8d6463c1a310","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"DELETE","header":[{"key":"Postman-Token","value":"{{authorization_secret_-_uuid}}","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{api_gateway}}/expenses/{{recordId}}","host":["{{api_gateway}}"],"path":["expenses","{{recordId}}"]},"description":"ลบเอกสารค่าใช้จ่าย ตามเลขที่ id เอกสาร\n\nDocument: https://developers.flowaccount.com/#tag/Expenses/paths/~1expenses~1{id}/delete"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-31T03:49:10.000Z","uid":"45983860-f5aebade-14a5-46c9-af2a-8d6463c1a310"},{"name":"Change Status - Expense","id":"d03a7adc-dfce-4a48-a8a5-2347cae8ba4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[{"key":"Postman-Token","value":"{{authorization_secret_-_uuid}}","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{api_gateway}}/expenses/{{recordId}}/status/void","host":["{{api_gateway}}"],"path":["expenses","{{recordId}}","status","void"],"query":[{"key":"","value":"","disabled":true}]},"description":"เปลี่ยนสถานะเอกสารค่าใช้จ่าย\n\nDocument: https://developers.flowaccount.com/#tag/Expenses/paths/~1expenses~1{id}~1status~1{statusId}/post\n\\\n\\\n**เปลี่ยนสถานะเอกสารได้ 3 สถานะ**\n\\\nawiating = รอดำเนินการ\n\\\nreceived = รับใบเสร็จแล้ว \n\\\nvoid = ยกเลิก"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-31T03:49:19.000Z","uid":"45983860-d03a7adc-dfce-4a48-a8a5-2347cae8ba4b"},{"name":"Change Status Payment - Expense","id":"d1e9adcf-5460-4eb6-9a1c-f04d1bb33a36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"documentId\": 5482973,\n    \"paymentMethod\": 1,\n    \"paymentDate\": \"2020-01-01\",\n    \"collected\": 249.60,\n    \"withheldPercentage\": 3,\n    \"withheldAmount\": 7.20,\n    \"paymentRemarks\": \"Payment Cash\",\n    \"remainingCollectedType\": 0,\n    \"remainingCollected\": 0\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/expenses/{{recordId}}/payment","host":["{{api_gateway}}"],"path":["expenses","{{recordId}}","payment"]},"description":"เปลี่ยนสถานะเอกสารค่าใช้จ่าย เป็นชำระเงินแล้ว\n\nhttp://developers.flowaccount.com/#tag/Expenses/paths/~1expenses~1{id}~1payment/post"},"response":[{"id":"49fbab94-9369-49af-b28f-0cb54c7d3511","name":"Payment - Transfer + WHT% + Fee","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"documentId\": 7298651,\n\t\"paymentDate\": \"2021-02-16\",\n\t\"collected\": 97.2,\n\t\"paymentDeductionType\": 0,\n\t\"paymentDeductionAmount\": 0,\n\t\"withheldPercentage\": 3,\n\t\"withheldAmount\": 2.8,\n\t\"paymentMethod\": 5,\n\t\"paymentCharge\": \"10\",\n\t\"chequeDate\": \"2021-02-16\",\n\t\"paymentRemarks\": \"โอนเงิน + ค่าธรรมเนียม + หัก ณ ที่จ่าย\",\n\t\"remainingCollectedType\": 0,\n\t\"remainingCollected\": 0,\n\t\"transferBankAccountId\": 2,\n\t\"bankAccountId\": 66191\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/expenses/7298651/payment","host":["{{api_gateway}}"],"path":["expenses","7298651","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-49fbab94-9369-49af-b28f-0cb54c7d3511"},{"id":"fb806170-8521-4367-a546-9495cd3c92d2","name":"Payment - Petty Cash + WHT %","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"documentId\": 7298651,\n\t\"paymentDate\": \"2021-02-16\",\n\t\"collected\": 97.2,\n\t\"paymentDeductionType\": 0,\n\t\"paymentDeductionAmount\": 0,\n\t\"withheldPercentage\": 3,\n\t\"withheldAmount\": 2.8,\n\t\"paymentCharge\": 0,\n\t\"paymentMethod\": 11,\n\t\"chequeDate\": \"2021-02-16\",\n\t\"paymentRemarks\": \"เงินสดย่อย\",\n\t\"remainingCollectedType\": 0,\n\t\"remainingCollected\": 0,\n\t\"pettyCashId\": 601,\n\t\"pettyCashName\": \"เงินสดย่อย\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/expenses/7298651/payment","host":["{{api_gateway}}"],"path":["expenses","7298651","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-fb806170-8521-4367-a546-9495cd3c92d2"},{"id":"f1e844c8-1b0f-46fd-b358-4077c320b646","name":"Payment - EDC + WHT %","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"documentId\": 7298651,\n\t\"paymentDate\": \"2021-02-16\",\n\t\"collected\": 97.2,\n\t\"paymentDeductionType\": 0,\n\t\"paymentDeductionAmount\": 0,\n\t\"withheldPercentage\": 3,\n\t\"withheldAmount\": 2.8,\n\t\"paymentMethod\": 13,\n\t\"paymentCharge\": 0,\n\t\"chequeDate\": \"2021-02-16\",\n\t\"paymentRemarks\": \"EDC + WHT %\",\n\t\"remainingCollectedType\": 0,\n\t\"remainingCollected\": 0,\n\t\"otherChannelId\": 1213,\n\t\"otherChannelPaymentChannel\": 5,\n\t\"otherChannelName\": \"EDC\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/expenses/7298651/payment","host":["{{api_gateway}}"],"path":["expenses","7298651","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-f1e844c8-1b0f-46fd-b358-4077c320b646"},{"id":"c188d6a7-551a-4cce-a452-8afe00d829b1","name":"Payment - Ecommerce + WHT %","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"documentId\": 7298651,\n\t\"paymentDate\": \"2021-02-16\",\n\t\"collected\": 97.2,\n\t\"paymentDeductionType\": 0,\n\t\"paymentDeductionAmount\": 0,\n\t\"withheldPercentage\": 3,\n\t\"withheldAmount\": 2.8,\n\t\"paymentMethod\": 13,\n\t\"paymentCharge\": 0,\n\t\"chequeDate\": \"2021-02-16\",\n\t\"paymentRemarks\": \"E-Commerce + WHT %\",\n\t\"remainingCollectedType\": 0,\n\t\"remainingCollected\": 0,\n\t\"otherChannelId\": 1216,\n\t\"otherChannelPaymentChannel\": 7,\n\t\"otherChannelName\": \"E-Commerce\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/expenses/7298651/payment","host":["{{api_gateway}}"],"path":["expenses","7298651","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-c188d6a7-551a-4cce-a452-8afe00d829b1"},{"id":"eb782fcb-24ec-4230-a439-bc45ab04257a","name":"Payment - Gateway + WHT %","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"documentId\": 7298651,\n\t\"paymentDate\": \"2021-02-16\",\n\t\"collected\": 97.2,\n\t\"paymentDeductionType\": 0,\n\t\"paymentDeductionAmount\": 0,\n\t\"withheldPercentage\": 3,\n\t\"withheldAmount\": 2.8,\n\t\"paymentMethod\": 13,\n\t\"paymentCharge\": 0,\n\t\"chequeDate\": \"2021-02-16\",\n\t\"paymentRemarks\": \"Payment Gateway + WHT %\",\n\t\"remainingCollectedType\": 0,\n\t\"remainingCollected\": 0,\n\t\"otherChannelId\": 1215,\n\t\"otherChannelPaymentChannel\": 3,\n\t\"otherChannelName\": \"Payment Gateway\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/expenses/7298651/payment","host":["{{api_gateway}}"],"path":["expenses","7298651","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-eb782fcb-24ec-4230-a439-bc45ab04257a"},{"id":"43fef0be-6b97-4181-a192-e39bcffd3486","name":"Payment - Petty Cash","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"documentId\": 7298651,\n\t\"paymentDate\": \"2021-02-16\",\n\t\"collected\": 100,\n\t\"paymentDeductionType\": 0,\n\t\"paymentDeductionAmount\": 0,\n\t\"withheldPercentage\": 0,\n\t\"withheldAmount\": 0,\n\t\"paymentCharge\": 0,\n\t\"paymentMethod\": 11,\n\t\"chequeDate\": \"2021-02-16\",\n\t\"paymentRemarks\": \"เงินสดย่อย\",\n\t\"remainingCollectedType\": 0,\n\t\"remainingCollected\": 0,\n\t\"pettyCashId\": 601,\n\t\"pettyCashName\": \"เงินสดย่อย\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/expenses/7298651/payment","host":["{{api_gateway}}"],"path":["expenses","7298651","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-43fef0be-6b97-4181-a192-e39bcffd3486"},{"id":"eab97c19-48af-4e92-aa7b-0cf12ea3723b","name":"Payment - POS + WHT %","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"documentId\": 7298651,\n\t\"paymentDate\": \"2021-02-16\",\n\t\"collected\": 97.2,\n\t\"paymentDeductionType\": 0,\n\t\"paymentDeductionAmount\": 0,\n\t\"withheldPercentage\": 3,\n\t\"withheldAmount\": 2.8,\n\t\"paymentMethod\": 13,\n\t\"paymentCharge\": 0,\n\t\"chequeDate\": \"2021-02-16\",\n\t\"paymentRemarks\": \"POS + WHT %\",\n\t\"remainingCollectedType\": 0,\n\t\"remainingCollected\": 0,\n\t\"otherChannelId\": 1214,\n\t\"otherChannelPaymentChannel\": 1,\n\t\"otherChannelName\": \"POS\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/expenses/7298651/payment","host":["{{api_gateway}}"],"path":["expenses","7298651","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-eab97c19-48af-4e92-aa7b-0cf12ea3723b"},{"id":"3b409dc7-9282-4662-8c0b-82b8d4c5496e","name":"Payment - Credit Card + WHT %","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"documentId\": 7298651,\n\t\"paymentDate\": \"2021-02-16\",\n\t\"collected\": 97.2,\n\t\"paymentDeductionType\": 0,\n\t\"paymentDeductionAmount\": 0,\n\t\"withheldPercentage\": 3,\n\t\"withheldAmount\": 2.8,\n\t\"paymentMethod\": 7,\n\t\"paymentCharge\": 0,\n\t\"chequeDate\": \"2021-02-16\",\n\t\"paymentRemarks\": \"บัตรเครดิต + หัก ณ ที่จ่าย\",\n\t\"remainingCollectedType\": 0,\n\t\"remainingCollected\": 0,\n\t\"creditCardBankAccountId\": 2,\n\t\"bankAccountId\": 0,\n\t\"creditCardId\": 959\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/expenses/7298651/payment","host":["{{api_gateway}}"],"path":["expenses","7298651","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-3b409dc7-9282-4662-8c0b-82b8d4c5496e"},{"id":"65fda58b-f22e-4a6e-8b40-7671963ad5d1","name":"Payment - Cheque + WHT% + Fee","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"documentId\": 7298651,\n\t\"paymentDate\": \"2021-02-16\",\n\t\"collected\": 97.2,\n\t\"paymentDeductionType\": 0,\n\t\"paymentDeductionAmount\": 0,\n\t\"withheldPercentage\": 3,\n\t\"withheldAmount\": 2.8,\n\t\"paymentMethod\": 3,\n\t\"paymentCharge\": \"10\",\n\t\"chequeDate\": \"2021-02-16\",\n\t\"paymentRemarks\": \"โอนเงิน + ค่าธรรมเนียม + หัก ณ ที่จ่าย\",\n\t\"remainingCollectedType\": 0,\n\t\"remainingCollected\": 0,\n\t\"chequeBankAccountId\": 2,\n\t\"bankAccountId\": 66191,\n\t\"bankChequeId\": 4250\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/expenses/7298651/payment","host":["{{api_gateway}}"],"path":["expenses","7298651","payment"]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-65fda58b-f22e-4a6e-8b40-7671963ad5d1"}],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-31T03:49:32.000Z","uid":"45983860-d1e9adcf-5460-4eb6-9a1c-f04d1bb33a36"},{"name":"Attachment File - Expense","id":"afced6bc-c8f7-4ea2-b446-7da28660c88f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[{"key":"Postman-Token","value":"{{authorization_secret_-_uuid}}","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"attachment","type":"file","value":null,"disabled":true}]},"url":{"raw":"{{api_gateway}}/expenses/{{recordId}}/attachment ","host":["{{api_gateway}}"],"path":["expenses","{{recordId}}","attachment "]},"description":"แนบไฟล์ในเอกสารค่าใช้จ่าย\n\nDocument: https://developers.flowaccount.com/#tag/Expenses/paths/~1expenses~1{id}~1attachment/post"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-31T03:49:41.000Z","uid":"45983860-afced6bc-c8f7-4ea2-b446-7da28660c88f"},{"name":"Sharedocument - Expense","id":"8cd35ded-833f-45ab-9732-844542129357","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"documentId\" : 1542393\n}"},"url":{"raw":"{{api_gateway}}/expenses/sharedocument","host":["{{api_gateway}}"],"path":["expenses","sharedocument"]},"description":"สร้างลิงค์เอกสารค่าใช้จ่าย\n\nDocument: https://developers.flowaccount.com/#tag/Expenses/paths/~1expenses~1sharedocument/post"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-8cd35ded-833f-45ab-9732-844542129357"},{"name":"Send Email - Expense","id":"a6be5d8c-5330-47b2-97e4-a743e9895e1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"documentId\" : 1542393,\n\t\"fromemail\" : \"developer_support@flowaccount.com\",\n\t\"toemail\" : \"developer_support@flowaccount.com\",\n\t\"cCMyself\" : true,\n\t\"ccEmail\" : \"developer_support@flowaccount.com\",\n    \"bccEmail\" : \"developer_support@flowaccount.com\",\n    \"subject\" : \"wittholding tax document\",\n    \"message\" : \"send email from API\",\n    \"culture\" : \"th\"\n}"},"url":{"raw":"{{api_gateway}}/expenses/email-document","host":["{{api_gateway}}"],"path":["expenses","email-document"]},"description":"ส่งเอกสารค่าใช้จ่าย ให้ผู้รับทางอีเมล\n\nDocument: https://developers.flowaccount.com/#tag/Expenses/paths/~1expenses~1email-document/post"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-a6be5d8c-5330-47b2-97e4-a743e9895e1f"}],"id":"ab1121e4-fdb5-436e-8e09-afe1809b8cc1","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-22T05:28:32.000Z","uid":"45983860-ab1121e4-fdb5-436e-8e09-afe1809b8cc1"},{"name":"Withholding Tax (WHT)","item":[{"name":"Get - WHT","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {\r","\tpm.response.to.have.status(200);\r","});"],"id":"999563db-0f24-4ab2-bb64-e73d1bc42eb1"}}],"id":"46da1e71-dbe8-4a7a-920b-851fa1ac3417","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/withholding-taxes?currentPage=1&pageSize=20&range=3&month=7&year=2021","host":["{{api_gateway}}"],"path":["withholding-taxes"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true},{"key":"searchString","value":"","disabled":true},{"key":"range","value":"3"},{"key":"month","value":"7"},{"key":"year","value":"2021"}]}},"response":[{"id":"fc51e96b-fb4a-45f7-8a4c-ef82b9c55526","name":"Query-Previous Month","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/withholding-taxes?currentPage=1&pageSize=20&range=3&month=5&year=2021","host":["{{api_gateway}}"],"path":["withholding-taxes"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"3","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"5"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-fc51e96b-fb4a-45f7-8a4c-ef82b9c55526"},{"id":"6c9d575c-3d13-4848-a70b-d027b00cd258","name":"Query-Current Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/withholding-taxes?currentPage=1&pageSize=20&range=7&year=2021","host":["{{api_gateway}}"],"path":["withholding-taxes"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"7","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"year","value":"2021"},{"key":"startDate","value":"2021-06-01","disabled":true},{"key":"endDate","value":"2021-06-30","disabled":true},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"month","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-6c9d575c-3d13-4848-a70b-d027b00cd258"},{"id":"72f54e2e-bb2d-4311-8861-8154b610e881","name":"Query-Date Range","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/withholding-taxes?currentPage=1&pageSize=20&startDate=2021-06-01&endDate=2021-06-30&range=5","host":["{{api_gateway}}"],"path":["withholding-taxes"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"startDate","value":"2021-06-01"},{"key":"endDate","value":"2021-06-30"},{"key":"range","value":"5","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"year","value":"","disabled":true},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"month","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-72f54e2e-bb2d-4311-8861-8154b610e881"},{"id":"3214910e-5919-42a5-b7c9-7f9471cac268","name":"Query-Search String","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/withholding-taxes?currentPage=1&pageSize=20&searchString=WHT2021070001","host":["{{api_gateway}}"],"path":["withholding-taxes"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"searchString","value":"WHT2021070001","description":"Search by Contact Name, Project Name, Document Serial"},{"key":"range","value":"","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year","disabled":true},{"key":"month","value":"","disabled":true},{"key":"year","value":"","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-3214910e-5919-42a5-b7c9-7f9471cac268"},{"id":"06efeb52-678b-450a-a2d2-a588702c45e0","name":"Query-Previous Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/withholding-taxes?currentPage=1&pageSize=20&range=5&month=&year=2021","host":["{{api_gateway}}"],"path":["withholding-taxes"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"5","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":""},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-06efeb52-678b-450a-a2d2-a588702c45e0"},{"id":"f95937ea-1339-49a9-9770-75fa9884d19a","name":"Query-Current Month","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/withholding-taxes?currentPage=1&pageSize=20&range=1&month=6&year=2021","host":["{{api_gateway}}"],"path":["withholding-taxes"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"1","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"6"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-f95937ea-1339-49a9-9770-75fa9884d19a"},{"id":"f3d7c3bb-7712-4e1e-b5bc-f93045869d31","name":"Query-Fisical Year","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/withholding-taxes?currentPage=1&pageSize=20&range=&month=15&year=2021","host":["{{api_gateway}}"],"path":["withholding-taxes"],"query":[{"key":"currentPage","value":"1"},{"key":"pageSize","value":"20"},{"key":"range","value":"","description":"0=all, 1=Current Month, 3=Previous Month, 5=Date Range, 7=Current Year, 9=Previous Year, 15=Fiscal Year"},{"key":"month","value":"15"},{"key":"year","value":"2021"},{"key":"searchString","value":"BL2021070001","description":"Search by Contact Name, Project Name, Document Serial","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"endDate","value":"","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-f3d7c3bb-7712-4e1e-b5bc-f93045869d31"}],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-46da1e71-dbe8-4a7a-920b-851fa1ac3417"},{"name":"Get - WHT By Id","id":"db691c2f-2d5b-49c9-851c-6424ea2ca30c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[{"key":"Postman-Token","value":"{{authorization_secret_-_uuid}}","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{api_gateway}}/withholding-taxes/{{recordId}}","host":["{{api_gateway}}"],"path":["withholding-taxes","{{recordId}}"]},"description":"แสดงข้อมูลเอกสารหัก ณ ที่จ่าย ตามเลขที่ id เอกสาร\n\nDocument: https://developers.flowaccount.com/#tag/Withholding-Tax/paths/~1withholding-taxes~1{id}/get"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-31T03:50:01.000Z","uid":"45983860-db691c2f-2d5b-49c9-851c-6424ea2ca30c"},{"name":"Change Status - WHT By Id","id":"9c830e2c-6d42-4f00-b8a4-5696bb6feeb5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[{"key":"Postman-Token","value":"{{authorization_secret_-_uuid}}","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{api_gateway}}/withholding-taxes/{{recordId}}/status/void","host":["{{api_gateway}}"],"path":["withholding-taxes","{{recordId}}","status","void"],"query":[{"key":"","value":"","disabled":true}]},"description":"เปลี่ยนสถานะเอกสารใบหัก ณ ที่จ่าย\n\nDocument: https://developers.flowaccount.com/#tag/Withholding-Tax/paths/~1withholding-taxes~1{id}~1status~1{statusId}/post"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-31T03:50:08.000Z","uid":"45983860-9c830e2c-6d42-4f00-b8a4-5696bb6feeb5"},{"name":"Sharedocument - WHT","id":"b35a1be1-232b-4361-b215-cf5eec406081","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"documentId\" : 1542393\n}"},"url":{"raw":"{{api_gateway}}/withholding-taxes/sharedocument","host":["{{api_gateway}}"],"path":["withholding-taxes","sharedocument"]},"description":"สร้างลิงค์เอกสารใบหัก ณ ที่จ่าย \n\nDocument https://developers.flowaccount.com/#tag/Withholding-Tax/paths/~1withholding-taxes~1sharedocument/post\n\\\n\\\n**เปลี่ยนสถานะเอกสารได้ 3 สถานะ**\n\\\nawiating = รอดำเนินการ\n\\\napprovedandprocessed = ดำเนินการแล้ว \n\\\nvoid = ยกเลิก"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-b35a1be1-232b-4361-b215-cf5eec406081"},{"name":"Send Email - WHT","id":"38d6e354-8d12-417a-a4cb-3063e58d1310","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"documentId\" : 1542393,\n\t\"fromemail\" : \"developer_support@flowaccount.com\",\n\t\"toemail\" : \"developer_support@flowaccount.com\",\n\t\"cCMyself\" : true,\n\t\"ccEmail\" : \"developer_support@flowaccount.com\",\n    \"bccEmail\" : \"developer_support@flowaccount.com\",\n    \"subject\" : \"wittholding tax document\",\n    \"message\" : \"send email from API\",\n    \"culture\" : \"th\"\n}"},"url":{"raw":"{{api_gateway}}/withholding-taxes/email-document","host":["{{api_gateway}}"],"path":["withholding-taxes","email-document"]},"description":"ส่งเอกสารใบหัก ณ ที่จ่าย ให้ผู้รับทางอีเมล\n\nDocument https://developers.flowaccount.com/#tag/Withholding-Tax/paths/~1withholding-taxes~1email-document/post"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-38d6e354-8d12-417a-a4cb-3063e58d1310"},{"name":"Attachment File - WHT","id":"6fb55ddb-4108-42ec-b315-1cea6e94d01c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[{"key":"Postman-Token","value":"{{authorization_secret_-_uuid}}","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"attachment","type":"file","value":null,"disabled":true}]},"url":{"raw":"{{api_gateway}}/withholding-taxes/{{recordId}}/attachment ","host":["{{api_gateway}}"],"path":["withholding-taxes","{{recordId}}","attachment "]},"description":"แนบไฟล์ในเอกสารใบหัก ณ ที่จ่าย\n\nDocument: https://developers.flowaccount.com/#tag/Withholding-Tax/paths/~1withholding-taxes~1{id}~1attachment/post"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-31T03:50:22.000Z","uid":"45983860-6fb55ddb-4108-42ec-b315-1cea6e94d01c"},{"name":"Create - WHT","id":"d94f1966-f4ec-4636-b887-de86b9ba0b6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"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},{"key":"authorization","value":"{{vault:bearer-token}}","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":{"raw":"{{api_gateway}}/withholding-taxes","host":["{{api_gateway}}"],"path":["withholding-taxes"]},"description":"สร้างเอกสารใบหัก ณ ที่จ่าย\n\nDocument: https://developers.flowaccount.com/#tag/Withholding-Tax/paths/~1withholding-taxes/post"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-d94f1966-f4ec-4636-b887-de86b9ba0b6c"},{"name":"Delete - WHT By Id","id":"29d034f3-ba4d-48b0-bfe0-3423b10dcd2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"DELETE","header":[{"key":"Postman-Token","value":"{{authorization_secret_-_uuid}}","disabled":true},{"key":"cache-control","value":"no-cache","disabled":true},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{api_gateway}}/withholding-taxes/{{recordId}}","host":["{{api_gateway}}"],"path":["withholding-taxes","{{recordId}}"]},"description":"ลบเอกสารใบหัก ณ ที่จ่าย ตามเลขที่ id เอกสาร\n\nDocument: https://developers.flowaccount.com/#tag/Withholding-Tax/paths/~1withholding-taxes~1{id}/delete"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-31T03:50:36.000Z","uid":"45983860-29d034f3-ba4d-48b0-bfe0-3423b10dcd2d"},{"name":"Update - WHT By Id","id":"b45e09e1-f416-43a1-a32f-178c83abb680","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"PUT","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},{"key":"authorization","value":"{{vault:bearer-token}}","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    \"companyName\": \"ชื่อบริษัท\",\r\n    \"companyNameEn\": \"Company Name English\",\r\n    \"companyAddress\": \"ที่อยู่บริษัท\",\r\n    \"companyAddressEn\": \"Company address english\",\r\n    \"companyTaxId\": \"1234567890123\",\r\n    \"companyBranch\": \"สำนักงานใหญ่\",\r\n    \"companyBranchEn\": \"Head Office\",\r\n    \"companyPhone\": \"02-222-2222\",\r\n    \"companyMobile\": \"099-999-9999\",\r\n    \"companyFax\": \"02-222-2222\",\r\n    \"companyWebsite\": \"www.example.com\",\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":{"raw":"{{api_gateway}}/withholding-taxes/{{recordId}}","host":["{{api_gateway}}"],"path":["withholding-taxes","{{recordId}}"]},"description":"อัพเดตข้อมูลเอกสารใบหัก ณ ที่จ่าย\n\nDocument: https://developers.flowaccount.com/#tag/Withholding-Tax/paths/~1withholding-taxes~1{id}/put"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-31T03:50:44.000Z","uid":"45983860-b45e09e1-f416-43a1-a32f-178c83abb680"}],"id":"b2aa4508-c0df-4dcd-b305-98cb62d0cb96","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-b2aa4508-c0df-4dcd-b305-98cb62d0cb96"},{"name":"Journal Entry","item":[{"name":"Draft Journals","item":[{"name":"Draft Journal Voucher (JV)","id":"57583adf-f24b-49bf-a253-30f4b800158d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"documentType\": 51, //required\n    \"documentDate\": \"2024-02-28\", //required\n    \"contactId\": \"\",\n    \"contactName\": \"exampleName\", //required\n    \"description\": \"example description 1\", //required\n    \"note\": \"example note\",\n    \"remarks\": \"example remark\",\n    \"reference\": \"DOC000001\",\n    \"bookOfAccounts\": [ //required\n        {\n            \"debitCredit\": 1, //required\n            \"chartOfAccountId\": 351811341, //required \n            \"value\": \"107\", //required\n            \"description\": \"example description 2\"\n        },\n        {\n            \"debitCredit\": 3, //required\n            \"chartOfAccountId\": 351811341, //required\n            \"value\": \"100\", //required\n            \"description\": \"example description 3\"\n        },\n        {\n            \"debitCredit\": 3, //required\n            \"chartOfAccountId\": 351811341, //required\n            \"value\": \"7\", //required\n            \"description\": \"example description 4\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/journal-entries/draft","host":["{{api_gateway}}"],"path":["journal-entries","draft"]}},"response":[],"createdAt":"2025-07-14T11:49:03.000Z","updatedAt":"2025-07-15T11:08:09.000Z","uid":"45983860-57583adf-f24b-49bf-a253-30f4b800158d"},{"name":"Draft Purchase Voucher (UV)","id":"17779a2d-b137-44c5-beae-72d2bd68fa2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"documentType\": 53, //required\n    \"documentDate\": \"2024-02-28\", //required\n    \"contactId\": \"\",\n    \"contactName\": \"exampleName\", //required\n    \"description\": \"example description 1\", //required\n    \"note\": \"example note\",\n    \"remarks\": \"example remark\",\n    \"reference\": \"DOC000001\",\n    \"bookOfAccounts\": [ //required\n        {\n            \"debitCredit\": 1, //required\n            \"chartOfAccountId\": 351811341, //required \n            \"value\": \"107\", //required\n            \"description\": \"example description 2\"\n        },\n        {\n            \"debitCredit\": 3, //required\n            \"chartOfAccountId\": 351811341, //required\n            \"value\": \"100\", //required\n            \"description\": \"example description 3\"\n        },\n        {\n            \"debitCredit\": 3, //required\n            \"chartOfAccountId\": 351811341, //required\n            \"value\": \"7\", //required\n            \"description\": \"example description 4\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/journal-entries/draft","host":["{{api_gateway}}"],"path":["journal-entries","draft"]}},"response":[],"createdAt":"2025-07-15T10:56:23.000Z","updatedAt":"2025-07-15T11:08:10.000Z","uid":"45983860-17779a2d-b137-44c5-beae-72d2bd68fa2c"},{"name":"Draft Sales Voucher (SV)","id":"75057f27-19fe-448a-ad1d-41fd72d1987d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"documentType\": 55, //required\n    \"documentDate\": \"2024-02-28\", //required\n    \"contactId\": \"\",\n    \"contactName\": \"exampleName\", //required\n    \"description\": \"example description 1\", //required\n    \"note\": \"example note\",\n    \"remarks\": \"example remark\",\n    \"reference\": \"DOC000001\",\n    \"bookOfAccounts\": [ //required\n        {\n            \"debitCredit\": 1, //required\n            \"chartOfAccountId\": 351811341, //required \n            \"value\": \"107\", //required\n            \"description\": \"example description 2\"\n        },\n        {\n            \"debitCredit\": 3, //required\n            \"chartOfAccountId\": 351811341, //required\n            \"value\": \"100\", //required\n            \"description\": \"example description 3\"\n        },\n        {\n            \"debitCredit\": 3, //required\n            \"chartOfAccountId\": 351811341, //required\n            \"value\": \"7\", //required\n            \"description\": \"example description 4\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/journal-entries/draft","host":["{{api_gateway}}"],"path":["journal-entries","draft"]}},"response":[],"createdAt":"2025-07-15T10:57:44.000Z","updatedAt":"2025-07-15T11:08:15.000Z","uid":"45983860-75057f27-19fe-448a-ad1d-41fd72d1987d"},{"name":"Draft Payment Voucher (PV)","id":"2ff8dce3-9225-4374-b74f-f9bb1f5aae80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"documentType\": 57, //required\n    \"documentDate\": \"2024-02-28\", //required\n    \"contactId\": \"\",\n    \"contactName\": \"exampleName\", //required\n    \"description\": \"example description 1\", //required\n    \"note\": \"example note\",\n    \"remarks\": \"example remark\",\n    \"reference\": \"DOC000001\",\n    \"bookOfAccounts\": [ //required\n        {\n            \"debitCredit\": 1, //required\n            \"chartOfAccountId\": 351811341, //required \n            \"value\": \"107\", //required\n            \"description\": \"example description 2\"\n        },\n        {\n            \"debitCredit\": 3, //required\n            \"chartOfAccountId\": 351811341, //required\n            \"value\": \"100\", //required\n            \"description\": \"example description 3\"\n        },\n        {\n            \"debitCredit\": 3, //required\n            \"chartOfAccountId\": 351811341, //required\n            \"value\": \"7\", //required\n            \"description\": \"example description 4\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/journal-entries/draft","host":["{{api_gateway}}"],"path":["journal-entries","draft"]}},"response":[],"createdAt":"2025-07-15T10:59:50.000Z","updatedAt":"2025-07-15T11:08:21.000Z","uid":"45983860-2ff8dce3-9225-4374-b74f-f9bb1f5aae80"},{"name":"Draft Received Voucher (RV)","id":"54b1c91d-d2f0-4ef7-9d7f-e680acfb8fc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"documentType\": 59, //required\n    \"documentDate\": \"2024-02-28\", //required\n    \"contactId\": \"\",\n    \"contactName\": \"exampleName\", //required\n    \"description\": \"example description 1\", //required\n    \"note\": \"example note\",\n    \"remarks\": \"example remark\",\n    \"reference\": \"DOC000001\",\n    \"bookOfAccounts\": [ //required\n        {\n            \"debitCredit\": 1, //required\n            \"chartOfAccountId\": 351811341, //required \n            \"value\": \"107\", //required\n            \"description\": \"example description 2\"\n        },\n        {\n            \"debitCredit\": 3, //required\n            \"chartOfAccountId\": 351811341, //required\n            \"value\": \"100\", //required\n            \"description\": \"example description 3\"\n        },\n        {\n            \"debitCredit\": 3, //required\n            \"chartOfAccountId\": 351811341, //required\n            \"value\": \"7\", //required\n            \"description\": \"example description 4\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/journal-entries/draft","host":["{{api_gateway}}"],"path":["journal-entries","draft"]}},"response":[],"createdAt":"2025-07-15T11:00:19.000Z","updatedAt":"2025-07-15T11:08:50.000Z","uid":"45983860-54b1c91d-d2f0-4ef7-9d7f-e680acfb8fc2"}],"id":"e35039bd-2ea8-48cd-af97-84f39cc10658","createdAt":"2025-07-14T11:48:32.000Z","updatedAt":"2025-07-15T11:00:19.000Z","uid":"45983860-e35039bd-2ea8-48cd-af97-84f39cc10658"},{"name":"Approved Journals","item":[{"name":"Approved Journal Voucher (JV)","id":"7711faeb-0ff3-4e30-ac7b-bf5a7925544d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"description\": \"example description 1\",\n  \"documentDate\": \"2024-01-31\",\n  \"documentType\": 51,\n  \"remarks\": \"\",\n  \"note\": \"example note\",\n  \"reference\": \"example reference\",\n  \"contactId\": \"\",\n  \"contactName\": \"exampleName\",\n  \"bookOfAccounts\": [\n    {\n      \"debitCredit\": 1,\n      \"chartOfAccountId\": 351811341, //get from ChartOfAccount\n      \"value\": 100,\n      \"description\": \"example description 2\"\n    },\n    {\n      \"debitCredit\": 3,\n      \"chartOfAccountId\": 351811341, //get from ChartOfAccount\n      \"value\": 100,\n      \"description\": \"example description 3\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/journal-entries/approve","host":["{{api_gateway}}"],"path":["journal-entries","approve"]}},"response":[],"createdAt":"2025-07-15T11:11:27.000Z","updatedAt":"2025-07-15T11:21:45.000Z","uid":"45983860-7711faeb-0ff3-4e30-ac7b-bf5a7925544d"},{"name":"Approved Purchase Voucher (UV)","id":"e4f78a93-20e4-4e87-b225-622cb4614e97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"description\": \"example description 1\",\n  \"documentDate\": \"2024-01-31\",\n  \"documentType\": 53,\n  \"remarks\": \"\",\n  \"note\": \"example note\",\n  \"reference\": \"example reference\",\n  \"contactId\": \"\",\n  \"contactName\": \"exampleName\",\n  \"bookOfAccounts\": [\n    {\n      \"debitCredit\": 1,\n      \"chartOfAccountId\": 351811341, //get from ChartOfAccount\n      \"value\": 100,\n      \"description\": \"example description 2\"\n    },\n    {\n      \"debitCredit\": 3,\n      \"chartOfAccountId\": 351811341, //get from ChartOfAccount\n      \"value\": 100,\n      \"description\": \"example description 3\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/journal-entries/approve","host":["{{api_gateway}}"],"path":["journal-entries","approve"]}},"response":[],"createdAt":"2025-07-15T11:32:20.000Z","updatedAt":"2025-07-15T11:32:54.000Z","uid":"45983860-e4f78a93-20e4-4e87-b225-622cb4614e97"},{"name":"Approved Sales Voucher (SV)","id":"d39416b7-3bc8-4907-ad1b-f21df4080208","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"description\": \"example description 1\",\n  \"documentDate\": \"2024-01-31\",\n  \"documentType\": 55,\n  \"remarks\": \"\",\n  \"note\": \"example note\",\n  \"reference\": \"example reference\",\n  \"contactId\": \"\",\n  \"contactName\": \"exampleName\",\n  \"bookOfAccounts\": [\n    {\n      \"debitCredit\": 1,\n      \"chartOfAccountId\": 351811341, //get from ChartOfAccount\n      \"value\": 100,\n      \"description\": \"example description 2\"\n    },\n    {\n      \"debitCredit\": 3,\n      \"chartOfAccountId\": 351811341, //get from ChartOfAccount\n      \"value\": 100,\n      \"description\": \"example description 3\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/journal-entries/approve","host":["{{api_gateway}}"],"path":["journal-entries","approve"]}},"response":[],"createdAt":"2025-07-15T11:32:59.000Z","updatedAt":"2025-07-15T11:33:19.000Z","uid":"45983860-d39416b7-3bc8-4907-ad1b-f21df4080208"},{"name":"Approved Payment Voucher (PV)","id":"b397c6b5-4a24-49e2-b616-8b1149afa65f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"description\": \"example description 1\",\n  \"documentDate\": \"2024-01-31\",\n  \"documentType\": 57,\n  \"remarks\": \"\",\n  \"note\": \"example note\",\n  \"reference\": \"example reference\",\n  \"contactId\": \"\",\n  \"contactName\": \"exampleName\",\n  \"bookOfAccounts\": [\n    {\n      \"debitCredit\": 1,\n      \"chartOfAccountId\": 351811341, //get from ChartOfAccount\n      \"value\": 100,\n      \"description\": \"example description 2\"\n    },\n    {\n      \"debitCredit\": 3,\n      \"chartOfAccountId\": 351811341, //get from ChartOfAccount\n      \"value\": 100,\n      \"description\": \"example description 3\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/journal-entries/approve","host":["{{api_gateway}}"],"path":["journal-entries","approve"]}},"response":[],"createdAt":"2025-07-15T11:36:49.000Z","updatedAt":"2025-07-15T11:37:15.000Z","uid":"45983860-b397c6b5-4a24-49e2-b616-8b1149afa65f"},{"name":"Approved Received Voucher (RV)","id":"2d2d2a3d-4e13-4e48-854b-bd02b4ce4166","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"description\": \"example description 1\",\n  \"documentDate\": \"2024-01-31\",\n  \"documentType\": 59,\n  \"remarks\": \"\",\n  \"note\": \"example note\",\n  \"reference\": \"example reference\",\n  \"contactId\": \"\",\n  \"contactName\": \"exampleName\",\n  \"bookOfAccounts\": [\n    {\n      \"debitCredit\": 1,\n      \"chartOfAccountId\": 351811341, //get from ChartOfAccount\n      \"value\": 100,\n      \"description\": \"example description 2\"\n    },\n    {\n      \"debitCredit\": 3,\n      \"chartOfAccountId\": 351811341, //get from ChartOfAccount\n      \"value\": 100,\n      \"description\": \"example description 3\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/journal-entries/approve","host":["{{api_gateway}}"],"path":["journal-entries","approve"]}},"response":[],"createdAt":"2025-07-15T11:37:25.000Z","updatedAt":"2025-07-15T11:37:51.000Z","uid":"45983860-2d2d2a3d-4e13-4e48-854b-bd02b4ce4166"}],"id":"22b457f7-701a-4a7b-b969-49f8f700a2f0","createdAt":"2025-07-14T11:48:42.000Z","updatedAt":"2025-07-15T11:37:25.000Z","uid":"45983860-22b457f7-701a-4a7b-b969-49f8f700a2f0"}],"id":"fc328401-adb9-44b2-a9c0-94e58696231e","createdAt":"2025-07-14T11:46:50.000Z","updatedAt":"2025-07-16T05:57:10.000Z","uid":"45983860-fc328401-adb9-44b2-a9c0-94e58696231e"},{"name":"Chart of Account (COA)","item":[{"name":"Get List Chart Of Account","id":"3d79801b-7631-45c4-8ee4-db1f3fedee99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/chart-of-accounts/accounts","host":["{{api_gateway}}"],"path":["chart-of-accounts","accounts"]}},"response":[],"createdAt":"2025-07-14T11:55:04.000Z","updatedAt":"2025-07-15T11:45:17.000Z","uid":"45983860-3d79801b-7631-45c4-8ee4-db1f3fedee99"}],"id":"6b195bbf-9b3f-4c4c-9cfd-77c64ba4d0f8","createdAt":"2025-07-14T11:54:51.000Z","updatedAt":"2025-07-16T05:57:41.000Z","uid":"45983860-6b195bbf-9b3f-4c4c-9cfd-77c64ba4d0f8"},{"name":"Product Master","item":[{"name":"Get All Product Masters","id":"01f87054-e60b-4790-ba8c-b9b8cba7a362","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[{"key":"Authorization","value":"{{vault:bearer-token}}"}],"url":{"raw":"{{api_gateway}}/product-masters?filter=%5B%7B'columnName'%3A'productCode'%2C'columnValue'%3A'N0001'%7D%5D","host":["{{api_gateway}}"],"path":["product-masters"],"query":[{"key":"currentPage","value":"1","type":"text","disabled":true},{"key":"pageSize","value":"20","type":"text","disabled":true},{"key":"sortBy","value":"[{'name':'productCode','sortOrder':'asc'}]","type":"text","disabled":true},{"key":"sortBy","value":"[{\"name\":\"name\",\"sortOrder\":\"desc\"}]","type":"text","disabled":true},{"key":"filter","value":"[{'columnName':'categoryId','columnValue':'517725','columnPredicateOperator':'And'}]","type":"text","disabled":true},{"key":"filter","value":"[{'columnName':'name','columnValue':'Product Master Service','columnPredicateOperator':'And'}]","type":"text","disabled":true},{"key":"filter","value":"[{'columnName':'type','columnValue':'1','columnPredicateOperator':'And'}]","type":"text","disabled":true},{"key":"filter","value":"%5B%7B'columnName'%3A'productCode'%2C'columnValue'%3A'N0001'%7D%5D"}]}},"response":[],"createdAt":"2025-07-15T11:40:26.000Z","updatedAt":"2025-07-16T06:04:32.000Z","uid":"45983860-01f87054-e60b-4790-ba8c-b9b8cba7a362"},{"name":"Create Product Master","id":"bde5507e-111b-4f87-8dee-b437c98766dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"type\": 1,\n    \"code\": \"S0001\",\n    \"name\": \"Product Master Service\",\n    \"categoryName\": \"Description Product Master Service\",\n    \"sellSettings\": {\n        \"vatType\": 1,\n        \"description\": \"Sell vat type settings description\",\n        \"chartOfAccountId\": 3424143\n    },\n    \"productLists\": [\n        {\n            \"unitName\": \"ครั้ง\",\n            \"sellPrice\": 10000.0,\n            \"buyPrice\": 10000.0,\n            \"barcode\": \"SERVICE\",\n            \"isMainProduct\": true\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/product-masters","host":["{{api_gateway}}"],"path":["product-masters"]}},"response":[{"id":"29cb8871-ce73-4480-b60d-9140fba30417","name":"Create Product Master Service","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"type\": 1,\n    \"code\": \"S0001\",\n    \"name\": \"Product Master Service\",\n    \"categoryName\": \"Description Product Master Service\",\n    \"sellSettings\": {\n        \"vatType\": 1,\n        \"description\": \"Sell vat type settings description\",\n        \"chartOfAccountId\": 3424143\n    },\n    \"productLists\": [\n        {\n            \"unitName\": \"ครั้ง\",\n            \"sellPrice\": 10000.0,\n            \"buyPrice\": 10000.0,\n            \"barcode\": \"SERVICE\",\n            \"isMainProduct\": true\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/product-masters","host":["{{api_gateway}}"],"path":["product-masters"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T09:34:08.000Z","updatedAt":"2025-07-21T08:56:21.000Z","uid":"45983860-29cb8871-ce73-4480-b60d-9140fba30417"},{"id":"5656da78-2135-44c5-bbf0-17ef0e74455a","name":"Create Product Master Non Inventory","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"type\": 3,\n    \"code\": \"N0001\",\n    \"name\": \"Product Master Non Inventory\",\n    \"categoryName\": \"Description Product Master Non Inventory\",\n    \"sellSettings\": {\n        \"vatType\": 1,\n        \"description\": \"Sell vat type settings description\",\n        \"chartOfAccountId\": 3424143\n    },\n    \"buySettings\": {\n        \"vatType\": 3,\n        \"description\": \"Buy vat type settings description\",\n        \"chartOfAccountId\": 3424143\n    },\n    \"nonInventorySettings\": {\n        \"productNonInventoryType\": 11\n    },\n    \"productLists\": [\n        {\n            \"unitName\": \"กระสอบ\",\n            \"sellPrice\": 1000.0,\n            \"buyPrice\": 950.0,\n            \"barcode\": \"NON-INVENTORY\",\n            \"isMainProduct\": true\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/product-masters","host":["{{api_gateway}}"],"path":["product-masters"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T09:34:27.000Z","updatedAt":"2025-07-21T08:56:39.000Z","uid":"45983860-5656da78-2135-44c5-bbf0-17ef0e74455a"},{"id":"774d5cfe-438f-4401-b74d-bf9ab514a899","name":"Create Product Master Inventory - Single unit","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"type\": 5,\n    \"code\": \"IN001\",\n    \"name\": \"Product Master Inventory - Single Item\",\n    \"categoryName\": \"Description Product Master Inventory\",\n    \"sellSettings\": {\n        \"vatType\": 5,\n        \"description\": \"Sell vat type settings description\",\n        \"chartOfAccountId\": 3424143\n    },\n    \"buySettings\": {\n        \"vatType\": 3,\n        \"description\": \"Buy vat type settings description\",\n        \"chartOfAccountId\": 3424143\n    },\n    \"inventorySettings\": {\n        \"inventoryPublishedOn\": \"2024-01-01\",\n        \"inventoryQuantity\": 10000.0,\n        \"inventoryPrice\": 95.0\n    },\n    \"productLists\": [\n        {\n            \"unitName\": \"หน่วย\",\n            \"barcode\": \"INVENTORY-00\",\n            \"buyPrice\": 1000,\n            \"sellPrice\": 100\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/product-masters","host":["{{api_gateway}}"],"path":["product-masters"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T09:34:38.000Z","updatedAt":"2025-07-21T08:58:05.000Z","uid":"45983860-774d5cfe-438f-4401-b74d-bf9ab514a899"},{"id":"7c58befe-32e6-40c1-94a6-893f2b98b0db","name":"Create Product Master Inventory - Multiple units","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"type\": 5,\n    \"code\": \"IN002\",\n    \"name\": \"Product Master Inventory - Multiple Items\",\n    \"categoryName\": \"Description Product Master Inventory\",\n    \"sellSettings\": {\n        \"vatType\": 5,\n        \"description\": \"Sell vat type settings description\",\n        \"chartOfAccountId\": 3424143\n    },\n    \"buySettings\": {\n        \"vatType\": 3,\n        \"description\": \"Buy vat type settings description\",\n        \"chartOfAccountId\": 3424143\n    },\n    \"inventorySettings\": {\n        \"inventoryPublishedOn\": \"2024-01-01\",\n        \"inventoryQuantity\": 10000.0,\n        \"inventoryPrice\": 95.0\n    },\n    \"productLists\": [\n        {\n            \"unitName\": \"หน่วย\",\n            \"isMainProduct\": true,\n            \"convertRatio\": 1,\n            \"barcode\": \"INVENTORY-01\",\n            \"buyPrice\": 1000,\n            \"sellPrice\": 100\n        },\n        {\n            \"unitName\": \"ขีด\",\n            \"isMainProduct\": false,\n            \"convertRatio\": 0.2,\n            \"barcode\": \"INVENTORY-02\",\n            \"buyPrice\": 1000,\n            \"sellPrice\": 100\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/product-masters","host":["{{api_gateway}}"],"path":["product-masters"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T09:40:19.000Z","updatedAt":"2025-07-21T08:57:02.000Z","uid":"45983860-7c58befe-32e6-40c1-94a6-893f2b98b0db"}],"createdAt":"2025-07-15T11:41:42.000Z","updatedAt":"2025-07-29T05:05:46.000Z","uid":"45983860-bde5507e-111b-4f87-8dee-b437c98766dc"},{"name":"Get Product Master By Id","id":"f756494e-dbf7-4a13-b489-33367b726ae7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[{"key":"Authorization","value":"{{vault:bearer-token}}"}],"url":{"raw":"{{api_gateway}}/product-masters/{{Product_Id}}","host":["{{api_gateway}}"],"path":["product-masters","{{Product_Id}}"]}},"response":[],"createdAt":"2025-07-15T11:49:24.000Z","updatedAt":"2025-07-16T10:10:49.000Z","uid":"45983860-f756494e-dbf7-4a13-b489-33367b726ae7"},{"name":"Update Product Master","id":"abad8ab0-06c8-4372-98e9-459589cb9117","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"PUT","header":[{"key":"Authorization","value":"{{vault:bearer-token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"id\": 1001,\n    \"type\": 1,\n    \"code\": \"S0001\",\n    \"name\": \"Product Master Service\",\n    \"categoryName\": \"Description Product Master Service\",\n    \"sellSettings\": {\n        \"vatType\": 1,\n        \"description\": \"Sell vat type settings description\",\n        \"chartOfAccountId\": 12341234\n    },\n    \"productLists\": [\n        {\n            \"id\": 2001,\n            \"unitName\": \"ครั้ง \",\n            \"sellPrice\": 10000.0,\n            \"buyPrice\": 10000.0,\n            \"barcode\": \"SERVICE\",\n            \"isMainProduct\": true\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/product-masters/{{Product_Id}}","host":["{{api_gateway}}"],"path":["product-masters","{{Product_Id}}"]}},"response":[{"id":"c3926d5b-9407-4516-b34f-c1afb8e15f84","name":"Update Product Master Service","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"{{vault:bearer-token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"id\": 1001,\n    \"type\": 1,\n    \"code\": \"S0001\",\n    \"name\": \"Product Master Service\",\n    \"categoryName\": \"Description Product Master Service\",\n    \"sellSettings\": {\n        \"vatType\": 1,\n        \"description\": \"Sell vat type settings description\",\n        \"chartOfAccountId\": 12341234\n    },\n    \"productLists\": [\n        {\n            \"id\": 2001,\n            \"unitName\": \"ครั้ง \",\n            \"sellPrice\": 10000.0,\n            \"buyPrice\": 10000.0,\n            \"barcode\": \"SERVICE\",\n            \"isMainProduct\": true\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/product-masters/{{Product_Id}}","host":["{{api_gateway}}"],"path":["product-masters","{{Product_Id}}"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T09:54:22.000Z","updatedAt":"2025-07-18T09:54:22.000Z","uid":"45983860-c3926d5b-9407-4516-b34f-c1afb8e15f84"},{"id":"ec016c61-1350-4beb-9cd1-7ea4f5da14a4","name":"Update Product Master Non Inventory","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"{{vault:bearer-token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"id\": 1002,\n    \"type\": 3,\n    \"code\": \"N0001\",\n    \"name\": \"Product Master Non Inventory\",\n    \"categoryName\": \"Description Product Master Non Inventory\",\n    \"sellSettings\": {\n        \"vatType\": 1,\n        \"description\": \"Sell vat type settings description\",\n        \"chartOfAccountId\": 12341234\n    },\n    \"buySettings\": {\n        \"vatType\": 3,\n        \"description\": \"Buy vat type settings description\",\n        \"chartOfAccountId\": 56785678\n    },\n    \"nonInventorySettings\": {\n        \"productNonInventoryType\": 11\n    },\n    \"productLists\": [\n        {\n            \"id\": 2002,\n            \"unitName\": \"กระสอบ\",\n            \"sellPrice\": 1000.0,\n            \"buyPrice\": 950.0,\n            \"barcode\": \"NON-INVENTORY\",\n            \"isMainProduct\": true\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/product-masters/{{Product_Id}}","host":["{{api_gateway}}"],"path":["product-masters","{{Product_Id}}"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T09:54:51.000Z","updatedAt":"2025-07-18T09:55:20.000Z","uid":"45983860-ec016c61-1350-4beb-9cd1-7ea4f5da14a4"},{"id":"ce166a19-63e0-4970-83cd-c34d2a593376","name":"Update Product Master Inventory - Single unit","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"{{vault:bearer-token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"id\": 1003,\n    \"type\": 5,\n    \"code\": \"IN001\",\n    \"name\": \"Product Master Inventory - Single Item\",\n    \"categoryName\": \"Description Product Master Inventory\",\n    \"sellSettings\": {\n        \"vatType\": 5,\n        \"description\": \"Sell vat type settings description\",\n        \"chartOfAccountId\": 12341234\n    },\n    \"buySettings\": {\n        \"vatType\": 3,\n        \"description\": \"Buy vat type settings description\",\n        \"chartOfAccountId\": 56785678\n    },\n    \"inventorySettings\": {\n        \"inventoryPublishedOn\": \"2024-01-01\",\n        \"inventoryQuantity\": 10000.0,\n        \"inventoryPrice\": 95.0\n    },\n    \"productLists\": [\n        {\n            \"id\": 2003,\n            \"unitName\": \"หน่วย\",\n            \"barcode\": \"INVENTORY-00\",\n            \"buyPrice\": 1000,\n            \"sellPrice\": 100\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/product-masters/{{Product_Id}}","host":["{{api_gateway}}"],"path":["product-masters","{{Product_Id}}"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T09:54:53.000Z","updatedAt":"2025-07-21T07:45:10.000Z","uid":"45983860-ce166a19-63e0-4970-83cd-c34d2a593376"},{"id":"88249d40-ecef-4925-bd3f-927875d806fd","name":"Update Product Master Inventory - Multiple units","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"{{vault:bearer-token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"id\": 1004,\n    \"type\": 5,\n    \"name\": \"Product Master Inventory - Multiple Item\",\n    \"code\": \"IN001\",\n    \"categoryName\": \"Description Product Master Inventory\",\n    \"sellSettings\": {\n        \"vatType\": 5,\n        \"description\": \"Sell vat type settings description\",\n        \"chartOfAccountId\": 12341234\n    },\n    \"buySettings\": {\n        \"vatType\": 3,\n        \"description\": \"Buy vat type settings description\",\n        \"chartOfAccountId\": 56785678\n    },\n    \"inventorySettings\": {\n        \"inventoryPublishedOn\": \"2024-01-01\",\n        \"inventoryQuantity\": 10000.0,\n        \"inventoryPrice\": 95.0\n    },\n    \"productLists\": [\n        {\n            \"id\": 2004,\n            \"unitName\": \"หน่วย\",\n            \"isMainProduct\": true,\n            \"convertRatio\": 1,\n            \"barcode\": \"INVENTORY-01\",\n            \"buyPrice\": 1000,\n            \"sellPrice\": 100\n        },\n        {\n            \"id\": 2005,\n            \"unitName\": \"ขีด\",\n            \"isMainProduct\": false,\n            \"convertRatio\": 0.2,\n            \"barcode\": \"INVENTORY-02\",\n            \"buyPrice\": 1000,\n            \"sellPrice\": 100\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/product-masters/{{Product_Id}}","host":["{{api_gateway}}"],"path":["product-masters","{{Product_Id}}"]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null,"createdAt":"2025-07-18T09:54:56.000Z","updatedAt":"2025-07-21T05:28:59.000Z","uid":"45983860-88249d40-ecef-4925-bd3f-927875d806fd"}],"createdAt":"2025-07-15T11:50:43.000Z","updatedAt":"2025-07-29T05:05:58.000Z","uid":"45983860-abad8ab0-06c8-4372-98e9-459589cb9117"},{"name":"Delete Product Master","id":"ed5c6629-8430-45cd-884f-7a21e98dd70a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"DELETE","header":[{"key":"Authorization","value":"{{vault:bearer-token}}"}],"url":{"raw":"{{api_gateway}}/product-masters/{{Product_Id}}","host":["{{api_gateway}}"],"path":["product-masters","{{Product_Id}}"]}},"response":[],"createdAt":"2025-07-15T11:55:05.000Z","updatedAt":"2025-07-16T09:23:04.000Z","uid":"45983860-ed5c6629-8430-45cd-884f-7a21e98dd70a"}],"id":"10b8bcbd-3fd2-416f-ab39-8649f1b40972","createdAt":"2025-07-15T11:40:10.000Z","updatedAt":"2025-07-29T03:51:45.000Z","uid":"45983860-10b8bcbd-3fd2-416f-ab39-8649f1b40972"},{"name":"Products","item":[{"name":"Get - All Products","id":"095af8f3-6a12-4f8c-a7fd-2457dc28fc2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{api_gateway}}/products?filter=%5B%7B'columnName'%3A'name'%2C'columnValue'%3A'Service'%2C'columnPredicateOperator'%3A'And'%7D%5D","host":["{{api_gateway}}"],"path":["products"],"query":[{"key":"currentPage","value":"1","description":"Select Page","disabled":true},{"key":"pageSize","value":"20","description":"Show amount item per page","disabled":true},{"key":"sortBy","value":"[{'name':'productCode','sortOrder':'asc'}]","description":"Sort By Product Code","disabled":true},{"key":"sortBy","value":"[{\"name\":\"name\",\"sortOrder\":\"desc\"}]","description":"Sort By Product Name","disabled":true},{"key":"sortBy","value":"[{\"name\":\"unitPrice\",\"sortOrder\":\"asc\"}]","description":"Sort By Unit Price","disabled":true},{"key":"filter","value":"[{'columnName':'categoryId','columnValue':'517725','columnPredicateOperator':'And'}]","description":"Filter Catagory Product ","disabled":true},{"key":"filter","value":"%5B%7B'columnName'%3A'name'%2C'columnValue'%3A'Service'%2C'columnPredicateOperator'%3A'And'%7D%5D","description":"Filter Product Name"},{"key":"filter","value":"[{'columnName':'barcode','columnValue':'A000001','columnPredicateOperator':'And'}]","description":"Filter Barcode","disabled":true},{"key":"filter","value":"[{'columnName':'productCode','columnValue':'IN001'}]","disabled":true}]},"description":"แสดงข้อมูลสินค้าทั้งหมด\n\nDocument: https://developers.flowaccount.com/#tag/Products/paths/~1products~1{id}/get"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T05:24:51.000Z","uid":"45983860-095af8f3-6a12-4f8c-a7fd-2457dc28fc2f"},{"name":"Get - Product By Id","id":"422c81b8-ff04-449f-ad59-6c59b190efa7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{api_gateway}}/products/12851240","host":["{{api_gateway}}"],"path":["products","12851240"]},"description":"แสดงข้อมูลสินค้า ตาม id รายการสินค้า\n\nDocument: https://developers.flowaccount.com/#tag/Products/paths/~1products~1{id}/get"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-422c81b8-ff04-449f-ad59-6c59b190efa7"},{"name":"Create - Product Service","id":"c22ce806-50d7-460c-83d2-ac5725f7b860","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": 1,\n    \"code\": \"S0002\",\n    \"name\": \"Service\",\n    \"sellDescription\": \"Description Service\",\n    \"sellPrice\": 100,\n    \"sellVatType\": 3,\n    \"unitName\": \"Service\",\n    \"categoryName\": \"Service\",\n    \"barcode\": \"BarcodeService\"\n}"},"url":{"raw":"{{api_gateway}}/products","host":["{{api_gateway}}"],"path":["products"]},"description":"สร้างสินค้า ประเภทบริการ\n\nDocument: https://developers.flowaccount.com/#tag/Products/paths/~1products/post"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-16T05:58:43.000Z","uid":"45983860-c22ce806-50d7-460c-83d2-ac5725f7b860"},{"name":"Create - Product Non Inventory","id":"84044fe5-e472-49a1-b03c-4a32a5a72b10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": 3,\n    \"code\": \"N0002\",\n    \"name\": \"Non Inventory\",\n    \"sellDescription\": \"Description Non Inventory \",\n    \"sellPrice\": 100,\n    \"sellVatType\": 3,\n    \"unitName\": \"Product\",\n    \"categoryName\": \"Product\",\n    \"barcode\": \"Barcode Non Inventory\",\n    \"buyDescription\": \"Description Non Inventory \",\n    \"buyPrice\": 50,\n    \"buyVatType\": 3\n}"},"url":{"raw":"{{api_gateway}}/products","host":["{{api_gateway}}"],"path":["products"]},"description":"สร้างสินค้า ประเภทไม่นับสต๊อก\n\nDocument:\nhttps://developers.flowaccount.com/#tag/Products/paths/~1products/post"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-16T05:58:49.000Z","uid":"45983860-84044fe5-e472-49a1-b03c-4a32a5a72b10"},{"name":"Create - Product Inventory","id":"c0e38b3f-d5ee-4761-8458-ad35b05cb6b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": 5,\n    \"code\": \"IN003\",\n    \"name\": \"Inventory no stock\",\n    \"sellDescription\": \"Description Inventory no stock\",\n    \"sellPrice\": 100,\n    \"sellVatType\": 3,\n    \"unitName\": \"Product\",\n    \"categoryName\": \"Product\",\n    \"barcode\": \"BarcodeInventory\",\n    \"buyDescription\": \"Description Inventory no stock\",\n    \"buyPrice\": 50,\n    \"buyVatType\": 3\n}"},"url":{"raw":"{{api_gateway}}/products","host":["{{api_gateway}}"],"path":["products"]},"description":"สร้างสินค้า ประเภทนับสต๊อก\n\nDocument:\nhttps://developers.flowaccount.com/#tag/Products/paths/~1products/post"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-16T05:58:53.000Z","uid":"45983860-c0e38b3f-d5ee-4761-8458-ad35b05cb6b7"},{"name":"Create - Product Inventory has stock","id":"1a872526-5842-488c-a113-b3374f413391","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": 5,\n    \"code\": \"IN004\",\n    \"name\": \"Inventory has stock\",\n    \"sellDescription\": \"Description Inventory has stock\",\n    \"sellPrice\": 100,\n    \"sellVatType\": 3,\n    \"unitName\": \"Product\",\n    \"categoryName\": \"Product\",\n    \"barcode\": \"BarcodeInventory\",\n    \"buyDescription\": \"Description Inventory has stock\",\n    \"buyPrice\": 50,\n    \"buyVatType\": 3,\n    \"inventoryPublishedOn\": \"2020-01-01\",\n    \"inventoryQuantity\": 100,\n    \"inventoryPrice\": 50\n}"},"url":{"raw":"{{api_gateway}}/products","host":["{{api_gateway}}"],"path":["products"]},"description":"สร้างสินค้า ประเภทนับสต๊อก มียอดเริ่มต้น\n\nDocument:\nhttps://developers.flowaccount.com/#tag/Products/paths/~1products/post"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-16T09:25:46.000Z","uid":"45983860-1a872526-5842-488c-a113-b3374f413391"},{"name":"Update - Product By Id","id":"9041fb7f-f826-40c5-8a3f-d712b82c5df5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": 5,\n    \"code\": \"IN002\",\n    \"name\": \"Inventory\",\n    \"sellDescription\": \"Description Update Product Inventory has balance\",\n    \"sellPrice\": 100,\n    \"sellVatType\": 3,\n    \"unitName\": \"Product\",\n    \"categoryName\": \"Product\",\n    \"barcode\": \"BarcodeInventory\",\n    \"buyDescription\": \"Description Update Product Inventory has balance\",\n    \"buyPrice\": 50,\n    \"buyVatType\": 3,\n    \"inventoryPublishedOn\": \"2020-01-01\",\n    \"inventoryQuantity\": 100,\n    \"inventoryPrice\": 50\n}"},"url":{"raw":"{{api_gateway}}/products/12851240","host":["{{api_gateway}}"],"path":["products","12851240"]},"description":"อัพเดตสินค้า ตาม id รายการสินค้า\n\nDocument:\nhttps://developers.flowaccount.com/#tag/Products/paths/~1products~1{id}/put"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-9041fb7f-f826-40c5-8a3f-d712b82c5df5"},{"name":"Delete - Product By Id","id":"66290174-4bf2-4eb2-867e-75309d67d32e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{api_gateway}}/products/12851240","host":["{{api_gateway}}"],"path":["products","12851240"]},"description":"ลบสินค้า ตามเลข id รายการสินค้า\n\nDocument:\nhttps://developers.flowaccount.com/#tag/Products/paths/~1products~1{id}/delete"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-66290174-4bf2-4eb2-867e-75309d67d32e"}],"id":"9c364c95-d369-48c2-833e-4d8f08bd53fa","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-25T11:55:36.000Z","uid":"45983860-9c364c95-d369-48c2-833e-4d8f08bd53fa"},{"name":"Contacts","item":[{"name":"Get - All Contacts","id":"a29edb67-89c7-49cf-aad1-2d0eaf958936","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{api_gateway}}/contacts","host":["{{api_gateway}}"],"path":["contacts"],"query":[{"key":"currentPage","value":"1","description":"Select Page","disabled":true},{"key":"pageSize","value":"20","description":"Show amount item per page","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 Name","disabled":true},{"key":"sortBy","value":"[{'name':'phone2','sortOrder':'desc'}]","description":"Sort By Phone","disabled":true},{"key":"filter","value":"[{'columnName':'contactType','columnValue':'3','columnPredicateOperator':'And'}]","description":"Filter Contact Type","disabled":true}]},"description":"แสดงข้อมูลลูกค้าทั้งหมด\n\nDocument: https://developers.flowaccount.com/#tag/Contacts/paths/~1contacts/get"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-a29edb67-89c7-49cf-aad1-2d0eaf958936"},{"name":"Get - Contact By Id","id":"c241bfee-fac8-4471-a28c-7c16a6ce57ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","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},{"key":"authorization","value":"{{vault:bearer-token}}","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","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}],"url":{"raw":"{{api_gateway}}/contacts/130093","host":["{{api_gateway}}"],"path":["contacts","130093"]},"description":"แสดงข้อมูลผู้ติดต่อ ตาม id รายชื่อผู้ติดต่อ\n\nDocument: https://developers.flowaccount.com/#tag/Contacts/paths/~1contacts~1{id}/get"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-29T05:19:21.000Z","uid":"45983860-c241bfee-fac8-4471-a28c-7c16a6ce57ed"},{"name":"Create - Contact","id":"ebf39797-4e16-46b7-9d6b-b573a3d888d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"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},{"key":"authorization","value":"{{vault:bearer-token}}","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","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ถนนสุรวงศ์ แขวงสุริยวงศ์ เขตบางรัก กรุงเทพมหานคร\",\n    \"contactZipCode\": \"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\": \"สร้าง contact จาก api\"\n}"},"url":{"raw":"{{api_gateway}}/contacts","host":["{{api_gateway}}"],"path":["contacts"]},"description":"สร้างรายชื่อผู้ติดต่อ ลูกค้า หรือ ผู้จำหน่าย\n\nDocument: https://developers.flowaccount.com/#tag/Contacts/paths/~1contacts/post"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-ebf39797-4e16-46b7-9d6b-b573a3d888d1"},{"name":"Update - Contact By Id","id":"472c09b2-91eb-4180-a871-e7b064599a9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"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},{"key":"authorization","value":"{{vault:bearer-token}}","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","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":{"raw":"{{api_gateway}}/contacts/130093","host":["{{api_gateway}}"],"path":["contacts","130093"]},"description":"อัพเดตข้อมูลผู้ติดต่อ ตาม id รายชื่อผู้ติดต่อ\n\nDocument: https://developers.flowaccount.com/#tag/Contacts/paths/~1contacts~1{id}/put"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-472c09b2-91eb-4180-a871-e7b064599a9d"},{"name":"Delete - Contact By Id","id":"a651a26b-0587-402f-8daa-144caeccdcc0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"DELETE","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},{"key":"authorization","value":"{{vault:bearer-token}}","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","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":{"raw":"{{api_gateway}}/contacts/130093","host":["{{api_gateway}}"],"path":["contacts","130093"]},"description":"ลบผู้ติดต่อ ตาม id รายชื่อผู้ติดต่อ\n\nDocument: https://developers.flowaccount.com/#tag/Contacts/paths/~1contacts~1{id}/delete"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-a651a26b-0587-402f-8daa-144caeccdcc0"}],"id":"9125a792-cc60-43c6-8d58-22f8eda78b08","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-9125a792-cc60-43c6-8d58-22f8eda78b08"},{"name":"MyCompany","item":[{"name":"My Company","item":[{"name":"GET - Company Infomation","id":"19bb1b1b-6759-4da4-9c04-074059941ebb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/company/info","host":["{{api_gateway}}"],"path":["company","info"]},"description":"แสดงข้อมูลบริษัทของคุณ\n\nDocument: https://developers.flowaccount.com/#tag/Business-Infomation/paths/~1company~1info/get"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-19bb1b1b-6759-4da4-9c04-074059941ebb"},{"name":"Update - Company Infomation","id":"258d271c-9ec2-43f5-ade4-b84f90d34986","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"companyType\": 10,\n    \"companyName\": \"บริษัท ตัวอย่าง จำกัด\",\n    \"companyNameEn\": \"Example Co., Ltd.\",\n    \"companyAddress\": \"141 ชั้น 40 อาคารชุด สกุลไทย สุรวงศ์ ทาวเวอร์ ถนนสุรวงศ์ แขวงสุริยวงศ์ เขตบางรัก กรุงเทพมหานคร 10500\",\n    \"companyAddressEn\": \"141 40th fl. Skulthai Surawong Tower Surawong Rd. Suriyawong, Bangrak, Bangkok, Thailand 10500\",\n    \"companyZipCode\": \"10500\",\n    \"companyTaxId\": \"0123456789123\",\n    \"companyBranchCode\": \"สำนักงานใหญ่\",\n    \"companyBranch\": \"Head Office\",\n    \"companyBranchEn\": \"00000\",\n    \"companyPhone\": \"02-999-9999\",\n    \"companyMobile\": \"099-999-9999\",\n    \"companyFax\": \"02-999-9999\",\n    \"companyWebsite\": \"www.yourwebsite.com\"\n}\n\n","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_gateway}}/company/info","host":["{{api_gateway}}"],"path":["company","info"]},"description":"อัพเดตข้อมูลบริษัทคุณ\n\nDocument: https://developers.flowaccount.com/#tag/Business-Infomation/paths/~1company~1info/put"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-258d271c-9ec2-43f5-ade4-b84f90d34986"}],"id":"470f0ed8-d6bd-4a4e-a763-1034890829ef","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-470f0ed8-d6bd-4a4e-a763-1034890829ef"},{"name":"Bank Channel","item":[{"name":"GET - All Bank Account","id":"39ce9759-6fbc-4406-8899-fdba29ff11e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{api_gateway}}/bank-accounts","host":["{{api_gateway}}"],"path":["bank-accounts"]},"description":"แสดงข้อมูลบัญชีธนาคารทั้งหมดในบริษัทของคุณ\n\nDocument: https://developers.flowaccount.com/#tag/Bank-Account/paths/~1bank-accounts/get"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-39ce9759-6fbc-4406-8899-fdba29ff11e6"},{"name":"GET - All Cheque","id":"f0ac3318-fb11-4646-a3a1-11cbb337ace7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{api_gateway}}/bank-channel/cheque","host":["{{api_gateway}}"],"path":["bank-channel","cheque"]},"description":"แสดงข้อมูลบัญชีธนาคารทั้งหมดในบริษัทของคุณ\n\nDocument: https://developers.flowaccount.com/#tag/Bank-Account/paths/~1bank-accounts/get"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-f0ac3318-fb11-4646-a3a1-11cbb337ace7"},{"name":"GET - All Credit Card","id":"f12bc1dd-73c1-4361-bd93-ec171bd367ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{api_gateway}}/bank-channel/credit-card","host":["{{api_gateway}}"],"path":["bank-channel","credit-card"]},"description":"แสดงข้อมูลบัญชีธนาคารทั้งหมดในบริษัทของคุณ\n\nDocument: https://developers.flowaccount.com/#tag/Bank-Account/paths/~1bank-accounts/get"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-f12bc1dd-73c1-4361-bd93-ec171bd367ce"},{"name":"GET - All Petty Cash","id":"bcd2af12-15ae-4a3f-887a-351ed0d2d645","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{api_gateway}}/bank-channel/petty-cash","host":["{{api_gateway}}"],"path":["bank-channel","petty-cash"]},"description":"แสดงข้อมูลบัญชีธนาคารทั้งหมดในบริษัทของคุณ\n\nDocument: https://developers.flowaccount.com/#tag/Bank-Account/paths/~1bank-accounts/get"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-bcd2af12-15ae-4a3f-887a-351ed0d2d645"},{"name":"GET - All Other Channel","id":"1f779ce0-c24e-4aa2-ae19-bec2b4e19eec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{api_gateway}}/bank-channel/other-channels","host":["{{api_gateway}}"],"path":["bank-channel","other-channels"]},"description":"แสดงข้อมูลบัญชีธนาคารทั้งหมดในบริษัทของคุณ\n\nDocument: https://developers.flowaccount.com/#tag/Bank-Account/paths/~1bank-accounts/get"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-1f779ce0-c24e-4aa2-ae19-bec2b4e19eec"},{"name":"Create - Bank Account","id":"2627b1d6-908b-40b5-b668-565b6a9b019e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"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\": 1\n}"},"url":{"raw":"{{api_gateway}}/bank-channel/bank-accounts","host":["{{api_gateway}}"],"path":["bank-channel","bank-accounts"]},"description":"สร้างบัญชีธนาคาร สำหรับรับเงิน หรือ จ่ายเงิน ของบริษัทคุณ\n\nDocument: https://developers.flowaccount.com/#tag/Bank-Account/paths/~1bank-accounts/post"},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-2627b1d6-908b-40b5-b668-565b6a9b019e"}],"id":"d698a828-2bf5-436f-bd63-59617a5a5ddb","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-d698a828-2bf5-436f-bd63-59617a5a5ddb"},{"name":"Setting","item":[{"name":"Get - Documents Remark","id":"c95c44ed-cbfc-4399-b839-32685e1b393b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"method":"GET","header":[],"url":{"raw":"{{api_gateway}}/settings/documents-remark","host":["{{api_gateway}}"],"path":["settings","documents-remark"]}},"response":[],"createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-c95c44ed-cbfc-4399-b839-32685e1b393b"}],"id":"541a2270-a5e2-4470-acaa-9abecbb7b6b9","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-14T11:39:52.000Z","uid":"45983860-541a2270-a5e2-4470-acaa-9abecbb7b6b9"}],"id":"d2808798-c4ad-49b4-8d4e-e1da657bde7c","createdAt":"2025-07-14T11:39:52.000Z","updatedAt":"2025-07-16T05:57:18.000Z","uid":"45983860-d2808798-c4ad-49b4-8d4e-e1da657bde7c"}]}}