{"info":{"_postman_id":"7c45d10c-b3eb-4325-8e5e-1df3a6ce6811","name":"Precoro API Integration","description":"<html><head></head><body><p>Our API is structured to closely mirror the Precoro user interface, making it easier to integrate with your systems.</p>\n<p>To build a successful integration you need the following</p>\n<ol>\n<li><p>Our trial account or access to your customer's test account.</p>\n</li>\n<li><p>X-AUTH-TOKEN and its email.</p>\n</li>\n</ol>\n<p>To obtain the X-AUTH-TOKEN for your company, navigate to Configuration → Integrations → API Key and press the Generate API Key button at the top right.</p>\n<p>In turn, users who registered via email must have appropriate access.</p>\n<p>Please note, the X-AUTH-TOKEN is generated per user and company. This means one user can access multiple companies, but a unique X-AUTH-TOKEN is required for each company.</p>\n<h2 id=\"api-usage-guidelines\"><strong>API Usage Guidelines</strong></h2>\n<ul>\n<li><p>Avoid Excessive Requests: To prevent overloading our API, please contact us if your integration involves more than 10,000 requests per day. We can help optimize your usage for better efficiency.</p>\n</li>\n<li><p>IP Blocking to Ensure Stability: We reserve the right to block any IP address that causes service instability or sends requests without proper authorization.</p>\n</li>\n<li><p>Error Response Handling: Repeated incorrect requests that result in errors may lead to a temporary block after one week.</p>\n</li>\n<li><p>Pagination Options: You can paginate your results with the following options: 10, 20, 50, 100, or 200 items per page.</p>\n</li>\n</ul>\n<h3 id=\"related-articles-in-precoro-knowledge-base\">Related articles in Precoro Knowledge Base:</h3>\n<ul>\n<li><p><a href=\"https://help.precoro.com/using-api-in-precoro\">https://help.precoro.com/using-api-in-precoro</a></p>\n</li>\n<li><p><a href=\"https://help.precoro.com/typical-api-usage-scenarios\">https://help.precoro.com/typical-api-usage-scenarios</a></p>\n</li>\n</ul>\n<h2 id=\"regional-api-domain-access\"><strong>Regional API Domain Access</strong></h2>\n<p>Our API is hosted on two domains, allowing users to access it based on their region. When making API requests, you should use the correct domain based on your location.</p>\n<h3 id=\"available-domains\"><strong>Available Domains:</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Region</strong></th>\n<th><strong>Domain Suffix</strong></th>\n<th><strong>Base API URL</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>International</td>\n<td>.com</td>\n<td><a href=\"https://api.precoro.com/\">https://api.precoro.com/</a></td>\n</tr>\n<tr>\n<td>United States</td>\n<td>.us</td>\n<td><a href=\"https://api.precoro.com/\">https://api.precoro.us/</a></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"api-endpoint-structure\"><strong>API Endpoint Structure</strong></h3>\n<p>All API endpoints follow the same structure, but the domain changes depending on your region. For example:</p>\n<ul>\n<li><p><a href=\"https://api.precoro.com/suppliers\">https://api.precoro.com/suppliers</a></p>\n</li>\n<li><p><a href=\"https://api.precoro.us/suppliers\">https://api.precoro.us/suppliers</a></p>\n</li>\n</ul>\n<h3 id=\"important-note\"><strong>Important Note</strong></h3>\n<p>To determine which domain to use, check your application’s URL. If your app’s URL is app.precoro.com, use the .com domain, and if it’s app.precoro.us, use the .us domain.</p>\n<p>The examples on this page are hosted on the .com domain. If your company operates on a .us domain, remember to replace .com with the .us domain for API endpoints on this page before using them.</p>\n<p>Ensure that all API requests are directed to the correct domain to ensure proper functionality.</p>\n<h3 id=\"api-requests-limits\"><strong>API Requests Limits</strong></h3>\n<p><strong>The limits for API requests</strong>:</p>\n<ul>\n<li><p>60 requests per minute (1 request per 1 second);</p>\n</li>\n<li><p>1500 requests per hour;</p>\n</li>\n<li><p>3000 requests per day.</p>\n</li>\n</ul>\n<p><strong>Special limits are enabled for duplicate requests—identical requests happening in succession:</strong></p>\n<ul>\n<li><p>1 request per minute;</p>\n</li>\n<li><p>30 requests per hour.</p>\n</li>\n</ul>\n<h3 id=\"date--time-format\">Date &amp; Time Format</h3>\n<p>All date and time fields returned in API responses are in <strong>UTC</strong> (Coordinated Universal Time).</p>\n<p>For example, in a <code>Purchase Order</code>, fields like:</p>\n<ul>\n<li><p><code>createDate</code></p>\n</li>\n<li><p><code>updateDate</code></p>\n</li>\n<li><p><code>requiredDate</code></p>\n</li>\n</ul>\n<p>...will all be returned in <strong>UTC</strong> (e.g., <code>2025-05-05T23:59:59+00:00</code>).</p>\n<p>Be sure to convert these timestamps to your local timezone if needed.</p>\n<h2 id=\"terminology\"><strong>Terminology</strong></h2>\n<p><strong>ID —</strong> Our unique identifier of the document.</p>\n<p><strong>IDN —</strong> your company’s unique identifier of the document.</p>\n<h1 id=\"data-filtering\"><strong>Data Filtering</strong></h1>\n<p>You can request the list of the objects and the object itself.</p>\n<p>To filter GET requests response data, you can use params, sent with your request.</p>\n<h2 id=\"api-parameters\"><strong>API Parameters</strong></h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Value</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>modifiedSince</td>\n<td>2022-08-10T00:00:00</td>\n<td>If an object was modified since the date, it will appears in results</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>100</td>\n<td>Number of items per page. Available options: 10, 20, 50, 100, 200</td>\n</tr>\n<tr>\n<td>page</td>\n<td>1</td>\n<td>Page number to be displayed</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"pagination-structure-in-api-responses\"><strong>Pagination Structure in API Responses</strong></h2>\n<p><strong>Each list response includes a meta.pagination object at the end of the payload:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">\"meta\": {\n  \"pagination\": {\n    \"total\": 3,\n    \"count\": 3,\n    \"per_page\": 100,\n    \"current_page\": 1,\n    \"total_pages\": 1,\n    \"links\": {}\n  }\n}\n\n</code></pre>\n<h3 id=\"pagination-fields-explained\"><strong>Pagination Fields Explained</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>total</strong></td>\n<td><strong>Total number of records available for the request</strong></td>\n</tr>\n<tr>\n<td><strong>count</strong></td>\n<td><strong>Number of records returned in the current response</strong></td>\n</tr>\n<tr>\n<td><strong>per_page</strong></td>\n<td><strong>Number of records returned in the current response</strong></td>\n</tr>\n<tr>\n<td><strong>current_page</strong></td>\n<td><strong>Maximum number of records per page. Available options: 10, 20, 50, 100, 200</strong></td>\n</tr>\n<tr>\n<td><strong>total_pages</strong></td>\n<td><strong>Total number of pages available</strong></td>\n</tr>\n<tr>\n<td><strong>links</strong></td>\n<td><strong>Optional navigation links (may be empty)</strong></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"example-pagination-flow\"><strong>Example Pagination Flow</strong></h2>\n<h3 id=\"step-1---request-the-first-page\"><strong>Step 1 - Request the first page</strong></h3>\n<p><strong><code>GET /purchaseorders?page=1&amp;per_page=100</code></strong></p>\n<p><strong>Response:</strong></p>\n<p><strong><code>\"current_page\": 1,</code></strong></p>\n<p><strong><code>\"total_pages\": 5</code></strong></p>\n<h3 id=\"step-2---loop-through-remaining-pages\"><strong>Step 2 - Loop through remaining pages</strong></h3>\n<p><strong>Continue requesting pages until</strong> <strong><code>current_page = total_pages</code></strong></p>\n<p><strong>Example:</strong></p>\n<p><strong><code>GET /purchaseorders?page=2&amp;per_page=100</code></strong></p>\n<p><strong><code>GET /purchaseorders?page=3&amp;per_page=100</code></strong></p>\n<h2 id=\"how-to-retrieve-custom-fields-for-item-data-from-the-document\"><strong>How to Retrieve Custom Fields for Item Data from the Document</strong></h2>\n<ol>\n<li><p>In the response, locate the items field, which contains a collection of document items.</p>\n</li>\n<li><p>For the specific item you're interested in, find the dataItemCustomFields field. This field contains a collection of custom fields for the item.</p>\n</li>\n<li><p>Inside the dataItemCustomFields field, locate the value field. This field contains either the selected option ID or, for text or date custom fields, the respective text or date value.</p>\n</li>\n<li><p>Within the custom field object, identify the itemCustomField field. This field contains the ID of the Custom Field for the Item you need to retrieve.</p>\n</li>\n<li><p>Send a GET request itemcustomfields/{id} to get all data about the itemcustomfield. If the custom field contains selected options, the response will include an option field with a collection of available options. You can use the ID from dataItemCustomFields → value to find the selected option.</p>\n</li>\n</ol>\n<img src=\"https://content.pstmn.io/ff244bde-c9d5-4fb9-99ef-13f62806596d/VW50aXRsZWQucG5n\" width=\"640\" height=\"372\"></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Data Filtering","slug":"data-filtering"}],"owner":"6493532","collectionId":"7c45d10c-b3eb-4325-8e5e-1df3a6ce6811","publishedId":"2sBXijKsRj","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-03-24T09:59:44.000Z"},"item":[{"name":"OCR","item":[{"name":"GET OCR Documents","id":"aa99bd33-e995-4427-93dc-190d737baf28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/ap/documents","urlObject":{"protocol":"https","path":["ap","documents"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"64fba633-b478-47ab-b01f-a2223a33d911","name":"GET OCR Documents","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/ap/documents"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 13:50:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 13:50:33 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=deleted; expires=Thu, 29 Feb 2024 13:50:32 GMT; Max-Age=0; path=/; secure; httponly; samesite=lax"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=23YvFDeEqBDfBuHuZQ5%2Bgkba%2BQJS%2FzIlTwIJEiRq1kxqniXaH8H6Y5wqlnLusTwG%2FpHKgA9jP3q8MT0H1aLF6Q9rIz8ReRKvuckeiOwmSaTWofUUaWSWHPe8C2svRoTmww%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9190e263fb1758a8-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=1706&min_rtt=1489&rtt_var=714&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2337&recv_bytes=871&delivery_rate=1944929&cwnd=251&unsent_bytes=0&cid=e2d0f7953b09cae4&ts=391&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 151147,\n            \"idn\": \"1\",\n            \"type\": 0,\n            \"name\": \"Lord Of The Beans S.R.L.-AAA 0138.pdf\",\n            \"supplierName\": \"Lord Of The Beans S.R.L.\",\n            \"grossTotal\": 4180.54,\n            \"currency\": \"RON\",\n            \"status\": 3,\n            \"uploadDate\": \"2025-02-28T13:48:41+00:00\",\n            \"processedDate\": \"2025-02-28T13:49:29+00:00\",\n            \"attachmentOrigin\": 1,\n            \"ocrEmail\": \"test_api_precoro@email.precoro.com\",\n            \"invoice\": \"6\",\n            \"allocatedInvoice\": {\n                \"idn\": null,\n                \"purchaseOrderIdn\": null,\n                \"purchaseOrderLogicType\": null\n            },\n            \"purchaseOrder\": {\n                \"idn\": null,\n                \"logicType\": null\n            },\n            \"supplier\": {\n                \"id\": 723124,\n                \"name\": \"Supplier 2\"\n            },\n            \"file\": 5032826,\n            \"location\": [],\n            \"user\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"availableIn\": [\n                    {\n                        \"id\": 22359,\n                        \"name\": \"TEST Api Precoro\",\n                        \"active\": true\n                    }\n                ],\n                \"hasConfirmationToken\": false\n            },\n            \"comment\": [],\n            \"dataDocumentCustomFields\": {\n                \"data\": []\n            },\n            \"duplicateInvoice\": null\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 1,\n            \"count\": 1,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": {}\n        }\n    }\n}"}],"_postman_id":"aa99bd33-e995-4427-93dc-190d737baf28"},{"name":"GET OCR Document by IDN","id":"fb514f99-a52a-4e14-ad68-463be1e539cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/ap/documents/{idn}","urlObject":{"protocol":"https","path":["ap","documents","{idn}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"50e355b1-ff38-47fd-a967-1bfb1e11f650","name":"GET OCR Document by IDN","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/ap/documents/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 13:50:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 13:50:46 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=i8bvs6iml6eg0a3cballqtudre; path=/; secure; httponly; samesite=lax"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=5thFk1F8UIZxI%2BomwwkpmZdVgcL6vxdl19adcOgipNABkIMQyFSFNn6ojLzWuSzX4qC%2Bu2256iupPRxmSx06zA4zwfTERZRIcfiimyXJFAUo2HL4acafPG14zLNHhukMoQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9190e2b539637ff7-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=2311&min_rtt=2216&rtt_var=899&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2337&recv_bytes=835&delivery_rate=1306859&cwnd=222&unsent_bytes=0&cid=b2f1684f5a50b06f&ts=369&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 151147,\n    \"idn\": \"1\",\n    \"type\": 0,\n    \"name\": \"Lord Of The Beans S.R.L.-AAA 0138.pdf\",\n    \"supplierName\": \"Lord Of The Beans S.R.L.\",\n    \"grossTotal\": 4180.54,\n    \"currency\": \"RON\",\n    \"status\": 3,\n    \"uploadDate\": \"2025-02-28T13:48:41+00:00\",\n    \"processedDate\": \"2025-02-28T13:49:29+00:00\",\n    \"attachmentOrigin\": 1,\n    \"ocrEmail\": \"test_api_precoro@email.precoro.com\",\n    \"invoice\": \"6\",\n    \"allocatedInvoice\": {\n        \"idn\": null,\n        \"purchaseOrderIdn\": null,\n        \"purchaseOrderLogicType\": null\n    },\n    \"purchaseOrder\": {\n        \"idn\": null,\n        \"logicType\": null\n    },\n    \"supplier\": {\n        \"id\": 723124,\n        \"name\": \"Supplier 2\"\n    },\n    \"file\": 5032826,\n    \"location\": [],\n    \"user\": {\n        \"id\": 95888,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n        \"email\": \"apitesterfordocumentation@gmail.com\",\n        \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n        \"locale\": \"en\",\n        \"phone\": \"+13456789\",\n        \"firstname\": \"Api\",\n        \"lastname\": \"Tester\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 97962\n        },\n        \"legalEntity\": {\n            \"id\": 23152\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allItemGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_INVOICE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_SUPPLIER_APPROVAL\",\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_EXPENSE\",\n            \"ROLE_EXPENSE_APPROVAL\",\n            \"ROLE_EXPENSE_PAYMENT\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPER_USER\",\n            \"ROLE_OCR\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"isPower\": true,\n        \"availableIn\": [\n            {\n                \"id\": 22359,\n                \"name\": \"TEST Api Precoro\",\n                \"active\": true\n            }\n        ],\n        \"hasConfirmationToken\": false\n    },\n    \"comment\": [],\n    \"dataDocumentCustomFields\": {\n        \"data\": []\n    },\n    \"duplicateInvoice\": null\n}"}],"_postman_id":"fb514f99-a52a-4e14-ad68-463be1e539cf"},{"name":"Upload attachment to OCR","id":"f6266366-d2e5-4646-8c78-0393431db3bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"files[]","description":"<p>You can upload only pdf, png, jpeg, xml and tiff file formats.</p>\n","type":"file","src":"2sOwPwisU/invoice-1.pdf"},{"key":"files[]","description":"<p>You can upload only pdf, png, jpeg, xml and tiff file formats.</p>\n","type":"file","src":"R5Ln-rnNB/invoice-1.pdf"}]},"url":"https://api.precoro.com/ap/document/upload","urlObject":{"protocol":"https","path":["ap","document","upload"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"2d53469e-6c8f-4601-b4a3-9f7eb0f4ee2f","name":"Upload attachment to OCR","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"files[]","type":"file","uuid":"82cf78ad-e1e3-4c23-b9c2-5a3855e6425a","src":["qRRc7YDlw/1. Invoice INV-4148.pdf"]}]},"url":"https://api.precoro.com/ap/document/upload"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Fri, 31 Oct 2025 14:10:14 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=tELIcUGxLlay92%2Fvq%2BZI94SFWE%2BbmTsgDJjAehq0RZ1V2ox24K74hXw%2BigltFz9beiyQ7SM9ebz7zh3uCAyUj6HQeFLivtR8WCMXcaMW\"}]}"},{"key":"Content-Encoding","value":"br"},{"key":"CF-RAY","value":"9973bc174877d6bd-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"uploadSuccessMessage\": \"The documents were successfully uploaded to AP Inbox and sent for processing. \",\n    \"uploadErrorMessage\": \"\"\n}"}],"_postman_id":"f6266366-d2e5-4646-8c78-0393431db3bb"},{"name":"Download OCR attachment by ID","id":"e67ca21a-30e6-432c-bf4d-f8991531b966","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/ap_attachments/{id}","urlObject":{"protocol":"https","path":["ap_attachments","{id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e67ca21a-30e6-432c-bf4d-f8991531b966"}],"id":"321c1d29-cfe1-4f03-b28b-53f76c721a12","_postman_id":"321c1d29-cfe1-4f03-b28b-53f76c721a12","description":""},{"name":"Warehouse Requests","item":[{"name":"Get Warehouse Requests list","id":"eda4d69e-f356-44dc-81f9-e1ed6ae49897","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/warehouserequests?modifiedSince=2022-12-12T00:00:00&per_page=100&page=1&approvalLeftDate=2022-12-12T00:00:00&approvalRightDate=2024-01-10T00:00:00","urlObject":{"protocol":"https","path":["warehouserequests"],"host":["api","precoro","com"],"query":[{"description":{"content":"<p>(optionally) If an object was created or modified since the date, it will appears in results</p>\n","type":"text/plain"},"key":"modifiedSince","value":"2022-12-12T00:00:00"},{"description":{"content":"<p>(optionally) Number of items per page. Available options: 10, 20, 50, 100, 200</p>\n","type":"text/plain"},"key":"per_page","value":"100"},{"description":{"content":"<p>(optionally) Page number to be displayed</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>(optionally) If an object was approved since the date, it will appear in the results</p>\n","type":"text/plain"},"key":"approvalLeftDate","value":"2022-12-12T00:00:00"},{"description":{"content":"<p>(optionally) If an object was approved before the date, it will appear in the results</p>\n","type":"text/plain"},"key":"approvalRightDate","value":"2024-01-10T00:00:00"}],"variable":[]}},"response":[{"id":"e099bfee-73a3-4b7e-9ab7-796d5d6a2bcf","name":"Get Warehouse Requests list","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":{"raw":"https://api.precoro.com/warehouserequests?modifiedSince=2022-12-12T00:00:00&per_page=100&page=1&approvalLeftDate=2022-12-12T00:00:00&approvalRightDate=2024-01-10T00:00:00","protocol":"https","host":["api","precoro","com"],"path":["warehouserequests"],"query":[{"key":"modifiedSince","value":"2022-12-12T00:00:00","description":"(optionally) If an object was created or modified since the date, it will appears in results"},{"key":"per_page","value":"100","description":"(optionally) Number of items per page. Available options: 10, 20, 50, 100, 200"},{"key":"page","value":"1","description":"(optionally) Page number to be displayed"},{"key":"approvalLeftDate","value":"2022-12-12T00:00:00"},{"key":"approvalRightDate","value":"2024-01-10T00:00:00"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 13:12:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 13:12:41 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=53ssfisik05v12s4erqgcfqkh0; path=/; secure; httponly; samesite=lax"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=4zkeprDV9DMzhVqkrap1MaMb6hOJDHyOioqLLjJgBnPfYYmWY02culQkZzHunIypjXQkQlnClCKrCVg0ctvWnCQ%2B8fdVZGawOgZY1Ygy0liBsPBzp2pfh4J8wvtaUCnpRg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9190aaea7f93a13a-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=1688&min_rtt=1517&rtt_var=691&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2337&recv_bytes=892&delivery_rate=1909030&cwnd=159&unsent_bytes=0&cid=93796dda0bdad3ed&ts=343&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 242311,\n            \"idn\": \"2\",\n            \"customName\": null,\n            \"createDate\": \"2025-02-28T13:12:18+00:00\",\n            \"updateDate\": \"2025-02-28T13:12:25+00:00\",\n            \"requiredDate\": \"2025-02-27T00:00:00+00:00\",\n            \"approvalDate\": \"2025-02-28T13:12:25+00:00\",\n            \"statusTransferred\": 0,\n            \"currency\": \"USD\",\n            \"precisionData\": {\n                \"USD\": {\n                    \"precision\": 2,\n                    \"roundMode\": \"math\"\n                }\n            },\n            \"note\": null,\n            \"exchangeRate\": [],\n            \"status\": 2,\n            \"allDocumentCustomFieldOptionsIds\": null,\n            \"sum\": 49.9,\n            \"approvingWay\": {\n                \"85396\": {\n                    \"step\": \"1 Approval Step 1\",\n                    \"approvers\": {\n                        \"95888\": {\n                            \"email\": \"apitesterfordocumentation@gmail.com\",\n                            \"datetime\": {\n                                \"date\": \"2025-02-28 13:12:25.376677\",\n                                \"timezone\": \"UTC\",\n                                \"timezone_type\": 3\n                            },\n                            \"user_approve\": true\n                        }\n                    },\n                    \"approve_type\": 1\n                }\n            },\n            \"location\": {\n                \"id\": 97962,\n                \"uniqueCode\": null,\n                \"name\": \"Main location\",\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"fullAddress\": null,\n                \"afaxysLocationId\": null,\n                \"phone\": null,\n                \"allLocationsAccessLegalEntities\": true,\n                \"enable\": true,\n                \"locationAddress\": {\n                    \"id\": null\n                },\n                \"externalId\": null\n            },\n            \"creator\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"availableIn\": [\n                    {\n                        \"id\": 22359,\n                        \"name\": \"TEST Api Precoro\",\n                        \"active\": true\n                    }\n                ],\n                \"hasConfirmationToken\": false\n            },\n            \"lastEditor\": [],\n            \"approvalSteps\": {\n                \"data\": []\n            },\n            \"warehouse\": {\n                \"id\": 33405,\n                \"createDate\": \"2024-11-07T12:10:44+00:00\",\n                \"name\": \"Warehouse 1\",\n                \"enable\": true,\n                \"integration\": false,\n                \"type\": 0,\n                \"uniqueCode\": null\n            },\n            \"dataDocumentCustomFields\": {\n                \"data\": []\n            },\n            \"legalEntity\": {\n                \"id\": 23152,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"enable\": true,\n                \"name\": \"TEST Api Precoro\",\n                \"legalAddress\": null,\n                \"accountNumber\": null,\n                \"accountHolderName\": null,\n                \"bankName\": null,\n                \"bankAddress\": null,\n                \"sortCode\": null,\n                \"businessRegistrationNumber\": null,\n                \"taxPayerType\": 2,\n                \"taxPayerNumber\": null,\n                \"phone\": null,\n                \"keyExecutive\": null,\n                \"fullName\": null,\n                \"permanentAccountNumber\": null,\n                \"internationalBankAccountNumber\": null,\n                \"americanBankersAssociationNumber\": null,\n                \"swiftCode\": null,\n                \"indianFinancialSystemCode\": null,\n                \"externalId\": null,\n                \"uniqueCode\": null\n            },\n            \"canOpenDocument\": true,\n            \"approvalInfo\": {\n                \"canApproveDocument\": false,\n                \"canRejectDocument\": false\n            },\n            \"relatedPurchaseRequisitions\": [],\n            \"relatedPurchaseRequisitionsCount\": 0\n        },\n        {\n            \"id\": 217216,\n            \"idn\": \"1\",\n            \"customName\": null,\n            \"createDate\": \"2024-10-02T06:55:28+00:00\",\n            \"updateDate\": \"2024-10-02T06:58:14+00:00\",\n            \"requiredDate\": \"2024-10-24T00:00:00+00:00\",\n            \"approvalDate\": \"2024-10-02T06:58:14+00:00\",\n            \"statusTransferred\": 0,\n            \"currency\": \"USD\",\n            \"precisionData\": {\n                \"USD\": {\n                    \"precision\": 2,\n                    \"roundMode\": \"math\"\n                }\n            },\n            \"note\": null,\n            \"exchangeRate\": [],\n            \"status\": 2,\n            \"allDocumentCustomFieldOptionsIds\": null,\n            \"sum\": 49.9,\n            \"approvingWay\": {\n                \"85396\": {\n                    \"step\": \"1 Approval Step 1\",\n                    \"approvers\": {\n                        \"95888\": {\n                            \"email\": \"apitesterfordocumentation@gmail.com\",\n                            \"datetime\": {\n                                \"date\": \"2024-10-02 06:58:14.371395\",\n                                \"timezone\": \"UTC\",\n                                \"timezone_type\": 3\n                            },\n                            \"user_approve\": true\n                        }\n                    },\n                    \"approve_type\": 1\n                }\n            },\n            \"location\": {\n                \"id\": 97962,\n                \"uniqueCode\": null,\n                \"name\": \"Main location\",\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"fullAddress\": null,\n                \"afaxysLocationId\": null,\n                \"phone\": null,\n                \"allLocationsAccessLegalEntities\": true,\n                \"enable\": true,\n                \"locationAddress\": {\n                    \"id\": null\n                },\n                \"externalId\": null\n            },\n            \"creator\": {\n                \"id\": 98684,\n                \"createDate\": \"2024-10-02T06:44:34+00:00\",\n                \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                \"email\": \"apitesterfordocumentation2@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation2@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": null,\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"availableIn\": [\n                    {\n                        \"id\": 22359,\n                        \"name\": \"TEST Api Precoro\",\n                        \"active\": true\n                    }\n                ],\n                \"hasConfirmationToken\": false\n            },\n            \"lastEditor\": [],\n            \"approvalSteps\": {\n                \"data\": []\n            },\n            \"warehouse\": {\n                \"id\": null\n            },\n            \"dataDocumentCustomFields\": {\n                \"data\": []\n            },\n            \"legalEntity\": {\n                \"id\": null\n            },\n            \"canOpenDocument\": true,\n            \"approvalInfo\": {\n                \"canApproveDocument\": false,\n                \"canRejectDocument\": false\n            },\n            \"relatedPurchaseRequisitions\": [],\n            \"relatedPurchaseRequisitionsCount\": 0\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 2,\n            \"count\": 2,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": {}\n        }\n    }\n}"}],"_postman_id":"eda4d69e-f356-44dc-81f9-e1ed6ae49897"},{"name":"Get Warehouse Request by IDN","id":"db3014c2-f6ee-4489-9751-902bb6c29da5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/warehouserequests/{idn}","urlObject":{"protocol":"https","path":["warehouserequests","{idn}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"3bc41ff9-cc5e-4050-9fc7-8ee4ecb11fe0","name":"Get Warehouse Request by IDN","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/warehouserequests/{idn}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 13:13:50 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 13:13:50 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=rvzcZaDXpnCZDaNL5BprmcJjCFXIAECaPQPLjhkrBLrwnwf4CbJ%2Bu4T2x4dqp3pZCJ2kStTZTPLxGiAXDgE4a1KA47JgTOYfQpS01SyhQ0LFrad1jpul%2FG1kJ%2BL7eYtgTg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9190ac9b89160820-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=1797&min_rtt=1588&rtt_var=745&sent=3&recv=5&lost=0&retrans=0&sent_bytes=219&recv_bytes=1133&delivery_rate=911838&cwnd=198&unsent_bytes=0&cid=123d19f0d35a02bf&ts=343&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 242311,\n    \"idn\": \"2\",\n    \"customName\": null,\n    \"createDate\": \"2025-02-28T13:12:18+00:00\",\n    \"updateDate\": \"2025-02-28T13:12:25+00:00\",\n    \"requiredDate\": \"2025-02-27T00:00:00+00:00\",\n    \"approvalDate\": \"2025-02-28T13:12:25+00:00\",\n    \"statusTransferred\": 0,\n    \"currency\": \"USD\",\n    \"precisionData\": {\n        \"USD\": {\n            \"precision\": 2,\n            \"roundMode\": \"math\"\n        }\n    },\n    \"note\": null,\n    \"exchangeRate\": [],\n    \"status\": 2,\n    \"allDocumentCustomFieldOptionsIds\": null,\n    \"sum\": 49.9,\n    \"approvingWay\": {\n        \"85396\": {\n            \"step\": \"1 Approval Step 1\",\n            \"approvers\": {\n                \"95888\": {\n                    \"email\": \"apitesterfordocumentation@gmail.com\",\n                    \"datetime\": {\n                        \"date\": \"2025-02-28 13:12:25.376677\",\n                        \"timezone\": \"UTC\",\n                        \"timezone_type\": 3\n                    },\n                    \"user_approve\": true\n                }\n            },\n            \"approve_type\": 1\n        }\n    },\n    \"location\": {\n        \"id\": 97962,\n        \"uniqueCode\": null,\n        \"name\": \"Main location\",\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"fullAddress\": null,\n        \"afaxysLocationId\": null,\n        \"phone\": null,\n        \"allLocationsAccessLegalEntities\": true,\n        \"enable\": true,\n        \"locationAddress\": {\n            \"id\": null\n        },\n        \"externalId\": null\n    },\n    \"creator\": {\n        \"id\": 95888,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n        \"email\": \"apitesterfordocumentation@gmail.com\",\n        \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n        \"locale\": \"en\",\n        \"phone\": \"+13456789\",\n        \"firstname\": \"Api\",\n        \"lastname\": \"Tester\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 97962\n        },\n        \"legalEntity\": {\n            \"id\": 23152\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allItemGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_INVOICE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_SUPPLIER_APPROVAL\",\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_EXPENSE\",\n            \"ROLE_EXPENSE_APPROVAL\",\n            \"ROLE_EXPENSE_PAYMENT\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPER_USER\",\n            \"ROLE_OCR\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"isPower\": true,\n        \"availableIn\": [\n            {\n                \"id\": 22359,\n                \"name\": \"TEST Api Precoro\",\n                \"active\": true\n            }\n        ],\n        \"hasConfirmationToken\": false\n    },\n    \"lastEditor\": [],\n    \"approvalSteps\": {\n        \"data\": []\n    },\n    \"warehouse\": {\n        \"id\": 33405,\n        \"createDate\": \"2024-11-07T12:10:44+00:00\",\n        \"name\": \"Warehouse 1\",\n        \"enable\": true,\n        \"integration\": false,\n        \"type\": 0,\n        \"uniqueCode\": null\n    },\n    \"dataDocumentCustomFields\": {\n        \"data\": []\n    },\n    \"legalEntity\": {\n        \"id\": 23152,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"enable\": true,\n        \"name\": \"TEST Api Precoro\",\n        \"legalAddress\": null,\n        \"accountNumber\": null,\n        \"accountHolderName\": null,\n        \"bankName\": null,\n        \"bankAddress\": null,\n        \"sortCode\": null,\n        \"businessRegistrationNumber\": null,\n        \"taxPayerType\": 2,\n        \"taxPayerNumber\": null,\n        \"phone\": null,\n        \"keyExecutive\": null,\n        \"fullName\": null,\n        \"permanentAccountNumber\": null,\n        \"internationalBankAccountNumber\": null,\n        \"americanBankersAssociationNumber\": null,\n        \"swiftCode\": null,\n        \"indianFinancialSystemCode\": null,\n        \"externalId\": null,\n        \"uniqueCode\": null\n    },\n    \"items\": {\n        \"data\": [\n            {\n                \"id\": 1653722,\n                \"createDate\": \"2025-02-28T13:12:22+00:00\",\n                \"updateDate\": \"2025-02-28T13:12:22+00:00\",\n                \"sku\": \"173516\",\n                \"name\": \"Home Desk\",\n                \"unit\": null,\n                \"currency\": \"USD\",\n                \"ordered\": 1,\n                \"received\": 0,\n                \"notReceived\": 1,\n                \"rejected\": 0,\n                \"status\": 0,\n                \"description\": null,\n                \"item\": {\n                    \"id\": 1447004,\n                    \"name\": \"Home Desk\",\n                    \"sku\": \"173516\",\n                    \"category\": {\n                        \"id\": null\n                    },\n                    \"supplier\": {\n                        \"id\": null\n                    },\n                    \"price\": 49.9,\n                    \"currency\": \"USD\"\n                },\n                \"warehouseRequest\": {\n                    \"id\": 242311\n                },\n                \"purchaseRequisitionItem\": {\n                    \"id\": null,\n                    \"rejected\": null\n                },\n                \"isSupplierRejected\": false,\n                \"marketItem\": {\n                    \"id\": null\n                },\n                \"link\": null,\n                \"price\": 49.9,\n                \"freeOfCharge\": false,\n                \"dataItemCustomFields\": {\n                    \"data\": []\n                }\n            }\n        ]\n    },\n    \"comments\": {\n        \"data\": []\n    },\n    \"followers\": {\n        \"data\": [\n            {\n                \"id\": 12271365,\n                \"user_status\": 1,\n                \"user_email\": \"apitesterfordocumentation@gmail.com\",\n                \"isAvailableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null\n            }\n        ]\n    },\n    \"attachments\": {\n        \"data\": []\n    }\n}"}],"_postman_id":"db3014c2-f6ee-4489-9751-902bb6c29da5"}],"id":"e01ae49b-43f7-4d56-92ce-87e5146cb0da","description":"<p>Status values description:<br /><strong>OPEN</strong> = 0<br /><strong>PENDING</strong> = 1<br /><strong>APPROVED</strong> = 2<br /><strong>DENIED</strong> = 3</p>\n<p><strong>ON_REVISE</strong> = 7<br /><strong>CANCELED</strong> = 8</p>\n<p><strong>APPROVAL_REVIEW</strong> = 10</p>\n<p><strong>CLOSED = 11</strong></p>\n<hr />\n<p>Items status description:<br /><strong>APPROVED</strong> = 1<br /><strong>REJECTED</strong> = 2</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"1a446060-3b32-41d7-9451-51973065562d"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"b46b2636-03d4-4afe-987c-a80137120914"}}],"_postman_id":"e01ae49b-43f7-4d56-92ce-87e5146cb0da"},{"name":"Purchase Requisitions","item":[{"name":"Get Purchase Requisitions list","id":"1ee134fd-2963-47de-8a14-41c550a5ab65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/purchaserequisitions?modifiedSince=2022-12-12T00:00:00&per_page=100&page=1&approvalLeftDate=2022-12-12T00:00:00&approvalRightDate=2024-01-10T00:00:00&status[]=2&status[]=1","urlObject":{"protocol":"https","path":["purchaserequisitions"],"host":["api","precoro","com"],"query":[{"description":{"content":"<p>(optionally) If an object was created or modified since the date, it will appears in results</p>\n","type":"text/plain"},"key":"modifiedSince","value":"2022-12-12T00:00:00"},{"description":{"content":"<p>(optionally) Number of items per page. Available options: 10, 20, 50, 100, 200</p>\n","type":"text/plain"},"key":"per_page","value":"100"},{"description":{"content":"<p>(optionally) Page number to be displayed</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>(optionally) If an object was approved since the date, it will appear in the results</p>\n","type":"text/plain"},"key":"approvalLeftDate","value":"2022-12-12T00:00:00"},{"description":{"content":"<p>(optionally) If an object was approved before the date, it will appear in the results</p>\n","type":"text/plain"},"key":"approvalRightDate","value":"2024-01-10T00:00:00"},{"description":{"content":"<p>(optionally) Return purchase requisitions on status approved</p>\n","type":"text/plain"},"key":"status[]","value":"2"},{"description":{"content":"<p>(optionally) Return purchase requisitions on status pending</p>\n","type":"text/plain"},"key":"status[]","value":"1"}],"variable":[]}},"response":[{"id":"23522da2-4b7d-43e8-afac-541fa0c108c8","name":"Get Purchase Requisitions list","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":{"raw":"https://api.precoro.com/purchaserequisitions?modifiedSince=2022-12-12T00:00:00&per_page=100&page=1&approvalLeftDate=2022-12-12T00:00:00&approvalRightDate=2024-01-10T00:00:00","protocol":"https","host":["api","precoro","com"],"path":["purchaserequisitions"],"query":[{"key":"modifiedSince","value":"2022-12-12T00:00:00","description":"(optionally) If an object was created or modified since the date, it will appears in results"},{"key":"per_page","value":"100","description":"(optionally) Number of items per page. Available options: 10, 20, 50, 100, 200"},{"key":"page","value":"1","description":"(optionally) Page number to be displayed"},{"key":"approvalLeftDate","value":"2022-12-12T00:00:00","description":"(optionally) If an object was approved since the date, it will appear in the results"},{"key":"approvalRightDate","value":"2024-01-10T00:00:00","description":"(optionally) If an object was approved before the date, it will appear in the results"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 13:51:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 13:51:48 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=32v7U3lNeDhDfox4oPhEcfoVw3ozctq5L86RWAaINlNvWVdFY4pFxRsOQ9YpcQxeZiwmNOYuDqwK6%2BZm45Uyy%2BmmZqBuGDH7hLeUyq16loOjRosVk%2FRpDFnzyXW9efM2Iw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9190e4351dab0830-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=2010&min_rtt=1848&rtt_var=809&sent=3&recv=5&lost=0&retrans=0&sent_bytes=219&recv_bytes=1188&delivery_rate=783549&cwnd=233&unsent_bytes=0&cid=f0907d10bca3284b&ts=439&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 787948,\n            \"idn\": \"2\",\n            \"customName\": null,\n            \"createDate\": \"2025-02-28T13:44:20+00:00\",\n            \"updateDate\": \"2025-02-28T13:50:18+00:00\",\n            \"requiredDate\": \"2025-02-28T00:00:00+00:00\",\n            \"approvalDate\": \"2025-02-28T13:44:27+00:00\",\n            \"budgetedSum\": 0,\n            \"currency\": \"USD\",\n            \"precisionData\": {\n                \"USD\": {\n                    \"precision\": 2,\n                    \"roundMode\": \"math\"\n                }\n            },\n            \"note\": null,\n            \"exchangeRate\": {\n                \"KHR:UAH\": 0.010371,\n                \"KHR:USD\": 0.000249,\n                \"UAH:KHR\": 96.426907,\n                \"UAH:USD\": 0.024042,\n                \"USD:KHR\": 4010.695509,\n                \"USD:UAH\": 41.593116\n            },\n            \"isAfaxys\": false,\n            \"punchoutType\": \"\",\n            \"status\": 2,\n            \"allDocumentCustomFieldOptionsIds\": null,\n            \"deductedSumName\": null,\n            \"deductedSumNamePercent\": null,\n            \"isNewSupplierAdded\": false,\n            \"sum\": 49.9,\n            \"approvingWay\": [],\n            \"location\": {\n                \"id\": 97962,\n                \"uniqueCode\": null,\n                \"name\": \"Main location\",\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"fullAddress\": null,\n                \"afaxysLocationId\": null,\n                \"phone\": null,\n                \"allLocationsAccessLegalEntities\": true,\n                \"enable\": true,\n                \"locationAddress\": {\n                    \"id\": null\n                },\n                \"externalId\": null\n            },\n            \"creator\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"availableIn\": [\n                    {\n                        \"id\": 22359,\n                        \"name\": \"TEST Api Precoro\",\n                        \"active\": true\n                    }\n                ],\n                \"hasConfirmationToken\": false\n            },\n            \"lastEditor\": [],\n            \"approvalSteps\": {\n                \"data\": []\n            },\n            \"budget\": [],\n            \"legalEntity\": {\n                \"id\": 23152,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"enable\": true,\n                \"name\": \"TEST Api Precoro\",\n                \"legalAddress\": null,\n                \"accountNumber\": null,\n                \"accountHolderName\": null,\n                \"bankName\": null,\n                \"bankAddress\": null,\n                \"sortCode\": null,\n                \"businessRegistrationNumber\": null,\n                \"taxPayerType\": 2,\n                \"taxPayerNumber\": null,\n                \"phone\": null,\n                \"keyExecutive\": null,\n                \"fullName\": null,\n                \"permanentAccountNumber\": null,\n                \"internationalBankAccountNumber\": null,\n                \"americanBankersAssociationNumber\": null,\n                \"swiftCode\": null,\n                \"indianFinancialSystemCode\": null,\n                \"externalId\": null,\n                \"uniqueCode\": null\n            },\n            \"dataDocumentCustomFields\": {\n                \"data\": []\n            },\n            \"approvalInfo\": {\n                \"canApproveDocument\": false,\n                \"canRejectDocument\": false\n            },\n            \"isBudgetOverLimit\": false,\n            \"entityTemplate\": [],\n            \"relatedPurchaseOrders\": [\n                {\n                    \"id\": 1877576,\n                    \"idn\": \"3\",\n                    \"creator\": {\n                        \"id\": 95888\n                    },\n                    \"requiredDate\": {\n                        \"date\": \"2025-02-28 00:00:00.000000\",\n                        \"timezone_type\": 3,\n                        \"timezone\": \"UTC\"\n                    }\n                }\n            ],\n            \"relatedPurchaseOrdersCount\": 1,\n            \"relatedServiceOrders\": [],\n            \"relatedServiceOrdersCount\": 0,\n            \"relatedWarehouseRequests\": [],\n            \"relatedWarehouseRequestsCount\": 0\n        },\n        {\n            \"id\": 787946,\n            \"idn\": \"1\",\n            \"customName\": null,\n            \"createDate\": \"2025-02-28T13:44:03+00:00\",\n            \"updateDate\": \"2025-02-28T13:44:12+00:00\",\n            \"requiredDate\": \"2025-02-28T00:00:00+00:00\",\n            \"approvalDate\": \"2025-02-28T13:44:12+00:00\",\n            \"budgetedSum\": 0,\n            \"currency\": \"USD\",\n            \"precisionData\": {\n                \"USD\": {\n                    \"precision\": 2,\n                    \"roundMode\": \"math\"\n                }\n            },\n            \"note\": null,\n            \"exchangeRate\": {\n                \"KHR:UAH\": 0.010371,\n                \"KHR:USD\": 0.000249,\n                \"UAH:KHR\": 96.426907,\n                \"UAH:USD\": 0.024042,\n                \"USD:KHR\": 4010.695509,\n                \"USD:UAH\": 41.593116\n            },\n            \"isAfaxys\": false,\n            \"punchoutType\": \"\",\n            \"status\": 2,\n            \"allDocumentCustomFieldOptionsIds\": null,\n            \"deductedSumName\": null,\n            \"deductedSumNamePercent\": null,\n            \"isNewSupplierAdded\": false,\n            \"sum\": 49.9,\n            \"approvingWay\": [],\n            \"location\": {\n                \"id\": 97962,\n                \"uniqueCode\": null,\n                \"name\": \"Main location\",\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"fullAddress\": null,\n                \"afaxysLocationId\": null,\n                \"phone\": null,\n                \"allLocationsAccessLegalEntities\": true,\n                \"enable\": true,\n                \"locationAddress\": {\n                    \"id\": null\n                },\n                \"externalId\": null\n            },\n            \"creator\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"availableIn\": [\n                    {\n                        \"id\": 22359,\n                        \"name\": \"TEST Api Precoro\",\n                        \"active\": true\n                    }\n                ],\n                \"hasConfirmationToken\": false\n            },\n            \"lastEditor\": [],\n            \"approvalSteps\": {\n                \"data\": []\n            },\n            \"budget\": [],\n            \"legalEntity\": {\n                \"id\": 23152,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"enable\": true,\n                \"name\": \"TEST Api Precoro\",\n                \"legalAddress\": null,\n                \"accountNumber\": null,\n                \"accountHolderName\": null,\n                \"bankName\": null,\n                \"bankAddress\": null,\n                \"sortCode\": null,\n                \"businessRegistrationNumber\": null,\n                \"taxPayerType\": 2,\n                \"taxPayerNumber\": null,\n                \"phone\": null,\n                \"keyExecutive\": null,\n                \"fullName\": null,\n                \"permanentAccountNumber\": null,\n                \"internationalBankAccountNumber\": null,\n                \"americanBankersAssociationNumber\": null,\n                \"swiftCode\": null,\n                \"indianFinancialSystemCode\": null,\n                \"externalId\": null,\n                \"uniqueCode\": null\n            },\n            \"dataDocumentCustomFields\": {\n                \"data\": []\n            },\n            \"approvalInfo\": {\n                \"canApproveDocument\": false,\n                \"canRejectDocument\": false\n            },\n            \"isBudgetOverLimit\": false,\n            \"entityTemplate\": [],\n            \"relatedPurchaseOrders\": [],\n            \"relatedPurchaseOrdersCount\": 0,\n            \"relatedServiceOrders\": [],\n            \"relatedServiceOrdersCount\": 0,\n            \"relatedWarehouseRequests\": [],\n            \"relatedWarehouseRequestsCount\": 0\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 2,\n            \"count\": 2,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": {}\n        }\n    }\n}"}],"_postman_id":"1ee134fd-2963-47de-8a14-41c550a5ab65"},{"name":"Get Purchase Requisition by IDN","id":"5d85ea37-0223-4ca8-8ff7-1a66332fd8eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/purchaserequisitions/{idn}","urlObject":{"protocol":"https","path":["purchaserequisitions","{idn}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"63139c56-ecae-4918-9d61-d21668663df8","name":"Get Purchase Requisition by IDN","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/purchaserequisitions/{idn}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 13:52:07 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 13:52:07 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Ux7j%2FqzsOFNM6%2BhoZWONEPd9ixaYXKjfkbtvC%2FJWVBkK0zhK4eit24eZQnI5XLxfkcrwI3oBgAH2sI%2FkwZdEsUF98DqcFMhImcRNbXbyRlew%2BlH92hX7Cz%2BiH4KP3xq2wA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9190e4adfc19d6b8-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7756&min_rtt=2270&rtt_var=11215&sent=8&recv=8&lost=0&retrans=0&sent_bytes=3874&recv_bytes=1313&delivery_rate=1275770&cwnd=230&unsent_bytes=0&cid=33c28d1c04d18259&ts=3656&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 787946,\n    \"idn\": \"1\",\n    \"customName\": null,\n    \"createDate\": \"2025-02-28T13:44:03+00:00\",\n    \"updateDate\": \"2025-02-28T13:44:12+00:00\",\n    \"requiredDate\": \"2025-02-28T00:00:00+00:00\",\n    \"approvalDate\": \"2025-02-28T13:44:12+00:00\",\n    \"budgetedSum\": 0,\n    \"currency\": \"USD\",\n    \"precisionData\": {\n        \"USD\": {\n            \"precision\": 2,\n            \"roundMode\": \"math\"\n        }\n    },\n    \"note\": null,\n    \"exchangeRate\": {\n        \"KHR:UAH\": 0.010371,\n        \"KHR:USD\": 0.000249,\n        \"UAH:KHR\": 96.426907,\n        \"UAH:USD\": 0.024042,\n        \"USD:KHR\": 4010.695509,\n        \"USD:UAH\": 41.593116\n    },\n    \"isAfaxys\": false,\n    \"punchoutType\": \"\",\n    \"status\": 2,\n    \"allDocumentCustomFieldOptionsIds\": null,\n    \"deductedSumName\": null,\n    \"deductedSumNamePercent\": null,\n    \"isNewSupplierAdded\": false,\n    \"sum\": 49.9,\n    \"approvingWay\": [],\n    \"location\": {\n        \"id\": 97962,\n        \"uniqueCode\": null,\n        \"name\": \"Main location\",\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"fullAddress\": null,\n        \"afaxysLocationId\": null,\n        \"phone\": null,\n        \"allLocationsAccessLegalEntities\": true,\n        \"enable\": true,\n        \"locationAddress\": {\n            \"id\": null\n        },\n        \"externalId\": null\n    },\n    \"creator\": {\n        \"id\": 95888,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n        \"email\": \"apitesterfordocumentation@gmail.com\",\n        \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n        \"locale\": \"en\",\n        \"phone\": \"+13456789\",\n        \"firstname\": \"Api\",\n        \"lastname\": \"Tester\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 97962\n        },\n        \"legalEntity\": {\n            \"id\": 23152\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allItemGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_INVOICE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_SUPPLIER_APPROVAL\",\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_EXPENSE\",\n            \"ROLE_EXPENSE_APPROVAL\",\n            \"ROLE_EXPENSE_PAYMENT\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPER_USER\",\n            \"ROLE_OCR\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"isPower\": true,\n        \"availableIn\": [\n            {\n                \"id\": 22359,\n                \"name\": \"TEST Api Precoro\",\n                \"active\": true\n            }\n        ],\n        \"hasConfirmationToken\": false\n    },\n    \"lastEditor\": [],\n    \"approvalSteps\": {\n        \"data\": []\n    },\n    \"budget\": [],\n    \"legalEntity\": {\n        \"id\": 23152,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"enable\": true,\n        \"name\": \"TEST Api Precoro\",\n        \"legalAddress\": null,\n        \"accountNumber\": null,\n        \"accountHolderName\": null,\n        \"bankName\": null,\n        \"bankAddress\": null,\n        \"sortCode\": null,\n        \"businessRegistrationNumber\": null,\n        \"taxPayerType\": 2,\n        \"taxPayerNumber\": null,\n        \"phone\": null,\n        \"keyExecutive\": null,\n        \"fullName\": null,\n        \"permanentAccountNumber\": null,\n        \"internationalBankAccountNumber\": null,\n        \"americanBankersAssociationNumber\": null,\n        \"swiftCode\": null,\n        \"indianFinancialSystemCode\": null,\n        \"externalId\": null,\n        \"uniqueCode\": null\n    },\n    \"items\": {\n        \"data\": [\n            {\n                \"id\": 3017277,\n                \"createDate\": \"2025-02-28T13:44:08+00:00\",\n                \"updateDate\": \"2025-02-28T13:44:08+00:00\",\n                \"sku\": \"173516\",\n                \"name\": \"Home Desk\",\n                \"unit\": null,\n                \"currency\": \"USD\",\n                \"ordered\": 1,\n                \"rejected\": 0,\n                \"received\": 0,\n                \"addedToPurchaseOrder\": 0,\n                \"status\": 0,\n                \"description\": null,\n                \"item\": {\n                    \"id\": 1447004,\n                    \"name\": \"Home Desk\",\n                    \"sku\": \"173516\",\n                    \"type\": 1,\n                    \"price\": 49.9,\n                    \"currency\": \"USD\"\n                },\n                \"budgetedSum\": 0,\n                \"purchaseRequisition\": {\n                    \"id\": 787946\n                },\n                \"purchaseOrderServiceItem\": {\n                    \"id\": null\n                },\n                \"requestForProposalItem\": {\n                    \"id\": null,\n                    \"deliveryDate\": null\n                },\n                \"category\": {\n                    \"id\": null\n                },\n                \"supplier\": {\n                    \"id\": null\n                },\n                \"isSupplierRejected\": false,\n                \"marketItem\": {\n                    \"id\": null\n                },\n                \"type\": 1,\n                \"requestOrdered\": \"0.000000\",\n                \"link\": null,\n                \"price\": 49.9,\n                \"freeOfCharge\": false,\n                \"dataItemCustomFields\": {\n                    \"data\": []\n                },\n                \"budget\": null\n            }\n        ]\n    },\n    \"comments\": {\n        \"data\": []\n    },\n    \"followers\": {\n        \"data\": [\n            {\n                \"id\": 12271726,\n                \"user_status\": 1,\n                \"user_email\": \"apitesterfordocumentation@gmail.com\",\n                \"isAvailableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null\n            }\n        ]\n    },\n    \"dataDocumentCustomFields\": {\n        \"data\": []\n    },\n    \"attachments\": {\n        \"data\": []\n    },\n    \"isBudgetOverLimit\": false,\n    \"entityTemplate\": []\n}"}],"_postman_id":"5d85ea37-0223-4ca8-8ff7-1a66332fd8eb"},{"name":"Post Complete Purchase Requisition via IDN","id":"667683ba-cc35-445a-9e63-69536cc4f690","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/purchaserequisitions/{idn}/complete","urlObject":{"protocol":"https","path":["purchaserequisitions","{idn}","complete"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"3d1106dc-79f9-4324-a8df-d8d1a037f4c6","name":"Post Complete Purchase Requisition via IDN","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/purchaserequisitions/{idn}/complete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Mar 2025 14:09:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Thu, 06 Mar 2025 14:09:10 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=qsn2men5nvaqlluv721ag5tdk5; path=/; secure; httponly; samesite=lax"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=GdZi%2F%2BuUqPaQ%2F8VA218n5GI9YuqqKBF5iVUyR6XLEXvc04psoQ1i8wAligRHnVTKvrGqyybVAAOBba7Y78cWmGdPujV4NwK7UCWBaQ4oDMYGBwjhENfHESYKbwxeD4PTYQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91c26de2fb9982c9-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=1540&min_rtt=1468&rtt_var=602&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2337&recv_bytes=872&delivery_rate=1972752&cwnd=148&unsent_bytes=0&cid=0a4045ee79e4ead0&ts=520&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 787946,\n    \"idn\": \"1\",\n    \"customName\": null,\n    \"createDate\": \"2025-02-28T13:44:03+00:00\",\n    \"updateDate\": \"2025-03-06T14:09:09+00:00\",\n    \"requiredDate\": \"2025-02-28T00:00:00+00:00\",\n    \"approvalDate\": \"2025-02-28T13:44:12+00:00\",\n    \"budgetedSum\": 0,\n    \"currency\": \"USD\",\n    \"precisionData\": {\n        \"USD\": {\n            \"precision\": 2,\n            \"roundMode\": \"math\"\n        }\n    },\n    \"note\": null,\n    \"exchangeRate\": {\n        \"KHR:UAH\": 0.010371,\n        \"KHR:USD\": 0.000249,\n        \"UAH:KHR\": 96.426907,\n        \"UAH:USD\": 0.024042,\n        \"USD:KHR\": 4010.695509,\n        \"USD:UAH\": 41.593116\n    },\n    \"punchoutType\": \"\",\n    \"status\": 5,\n    \"allDocumentCustomFieldOptionsIds\": null,\n    \"deductedSumName\": null,\n    \"deductedSumNamePercent\": null,\n    \"isNewSupplierAdded\": false,\n    \"sum\": 49.9,\n    \"approvingWay\": [],\n    \"location\": {\n        \"id\": 97962,\n        \"uniqueCode\": null,\n        \"name\": \"Main location\",\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"fullAddress\": null,\n        \"afaxysLocationId\": null,\n        \"phone\": null,\n        \"allLocationsAccessLegalEntities\": true,\n        \"enable\": true,\n        \"locationAddress\": {\n            \"id\": null\n        },\n        \"externalId\": null\n    },\n    \"creator\": {\n        \"id\": 95888,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n        \"email\": \"apitesterfordocumentation@gmail.com\",\n        \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n        \"locale\": \"en\",\n        \"phone\": \"+13456789\",\n        \"firstname\": \"Api\",\n        \"lastname\": \"Tester\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 97962\n        },\n        \"legalEntity\": {\n            \"id\": 23152\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allItemGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_INVOICE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_SUPPLIER_APPROVAL\",\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_EXPENSE\",\n            \"ROLE_EXPENSE_APPROVAL\",\n            \"ROLE_EXPENSE_PAYMENT\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPER_USER\",\n            \"ROLE_OCR\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"isPower\": true,\n        \"availableIn\": [\n            {\n                \"id\": 22359,\n                \"name\": \"TEST Api Precoro\",\n                \"active\": true\n            }\n        ],\n        \"hasConfirmationToken\": false\n    },\n    \"lastEditor\": [],\n    \"approvalSteps\": {\n        \"data\": []\n    },\n    \"budget\": [],\n    \"legalEntity\": {\n        \"id\": 23152,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"enable\": true,\n        \"name\": \"TEST Api Precoro\",\n        \"legalAddress\": null,\n        \"accountNumber\": null,\n        \"accountHolderName\": null,\n        \"bankName\": null,\n        \"bankAddress\": null,\n        \"sortCode\": null,\n        \"businessRegistrationNumber\": null,\n        \"taxPayerType\": 2,\n        \"taxPayerNumber\": null,\n        \"phone\": null,\n        \"keyExecutive\": null,\n        \"fullName\": null,\n        \"permanentAccountNumber\": null,\n        \"internationalBankAccountNumber\": null,\n        \"americanBankersAssociationNumber\": null,\n        \"swiftCode\": null,\n        \"indianFinancialSystemCode\": null,\n        \"externalId\": null,\n        \"uniqueCode\": null\n    },\n    \"dataDocumentCustomFields\": {\n        \"data\": []\n    },\n    \"approvalInfo\": {\n        \"canApproveDocument\": false,\n        \"canRejectDocument\": false\n    },\n    \"isBudgetOverLimit\": false,\n    \"entityTemplate\": [],\n    \"relatedPurchaseOrders\": [],\n    \"relatedPurchaseOrdersCount\": 0,\n    \"relatedServiceOrders\": [],\n    \"relatedServiceOrdersCount\": 0,\n    \"relatedWarehouseRequests\": [],\n    \"relatedWarehouseRequestsCount\": 0\n}"}],"_postman_id":"667683ba-cc35-445a-9e63-69536cc4f690"},{"name":"Create Purchase Requisition","id":"b285a9cd-d6b7-429c-9376-699e7800536f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","description":"<p>Personal API token</p>\n"},{"key":"email","value":"user@company.com","description":"<p>User email matching the token</p>\n"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"requiredDate\": \"2026-12-01T00:00:00+00:00\",\n  \"currency\": \"USD\",\n  \"note\": \"<p>Created via API</p>\",\n  \"location\": {\n    \"id\": 97962\n  },\n  \"legalEntity\": {\n    \"id\": 23152\n  },\n  \"budget\": {\n    \"id\": null\n  },\n  \"dataDocumentCustomFields\": {\n    \"data\": [\n      {\n        \"documentCustomField\": { \"id\": \"29942\" },\n        \"value\": \"267574\",\n        \"type\": 1\n      }\n    ]\n  },\n  \"items\": {\n    \"data\": [\n      {\n        \"item\": { \"id\": 1447004 },\n        \"ordered\": 2,\n        \"price\": 49.90,\n        \"currency\": \"USD\",\n        \"supplier\": { \"id\": null },\n        \"dataItemCustomFields\": { \"data\": [] }\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.precoro.com/purchaserequisitions","description":"<p>Creates a new Purchase Requisition document in <strong>Draft</strong> status.</p>\n<h2 id=\"authorization\">Authorization</h2>\n<p>Only users with the <strong>Create</strong> role for Purchase Requisitions can create documents.</p>\n<h2 id=\"required-fields\">Required fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>requiredDate</code></td>\n<td>string (ISO-8601)</td>\n<td>Delivery date, e.g. <code>\"2026-12-01T00:00:00+00:00\"</code></td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>string</td>\n<td>3-letter currency code, e.g. <code>\"USD\"</code></td>\n</tr>\n<tr>\n<td><code>location.id</code></td>\n<td>integer</td>\n<td>Location ID (must exist in the company and be accessible to the user)</td>\n</tr>\n<tr>\n<td><code>dataDocumentCustomFields.data</code></td>\n<td>array</td>\n<td>Array of DCF values. Must be present even if empty (<code>[]</code>). All <strong>required</strong> DCFs must be provided.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"optional-fields\">Optional fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>legalEntity.id</code></td>\n<td>integer</td>\n<td>Required when Legal Entities are enabled for the company</td>\n</tr>\n<tr>\n<td><code>budget.id</code></td>\n<td>integer</td>\n<td>Budget line ID</td>\n</tr>\n<tr>\n<td><code>note</code></td>\n<td>string</td>\n<td>HTML-formatted note text</td>\n</tr>\n<tr>\n<td><code>items.data</code></td>\n<td>array</td>\n<td>Array of item objects (max 500). See item fields below.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"item-fields\">Item fields</h2>\n<h3 id=\"catalog-item-itemid-provided\">Catalog item (item.id provided)</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"item\": { \"id\": 1447004 },\n  \"ordered\": 2,\n  \"price\": 49.90,\n  \"currency\": \"USD\",\n  \"supplier\": { \"id\": null },\n  \"dataItemCustomFields\": { \"data\": [] }\n}\n</code></pre>\n<p>When a catalog item ID is provided, <code>name</code>, <code>sku</code>, <code>description</code>, <code>type</code> are taken from the catalog and are optional.</p>\n<h3 id=\"non-catalog-item\">Non-catalog item</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"name\": \"Office Chair\",\n  \"ordered\": 2,\n  \"price\": 150.00,\n  \"currency\": \"USD\",\n  \"type\": 0,\n  \"freeOfCharge\": false,\n  \"supplier\": { \"id\": 719430 },\n  \"dataItemCustomFields\": {\n    \"data\": [\n      { \"value\": \"796632\", \"itemCustomField\": { \"id\": 29663 } }\n    ]\n  }\n}\n</code></pre>\n<h3 id=\"shipping-item\">Shipping item</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"name\": \"Delivery\",\n  \"ordered\": 1,\n  \"price\": 25.00,\n  \"currency\": \"USD\",\n  \"type\": 3,\n  \"freeOfCharge\": false,\n  \"supplier\": { \"id\": null },\n  \"dataItemCustomFields\": { \"data\": [] }\n}\n</code></pre>\n<h3 id=\"item-type-values\">Item <code>type</code> values</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>0</code></td>\n<td>Non-inventory</td>\n</tr>\n<tr>\n<td><code>1</code></td>\n<td>Inventory</td>\n</tr>\n<tr>\n<td><code>2</code></td>\n<td>Service</td>\n</tr>\n<tr>\n<td><code>3</code></td>\n<td>Shipping</td>\n</tr>\n<tr>\n<td><code>4</code></td>\n<td>Tax</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"dcf-type-values\">DCF <code>type</code> values</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>1</code></td>\n<td>Dropdown — <code>value</code> is the <strong>option ID</strong> (string)</td>\n</tr>\n<tr>\n<td><code>2</code></td>\n<td>Text — <code>value</code> is a plain string</td>\n</tr>\n<tr>\n<td><code>3</code></td>\n<td>Date — <code>value</code> is an ISO-8601 date string</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<p><code>201 Created</code> — returns the new document IDN and internal ID:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{ \"idn\": 4, \"id\": 1006245 }\n</code></pre>\n<p>Use the returned <code>idn</code> to fetch the full document via <code>GET /purchaserequisitions/{idn}</code>.</p>\n","urlObject":{"protocol":"https","path":["purchaserequisitions"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"0977000d-6b32-435a-b286-623818e47b19","name":"201 Created — catalog item (minimal)","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"{{authToken}}"},{"key":"email","value":"{{email}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"requiredDate\": \"2026-12-01T00:00:00+00:00\",\n  \"currency\": \"USD\",\n  \"note\": \"<p>Created via API for documentation purposes</p>\",\n  \"location\": { \"id\": 97962 },\n  \"legalEntity\": { \"id\": 23152 },\n  \"dataDocumentCustomFields\": {\n    \"data\": [\n      { \"documentCustomField\": { \"id\": \"29942\" }, \"value\": \"267574\", \"type\": 1 }\n    ]\n  },\n  \"items\": {\n    \"data\": [\n      {\n        \"item\": { \"id\": 1447004 },\n        \"ordered\": 2,\n        \"price\": 49.90,\n        \"currency\": \"USD\",\n        \"supplier\": { \"id\": null },\n        \"dataItemCustomFields\": { \"data\": [] }\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"/purchaserequisitions"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"idn\": 4,\n  \"id\": 1006245\n}"},{"id":"8fbabd6c-d552-4752-bd75-138be257be4e","name":"201 Created — full body (catalog + non-catalog + shipping items)","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"{{authToken}}"},{"key":"email","value":"{{email}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"requiredDate\": \"2026-12-01T00:00:00+00:00\",\n  \"currency\": \"USD\",\n  \"note\": \"<p>Full example with non-catalog item</p>\",\n  \"location\": { \"id\": 97962 },\n  \"legalEntity\": { \"id\": 23152 },\n  \"dataDocumentCustomFields\": {\n    \"data\": [\n      { \"documentCustomField\": { \"id\": \"29942\" }, \"value\": \"267574\", \"type\": 1 }\n    ]\n  },\n  \"items\": {\n    \"data\": [\n      {\n        \"item\": { \"id\": 1447004 },\n        \"ordered\": 1,\n        \"price\": 49.90,\n        \"currency\": \"USD\",\n        \"supplier\": { \"id\": null },\n        \"dataItemCustomFields\": { \"data\": [] }\n      },\n      {\n        \"name\": \"Office Chair\",\n        \"ordered\": 2,\n        \"price\": 150.00,\n        \"currency\": \"USD\",\n        \"type\": 0,\n        \"freeOfCharge\": false,\n        \"supplier\": { \"id\": 719430 },\n        \"dataItemCustomFields\": {\n          \"data\": [\n            { \"value\": \"796632\", \"itemCustomField\": { \"id\": 29663 } }\n          ]\n        }\n      },\n      {\n        \"name\": \"Delivery\",\n        \"ordered\": 1,\n        \"price\": 25.00,\n        \"currency\": \"USD\",\n        \"type\": 3,\n        \"freeOfCharge\": false,\n        \"supplier\": { \"id\": null },\n        \"dataItemCustomFields\": { \"data\": [] }\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"/purchaserequisitions"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"idn\": 5,\n  \"id\": 1006253\n}"},{"id":"49447e09-fbd6-44c8-8928-2dbbc4dbd505","name":"400 Bad Request — validation error (missing requiredDate)","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"{{authToken}}"},{"key":"email","value":"{{email}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"currency\": \"USD\",\n  \"location\": { \"id\": 97962 },\n  \"dataDocumentCustomFields\": { \"data\": [] }\n}","options":{"raw":{"language":"json"}}},"url":"/purchaserequisitions"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": {\n    \"errors\": {\n      \"requiredDate\": \"This value should not be null.\"\n    }\n  }\n}"},{"id":"84fe1276-408d-4e30-b552-bae4d95a1771","name":"400 Bad Request — business logic error","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"{{authToken}}"},{"key":"email","value":"{{email}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"/purchaserequisitions"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"code\": 400,\n    \"message\": \"Item price should not be zero.\"\n  }\n}"},{"id":"b2e14f2a-1c4c-4a75-a07c-ae6337850d49","name":"401 Unauthorized — invalid credentials","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"invalid_token"},{"key":"email","value":"user@example.com"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"/purchaserequisitions"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"code\": 401,\n    \"message\": \"Bad credentials.\"\n  }\n}"},{"id":"d54bf8fd-6cf9-4648-8433-ec589be93440","name":"403 Forbidden — no permission to create PR","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"{{authToken}}"},{"key":"email","value":"{{email}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"/purchaserequisitions"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 403,\n  \"message\": \"Access Denied.\"\n}"}],"_postman_id":"b285a9cd-d6b7-429c-9376-699e7800536f"},{"name":"Confirm Purchase Requisition","id":"1d13304a-d17b-413d-a556-281867e3a036","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","description":"<p>Personal API token</p>\n"},{"key":"email","value":"user@company.com","description":"<p>User email matching the token</p>\n"}],"body":{"mode":"raw","raw":""},"url":"/purchaserequisitions/:idn/confirm","description":"<p>Confirms a Purchase Requisition document, moving it from <strong>Draft</strong> to <strong>Pending</strong> (or <strong>Approved</strong> if no approval workflow is configured).</p>\n<h2 id=\"prerequisites\">Prerequisites</h2>\n<ul>\n<li><p>The document must be in <strong>Draft</strong> status</p>\n</li>\n<li><p>The user must have permission to confirm the document (typically the creator or a user with the Create role)</p>\n</li>\n<li><p>All required DCFs must be filled</p>\n</li>\n<li><p>If the company requires attachments before confirmation, at least one attachment must exist (use <code>POST /attachments/{object_id}/2</code> to add attachments)</p>\n</li>\n</ul>\n<h2 id=\"path-parameter\">Path parameter</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>idn</code></td>\n<td>IDN of the PR (returned from the Create endpoint)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request body</h2>\n<p>No request body required.</p>\n<h2 id=\"response\">Response</h2>\n<p><code>200 OK</code> — returns the full PR object with updated <code>status</code>.</p>\n<h3 id=\"status-values\">Status values</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>0</code></td>\n<td>Draft</td>\n</tr>\n<tr>\n<td><code>1</code></td>\n<td>Pending (waiting for approval)</td>\n</tr>\n<tr>\n<td><code>2</code></td>\n<td>Approved</td>\n</tr>\n<tr>\n<td><code>3</code></td>\n<td>Rejected</td>\n</tr>\n<tr>\n<td><code>4</code></td>\n<td>Cancelled</td>\n</tr>\n<tr>\n<td><code>5</code></td>\n<td>Purchased / Completed</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"error-cases\">Error cases</h2>\n<ul>\n<li><p><code>403</code> — user cannot confirm this document (wrong status or insufficient permissions)</p>\n</li>\n<li><p><code>409</code> — budget limit exceeded or document is in a closed accounting period</p>\n</li>\n</ul>\n","urlObject":{"path":["purchaserequisitions",":idn","confirm"],"host":[""],"query":[],"variable":[{"id":"ae87b42c-88f1-4f88-9673-69be4815aec8","description":{"content":"<p>The IDN of the Purchase Requisition to confirm</p>\n","type":"text/plain"},"type":"any","value":"4","key":"idn"}]}},"response":[{"id":"82e9b916-a9f0-4ca3-935e-678862b95cc1","name":"200 OK — confirmed successfully (no approval workflow)","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"{{authToken}}"},{"key":"email","value":"{{email}}"}],"url":"/purchaserequisitions/4/confirm"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 1006245,\n  \"idn\": \"4\",\n  \"customName\": null,\n  \"createDate\": \"2026-03-23T09:01:17+00:00\",\n  \"updateDate\": \"2026-03-23T09:02:06+00:00\",\n  \"requiredDate\": \"2026-12-01T00:00:00+00:00\",\n  \"approvalDate\": \"2026-03-23T09:02:06+00:00\",\n  \"budgetedSum\": 0,\n  \"currency\": \"USD\",\n  \"precisionData\": {\n    \"USD\": { \"precision\": 2, \"roundMode\": \"math\" }\n  },\n  \"note\": \"<p>Created via API for documentation purposes</p>\",\n  \"exchangeRate\": {\n    \"UAH:USD\": 0.022752,\n    \"USD:UAH\": 43.953099\n  },\n  \"punchoutType\": 0,\n  \"status\": 2,\n  \"allDocumentCustomFieldOptionsIds\": \"267574\",\n  \"isNewSupplierAdded\": false,\n  \"logicType\": 0,\n  \"sum\": 99.8,\n  \"approvingWay\": [],\n  \"location\": {\n    \"id\": 97962,\n    \"name\": \"Main location\",\n    \"enable\": true\n  },\n  \"creator\": {\n    \"id\": 95888,\n    \"email\": \"apitesterfordocumentation@gmail.com\",\n    \"firstname\": \"Api\",\n    \"lastname\": \"Tester\"\n  },\n  \"lastEditor\": { \"id\": null },\n  \"approvalSteps\": { \"data\": [] },\n  \"budget\": { \"id\": null },\n  \"legalEntity\": {\n    \"id\": 23152,\n    \"name\": \"TEST Api Precoro\",\n    \"enable\": true\n  },\n  \"dataDocumentCustomFields\": {\n    \"data\": [\n      {\n        \"id\": 2097124,\n        \"value\": \"267574\",\n        \"type\": 1,\n        \"documentCustomField\": { \"id\": 29942 }\n      }\n    ]\n  },\n  \"approvalInfo\": {\n    \"canApproveDocument\": false,\n    \"canRejectDocument\": false\n  },\n  \"isBudgetOverLimit\": false,\n  \"entityTemplate\": { \"id\": null },\n  \"relatedPurchaseOrders\": [],\n  \"relatedPurchaseOrdersCount\": 0,\n  \"relatedServiceOrders\": [],\n  \"relatedServiceOrdersCount\": 0,\n  \"relatedWarehouseRequests\": [],\n  \"relatedWarehouseRequestsCount\": 0,\n  \"meta\": {\n    \"notifications\": [\n      {\n        \"id\": null,\n        \"message\": \"Confirmed successfully.\",\n        \"type\": \"success\"\n      }\n    ]\n  }\n}"},{"id":"b178b1a0-93b9-433f-9d6c-6b23aed5b721","name":"403 Forbidden — cannot confirm (wrong status or no permission)","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"{{authToken}}"},{"key":"email","value":"{{email}}"}],"url":"/purchaserequisitions/4/confirm"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 403,\n  \"message\": \"Access Denied.\"\n}"},{"id":"1c81049d-d297-469c-8302-b596165eeda2","name":"409 Conflict — budget limit exceeded","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"{{authToken}}"},{"key":"email","value":"{{email}}"}],"url":"/purchaserequisitions/4/confirm"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"code\": 409,\n    \"message\": \"Budget limit exceeded. Please use another budget.\"\n  }\n}"}],"_postman_id":"1d13304a-d17b-413d-a556-281867e3a036"}],"id":"232275c7-597a-496d-911b-197160085d22","description":"<p>Status values description:<br /><strong>OPEN</strong> = 0<br /><strong>PENDING</strong> = 1<br /><strong>APPROVED</strong> = 2<br /><strong>DENIED</strong> = 3</p>\n<p><strong>PURCHASED</strong> = 5</p>\n<p><strong>ON_REVISE</strong> = 7<br /><strong>CANCELED</strong> = 8</p>\n<p><strong>APPROVAL_REVIEW</strong> = 10<br /><strong>CLOSED</strong> = 11</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"c04986fa-0fd6-4245-92ba-e8dfbf9150c8"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"3b737cdf-9727-4695-8661-8f6f91c9b24c"}}],"_postman_id":"232275c7-597a-496d-911b-197160085d22"},{"name":"Request for Proposals","item":[{"name":"Get Request For Proposals list","id":"fa26196d-150b-4c33-a9d5-29e87e4bf2f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/requestforproposals?modifiedSince=2022-12-12T00:00:00&per_page=100&page=1&status[]=2&status[]=1","urlObject":{"protocol":"https","path":["requestforproposals"],"host":["api","precoro","com"],"query":[{"description":{"content":"<p>(optionally) If an object was created or modified since the date, it will appears in results</p>\n","type":"text/plain"},"key":"modifiedSince","value":"2022-12-12T00:00:00"},{"description":{"content":"<p>(optionally) Number of items per page. Available options: 10, 20, 50, 100, 200</p>\n","type":"text/plain"},"key":"per_page","value":"100"},{"description":{"content":"<p>(optionally) Page number to be displayed</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>(optionally) Return request for proposals on status approved</p>\n","type":"text/plain"},"key":"status[]","value":"2"},{"description":{"content":"<p>(optionally) Return request for proposals on status pending</p>\n","type":"text/plain"},"key":"status[]","value":"1"}],"variable":[]}},"response":[{"id":"a4e6ff2d-bf1e-4ed3-93e6-a9011f1d4dfc","name":"Get Request For Proposals list","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":{"raw":"https://api.precoro.com/requestforproposals?modifiedSince=2022-12-12T00:00:00&per_page=100&page=1","protocol":"https","host":["api","precoro","com"],"path":["requestforproposals"],"query":[{"key":"modifiedSince","value":"2022-12-12T00:00:00","description":"(optionally) If an object was created or modified since the date, it will appears in results"},{"key":"per_page","value":"100","description":"(optionally) Number of items per page. Available options: 10, 20, 50, 100, 200"},{"key":"page","value":"1","description":"(optionally) Page number to be displayed"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Fri, 05 Dec 2025 11:52:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-user","value":"95888"},{"key":"x-active-company","value":"22359"},{"key":"x-active-company-user","value":"102979"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=3yDyxJp7uwIOL5BdaMOCmYl8IDOAgC7HzOCO6TVzbnKIfPV57AJvIUWizNea9Kjejbw3vcDF3ow%2Ff4JvlIKxN4A9mRUR8VV3rv%2BAxJpv\"}]}"},{"key":"Content-Encoding","value":"br"},{"key":"CF-RAY","value":"9a9356a28931d637-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 82285,\n            \"idn\": \"2\",\n            \"customName\": null,\n            \"createDate\": \"2025-02-28T13:55:47+00:00\",\n            \"updateDate\": \"2025-02-28T14:01:11+00:00\",\n            \"requiredDate\": \"2025-03-07T00:00:00+00:00\",\n            \"deliveryDate\": \"2025-03-14T00:00:00+00:00\",\n            \"sum\": 51,\n            \"currency\": \"USD\",\n            \"precisionData\": {\n                \"USD\": {\n                    \"precision\": 2,\n                    \"roundMode\": \"math\"\n                }\n            },\n            \"note\": null,\n            \"exchangeRate\": {\n                \"KHR:UAH\": 0.010371,\n                \"KHR:USD\": 0.000249,\n                \"UAH:KHR\": 96.426907,\n                \"UAH:USD\": 0.024042,\n                \"USD:KHR\": 4010.695509,\n                \"USD:UAH\": 41.593116\n            },\n            \"status\": 5,\n            \"allDocumentCustomFieldOptionsIds\": null,\n            \"approvingWay\": [],\n            \"location\": {\n                \"id\": 97962,\n                \"uniqueCode\": null,\n                \"name\": \"Main location\",\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"fullAddress\": null,\n                \"phone\": null,\n                \"allLocationsAccessLegalEntities\": true,\n                \"enable\": true,\n                \"locationAddress\": {\n                    \"id\": null\n                },\n                \"externalId\": null\n            },\n            \"supplier\": {\n                \"id\": null\n            },\n            \"creator\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-06-24T12:18:36+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_ITEM_MANAGEMENT\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"hasConfirmationToken\": false\n            },\n            \"lastEditor\": {\n                \"id\": null\n            },\n            \"legalEntity\": {\n                \"id\": 23152,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"enable\": true,\n                \"name\": \"TEST Api Precoro\",\n                \"legalAddress\": null,\n                \"accountNumber\": null,\n                \"accountHolderName\": null,\n                \"bankName\": null,\n                \"bankAddress\": null,\n                \"sortCode\": null,\n                \"businessRegistrationNumber\": null,\n                \"taxPayerType\": 2,\n                \"taxPayerNumber\": null,\n                \"phone\": null,\n                \"keyExecutive\": null,\n                \"fullName\": null,\n                \"permanentAccountNumber\": null,\n                \"internationalBankAccountNumber\": null,\n                \"americanBankersAssociationNumber\": null,\n                \"swiftCode\": null,\n                \"indianFinancialSystemCode\": null,\n                \"externalId\": null,\n                \"uniqueCode\": null,\n                \"netSuiteId\": null\n            },\n            \"dataDocumentCustomFields\": {\n                \"data\": []\n            },\n            \"relatedPurchaseOrders\": [],\n            \"relatedPurchaseOrdersCount\": 0,\n            \"relatedPurchaseRequisitions\": [],\n            \"relatedPurchaseRequisitionsCount\": 0\n        },\n        {\n            \"id\": 82284,\n            \"idn\": \"1\",\n            \"customName\": null,\n            \"createDate\": \"2025-02-28T13:52:47+00:00\",\n            \"updateDate\": \"2025-02-28T13:54:32+00:00\",\n            \"requiredDate\": \"2025-03-08T00:00:00+00:00\",\n            \"deliveryDate\": \"2025-03-08T00:00:00+00:00\",\n            \"sum\": 50,\n            \"currency\": \"USD\",\n            \"precisionData\": {\n                \"USD\": {\n                    \"precision\": 2,\n                    \"roundMode\": \"math\"\n                }\n            },\n            \"note\": null,\n            \"exchangeRate\": {\n                \"KHR:UAH\": 0.010371,\n                \"KHR:USD\": 0.000249,\n                \"UAH:KHR\": 96.426907,\n                \"UAH:USD\": 0.024042,\n                \"USD:KHR\": 4010.695509,\n                \"USD:UAH\": 41.593116\n            },\n            \"status\": 5,\n            \"allDocumentCustomFieldOptionsIds\": null,\n            \"approvingWay\": [],\n            \"location\": {\n                \"id\": 97962,\n                \"uniqueCode\": null,\n                \"name\": \"Main location\",\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"fullAddress\": null,\n                \"phone\": null,\n                \"allLocationsAccessLegalEntities\": true,\n                \"enable\": true,\n                \"locationAddress\": {\n                    \"id\": null\n                },\n                \"externalId\": null\n            },\n            \"supplier\": {\n                \"id\": null\n            },\n            \"creator\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-06-24T12:18:36+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_ITEM_MANAGEMENT\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"hasConfirmationToken\": false\n            },\n            \"lastEditor\": {\n                \"id\": null\n            },\n            \"legalEntity\": {\n                \"id\": 23152,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"enable\": true,\n                \"name\": \"TEST Api Precoro\",\n                \"legalAddress\": null,\n                \"accountNumber\": null,\n                \"accountHolderName\": null,\n                \"bankName\": null,\n                \"bankAddress\": null,\n                \"sortCode\": null,\n                \"businessRegistrationNumber\": null,\n                \"taxPayerType\": 2,\n                \"taxPayerNumber\": null,\n                \"phone\": null,\n                \"keyExecutive\": null,\n                \"fullName\": null,\n                \"permanentAccountNumber\": null,\n                \"internationalBankAccountNumber\": null,\n                \"americanBankersAssociationNumber\": null,\n                \"swiftCode\": null,\n                \"indianFinancialSystemCode\": null,\n                \"externalId\": null,\n                \"uniqueCode\": null,\n                \"netSuiteId\": null\n            },\n            \"dataDocumentCustomFields\": {\n                \"data\": []\n            },\n            \"relatedPurchaseOrders\": [],\n            \"relatedPurchaseOrdersCount\": 0,\n            \"relatedPurchaseRequisitions\": [],\n            \"relatedPurchaseRequisitionsCount\": 0\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 2,\n            \"count\": 2,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": {}\n        }\n    }\n}"}],"_postman_id":"fa26196d-150b-4c33-a9d5-29e87e4bf2f6"},{"name":"Get Request For Proposals list with filters","id":"fcff265a-45e3-46c5-8f88-0ad7d8e97326","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/requestforproposals?status[]=2&propositionStatus[]=1&requiredDate[left_date]=01.07.2024&requiredDate[right_date]=31.07.2025","urlObject":{"protocol":"https","path":["requestforproposals"],"host":["api","precoro","com"],"query":[{"key":"status[]","value":"2"},{"key":"propositionStatus[]","value":"1"},{"key":"requiredDate[left_date]","value":"01.07.2024"},{"key":"requiredDate[right_date]","value":"31.07.2025"}],"variable":[]}},"response":[{"id":"b5b908e8-1c7c-49a9-ab9a-7a6b904f8fd1","name":"Get Request For Proposals list with filters","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":{"raw":"https://api.precoro.com/requestforproposals?status[]=2&propositionStatus[]=1&requiredDate[left_date]=01.07.2024&requiredDate[right_date]=31.12.2025","protocol":"https","host":["api","precoro","com"],"path":["requestforproposals"],"query":[{"key":"status[]","value":"2"},{"key":"propositionStatus[]","value":"1"},{"key":"requiredDate[left_date]","value":"01.07.2024"},{"key":"requiredDate[right_date]","value":"31.12.2025"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Fri, 05 Dec 2025 11:54:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-user","value":"95888"},{"key":"x-active-company","value":"22359"},{"key":"x-active-company-user","value":"102979"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=bh0cYBdoFt5%2FZj26bfa9AhgDSD%2BlAM4Q5Y2iTej%2BtMcj%2FNJ5uKWK01oz6ey%2FGFx4xVuoRX0dL7IJ%2FztWs36nuK56NaJTEfTPHmqxaQOA\"}]}"},{"key":"Content-Encoding","value":"br"},{"key":"CF-RAY","value":"9a9359854afa061a-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 82285,\n            \"idn\": \"2\",\n            \"customName\": null,\n            \"createDate\": \"2025-02-28T13:55:47+00:00\",\n            \"updateDate\": \"2025-02-28T14:01:11+00:00\",\n            \"requiredDate\": \"2025-03-07T00:00:00+00:00\",\n            \"deliveryDate\": \"2025-03-14T00:00:00+00:00\",\n            \"sum\": 51,\n            \"currency\": \"USD\",\n            \"precisionData\": {\n                \"USD\": {\n                    \"precision\": 2,\n                    \"roundMode\": \"math\"\n                }\n            },\n            \"note\": null,\n            \"exchangeRate\": {\n                \"KHR:UAH\": 0.010371,\n                \"KHR:USD\": 0.000249,\n                \"UAH:KHR\": 96.426907,\n                \"UAH:USD\": 0.024042,\n                \"USD:KHR\": 4010.695509,\n                \"USD:UAH\": 41.593116\n            },\n            \"status\": 5,\n            \"allDocumentCustomFieldOptionsIds\": null,\n            \"approvingWay\": [],\n            \"location\": {\n                \"id\": 97962,\n                \"uniqueCode\": null,\n                \"name\": \"Main location\",\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"fullAddress\": null,\n                \"phone\": null,\n                \"allLocationsAccessLegalEntities\": true,\n                \"enable\": true,\n                \"locationAddress\": {\n                    \"id\": null\n                },\n                \"externalId\": null\n            },\n            \"supplier\": {\n                \"id\": null\n            },\n            \"creator\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-06-24T12:18:36+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_ITEM_MANAGEMENT\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"hasConfirmationToken\": false\n            },\n            \"lastEditor\": {\n                \"id\": null\n            },\n            \"legalEntity\": {\n                \"id\": 23152,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"enable\": true,\n                \"name\": \"TEST Api Precoro\",\n                \"legalAddress\": null,\n                \"accountNumber\": null,\n                \"accountHolderName\": null,\n                \"bankName\": null,\n                \"bankAddress\": null,\n                \"sortCode\": null,\n                \"businessRegistrationNumber\": null,\n                \"taxPayerType\": 2,\n                \"taxPayerNumber\": null,\n                \"phone\": null,\n                \"keyExecutive\": null,\n                \"fullName\": null,\n                \"permanentAccountNumber\": null,\n                \"internationalBankAccountNumber\": null,\n                \"americanBankersAssociationNumber\": null,\n                \"swiftCode\": null,\n                \"indianFinancialSystemCode\": null,\n                \"externalId\": null,\n                \"uniqueCode\": null,\n                \"netSuiteId\": null\n            },\n            \"dataDocumentCustomFields\": {\n                \"data\": []\n            },\n            \"relatedPurchaseOrders\": [],\n            \"relatedPurchaseOrdersCount\": 0,\n            \"relatedPurchaseRequisitions\": [],\n            \"relatedPurchaseRequisitionsCount\": 0\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 1,\n            \"count\": 1,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": {}\n        }\n    }\n}"}],"_postman_id":"fcff265a-45e3-46c5-8f88-0ad7d8e97326"},{"name":"Get Request For Proposal by IDN","id":"a846f4eb-0fae-4199-af2a-c98d6a1b0299","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/requestforproposals/{idn}","urlObject":{"protocol":"https","path":["requestforproposals","{idn}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"8a06dbf2-9cdc-47ad-b431-f18149299f5b","name":"Get Request For Proposal by IDN","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/requestforproposals/{idn}"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Fri, 05 Dec 2025 11:55:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-user","value":"95888"},{"key":"x-active-company","value":"22359"},{"key":"x-active-company-user","value":"102979"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=AeQ04j9h%2FJwWO489ZsiXg5PHusaVOa8JS8es8%2Fy5h9tcybYENsBD9s0pTM3852xfv51CwjblBRU9k2aM4ewByOsAS6IQePEhlyk5CnkA\"}]}"},{"key":"Content-Encoding","value":"br"},{"key":"CF-RAY","value":"9a935a1f6b97061a-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 82285,\n    \"idn\": \"2\",\n    \"customName\": null,\n    \"createDate\": \"2025-02-28T13:55:47+00:00\",\n    \"updateDate\": \"2025-02-28T14:01:11+00:00\",\n    \"requiredDate\": \"2025-03-07T00:00:00+00:00\",\n    \"deliveryDate\": \"2025-03-14T00:00:00+00:00\",\n    \"sum\": 51,\n    \"currency\": \"USD\",\n    \"precisionData\": {\n        \"USD\": {\n            \"precision\": 2,\n            \"roundMode\": \"math\"\n        }\n    },\n    \"note\": null,\n    \"exchangeRate\": {\n        \"KHR:UAH\": 0.010371,\n        \"KHR:USD\": 0.000249,\n        \"UAH:KHR\": 96.426907,\n        \"UAH:USD\": 0.024042,\n        \"USD:KHR\": 4010.695509,\n        \"USD:UAH\": 41.593116\n    },\n    \"status\": 5,\n    \"allDocumentCustomFieldOptionsIds\": null,\n    \"approvingWay\": [],\n    \"location\": {\n        \"id\": 97962,\n        \"uniqueCode\": null,\n        \"name\": \"Main location\",\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"fullAddress\": null,\n        \"phone\": null,\n        \"allLocationsAccessLegalEntities\": true,\n        \"enable\": true,\n        \"locationAddress\": {\n            \"id\": null\n        },\n        \"externalId\": null\n    },\n    \"supplier\": {\n        \"id\": null\n    },\n    \"creator\": {\n        \"id\": 95888,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2025-06-24T12:18:36+00:00\",\n        \"email\": \"apitesterfordocumentation@gmail.com\",\n        \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n        \"locale\": \"en\",\n        \"phone\": \"+13456789\",\n        \"firstname\": \"Api\",\n        \"lastname\": \"Tester\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 97962\n        },\n        \"legalEntity\": {\n            \"id\": 23152\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allItemGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_INVOICE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_SUPPLIER_APPROVAL\",\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_EXPENSE\",\n            \"ROLE_EXPENSE_APPROVAL\",\n            \"ROLE_EXPENSE_PAYMENT\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPER_USER\",\n            \"ROLE_OCR\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_ITEM_MANAGEMENT\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"isPower\": true,\n        \"hasConfirmationToken\": false\n    },\n    \"lastEditor\": {\n        \"id\": null\n    },\n    \"legalEntity\": {\n        \"id\": 23152,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"enable\": true,\n        \"name\": \"TEST Api Precoro\",\n        \"legalAddress\": null,\n        \"accountNumber\": null,\n        \"accountHolderName\": null,\n        \"bankName\": null,\n        \"bankAddress\": null,\n        \"sortCode\": null,\n        \"businessRegistrationNumber\": null,\n        \"taxPayerType\": 2,\n        \"taxPayerNumber\": null,\n        \"phone\": null,\n        \"keyExecutive\": null,\n        \"fullName\": null,\n        \"permanentAccountNumber\": null,\n        \"internationalBankAccountNumber\": null,\n        \"americanBankersAssociationNumber\": null,\n        \"swiftCode\": null,\n        \"indianFinancialSystemCode\": null,\n        \"externalId\": null,\n        \"uniqueCode\": null,\n        \"netSuiteId\": null\n    },\n    \"items\": {\n        \"data\": [\n            {\n                \"id\": 212565,\n                \"createDate\": \"2025-02-28T13:56:08+00:00\",\n                \"updateDate\": \"2025-02-28T14:01:11+00:00\",\n                \"deliveryDate\": \"2025-03-06T00:00:00+00:00\",\n                \"sku\": \"173516\",\n                \"name\": \"Home Desk\",\n                \"price\": 51,\n                \"unit\": null,\n                \"currency\": \"USD\",\n                \"ordered\": 1,\n                \"status\": 0,\n                \"description\": null,\n                \"item\": {\n                    \"id\": 1447004,\n                    \"name\": \"Home Desk\",\n                    \"sku\": \"173516\",\n                    \"type\": 1,\n                    \"price\": 49.9,\n                    \"currency\": \"USD\"\n                },\n                \"addedToPurchaseOrder\": 0,\n                \"rejected\": 0,\n                \"requestForProposal\": {\n                    \"id\": 82285\n                },\n                \"purchaseOrderItem\": {\n                    \"id\": null\n                },\n                \"supplier\": {\n                    \"id\": 719430,\n                    \"uniqueCode\": \"0112356\",\n                    \"name\": \"Supplier 1 Updated\",\n                    \"createDate\": \"2024-07-12T10:18:00+00:00\",\n                    \"updateDate\": \"2025-05-13T11:07:56+00:00\",\n                    \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n                    \"legalAddress\": null,\n                    \"currency\": \"USD\",\n                    \"currencies\": [\n                        \"USD\",\n                        \"UAH\"\n                    ],\n                    \"autoSendPOSupplier\": false,\n                    \"deliveryPeriod\": 5,\n                    \"minimumSum\": 100,\n                    \"businessRegistrationNumber\": null,\n                    \"accountHolderName\": null,\n                    \"bankName\": null,\n                    \"accountNumber\": null,\n                    \"bankAddress\": null,\n                    \"swiftCode\": null,\n                    \"permanentAccountNumber\": null,\n                    \"internationalBankAccountNumber\": null,\n                    \"americanBankersAssociationNumber\": null,\n                    \"indianFinancialSystemCode\": null,\n                    \"sortCode\": null,\n                    \"taxPayer\": false,\n                    \"taxPayerType\": 2,\n                    \"taxPayerLabel\": \"TIN\",\n                    \"taxPayerNumber\": null,\n                    \"phone\": null,\n                    \"city\": \"Kyiv\",\n                    \"country\": null,\n                    \"state\": null,\n                    \"postalCode\": null,\n                    \"note\": \"\",\n                    \"conditions\": null,\n                    \"enable\": true,\n                    \"qboId\": null,\n                    \"netSuiteId\": null,\n                    \"xeroId\": null,\n                    \"externalId\": null,\n                    \"marketSupplier\": {\n                        \"id\": null,\n                        \"minimumSum\": null\n                    },\n                    \"enableMarketSupplier\": false,\n                    \"creditBalanceSums\": {\n                        \"USD\": 0\n                    },\n                    \"status\": 2,\n                    \"creator\": {\n                        \"id\": 95888,\n                        \"email\": \"apitesterfordocumentation@gmail.com\"\n                    },\n                    \"enterInvoiceAsOneLine\": false,\n                    \"isPunchoutSupplier\": false,\n                    \"isPunchinSupplier\": false,\n                    \"isAllAccessLegalEntity\": true,\n                    \"paymentTerms\": {\n                        \"data\": [\n                            {\n                                \"id\": 74148,\n                                \"name\": \"Prepayment\",\n                                \"prepaymentPercent\": 100,\n                                \"postpaymentPercent\": 0,\n                                \"creditPeriodDays\": 0,\n                                \"termsDueDateAfterInvoicing\": 0,\n                                \"paymentType\": 0,\n                                \"enable\": true,\n                                \"externalId\": null\n                            }\n                        ]\n                    },\n                    \"approvalSteps\": {\n                        \"data\": []\n                    },\n                    \"approvingWay\": []\n                },\n                \"link\": null,\n                \"dataItemCustomFields\": {\n                    \"data\": []\n                }\n            }\n        ]\n    },\n    \"comments\": {\n        \"data\": []\n    },\n    \"followers\": {\n        \"data\": [\n            {\n                \"id\": 12271921,\n                \"user_status\": 1,\n                \"user_email\": \"apitesterfordocumentation@gmail.com\",\n                \"isAvailableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null\n            }\n        ]\n    },\n    \"attachments\": {\n        \"data\": []\n    },\n    \"dataDocumentCustomFields\": {\n        \"data\": []\n    },\n    \"propositions\": {\n        \"data\": [\n            {\n                \"id\": 156264,\n                \"sum\": \"51.00\",\n                \"name\": \"Supplier 1\",\n                \"emails\": [\n                    \"supplier1@acme.com\"\n                ],\n                \"status\": 2,\n                \"statusSending\": 2,\n                \"accessKey\": \"4cc196b9e0ef369cc51a4c79abde015f\",\n                \"deliveryDate\": \"2025-03-06T00:00:00+00:00\",\n                \"requestForProposal\": {\n                    \"id\": 82285\n                },\n                \"supplier\": {\n                    \"id\": 719430,\n                    \"uniqueCode\": \"0112356\",\n                    \"name\": \"Supplier 1 Updated\",\n                    \"createDate\": \"2024-07-12T10:18:00+00:00\",\n                    \"updateDate\": \"2025-05-13T11:07:56+00:00\",\n                    \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n                    \"legalAddress\": null,\n                    \"currency\": \"USD\",\n                    \"currencies\": [\n                        \"USD\",\n                        \"UAH\"\n                    ],\n                    \"autoSendPOSupplier\": false,\n                    \"deliveryPeriod\": 5,\n                    \"minimumSum\": 100,\n                    \"businessRegistrationNumber\": null,\n                    \"accountHolderName\": null,\n                    \"bankName\": null,\n                    \"accountNumber\": null,\n                    \"bankAddress\": null,\n                    \"swiftCode\": null,\n                    \"permanentAccountNumber\": null,\n                    \"internationalBankAccountNumber\": null,\n                    \"americanBankersAssociationNumber\": null,\n                    \"indianFinancialSystemCode\": null,\n                    \"sortCode\": null,\n                    \"taxPayer\": false,\n                    \"taxPayerType\": 2,\n                    \"taxPayerLabel\": \"TIN\",\n                    \"taxPayerNumber\": null,\n                    \"phone\": null,\n                    \"city\": \"Kyiv\",\n                    \"country\": null,\n                    \"state\": null,\n                    \"postalCode\": null,\n                    \"note\": \"\",\n                    \"conditions\": null,\n                    \"enable\": true,\n                    \"qboId\": null,\n                    \"netSuiteId\": null,\n                    \"xeroId\": null,\n                    \"externalId\": null,\n                    \"marketSupplier\": {\n                        \"id\": null,\n                        \"minimumSum\": null\n                    },\n                    \"enableMarketSupplier\": false,\n                    \"creditBalanceSums\": {\n                        \"USD\": 0\n                    },\n                    \"status\": 2,\n                    \"creator\": {\n                        \"id\": 95888,\n                        \"email\": \"apitesterfordocumentation@gmail.com\"\n                    },\n                    \"enterInvoiceAsOneLine\": false,\n                    \"isPunchoutSupplier\": false,\n                    \"isPunchinSupplier\": false,\n                    \"isAllAccessLegalEntity\": true,\n                    \"paymentTerms\": {\n                        \"data\": [\n                            {\n                                \"id\": 74148,\n                                \"name\": \"Prepayment\",\n                                \"prepaymentPercent\": 100,\n                                \"postpaymentPercent\": 0,\n                                \"creditPeriodDays\": 0,\n                                \"termsDueDateAfterInvoicing\": 0,\n                                \"paymentType\": 0,\n                                \"enable\": true,\n                                \"externalId\": null\n                            }\n                        ]\n                    },\n                    \"approvalSteps\": {\n                        \"data\": []\n                    },\n                    \"approvingWay\": []\n                }\n            },\n            {\n                \"id\": 156265,\n                \"sum\": \"0.00\",\n                \"name\": \"Supplier 2\",\n                \"emails\": [\n                    \"supplier2@acme.com\"\n                ],\n                \"status\": 1,\n                \"statusSending\": 1,\n                \"accessKey\": \"cb8a181a306ef10c92a6c69156a88ee4\",\n                \"deliveryDate\": null,\n                \"requestForProposal\": {\n                    \"id\": 82285\n                },\n                \"supplier\": {\n                    \"id\": 723124,\n                    \"uniqueCode\": \"01123\",\n                    \"name\": \"Supplier 2\",\n                    \"createDate\": \"2024-07-22T13:36:04+00:00\",\n                    \"updateDate\": \"2024-10-10T13:53:08+00:00\",\n                    \"approvalDate\": \"2024-07-22T13:36:04+00:00\",\n                    \"legalAddress\": null,\n                    \"currency\": \"USD\",\n                    \"currencies\": [\n                        \"USD\",\n                        \"UAH\"\n                    ],\n                    \"autoSendPOSupplier\": false,\n                    \"deliveryPeriod\": 5,\n                    \"minimumSum\": 100,\n                    \"businessRegistrationNumber\": null,\n                    \"accountHolderName\": null,\n                    \"bankName\": null,\n                    \"accountNumber\": null,\n                    \"bankAddress\": null,\n                    \"swiftCode\": null,\n                    \"permanentAccountNumber\": null,\n                    \"internationalBankAccountNumber\": null,\n                    \"americanBankersAssociationNumber\": null,\n                    \"indianFinancialSystemCode\": null,\n                    \"sortCode\": null,\n                    \"taxPayer\": false,\n                    \"taxPayerType\": 2,\n                    \"taxPayerLabel\": \"TIN\",\n                    \"taxPayerNumber\": null,\n                    \"phone\": null,\n                    \"city\": null,\n                    \"country\": null,\n                    \"state\": null,\n                    \"postalCode\": null,\n                    \"note\": null,\n                    \"conditions\": null,\n                    \"enable\": true,\n                    \"qboId\": null,\n                    \"netSuiteId\": null,\n                    \"xeroId\": null,\n                    \"externalId\": null,\n                    \"marketSupplier\": {\n                        \"id\": null,\n                        \"minimumSum\": null\n                    },\n                    \"enableMarketSupplier\": false,\n                    \"creditBalanceSums\": {\n                        \"UAH\": 0,\n                        \"USD\": 0\n                    },\n                    \"status\": 2,\n                    \"creator\": {\n                        \"id\": 95888,\n                        \"email\": \"apitesterfordocumentation@gmail.com\"\n                    },\n                    \"enterInvoiceAsOneLine\": true,\n                    \"isPunchoutSupplier\": false,\n                    \"isPunchinSupplier\": false,\n                    \"isAllAccessLegalEntity\": true,\n                    \"paymentTerms\": {\n                        \"data\": [\n                            {\n                                \"id\": 74148,\n                                \"name\": \"Prepayment\",\n                                \"prepaymentPercent\": 100,\n                                \"postpaymentPercent\": 0,\n                                \"creditPeriodDays\": 0,\n                                \"termsDueDateAfterInvoicing\": 0,\n                                \"paymentType\": 0,\n                                \"enable\": true,\n                                \"externalId\": null\n                            },\n                            {\n                                \"id\": 74149,\n                                \"name\": \"Postpayment\",\n                                \"prepaymentPercent\": 0,\n                                \"postpaymentPercent\": 100,\n                                \"creditPeriodDays\": 0,\n                                \"termsDueDateAfterInvoicing\": 0,\n                                \"paymentType\": 1,\n                                \"enable\": true,\n                                \"externalId\": null\n                            }\n                        ]\n                    },\n                    \"approvalSteps\": {\n                        \"data\": []\n                    },\n                    \"approvingWay\": []\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"a846f4eb-0fae-4199-af2a-c98d6a1b0299"},{"name":"Get Request for Proposals Proposition by ID","id":"19f49ac1-306c-40dc-8204-0376bce66eed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/requestforproposals/proposition/{id}","urlObject":{"protocol":"https","path":["requestforproposals","proposition","{id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"f9f90043-e7c6-49c6-b370-f95ee593d294","name":"Get Request for Proposals Proposition by ID","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/requestforproposals/proposition/{id}"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Wed, 28 Jan 2026 08:08:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-user","value":"95888"},{"key":"x-active-company","value":"22359"},{"key":"x-active-company-user","value":"102979"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=DStEfcAuT8zZP0m%2B5OxJNbafcqxBIc%2FvgZql8gdWKFKhTc2k2oyGTvfH6z0vYK9Wwjz8eCd1KTM0N6yKKfnUcwH6nxLGlBCE9ki%2FoX0p\"}]}"},{"key":"Content-Encoding","value":"br"},{"key":"CF-RAY","value":"9c4f00b89a5090c8-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 156264,\n    \"sum\": \"51.00\",\n    \"name\": \"Supplier 1\",\n    \"emails\": [\n        \"supplier1@acme.com\"\n    ],\n    \"status\": 2,\n    \"statusSending\": 2,\n    \"accessKey\": \"4cc196b9e0ef369cc51a4c79abde015f\",\n    \"deliveryDate\": \"2025-03-06T00:00:00+00:00\",\n    \"requestForProposal\": {\n        \"id\": 82285,\n        \"idn\": \"2\",\n        \"customName\": null,\n        \"createDate\": \"2025-02-28T13:55:47+00:00\",\n        \"updateDate\": \"2025-02-28T14:01:11+00:00\",\n        \"requiredDate\": \"2025-03-07T00:00:00+00:00\",\n        \"deliveryDate\": \"2025-03-14T00:00:00+00:00\",\n        \"sum\": 51,\n        \"currency\": \"USD\",\n        \"precisionData\": {\n            \"USD\": {\n                \"precision\": 2,\n                \"roundMode\": \"math\"\n            }\n        },\n        \"note\": null,\n        \"exchangeRate\": {\n            \"KHR:UAH\": 0.010371,\n            \"KHR:USD\": 0.000249,\n            \"UAH:KHR\": 96.426907,\n            \"UAH:USD\": 0.024042,\n            \"USD:KHR\": 4010.695509,\n            \"USD:UAH\": 41.593116\n        },\n        \"status\": 5,\n        \"allDocumentCustomFieldOptionsIds\": null,\n        \"approvingWay\": [],\n        \"location\": {\n            \"id\": 97962,\n            \"uniqueCode\": null,\n            \"name\": \"Main location\",\n            \"createDate\": \"2024-06-11T14:23:08+00:00\",\n            \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n            \"fullAddress\": null,\n            \"phone\": null,\n            \"allLocationsAccessLegalEntities\": true,\n            \"enable\": true,\n            \"locationAddress\": {\n                \"id\": null\n            },\n            \"externalId\": null\n        },\n        \"creator\": {\n            \"id\": 95888,\n            \"createDate\": \"2024-06-11T14:23:08+00:00\",\n            \"updateDate\": \"2025-06-24T12:18:36+00:00\",\n            \"email\": \"apitesterfordocumentation@gmail.com\",\n            \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n            \"locale\": \"en\",\n            \"phone\": \"+13456789\",\n            \"firstname\": \"Api\",\n            \"lastname\": \"Tester\",\n            \"position\": null,\n            \"location\": {\n                \"id\": 97962\n            },\n            \"legalEntity\": {\n                \"id\": 23152\n            },\n            \"allLocationsAccess\": true,\n            \"allUserDocumentCustomFieldsAccess\": true,\n            \"allItemGroupsAccess\": true,\n            \"roles\": [\n                \"ROLE_PURCHASE_REQUISITION\",\n                \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                \"ROLE_PURCHASE_ORDER\",\n                \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                \"ROLE_RECEIPT\",\n                \"ROLE_RECEIPT_APPROVAL\",\n                \"ROLE_INVOICE\",\n                \"ROLE_INVOICE_APPROVAL\",\n                \"ROLE_INVOICE_PAYMENT\",\n                \"ROLE_REPORT\",\n                \"ROLE_BUDGET_HOLDER\",\n                \"ROLE_SUPPLIER_MANAGEMENT\",\n                \"ROLE_SUPPLIER_APPROVAL\",\n                \"ROLE_WAREHOUSE_REQUEST\",\n                \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                \"ROLE_REQUEST_FOR_PROPOSAL\",\n                \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                \"ROLE_EXPENSE\",\n                \"ROLE_EXPENSE_APPROVAL\",\n                \"ROLE_EXPENSE_PAYMENT\",\n                \"ROLE_WAREHOUSE_MANAGER\",\n                \"ROLE_SUPER_USER\",\n                \"ROLE_OCR\",\n                \"ROLE_CONFIGURATION\",\n                \"ROLE_ITEM_MANAGEMENT\",\n                \"ROLE_USER\"\n            ],\n            \"enable\": true,\n            \"isMarketSupplier\": false,\n            \"isAvailableVacationMode\": false,\n            \"enableVacationMode\": false,\n            \"startVacationMode\": null,\n            \"endVacationMode\": null,\n            \"isPower\": true,\n            \"hasConfirmationToken\": false\n        },\n        \"lastEditor\": {\n            \"id\": null\n        },\n        \"legalEntity\": {\n            \"id\": 23152,\n            \"createDate\": \"2024-06-11T14:23:08+00:00\",\n            \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n            \"enable\": true,\n            \"name\": \"TEST Api Precoro\",\n            \"legalAddress\": null,\n            \"accountNumber\": null,\n            \"accountHolderName\": null,\n            \"bankName\": null,\n            \"bankAddress\": null,\n            \"sortCode\": null,\n            \"businessRegistrationNumber\": null,\n            \"taxPayerType\": 2,\n            \"taxPayerNumber\": null,\n            \"phone\": null,\n            \"keyExecutive\": null,\n            \"fullName\": null,\n            \"permanentAccountNumber\": null,\n            \"internationalBankAccountNumber\": null,\n            \"americanBankersAssociationNumber\": null,\n            \"swiftCode\": null,\n            \"indianFinancialSystemCode\": null,\n            \"externalId\": null,\n            \"uniqueCode\": null,\n            \"netSuiteId\": null\n        }\n    },\n    \"supplier\": {\n        \"id\": 719430,\n        \"uniqueCode\": \"0112356\",\n        \"name\": \"Supplier 1 Updated\",\n        \"createDate\": \"2024-07-12T10:18:00+00:00\",\n        \"updateDate\": \"2025-05-13T11:07:56+00:00\",\n        \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n        \"legalAddress\": null,\n        \"currency\": \"USD\",\n        \"currencies\": [\n            \"USD\",\n            \"UAH\"\n        ],\n        \"autoSendPOSupplier\": false,\n        \"deliveryPeriod\": 5,\n        \"minimumSum\": 100,\n        \"businessRegistrationNumber\": null,\n        \"accountHolderName\": null,\n        \"bankName\": null,\n        \"accountNumber\": null,\n        \"bankAddress\": null,\n        \"swiftCode\": null,\n        \"permanentAccountNumber\": null,\n        \"internationalBankAccountNumber\": null,\n        \"americanBankersAssociationNumber\": null,\n        \"indianFinancialSystemCode\": null,\n        \"sortCode\": null,\n        \"taxPayer\": false,\n        \"taxPayerType\": 2,\n        \"taxPayerLabel\": \"TIN\",\n        \"taxPayerNumber\": null,\n        \"phone\": null,\n        \"city\": \"Kyiv\",\n        \"country\": null,\n        \"state\": null,\n        \"postalCode\": null,\n        \"note\": \"\",\n        \"conditions\": null,\n        \"enable\": true,\n        \"qboId\": null,\n        \"netSuiteId\": null,\n        \"xeroId\": null,\n        \"externalId\": null,\n        \"marketSupplier\": {\n            \"id\": null,\n            \"minimumSum\": null\n        },\n        \"enableMarketSupplier\": false,\n        \"creditBalanceSums\": {\n            \"USD\": 0\n        },\n        \"status\": 2,\n        \"creator\": {\n            \"id\": 95888,\n            \"email\": \"apitesterfordocumentation@gmail.com\"\n        },\n        \"enterInvoiceAsOneLine\": false,\n        \"isPunchoutSupplier\": false,\n        \"isPunchinSupplier\": false,\n        \"isAllAccessLegalEntity\": true,\n        \"paymentTerms\": {\n            \"data\": [\n                {\n                    \"id\": 74148,\n                    \"name\": \"Prepayment\",\n                    \"prepaymentPercent\": 100,\n                    \"postpaymentPercent\": 0,\n                    \"creditPeriodDays\": 0,\n                    \"termsDueDateAfterInvoicing\": 0,\n                    \"paymentType\": 0,\n                    \"enable\": true,\n                    \"externalId\": null\n                }\n            ]\n        },\n        \"approvalSteps\": {\n            \"data\": []\n        },\n        \"approvingWay\": []\n    },\n    \"items\": {\n        \"data\": [\n            {\n                \"id\": 481217,\n                \"status\": 0,\n                \"description\": null,\n                \"new_sku\": \"173516\",\n                \"old_sku\": \"173516\",\n                \"new_name\": \"Home Desk\",\n                \"old_name\": \"Home Desk\",\n                \"price\": 51,\n                \"ordered\": 1,\n                \"old_ordered\": 1,\n                \"unit\": null,\n                \"old_unit\": null,\n                \"proposition\": {\n                    \"id\": 156264\n                },\n                \"requestForProposalItem\": {\n                    \"id\": 212565\n                }\n            }\n        ]\n    },\n    \"comments\": {\n        \"data\": []\n    },\n    \"followers\": {\n        \"data\": [\n            {\n                \"id\": 12271922,\n                \"user_status\": 1,\n                \"user_email\": \"apitesterfordocumentation@gmail.com\",\n                \"isAvailableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null\n            }\n        ]\n    },\n    \"company\": {\n        \"id\": 22359,\n        \"name\": \"TEST Api Precoro\",\n        \"enableWarehouseRequests\": true,\n        \"showPriceInWarehouseRequest\": true,\n        \"enablePurchaseRequisitions\": true,\n        \"enableEmptyRowsInPurchaseRequisitions\": true,\n        \"showPriceInPurchaseRequisition\": true,\n        \"enableSkuInPR\": true,\n        \"enableRFP\": true,\n        \"purchaseRequisitionRequiredAttachments\": false,\n        \"enableGenerationPurchaseOrderFromPurchaseRequisition\": false,\n        \"account\": {\n            \"id\": 21041\n        },\n        \"defaultPurchaser\": {\n            \"id\": null\n        },\n        \"enableCreatePurchaseRequisitionFromWarehouseRequest\": true,\n        \"enableEditRestrictInPurchaseRequisitions\": false,\n        \"restrictedFieldsInPurchaseRequisitions\": [],\n        \"enableEmptyRowsInPurchaseOrders\": true,\n        \"purchaseOrderRequiredAttachments\": false,\n        \"poTransferAttachment\": false,\n        \"transferAttachmentFromPO\": false,\n        \"poSendSupplier\": true,\n        \"enableBlanketPurchaseOrder\": true,\n        \"enableServicePurchaseOrder\": true,\n        \"transferNoteFromPurchaseRequisition\": false,\n        \"transferNoteFromPurchaseOrder\": false,\n        \"itemGroup\": true,\n        \"enableReceipt\": true,\n        \"receiptNumberDuplicated\": true,\n        \"enableReceiptMatching\": false,\n        \"receiptRequiredAttachments\": true,\n        \"receiptDoNotDisplayPrice\": false,\n        \"displayInvoiceAttachment\": false,\n        \"enableInvoice\": true,\n        \"enableCreditNote\": false,\n        \"invoiceRequiredAttachments\": false,\n        \"invoiceRequiredIssueDate\": true,\n        \"supplierInvoiceNumberDuplicated\": true,\n        \"enablePayment\": true,\n        \"enableEmptyRowsInInvoices\": true,\n        \"invoiceRequiredSupplierNumber\": false,\n        \"creditNoteRequiredSupplierNumber\": false,\n        \"allowBlockInvoiceConfirm\": false,\n        \"allUsersWillBeTriggeredToCreateReceipt\": false,\n        \"requestorWillBeTriggeredToCreateReceipt\": false,\n        \"purchaserWillBeTriggeredToCreateReceipt\": false,\n        \"invoiceRequiredPaymentTerms\": false,\n        \"enableDefaultPaymentTerms\": false,\n        \"enableNotifyWhenReceiptCreated\": false,\n        \"enableNotSendNotifyBlockInvoice\": false,\n        \"addNewLineWithoutMatching\": false,\n        \"isEnterInvoiceAsOneLine\": false,\n        \"enableBudget\": true,\n        \"enableBudgetParts\": false,\n        \"enableRequiredBudget\": false,\n        \"showBudgetSumToInitiator\": true,\n        \"enableExpenseBudget\": true,\n        \"enableCreditNoteBudget\": false,\n        \"enablePurchaseRequisitionBudget\": false,\n        \"enableExpense\": true,\n        \"enableExpensePayment\": true,\n        \"expenseRequiredAttachments\": false,\n        \"expenseRequiredIssueDate\": true,\n        \"productBundle\": false,\n        \"enableCatalogImagesUpload\": true,\n        \"enableItemsDescriptionInCatalog\": true,\n        \"linkInItemName\": true,\n        \"enableSku\": true,\n        \"enableUnits\": true,\n        \"allowAddNewItemsToCatalog\": false,\n        \"approverReminderEmailDays\": [\n            1\n        ],\n        \"weeklyReminderEmailDays\": [\n            1\n        ],\n        \"ocrDraftAttachmentsReminderEmailDays\": [\n            1\n        ],\n        \"inventoryLowStockReminderEmailDays\": [\n            1\n        ],\n        \"supplierContract\": true,\n        \"enableLegalEntityLogic\": true,\n        \"enableWarehouse\": true,\n        \"enableDiscounts\": true,\n        \"enableTaxes\": true,\n        \"enableWithholdingTaxes\": false,\n        \"enableWithholdingTaxItemType\": false,\n        \"enableRequiredTaxesForItems\": true,\n        \"enableRecurringDocuments\": true,\n        \"enableViewOnlySelfCreatedDocuments\": false,\n        \"enableUseNetTotal\": false,\n        \"numberFormat\": 0,\n        \"nameStructure\": 0,\n        \"defaultTaxPayerType\": 10,\n        \"dateFormat\": 0,\n        \"dateFormatFront\": \"DD.MM.YYYY\",\n        \"timezone\": \"Europe/London\",\n        \"formatForSendingToSupplier\": 0,\n        \"formatTypeForSendingToSupplier\": 0,\n        \"sendFileInApprovalEmail\": true,\n        \"enableDuplicateCatalogItemsInDocument\": false,\n        \"isManyCurrencies\": true,\n        \"enableSupplierInvitation\": false,\n        \"allowRequestSupplier\": false,\n        \"exchangeRateType\": 1,\n        \"currency\": \"USD\",\n        \"documentLocales\": [\n            \"en\"\n        ],\n        \"status\": 0,\n        \"maxUsersCount\": 0,\n        \"accountPlan\": 0,\n        \"accountTier\": 0,\n        \"paymentDate\": null,\n        \"accountTierList\": [],\n        \"overLimitDate\": null,\n        \"powerUsersCount\": 2,\n        \"allUsersCount\": 2,\n        \"isAccountHaveBlockedUsers\": false,\n        \"suspendChargingUntil\": null,\n        \"enableBlanketPerItemsPurchaseOrder\": false,\n        \"isOnBoarding\": false,\n        \"enableDocumentsCustomName\": false,\n        \"formatPurchaseOrdersName\": [],\n        \"formatInvoicesName\": [],\n        \"formatPurchaseRequisitionsName\": [],\n        \"formatRequestForProposalName\": [],\n        \"formatReceiptsName\": [],\n        \"formatWarehouseRequestsName\": [],\n        \"isHiddenPurchaseOrderNumber\": false,\n        \"defaultSuppliersSortingType\": 0,\n        \"allowConnectGoogleForReportExporting\": true,\n        \"enableClosingOverdueDocuments\": true,\n        \"enableLimitRulesToMatching\": false,\n        \"isAmazonConfiguration\": false,\n        \"hasQboIntegrationToken\": null,\n        \"hasXeroIntegrationToken\": null,\n        \"hasExternalIntegration\": false,\n        \"externalIntegrationName\": null,\n        \"isActiveStandardPurchaseOrder\": true,\n        \"isActiveStandardServiceOrder\": true,\n        \"isActiveStandardPurchaseRequisition\": true,\n        \"isActiveStandardInvoice\": true,\n        \"isActiveStandardExpense\": true,\n        \"isActiveStandardPrFromWr\": true,\n        \"isActiveStandardPoFromPr\": true,\n        \"isActiveStandardSoFromPr\": true,\n        \"isActiveStandardInvoiceFromPo\": true,\n        \"isActiveStandardSupplierRequestForm\": true,\n        \"isCompanyConfigurationByLegalEntity\": true,\n        \"enableSplitCosts\": false,\n        \"enableAiAssistant\": false,\n        \"reapprovalSetups\": {\n            \"data\": []\n        },\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"legalName\": \"TEST Api Precoro\",\n        \"legalAddress\": null,\n        \"phone\": \"+13456789\",\n        \"email\": \"apitesterfordocumentation@gmail.com\",\n        \"businessRegistrationNumber\": \"_\",\n        \"usedTaxPercentInBudget\": 100,\n        \"exchangeRate\": {\n            \"KHR:UAH\": 1,\n            \"KHR:USD\": 1,\n            \"UAH:KHR\": 1,\n            \"UAH:USD\": 1,\n            \"USD:KHR\": 1,\n            \"USD:UAH\": 1\n        },\n        \"currenciesData\": [\n            {\n                \"currency\": \"USD\",\n                \"precision\": 2,\n                \"roundMode\": \"math\"\n            },\n            {\n                \"currency\": \"UAH\",\n                \"precision\": 2,\n                \"roundMode\": \"math\"\n            },\n            {\n                \"currency\": \"KHR\",\n                \"precision\": 2,\n                \"roundMode\": \"math\"\n            }\n        ],\n        \"demoDate\": \"2029-06-25T00:00:00+00:00\",\n        \"accountFields\": {\n            \"industry\": null,\n            \"minStandartUsersCount\": 0,\n            \"standardMonthUserPrice\": 39,\n            \"csm\": null,\n            \"endDateToLeftMoney\": {\n                \"date\": \"2024-06-11 00:00:00.000000\",\n                \"timezone_type\": 3,\n                \"timezone\": \"UTC\"\n            },\n            \"balance\": \"0.00\",\n            \"country\": \"AF\",\n            \"status\": 0\n        },\n        \"propsVisibilitySupplier\": {\n            \"showAccountHolderNameSupplier\": true,\n            \"showLegalAddressSupplier\": true,\n            \"showPhoneNumberSupplier\": true,\n            \"showBusinessRegistrationNumberSupplier\": true,\n            \"showAccountNumberSupplier\": true,\n            \"showBankNameSupplier\": true,\n            \"showBankAddressSupplier\": true,\n            \"showSortCodeSupplier\": true,\n            \"showTaxPayerSupplier\": true,\n            \"showSwiftCodeSupplier\": true,\n            \"showPermanentAccountNumberSupplier\": true,\n            \"showInternationalBankAccountNumberSupplier\": true,\n            \"showAmericanBankersAssociationNumberSupplier\": true,\n            \"showIndianFinancialSystemCodeSupplier\": true\n        },\n        \"connectedIntegrations\": null,\n        \"companyIntegrationConfiguration\": null,\n        \"netSuiteIntegrationConfiguration\": null,\n        \"xeroIntegrationConfiguration\": null,\n        \"externalIntegrationConfiguration\": null,\n        \"documentProcessingConfiguration\": {\n            \"id\": 970,\n            \"company\": 22359,\n            \"enable\": true,\n            \"documentInitiator\": null,\n            \"notificationEmail\": \"test_api_precoro@email.precoro.com\",\n            \"providerType\": 1,\n            \"eInvoiceEnable\": false,\n            \"autoCreateEnable\": false,\n            \"autoCreateInvoiceType\": 0,\n            \"matchingRules\": [],\n            \"isSoftMapping\": 0,\n            \"isOrderCreatorSetAsInitiator\": false,\n            \"isAiMatching\": false,\n            \"invoiceEntityTemplate\": null,\n            \"invoiceFromOrderEntityTemplate\": null,\n            \"isOcrPaidFor\": true,\n            \"isOcrAddonEnabled\": true,\n            \"isEnableFreeAttachments\": false,\n            \"ocrDocumentsLeft\": 498,\n            \"attachmentsTotalProcessed\": 2,\n            \"attachmentsProcessedInMonth\": 0\n        },\n        \"betaTestCases\": [\n            \"MICROSERVICE_EXPORT_CUSTOM_BUDGET\",\n            \"MICROSERVICE_EXPORT_CUSTOM_PAYMENT\",\n            \"MICROSERVICE_EXPORT_CUSTOM_PURCHASE_REQUISITION\",\n            \"MICROSERVICE_DASHBOARD\",\n            \"CREDIT_NOTE_FROM_SCRATCH\",\n            \"AI_ASSISTANT\"\n        ],\n        \"companyApprovalPolicies\": {\n            \"id\": 65,\n            \"enableSelfApprove\": true,\n            \"enableApprovalByDocumentRequesters\": false,\n            \"enableSkipPOFromPRApproval\": false,\n            \"enableSkipInvoiceFromPOApproval\": false,\n            \"enableOverbudgetApproval\": false,\n            \"blockAutoApproval\": false,\n            \"blockAutoApprovalSumType\": 0,\n            \"blockAutoApprovalStartSum\": 0,\n            \"blockAutoApprovalEndSum\": 0,\n            \"enableSkipRecurringApproval\": false,\n            \"skipRecurringApprovalSumType\": 0,\n            \"skipRecurringApprovalStartSum\": 0,\n            \"skipRecurringApprovalEndSum\": 0\n        },\n        \"accountingPeriodSettings\": {\n            \"id\": 3179,\n            \"periodType\": 0,\n            \"closingMethod\": 1,\n            \"closingPeriodDay\": 1,\n            \"closingPeriodDate\": null\n        },\n        \"companyBillingAddress\": {\n            \"id\": null,\n            \"country\": null,\n            \"state\": null,\n            \"city\": null,\n            \"postalCode\": null,\n            \"taxPayerNumber\": null,\n            \"isVatPayer\": null,\n            \"vatIdentificationNumber\": null\n        },\n        \"isSetupLegalAddress\": false,\n        \"accountAccesses\": {\n            \"data\": []\n        }\n    },\n    \"attachments\": {\n        \"data\": []\n    }\n}"}],"_postman_id":"19f49ac1-306c-40dc-8204-0376bce66eed"},{"name":"Approve Items from Request for Proposal Proposition","id":"24770fbd-9c9e-4fa5-92f3-c99fa5c7b894","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"items[]","value":"148696","description":"<p>Item ID</p>\n","type":"text"},{"key":"items[]","value":"148697","type":"text"},{"key":"items[]","value":"148698","type":"text"}]},"url":"https://api.precoro.com/requestforproposals/proposition/{id}/items/approve","urlObject":{"protocol":"https","path":["requestforproposals","proposition","{id}","items","approve"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"6077d361-0ff3-46d8-85be-6a084bdcc4f2","name":"Approve Items from Request for Proposal Proposition","originalRequest":{"method":"PUT","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"items[]","value":"481217","description":"Item ID","type":"text"},{"key":"items[]","value":"148697","type":"text","disabled":true},{"key":"items[]","value":"148698","type":"text","disabled":true}]},"url":"https://api.precoro.com/requestforproposals/proposition/{id}/items/approve"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 14:01:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 14:01:11 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=uJdwRBZqTJz%2BgFWdzXqmPWeOkfC2C%2BYTopcg6r4cLDZtjFhmUkTShnD99RGG2pgvZCXNfd3AwDt9IPlDYBTny1yGVT8gD0zLNWeJo34ygLwVA%2F%2F4kAxdscheZEtmKrcoXA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9190f1f45ca4d6f3-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6792&min_rtt=1399&rtt_var=10769&sent=7&recv=8&lost=0&retrans=0&sent_bytes=1816&recv_bytes=1794&delivery_rate=1905263&cwnd=216&unsent_bytes=0&cid=f6127e132ac3a733&ts=28651&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 156264,\n    \"sum\": 51,\n    \"name\": \"Supplier 1\",\n    \"emails\": [\n        \"supplier1@acme.com\"\n    ],\n    \"status\": 2,\n    \"statusSending\": 2,\n    \"accessKey\": \"4cc196b9e0ef369cc51a4c79abde015f\",\n    \"deliveryDate\": \"2025-03-06T00:00:00+00:00\",\n    \"requestForProposal\": {\n        \"id\": 82285,\n        \"idn\": \"2\",\n        \"customName\": null,\n        \"createDate\": \"2025-02-28T13:55:47+00:00\",\n        \"updateDate\": \"2025-02-28T14:01:11+00:00\",\n        \"requiredDate\": \"2025-03-07T00:00:00+00:00\",\n        \"deliveryDate\": \"2025-03-14T00:00:00+00:00\",\n        \"sum\": 51,\n        \"currency\": \"USD\",\n        \"precisionData\": {\n            \"USD\": {\n                \"precision\": 2,\n                \"roundMode\": \"math\"\n            }\n        },\n        \"note\": null,\n        \"exchangeRate\": {\n            \"KHR:UAH\": 0.010371,\n            \"KHR:USD\": 0.000249,\n            \"UAH:KHR\": 96.426907,\n            \"UAH:USD\": 0.024042,\n            \"USD:KHR\": 4010.695509,\n            \"USD:UAH\": 41.593116\n        },\n        \"status\": 5,\n        \"allDocumentCustomFieldOptionsIds\": null,\n        \"approvingWay\": [],\n        \"location\": {\n            \"id\": 97962,\n            \"uniqueCode\": null,\n            \"name\": \"Main location\",\n            \"createDate\": \"2024-06-11T14:23:08+00:00\",\n            \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n            \"fullAddress\": null,\n            \"afaxysLocationId\": null,\n            \"phone\": null,\n            \"allLocationsAccessLegalEntities\": true,\n            \"enable\": true,\n            \"locationAddress\": {\n                \"id\": null\n            },\n            \"externalId\": null\n        },\n        \"supplier\": [],\n        \"creator\": {\n            \"id\": 95888,\n            \"createDate\": \"2024-06-11T14:23:08+00:00\",\n            \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n            \"email\": \"apitesterfordocumentation@gmail.com\",\n            \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n            \"locale\": \"en\",\n            \"phone\": \"+13456789\",\n            \"firstname\": \"Api\",\n            \"lastname\": \"Tester\",\n            \"position\": null,\n            \"location\": {\n                \"id\": 97962\n            },\n            \"legalEntity\": {\n                \"id\": 23152\n            },\n            \"allLocationsAccess\": true,\n            \"allUserDocumentCustomFieldsAccess\": true,\n            \"allItemGroupsAccess\": true,\n            \"roles\": [\n                \"ROLE_PURCHASE_REQUISITION\",\n                \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                \"ROLE_PURCHASE_ORDER\",\n                \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                \"ROLE_RECEIPT\",\n                \"ROLE_RECEIPT_APPROVAL\",\n                \"ROLE_INVOICE\",\n                \"ROLE_INVOICE_APPROVAL\",\n                \"ROLE_INVOICE_PAYMENT\",\n                \"ROLE_REPORT\",\n                \"ROLE_BUDGET_HOLDER\",\n                \"ROLE_SUPPLIER_MANAGEMENT\",\n                \"ROLE_SUPPLIER_APPROVAL\",\n                \"ROLE_WAREHOUSE_REQUEST\",\n                \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                \"ROLE_REQUEST_FOR_PROPOSAL\",\n                \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                \"ROLE_EXPENSE\",\n                \"ROLE_EXPENSE_APPROVAL\",\n                \"ROLE_EXPENSE_PAYMENT\",\n                \"ROLE_WAREHOUSE_MANAGER\",\n                \"ROLE_SUPER_USER\",\n                \"ROLE_OCR\",\n                \"ROLE_CONFIGURATION\",\n                \"ROLE_USER\"\n            ],\n            \"enable\": true,\n            \"isMarketSupplier\": false,\n            \"isAvailableVacationMode\": false,\n            \"enableVacationMode\": false,\n            \"startVacationMode\": null,\n            \"endVacationMode\": null,\n            \"isPower\": true,\n            \"availableIn\": [\n                {\n                    \"id\": 22359,\n                    \"name\": \"TEST Api Precoro\",\n                    \"active\": true\n                }\n            ],\n            \"hasConfirmationToken\": false\n        },\n        \"lastEditor\": [],\n        \"legalEntity\": {\n            \"id\": 23152,\n            \"createDate\": \"2024-06-11T14:23:08+00:00\",\n            \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n            \"enable\": true,\n            \"name\": \"TEST Api Precoro\",\n            \"legalAddress\": null,\n            \"accountNumber\": null,\n            \"accountHolderName\": null,\n            \"bankName\": null,\n            \"bankAddress\": null,\n            \"sortCode\": null,\n            \"businessRegistrationNumber\": null,\n            \"taxPayerType\": 2,\n            \"taxPayerNumber\": null,\n            \"phone\": null,\n            \"keyExecutive\": null,\n            \"fullName\": null,\n            \"permanentAccountNumber\": null,\n            \"internationalBankAccountNumber\": null,\n            \"americanBankersAssociationNumber\": null,\n            \"swiftCode\": null,\n            \"indianFinancialSystemCode\": null,\n            \"externalId\": null,\n            \"uniqueCode\": null\n        }\n    },\n    \"supplier\": {\n        \"id\": 719430,\n        \"uniqueCode\": \"123AB\",\n        \"name\": \"Supplier 1\",\n        \"createDate\": \"2024-07-12T10:18:00+00:00\",\n        \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n        \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n        \"legalAddress\": null,\n        \"currency\": \"USD\",\n        \"currencies\": [\n            \"USD\"\n        ],\n        \"autoSendPOSupplier\": false,\n        \"deliveryPeriod\": 0,\n        \"minimumSum\": 10,\n        \"businessRegistrationNumber\": null,\n        \"accountHolderName\": null,\n        \"bankName\": null,\n        \"accountNumber\": null,\n        \"bankAddress\": null,\n        \"swiftCode\": null,\n        \"permanentAccountNumber\": null,\n        \"internationalBankAccountNumber\": null,\n        \"americanBankersAssociationNumber\": null,\n        \"indianFinancialSystemCode\": null,\n        \"sortCode\": null,\n        \"taxPayer\": false,\n        \"taxPayerType\": 0,\n        \"taxPayerLabel\": \"Tax Payer Number\",\n        \"taxPayerNumber\": null,\n        \"phone\": null,\n        \"city\": null,\n        \"country\": null,\n        \"state\": null,\n        \"postalCode\": null,\n        \"note\": null,\n        \"conditions\": null,\n        \"enable\": true,\n        \"isMarketUpdatable\": false,\n        \"qboId\": null,\n        \"netSuiteId\": null,\n        \"xeroId\": null,\n        \"externalId\": null,\n        \"marketSupplier\": {\n            \"id\": null,\n            \"minimumSum\": null\n        },\n        \"enableMarketSupplier\": false,\n        \"creditBalanceSums\": {\n            \"USD\": 0\n        },\n        \"afaxysSupplierId\": null,\n        \"status\": 2,\n        \"creator\": {\n            \"id\": 95888,\n            \"email\": \"apitesterfordocumentation@gmail.com\"\n        },\n        \"enterInvoiceAsOneLine\": false,\n        \"isPunchoutSupplier\": false,\n        \"paymentTerms\": {\n            \"data\": [\n                {\n                    \"id\": 74148,\n                    \"name\": \"Prepayment\",\n                    \"prepaymentPercent\": 100,\n                    \"postpaymentPercent\": 0,\n                    \"creditPeriodDays\": 0,\n                    \"termsDueDateAfterInvoicing\": 0,\n                    \"paymentType\": 0,\n                    \"enable\": true,\n                    \"externalId\": null\n                }\n            ]\n        },\n        \"approvalSteps\": {\n            \"data\": []\n        },\n        \"approvingWay\": []\n    },\n    \"items\": {\n        \"data\": [\n            {\n                \"id\": 481217,\n                \"status\": 0,\n                \"description\": null,\n                \"new_sku\": \"173516\",\n                \"old_sku\": \"173516\",\n                \"new_name\": \"Home Desk\",\n                \"old_name\": \"Home Desk\",\n                \"price\": 51,\n                \"ordered\": 1,\n                \"old_ordered\": 1,\n                \"unit\": null,\n                \"old_unit\": null,\n                \"proposition\": {\n                    \"id\": 156264\n                },\n                \"requestForProposalItem\": {\n                    \"id\": 212565\n                }\n            }\n        ]\n    },\n    \"comments\": {\n        \"data\": []\n    },\n    \"followers\": {\n        \"data\": [\n            {\n                \"id\": 12271922,\n                \"user_status\": 1,\n                \"user_email\": \"apitesterfordocumentation@gmail.com\",\n                \"isAvailableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null\n            }\n        ]\n    },\n    \"company\": {\n        \"id\": 22359,\n        \"name\": \"TEST Api Precoro\",\n        \"enableWarehouseRequests\": true,\n        \"showPriceInWarehouseRequest\": true,\n        \"enablePurchaseRequisitions\": true,\n        \"enableEmptyRowsInPurchaseRequisitions\": true,\n        \"showPriceInPurchaseRequisition\": true,\n        \"enableSkuInPR\": true,\n        \"enableRFP\": true,\n        \"purchaseRequisitionRequiredAttachments\": false,\n        \"enableGenerationPurchaseOrderFromPurchaseRequisition\": false,\n        \"account\": {\n            \"id\": 21041\n        },\n        \"defaultPurchaser\": {\n            \"id\": null\n        },\n        \"enableCreatePurchaseRequisitionFromWarehouseRequest\": true,\n        \"enableEditRestrictInPurchaseRequisitions\": false,\n        \"restrictedFieldsInPurchaseRequisitions\": [],\n        \"enableEmptyRowsInPurchaseOrders\": true,\n        \"purchaseOrderRequiredAttachments\": false,\n        \"poTransferAttachment\": false,\n        \"transferAttachmentFromPO\": false,\n        \"poSendSupplier\": true,\n        \"enableBlanketPurchaseOrder\": true,\n        \"enableServicePurchaseOrder\": true,\n        \"transferNoteFromPurchaseRequisition\": false,\n        \"transferNoteFromPurchaseOrder\": false,\n        \"itemGroup\": true,\n        \"enableReceipt\": true,\n        \"receiptNumberDuplicated\": true,\n        \"enableReceiptMatching\": false,\n        \"receiptRequiredAttachments\": false,\n        \"receiptDoNotDisplayPrice\": false,\n        \"displayInvoiceAttachment\": false,\n        \"enableInvoice\": true,\n        \"invoiceRequiredAttachments\": false,\n        \"invoiceRequiredIssueDate\": true,\n        \"supplierInvoiceNumberDuplicated\": true,\n        \"enablePayment\": true,\n        \"enableEmptyRowsInInvoices\": true,\n        \"invoiceRequiredSupplierNumber\": false,\n        \"creditNoteRequiredSupplierNumber\": false,\n        \"allowBlockInvoiceConfirm\": false,\n        \"allUsersWillBeTriggeredToCreateReceipt\": false,\n        \"requestorWillBeTriggeredToCreateReceipt\": false,\n        \"purchaserWillBeTriggeredToCreateReceipt\": false,\n        \"invoiceRequiredPaymentTerms\": false,\n        \"enableDefaultPaymentTerms\": false,\n        \"enableNotifyWhenReceiptCreated\": false,\n        \"enableNotSendNotifyBlockInvoice\": false,\n        \"addNewLineWithoutMatching\": false,\n        \"isEnterInvoiceAsOneLine\": false,\n        \"enableBudget\": true,\n        \"enableBudgetParts\": false,\n        \"enableRequiredBudget\": false,\n        \"showBudgetSumToInitiator\": true,\n        \"enableExpenseBudget\": true,\n        \"enablePurchaseRequisitionBudget\": false,\n        \"enableExpense\": true,\n        \"enableExpensePayment\": true,\n        \"expenseRequiredAttachments\": false,\n        \"expenseRequiredIssueDate\": true,\n        \"productBundle\": false,\n        \"enableCatalogImagesUpload\": true,\n        \"enableItemsDescriptionInCatalog\": true,\n        \"linkInItemName\": true,\n        \"enableSku\": true,\n        \"allowAddNewItemsToCatalog\": false,\n        \"approverReminderEmailDays\": [\n            1\n        ],\n        \"weeklyReminderEmailDays\": [\n            1\n        ],\n        \"ocrDraftAttachmentsReminderEmailDays\": [\n            1\n        ],\n        \"inventoryLowStockReminderEmailDays\": [\n            1\n        ],\n        \"supplierContract\": true,\n        \"enableLegalEntityLogic\": true,\n        \"enableWarehouse\": true,\n        \"enableDiscounts\": true,\n        \"enableTaxes\": true,\n        \"enableWithholdingTaxes\": false,\n        \"enableWithholdingTaxItemType\": false,\n        \"enableRequiredTaxesForItems\": true,\n        \"enableRecurringDocuments\": true,\n        \"enableViewOnlySelfCreatedDocuments\": false,\n        \"enableUseNetTotal\": false,\n        \"numberFormat\": 0,\n        \"nameStructure\": 0,\n        \"defaultTaxPayerType\": 10,\n        \"dateFormat\": 0,\n        \"dateFormatFront\": \"DD.MM.YYYY\",\n        \"timezone\": \"Europe/London\",\n        \"formatForSendingToSupplier\": 0,\n        \"formatTypeForSendingToSupplier\": 0,\n        \"sendFileInApprovalEmail\": true,\n        \"enableDuplicateCatalogItemsInDocument\": false,\n        \"isManyCurrencies\": true,\n        \"enableSupplierInvitation\": false,\n        \"allowRequestSupplier\": false,\n        \"exchangeRateType\": 1,\n        \"currency\": \"USD\",\n        \"documentLocales\": [\n            \"en\"\n        ],\n        \"status\": 0,\n        \"enableBlanketPerItemsPurchaseOrder\": false,\n        \"isOnBoarding\": false,\n        \"enableDocumentsCustomName\": false,\n        \"formatPurchaseOrdersName\": [],\n        \"formatInvoicesName\": [],\n        \"formatPurchaseRequisitionsName\": [],\n        \"formatRequestForProposalName\": [],\n        \"formatReceiptsName\": [],\n        \"formatWarehouseRequestsName\": [],\n        \"isHiddenPurchaseOrderNumber\": false,\n        \"isManyCategories\": false,\n        \"defaultSuppliersSortingType\": 0,\n        \"allowConnectGoogleForReportExporting\": true,\n        \"enableClosingOverdueDocuments\": true,\n        \"enableLimitRulesToMatching\": false,\n        \"isAmazonConfiguration\": false,\n        \"punchoutConfigurations\": {\n            \"afaxys\": false,\n            \"home_depot\": false,\n            \"staples\": false,\n            \"amazon_punchout\": false,\n            \"grainger\": false,\n            \"fisher_scientific\": false\n        },\n        \"purchaseOrderPunchoutConfigurations\": {\n            \"staples\": false,\n            \"grainger\": false,\n            \"home_depot\": false,\n            \"fisher_scientific\": false\n        },\n        \"hasQboIntegrationToken\": null,\n        \"hasXeroIntegrationToken\": null,\n        \"hasExternalIntegration\": false,\n        \"hasHiBobIntegrationConfiguration\": false,\n        \"externalIntegrationName\": null,\n        \"isActiveStandardPurchaseOrder\": true,\n        \"isActiveStandardServiceOrder\": true,\n        \"isActiveStandardPurchaseRequisition\": true,\n        \"isActiveStandardInvoice\": true,\n        \"isActiveStandardExpense\": true,\n        \"isActiveStandardPrFromWr\": true,\n        \"isActiveStandardPoFromPr\": true,\n        \"isActiveStandardSoFromPr\": true,\n        \"isActiveStandardInvoiceFromPo\": true,\n        \"isActiveStandardSupplierRequestForm\": true,\n        \"isCompanyConfigurationByLegalEntity\": false,\n        \"enableSplitCosts\": false,\n        \"reapprovalSetups\": {\n            \"data\": []\n        },\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"legalName\": \"TEST Api Precoro\",\n        \"legalAddress\": null,\n        \"phone\": \"+13456789\",\n        \"email\": \"apitesterfordocumentation@gmail.com\",\n        \"businessRegistrationNumber\": \"_\",\n        \"usedTaxPercentInBudget\": 100,\n        \"exchangeRate\": {\n            \"KHR:UAH\": 1,\n            \"KHR:USD\": 1,\n            \"UAH:KHR\": 1,\n            \"UAH:USD\": 1,\n            \"USD:KHR\": 1,\n            \"USD:UAH\": 1\n        },\n        \"currenciesData\": [\n            {\n                \"currency\": \"USD\",\n                \"precision\": 2,\n                \"roundMode\": \"math\"\n            },\n            {\n                \"currency\": \"UAH\",\n                \"precision\": 2,\n                \"roundMode\": \"math\"\n            },\n            {\n                \"currency\": \"KHR\",\n                \"precision\": 2,\n                \"roundMode\": \"math\"\n            }\n        ],\n        \"demoDate\": \"2025-06-25T00:00:00+00:00\",\n        \"accountFields\": {\n            \"industry\": null,\n            \"minStandartUsersCount\": 0,\n            \"standardMonthUserPrice\": 39,\n            \"csm\": null,\n            \"endDateToLeftMoney\": {\n                \"date\": \"2024-06-11 00:00:00.000000\",\n                \"timezone_type\": 3,\n                \"timezone\": \"UTC\"\n            },\n            \"balance\": \"0.00\",\n            \"country\": \"AF\",\n            \"status\": 0\n        },\n        \"propsVisibilitySupplier\": {\n            \"showAccountHolderNameSupplier\": true,\n            \"showLegalAddressSupplier\": true,\n            \"showPhoneNumberSupplier\": true,\n            \"showBusinessRegistrationNumberSupplier\": true,\n            \"showAccountNumberSupplier\": true,\n            \"showBankNameSupplier\": true,\n            \"showBankAddressSupplier\": true,\n            \"showSortCodeSupplier\": true,\n            \"showTaxPayerSupplier\": true,\n            \"showSwiftCodeSupplier\": true,\n            \"showPermanentAccountNumberSupplier\": true,\n            \"showInternationalBankAccountNumberSupplier\": true,\n            \"showAmericanBankersAssociationNumberSupplier\": true,\n            \"showIndianFinancialSystemCodeSupplier\": true\n        },\n        \"companyIntegrationConfiguration\": null,\n        \"netSuiteIntegrationConfiguration\": null,\n        \"gmailIntegrationConfiguration\": true,\n        \"betaTestCases\": [\n            \"REDESIGN_RECEIPT\",\n            \"REDESIGN_INBOX_CN\",\n            \"REDESIGN_INBOX_INVOICE\",\n            \"REDESIGN_INVOICE_FROM_PO\",\n            \"REDESIGN_SUPPLIER_MANAGEMENT\",\n            \"BACK_EXPORT_REPORTS_UPDATE\",\n            \"MICROSERVICE_EXPORT_EXPENSE\",\n            \"MICROSERVICE_EXPORT_CONTRACT_REVISION\",\n            \"MICROSERVICE_EXPORT_CATALOG_REVISION\",\n            \"MICROSERVICE_EXPORT_PURCHASE_REQUISITION\",\n            \"MICROSERVICE_IMPORT_LOCATIONS\",\n            \"MICROSERVICE_IMPORT_WAREHOUSES\",\n            \"MICROSERVICE_IMPORT_CUSTOM_FIELDS\",\n            \"MICROSERVICE_EXPORT_OPEN_PURCHASE_ORDER\",\n            \"MICROSERVICE_EXPORT_BUDGET_ACTUAL\",\n            \"MICROSERVICE_EXPORT_SUPPLIER_REVISION\",\n            \"MICROSERVICE_EXPORT_CREDIT_NOTE\",\n            \"MICROSERVICE_EXPORT_INVOICE\",\n            \"MICROSERVICE_EXPORT_PURCHASE_ORDER_ITEMS\",\n            \"MICROSERVICE_IMPORT_ITEMS\",\n            \"MICROSERVICE_IMPORT_USERS\"\n        ],\n        \"companyApprovalPolicies\": {\n            \"id\": 65,\n            \"enableSelfApprove\": true,\n            \"enableApprovalByDocumentRequesters\": false,\n            \"enableSkipPOFromPRApproval\": false,\n            \"enableSkipInvoiceFromPOApproval\": false,\n            \"enableOverbudgetApproval\": false,\n            \"blockAutoApproval\": false,\n            \"blockAutoApprovalSumType\": 0,\n            \"blockAutoApprovalStartSum\": 0,\n            \"blockAutoApprovalEndSum\": 0,\n            \"enableSkipRecurringApproval\": false,\n            \"skipRecurringApprovalSumType\": 0,\n            \"skipRecurringApprovalStartSum\": 0,\n            \"skipRecurringApprovalEndSum\": 0\n        }\n    },\n    \"attachments\": {\n        \"data\": []\n    }\n}"}],"_postman_id":"24770fbd-9c9e-4fa5-92f3-c99fa5c7b894"}],"id":"41983c20-c654-4306-8211-166f52ae3407","description":"<p>Status values description:<br /><strong>OPEN</strong> = 0<br /><strong>PENDING</strong> = 1<br /><strong>APPROVED</strong> = 2<br /><strong>DENIED</strong> = 3</p>\n<p><strong>PURCHASED</strong> = 5</p>\n<p><strong>CANCELED</strong> = 8</p>\n<p><strong>APPROVAL_REVIEW</strong> = 10</p>\n<hr />\n<p>Items status description:<br /><strong>APPROVED</strong> = 1<br /><strong>REJECTED</strong> = 2<br /><strong>NO_PROPOSAL</strong> = 6</p>\n<hr />\n<p>Proposition status values description:</p>\n<p><strong>SENT</strong> = 1</p>\n<p><strong>CONFIRMED</strong> = 2</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"215cfc1a-7cbe-493f-bc63-e80d9309968f"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"1fae7d56-28b0-433c-9d5c-23587683787e"}}],"_postman_id":"41983c20-c654-4306-8211-166f52ae3407"},{"name":"Purchase Orders","item":[{"name":"Get Purchase Orders list","id":"0bf4b62a-7401-487e-beed-1b7ba825d88a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/purchaseorders?modifiedSince=2023-10-10T00:00:00&logicType[]=0&per_page=100&page=1&approvalLeftDate=2023-10-10T00:00:00&approvalRightDate=2024-01-10T00:00:00&status[]=2&status[]=1","description":"<h2 id=\"external_id-filter\"><code>external_id[]</code> filter</h2>\n<p>Filter results by <code>externalId</code> — the identifier set on a Precoro record by your external system.</p>\n<p><strong>Rules:</strong></p>\n<ul>\n<li>Must be passed as an <strong>array</strong>: <code>external_id[]=101&amp;external_id[]=102</code></li>\n<li>Single value (<code>external_id=101</code>) is <strong>silently ignored</strong></li>\n<li>Values must be <strong>numeric</strong> — non-numeric values cause the filter to be silently skipped (full unfiltered list is returned)</li>\n<li>Maximum <strong>200</strong> values; exceeding this returns <code>400 Bad Request</code></li>\n</ul>\n<p><strong>Error response (&gt;200 values):</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"errors\": {\n        \"errors\": {\n            \"item_filter\": \"Too many external_id filter params. Maximum amount is 200\"\n        }\n    }\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["purchaseorders"],"host":["api","precoro","com"],"query":[{"description":{"content":"<p>(optionally) If an object was created or modified since the date, it will appears in results</p>\n","type":"text/plain"},"key":"modifiedSince","value":"2023-10-10T00:00:00"},{"description":{"content":"<p>(optionally) Filter documents by type. Available options are listed in Purchase order types description above.</p>\n","type":"text/plain"},"key":"logicType[]","value":"0"},{"description":{"content":"<p>(optionally) Number of items per page. Available options: 10, 20, 50, 100, 200</p>\n","type":"text/plain"},"key":"per_page","value":"100"},{"description":{"content":"<p>(optionally) Page number to be displayed</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>(optionally) If an object was approved since the date, it will appear in the results</p>\n","type":"text/plain"},"key":"approvalLeftDate","value":"2023-10-10T00:00:00"},{"description":{"content":"<p>(optionally) If an object was approved before the date, it will appear in the results</p>\n","type":"text/plain"},"key":"approvalRightDate","value":"2024-01-10T00:00:00"},{"description":{"content":"<p>(optionally) Return purchase orders on status approved</p>\n","type":"text/plain"},"key":"status[]","value":"2"},{"description":{"content":"<p>(optionally) Return purchase orders on status pending</p>\n","type":"text/plain"},"key":"status[]","value":"1"},{"disabled":true,"description":{"content":"<p>Filter by externalId. Must be a numeric string. Repeat this param to pass multiple values: external_id[]=101&amp;external_id[]=102</p>\n","type":"text/plain"},"key":"external_id[]","value":"1"},{"disabled":true,"description":{"content":"<p>Add another value. Maximum 200 values total. Non-numeric values silently disable the filter.</p>\n","type":"text/plain"},"key":"external_id[]","value":"2"}],"variable":[]}},"response":[{"id":"42c5cfe7-e25d-4693-85a2-9d80415c7ff4","name":"Get Purchase Orders list","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":{"raw":"https://api.precoro.com/purchaseorders?modifiedSince=2023-10-10T00:00:00&per_page=100&page=1","protocol":"https","host":["api","precoro","com"],"path":["purchaseorders"],"query":[{"key":"modifiedSince","value":"2023-10-10T00:00:00","description":"(optionally) If an object was created or modified since the date, it will appears in results"},{"key":"per_page","value":"100","description":"(optionally) Number of items per page. Available options: 10, 20, 50, 100, 200"},{"key":"page","value":"1","description":"(optionally) Page number to be displayed"},{"key":"approvalLeftDate","value":"2023-10-10T00:00:00","description":"(optionally) If an object was approved since the date, it will appear in the results","disabled":true},{"key":"approvalRightDate","value":"2024-01-10T00:00:00","description":"(optionally) If an object was approved before the date, it will appear in the results","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 14:03:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 14:03:25 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=8dclZeOSRGIdvw%2Fnx9aM%2BXDYamTP56VuIwrfpTfV7nZgLHT1cqpiSUkUYazWy9Ldr9RNq9VjySX2o2ofaxpfEF%2FFLCiPO3kTqAbiEPe5ExJKciZI3Jy336IUwFgA4a4PQQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9190f53c4acad6cd-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7434&min_rtt=1852&rtt_var=11293&sent=7&recv=8&lost=0&retrans=0&sent_bytes=1885&recv_bytes=1727&delivery_rate=1503634&cwnd=218&unsent_bytes=0&cid=bd86fedaf950faef&ts=10053&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1877576,\n            \"idn\": \"3\",\n            \"customName\": null,\n            \"createDate\": \"2025-02-28T13:44:41+00:00\",\n            \"updateDate\": \"2025-02-28T13:50:18+00:00\",\n            \"requiredDate\": \"2025-02-28T00:00:00+00:00\",\n            \"approvalDate\": \"2025-02-28T13:44:49+00:00\",\n            \"sum\": 51.4,\n            \"netSum\": 49.9,\n            \"sumInCompanyCurrency\": 51.4,\n            \"netSumInCompanyCurrency\": 49.9,\n            \"currency\": \"USD\",\n            \"precisionData\": {\n                \"USD\": {\n                    \"precision\": 2,\n                    \"roundMode\": \"math\"\n                }\n            },\n            \"note\": null,\n            \"exchangeRate\": {\n                \"KHR:UAH\": 0.010371,\n                \"KHR:USD\": 0.000249,\n                \"UAH:KHR\": 96.426907,\n                \"UAH:USD\": 0.024042,\n                \"USD:KHR\": 4010.695509,\n                \"USD:UAH\": 41.593116\n            },\n            \"invoicedSum\": 51.4,\n            \"invoicedSumInCompanyCurrency\": 51.4,\n            \"netInvoicedSum\": 49.9,\n            \"isServiceOrder\": false,\n            \"status\": 2,\n            \"statusReceiving\": 2,\n            \"statusPayment\": 2,\n            \"statusSending\": 0,\n            \"blanketDetails\": {\n                \"startDate\": null,\n                \"firstDeliveryDate\": null,\n                \"frequency\": null,\n                \"amountOfDeliveries\": null,\n                \"blanketSum\": 0\n            },\n            \"paymentTerm\": {\n                \"id\": 74148\n            },\n            \"company\": {\n                \"id\": 22359\n            },\n            \"prepaymentPercent\": 100,\n            \"postpaymentPercent\": 0,\n            \"creditPeriodDays\": 0,\n            \"qboId\": null,\n            \"netSuiteId\": null,\n            \"xeroId\": null,\n            \"externalId\": null,\n            \"externalIntegrationLog\": null,\n            \"logicType\": 2,\n            \"budgetedSum\": 0,\n            \"usedTaxPercentInBudget\": \"100.00\",\n            \"poomUrl\": null,\n            \"deliverToName\": null,\n            \"allDocumentCustomFieldOptionsIds\": null,\n            \"sendToSupplier\": true,\n            \"isNewSupplierAdded\": false,\n            \"punchoutType\": 0,\n            \"itemsChartSum\": 0,\n            \"approvingWay\": {\n                \"84289\": {\n                    \"step\": \"1 Approval Step #1\",\n                    \"approvers\": {\n                        \"95888\": {\n                            \"email\": \"apitesterfordocumentation@gmail.com\",\n                            \"datetime\": {\n                                \"date\": \"2025-02-28 13:44:49.939852\",\n                                \"timezone\": \"UTC\",\n                                \"timezone_type\": 3\n                            },\n                            \"user_approve\": true\n                        }\n                    },\n                    \"approve_type\": 1\n                }\n            },\n            \"location\": {\n                \"id\": 97962,\n                \"uniqueCode\": null,\n                \"name\": \"Main location\",\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"fullAddress\": null,\n                \"afaxysLocationId\": null,\n                \"phone\": null,\n                \"allLocationsAccessLegalEntities\": true,\n                \"enable\": true,\n                \"locationAddress\": {\n                    \"id\": null\n                },\n                \"externalId\": null\n            },\n            \"supplier\": {\n                \"id\": 719430,\n                \"uniqueCode\": \"123AB\",\n                \"name\": \"Supplier 1\",\n                \"createDate\": \"2024-07-12T10:18:00+00:00\",\n                \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n                \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n                \"legalAddress\": null,\n                \"currency\": \"USD\",\n                \"currencies\": [\n                    \"USD\"\n                ],\n                \"autoSendPOSupplier\": false,\n                \"deliveryPeriod\": 0,\n                \"minimumSum\": 10,\n                \"businessRegistrationNumber\": null,\n                \"accountHolderName\": null,\n                \"bankName\": null,\n                \"accountNumber\": null,\n                \"bankAddress\": null,\n                \"swiftCode\": null,\n                \"permanentAccountNumber\": null,\n                \"internationalBankAccountNumber\": null,\n                \"americanBankersAssociationNumber\": null,\n                \"indianFinancialSystemCode\": null,\n                \"sortCode\": null,\n                \"taxPayer\": false,\n                \"taxPayerType\": 0,\n                \"taxPayerLabel\": \"Tax Payer Number\",\n                \"taxPayerNumber\": null,\n                \"phone\": null,\n                \"city\": null,\n                \"country\": null,\n                \"state\": null,\n                \"postalCode\": null,\n                \"note\": null,\n                \"conditions\": null,\n                \"enable\": true,\n                \"isMarketUpdatable\": false,\n                \"qboId\": null,\n                \"netSuiteId\": null,\n                \"xeroId\": null,\n                \"externalId\": null,\n                \"marketSupplier\": {\n                    \"id\": null,\n                    \"minimumSum\": null\n                },\n                \"enableMarketSupplier\": false,\n                \"creditBalanceSums\": {\n                    \"USD\": 0\n                },\n                \"afaxysSupplierId\": null,\n                \"status\": 2,\n                \"creator\": {\n                    \"id\": 95888,\n                    \"email\": \"apitesterfordocumentation@gmail.com\"\n                },\n                \"enterInvoiceAsOneLine\": false,\n                \"isPunchoutSupplier\": false,\n                \"paymentTerms\": {\n                    \"data\": [\n                        {\n                            \"id\": 74148,\n                            \"name\": \"Prepayment\",\n                            \"prepaymentPercent\": 100,\n                            \"postpaymentPercent\": 0,\n                            \"creditPeriodDays\": 0,\n                            \"termsDueDateAfterInvoicing\": 0,\n                            \"paymentType\": 0,\n                            \"enable\": true,\n                            \"externalId\": null\n                        }\n                    ]\n                },\n                \"approvalSteps\": {\n                    \"data\": []\n                },\n                \"approvingWay\": []\n            },\n            \"budget\": [],\n            \"budgetLine\": [],\n            \"legalEntity\": {\n                \"id\": 23152,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"enable\": true,\n                \"name\": \"TEST Api Precoro\",\n                \"legalAddress\": null,\n                \"accountNumber\": null,\n                \"accountHolderName\": null,\n                \"bankName\": null,\n                \"bankAddress\": null,\n                \"sortCode\": null,\n                \"businessRegistrationNumber\": null,\n                \"taxPayerType\": 2,\n                \"taxPayerNumber\": null,\n                \"phone\": null,\n                \"keyExecutive\": null,\n                \"fullName\": null,\n                \"permanentAccountNumber\": null,\n                \"internationalBankAccountNumber\": null,\n                \"americanBankersAssociationNumber\": null,\n                \"swiftCode\": null,\n                \"indianFinancialSystemCode\": null,\n                \"externalId\": null,\n                \"uniqueCode\": null\n            },\n            \"creator\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"availableIn\": [\n                    {\n                        \"id\": 22359,\n                        \"name\": \"TEST Api Precoro\",\n                        \"active\": true\n                    }\n                ],\n                \"hasConfirmationToken\": false\n            },\n            \"lastEditor\": [],\n            \"approvalSteps\": {\n                \"data\": []\n            },\n            \"contracts\": {\n                \"data\": []\n            },\n            \"dataDocumentCustomFields\": {\n                \"data\": []\n            },\n            \"approvalInfo\": {\n                \"canAcceptMatchingChanges\": false,\n                \"canRejectMatchingChanges\": false,\n                \"documentAC\": {\n                    \"idn\": null\n                },\n                \"isMatchingReceipt\": false,\n                \"canApproveDocument\": false,\n                \"canRejectDocument\": false\n            },\n            \"frequencyString\": \"\",\n            \"budgetParts\": {\n                \"data\": []\n            },\n            \"entityTemplate\": [],\n            \"relatedPurchaseRequisitions\": [\n                {\n                    \"id\": 787948,\n                    \"idn\": \"2\",\n                    \"creator\": {\n                        \"id\": 95888\n                    }\n                }\n            ],\n            \"relatedPurchaseRequisitionsCount\": 1,\n            \"relatedRequestForProposals\": [],\n            \"relatedRequestForProposalsCount\": 0,\n            \"relatedInvoices\": [\n                {\n                    \"id\": 1534882,\n                    \"idn\": \"5\",\n                    \"creator\": {\n                        \"id\": 95888\n                    }\n                }\n            ],\n            \"relatedInvoicesCount\": 1,\n            \"relatedReceipts\": [\n                {\n                    \"id\": 1067409,\n                    \"idn\": \"1\",\n                    \"creator\": {\n                        \"id\": 95888\n                    }\n                }\n            ],\n            \"relatedReceiptsCount\": 1,\n            \"documentSplits\": {\n                \"data\": []\n            }\n        },\n        {\n            \"id\": 1877480,\n            \"idn\": \"2\",\n            \"customName\": null,\n            \"createDate\": \"2025-02-28T12:36:11+00:00\",\n            \"updateDate\": \"2025-02-28T12:36:20+00:00\",\n            \"requiredDate\": \"2025-02-28T00:00:00+00:00\",\n            \"approvalDate\": \"2025-02-28T12:36:20+00:00\",\n            \"sum\": 51.4,\n            \"netSum\": 49.9,\n            \"sumInCompanyCurrency\": 51.4,\n            \"netSumInCompanyCurrency\": 49.9,\n            \"currency\": \"USD\",\n            \"precisionData\": {\n                \"USD\": {\n                    \"precision\": 2,\n                    \"roundMode\": \"math\"\n                }\n            },\n            \"note\": null,\n            \"exchangeRate\": {\n                \"KHR:UAH\": 0.010371,\n                \"KHR:USD\": 0.000249,\n                \"UAH:KHR\": 96.426907,\n                \"UAH:USD\": 0.024042,\n                \"USD:KHR\": 4010.695509,\n                \"USD:UAH\": 41.593116\n            },\n            \"invoicedSum\": 0,\n            \"invoicedSumInCompanyCurrency\": 0,\n            \"netInvoicedSum\": 0,\n            \"isServiceOrder\": false,\n            \"status\": 2,\n            \"statusReceiving\": 0,\n            \"statusPayment\": 0,\n            \"statusSending\": 0,\n            \"blanketDetails\": {\n                \"startDate\": null,\n                \"firstDeliveryDate\": null,\n                \"frequency\": null,\n                \"amountOfDeliveries\": null,\n                \"blanketSum\": 0\n            },\n            \"paymentTerm\": {\n                \"id\": 74148\n            },\n            \"company\": {\n                \"id\": 22359\n            },\n            \"prepaymentPercent\": 100,\n            \"postpaymentPercent\": 0,\n            \"creditPeriodDays\": 0,\n            \"qboId\": null,\n            \"netSuiteId\": null,\n            \"xeroId\": null,\n            \"externalId\": null,\n            \"externalIntegrationLog\": null,\n            \"logicType\": 0,\n            \"budgetedSum\": 0,\n            \"usedTaxPercentInBudget\": \"100.00\",\n            \"poomUrl\": null,\n            \"deliverToName\": null,\n            \"allDocumentCustomFieldOptionsIds\": null,\n            \"sendToSupplier\": true,\n            \"isNewSupplierAdded\": false,\n            \"punchoutType\": 0,\n            \"itemsChartSum\": 51.4,\n            \"approvingWay\": {\n                \"84289\": {\n                    \"step\": \"1 Approval Step #1\",\n                    \"approvers\": {\n                        \"95888\": {\n                            \"email\": \"apitesterfordocumentation@gmail.com\",\n                            \"datetime\": {\n                                \"date\": \"2025-02-28 12:36:20.650026\",\n                                \"timezone\": \"UTC\",\n                                \"timezone_type\": 3\n                            },\n                            \"user_approve\": true\n                        }\n                    },\n                    \"approve_type\": 1\n                }\n            },\n            \"location\": {\n                \"id\": 97962,\n                \"uniqueCode\": null,\n                \"name\": \"Main location\",\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"fullAddress\": null,\n                \"afaxysLocationId\": null,\n                \"phone\": null,\n                \"allLocationsAccessLegalEntities\": true,\n                \"enable\": true,\n                \"locationAddress\": {\n                    \"id\": null\n                },\n                \"externalId\": null\n            },\n            \"supplier\": {\n                \"id\": 719430,\n                \"uniqueCode\": \"123AB\",\n                \"name\": \"Supplier 1\",\n                \"createDate\": \"2024-07-12T10:18:00+00:00\",\n                \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n                \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n                \"legalAddress\": null,\n                \"currency\": \"USD\",\n                \"currencies\": [\n                    \"USD\"\n                ],\n                \"autoSendPOSupplier\": false,\n                \"deliveryPeriod\": 0,\n                \"minimumSum\": 10,\n                \"businessRegistrationNumber\": null,\n                \"accountHolderName\": null,\n                \"bankName\": null,\n                \"accountNumber\": null,\n                \"bankAddress\": null,\n                \"swiftCode\": null,\n                \"permanentAccountNumber\": null,\n                \"internationalBankAccountNumber\": null,\n                \"americanBankersAssociationNumber\": null,\n                \"indianFinancialSystemCode\": null,\n                \"sortCode\": null,\n                \"taxPayer\": false,\n                \"taxPayerType\": 0,\n                \"taxPayerLabel\": \"Tax Payer Number\",\n                \"taxPayerNumber\": null,\n                \"phone\": null,\n                \"city\": null,\n                \"country\": null,\n                \"state\": null,\n                \"postalCode\": null,\n                \"note\": null,\n                \"conditions\": null,\n                \"enable\": true,\n                \"isMarketUpdatable\": false,\n                \"qboId\": null,\n                \"netSuiteId\": null,\n                \"xeroId\": null,\n                \"externalId\": null,\n                \"marketSupplier\": {\n                    \"id\": null,\n                    \"minimumSum\": null\n                },\n                \"enableMarketSupplier\": false,\n                \"creditBalanceSums\": {\n                    \"USD\": 0\n                },\n                \"afaxysSupplierId\": null,\n                \"status\": 2,\n                \"creator\": {\n                    \"id\": 95888,\n                    \"email\": \"apitesterfordocumentation@gmail.com\"\n                },\n                \"enterInvoiceAsOneLine\": false,\n                \"isPunchoutSupplier\": false,\n                \"paymentTerms\": {\n                    \"data\": [\n                        {\n                            \"id\": 74148,\n                            \"name\": \"Prepayment\",\n                            \"prepaymentPercent\": 100,\n                            \"postpaymentPercent\": 0,\n                            \"creditPeriodDays\": 0,\n                            \"termsDueDateAfterInvoicing\": 0,\n                            \"paymentType\": 0,\n                            \"enable\": true,\n                            \"externalId\": null\n                        }\n                    ]\n                },\n                \"approvalSteps\": {\n                    \"data\": []\n                },\n                \"approvingWay\": []\n            },\n            \"budget\": [],\n            \"budgetLine\": [],\n            \"legalEntity\": {\n                \"id\": 23152,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"enable\": true,\n                \"name\": \"TEST Api Precoro\",\n                \"legalAddress\": null,\n                \"accountNumber\": null,\n                \"accountHolderName\": null,\n                \"bankName\": null,\n                \"bankAddress\": null,\n                \"sortCode\": null,\n                \"businessRegistrationNumber\": null,\n                \"taxPayerType\": 2,\n                \"taxPayerNumber\": null,\n                \"phone\": null,\n                \"keyExecutive\": null,\n                \"fullName\": null,\n                \"permanentAccountNumber\": null,\n                \"internationalBankAccountNumber\": null,\n                \"americanBankersAssociationNumber\": null,\n                \"swiftCode\": null,\n                \"indianFinancialSystemCode\": null,\n                \"externalId\": null,\n                \"uniqueCode\": null\n            },\n            \"creator\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"availableIn\": [\n                    {\n                        \"id\": 22359,\n                        \"name\": \"TEST Api Precoro\",\n                        \"active\": true\n                    }\n                ],\n                \"hasConfirmationToken\": false\n            },\n            \"lastEditor\": [],\n            \"approvalSteps\": {\n                \"data\": []\n            },\n            \"contracts\": {\n                \"data\": []\n            },\n            \"dataDocumentCustomFields\": {\n                \"data\": []\n            },\n            \"approvalInfo\": {\n                \"canAcceptMatchingChanges\": false,\n                \"canRejectMatchingChanges\": false,\n                \"documentAC\": {\n                    \"idn\": null\n                },\n                \"isMatchingReceipt\": false,\n                \"canApproveDocument\": false,\n                \"canRejectDocument\": false\n            },\n            \"frequencyString\": \"\",\n            \"budgetParts\": {\n                \"data\": []\n            },\n            \"entityTemplate\": [],\n            \"relatedPurchaseRequisitions\": [],\n            \"relatedPurchaseRequisitionsCount\": 0,\n            \"relatedRequestForProposals\": [],\n            \"relatedRequestForProposalsCount\": 0,\n            \"relatedInvoices\": [],\n            \"relatedInvoicesCount\": 0,\n            \"relatedReceipts\": [],\n            \"relatedReceiptsCount\": 0,\n            \"documentSplits\": {\n                \"data\": []\n            }\n        },\n        {\n            \"id\": 1616546,\n            \"idn\": \"1\",\n            \"customName\": null,\n            \"createDate\": \"2024-07-22T12:38:12+00:00\",\n            \"updateDate\": \"2024-11-21T08:40:27+00:00\",\n            \"requiredDate\": \"2024-07-31T00:00:00+00:00\",\n            \"approvalDate\": \"2024-07-22T12:38:24+00:00\",\n            \"sum\": 51.4,\n            \"netSum\": 49.9,\n            \"sumInCompanyCurrency\": 51.4,\n            \"netSumInCompanyCurrency\": 49.9,\n            \"currency\": \"USD\",\n            \"precisionData\": {\n                \"USD\": {\n                    \"precision\": 2,\n                    \"roundMode\": \"math\"\n                }\n            },\n            \"note\": null,\n            \"exchangeRate\": {\n                \"UAH:USD\": 0.02411,\n                \"USD:UAH\": 41.476059\n            },\n            \"invoicedSum\": 0,\n            \"invoicedSumInCompanyCurrency\": 0,\n            \"netInvoicedSum\": 0,\n            \"isServiceOrder\": false,\n            \"status\": 2,\n            \"statusReceiving\": 0,\n            \"statusPayment\": 0,\n            \"statusSending\": 0,\n            \"blanketDetails\": {\n                \"startDate\": null,\n                \"firstDeliveryDate\": null,\n                \"frequency\": null,\n                \"amountOfDeliveries\": null,\n                \"blanketSum\": 0\n            },\n            \"paymentTerm\": {\n                \"id\": 74148\n            },\n            \"company\": {\n                \"id\": 22359\n            },\n            \"prepaymentPercent\": 100,\n            \"postpaymentPercent\": 0,\n            \"creditPeriodDays\": 0,\n            \"qboId\": null,\n            \"netSuiteId\": null,\n            \"xeroId\": null,\n            \"externalId\": null,\n            \"externalIntegrationLog\": null,\n            \"logicType\": 0,\n            \"budgetedSum\": 0,\n            \"usedTaxPercentInBudget\": \"100.00\",\n            \"poomUrl\": null,\n            \"deliverToName\": null,\n            \"allDocumentCustomFieldOptionsIds\": null,\n            \"sendToSupplier\": true,\n            \"isNewSupplierAdded\": false,\n            \"punchoutType\": 0,\n            \"itemsChartSum\": 51.4,\n            \"approvingWay\": {\n                \"84289\": {\n                    \"step\": \"1 Approval Step #1\",\n                    \"approvers\": {\n                        \"95888\": {\n                            \"email\": \"apitesterfordocumentation@gmail.com\",\n                            \"datetime\": {\n                                \"date\": \"2024-07-22 12:38:24.322607\",\n                                \"timezone\": \"UTC\",\n                                \"timezone_type\": 3\n                            },\n                            \"user_approve\": true\n                        }\n                    },\n                    \"approve_type\": 1\n                }\n            },\n            \"location\": {\n                \"id\": 97962,\n                \"uniqueCode\": null,\n                \"name\": \"Main location\",\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"fullAddress\": null,\n                \"afaxysLocationId\": null,\n                \"phone\": null,\n                \"allLocationsAccessLegalEntities\": true,\n                \"enable\": true,\n                \"locationAddress\": {\n                    \"id\": null\n                },\n                \"externalId\": null\n            },\n            \"supplier\": {\n                \"id\": 719430,\n                \"uniqueCode\": \"123AB\",\n                \"name\": \"Supplier 1\",\n                \"createDate\": \"2024-07-12T10:18:00+00:00\",\n                \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n                \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n                \"legalAddress\": null,\n                \"currency\": \"USD\",\n                \"currencies\": [\n                    \"USD\"\n                ],\n                \"autoSendPOSupplier\": false,\n                \"deliveryPeriod\": 0,\n                \"minimumSum\": 10,\n                \"businessRegistrationNumber\": null,\n                \"accountHolderName\": null,\n                \"bankName\": null,\n                \"accountNumber\": null,\n                \"bankAddress\": null,\n                \"swiftCode\": null,\n                \"permanentAccountNumber\": null,\n                \"internationalBankAccountNumber\": null,\n                \"americanBankersAssociationNumber\": null,\n                \"indianFinancialSystemCode\": null,\n                \"sortCode\": null,\n                \"taxPayer\": false,\n                \"taxPayerType\": 0,\n                \"taxPayerLabel\": \"Tax Payer Number\",\n                \"taxPayerNumber\": null,\n                \"phone\": null,\n                \"city\": null,\n                \"country\": null,\n                \"state\": null,\n                \"postalCode\": null,\n                \"note\": null,\n                \"conditions\": null,\n                \"enable\": true,\n                \"isMarketUpdatable\": false,\n                \"qboId\": null,\n                \"netSuiteId\": null,\n                \"xeroId\": null,\n                \"externalId\": null,\n                \"marketSupplier\": {\n                    \"id\": null,\n                    \"minimumSum\": null\n                },\n                \"enableMarketSupplier\": false,\n                \"creditBalanceSums\": {\n                    \"USD\": 0\n                },\n                \"afaxysSupplierId\": null,\n                \"status\": 2,\n                \"creator\": {\n                    \"id\": 95888,\n                    \"email\": \"apitesterfordocumentation@gmail.com\"\n                },\n                \"enterInvoiceAsOneLine\": false,\n                \"isPunchoutSupplier\": false,\n                \"paymentTerms\": {\n                    \"data\": [\n                        {\n                            \"id\": 74148,\n                            \"name\": \"Prepayment\",\n                            \"prepaymentPercent\": 100,\n                            \"postpaymentPercent\": 0,\n                            \"creditPeriodDays\": 0,\n                            \"termsDueDateAfterInvoicing\": 0,\n                            \"paymentType\": 0,\n                            \"enable\": true,\n                            \"externalId\": null\n                        }\n                    ]\n                },\n                \"approvalSteps\": {\n                    \"data\": []\n                },\n                \"approvingWay\": []\n            },\n            \"budget\": [],\n            \"budgetLine\": [],\n            \"legalEntity\": {\n                \"id\": 23152,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"enable\": true,\n                \"name\": \"TEST Api Precoro\",\n                \"legalAddress\": null,\n                \"accountNumber\": null,\n                \"accountHolderName\": null,\n                \"bankName\": null,\n                \"bankAddress\": null,\n                \"sortCode\": null,\n                \"businessRegistrationNumber\": null,\n                \"taxPayerType\": 2,\n                \"taxPayerNumber\": null,\n                \"phone\": null,\n                \"keyExecutive\": null,\n                \"fullName\": null,\n                \"permanentAccountNumber\": null,\n                \"internationalBankAccountNumber\": null,\n                \"americanBankersAssociationNumber\": null,\n                \"swiftCode\": null,\n                \"indianFinancialSystemCode\": null,\n                \"externalId\": null,\n                \"uniqueCode\": null\n            },\n            \"creator\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"availableIn\": [\n                    {\n                        \"id\": 22359,\n                        \"name\": \"TEST Api Precoro\",\n                        \"active\": true\n                    }\n                ],\n                \"hasConfirmationToken\": false\n            },\n            \"lastEditor\": [],\n            \"approvalSteps\": {\n                \"data\": []\n            },\n            \"contracts\": {\n                \"data\": []\n            },\n            \"dataDocumentCustomFields\": {\n                \"data\": []\n            },\n            \"approvalInfo\": {\n                \"canAcceptMatchingChanges\": false,\n                \"canRejectMatchingChanges\": false,\n                \"documentAC\": {\n                    \"idn\": null\n                },\n                \"isMatchingReceipt\": false,\n                \"canApproveDocument\": false,\n                \"canRejectDocument\": false\n            },\n            \"frequencyString\": \"\",\n            \"budgetParts\": {\n                \"data\": []\n            },\n            \"entityTemplate\": [],\n            \"relatedPurchaseRequisitions\": [],\n            \"relatedPurchaseRequisitionsCount\": 0,\n            \"relatedRequestForProposals\": [],\n            \"relatedRequestForProposalsCount\": 0,\n            \"relatedInvoices\": [],\n            \"relatedInvoicesCount\": 0,\n            \"relatedReceipts\": [],\n            \"relatedReceiptsCount\": 0,\n            \"documentSplits\": {\n                \"data\": []\n            }\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 3,\n            \"count\": 3,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": {}\n        }\n    }\n}"}],"_postman_id":"0bf4b62a-7401-487e-beed-1b7ba825d88a"},{"name":"Get Purchase Order by IDN","id":"52a9cc0f-d264-4a76-87d1-b0b71396a7c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/purchaseorders/{idn}","urlObject":{"protocol":"https","path":["purchaseorders","{idn}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"571234e9-49aa-41aa-958f-13ab69e8d159","name":"Get Purchase Order by IDN","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/purchaseorders/{idn}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 14:03:45 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 14:03:44 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Sz%2FuVI1B3P23UTRc0225n3SpYc6g6qdT%2F6%2FHJx1KMs0Wm9oPZ2P9pf44krq9q0TxYj6HIYU3KEg8sG6Iff7Q0OApfF83LcDQftMk1wpXUU8FUY%2BJHvUgH1KLcaXdpZehrg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9190f5b3ed91d6ed-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=1395&min_rtt=1220&rtt_var=582&sent=3&recv=5&lost=0&retrans=0&sent_bytes=219&recv_bytes=1130&delivery_rate=1186885&cwnd=189&unsent_bytes=0&cid=dce6bf3b8da3e43c&ts=423&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1877480,\n    \"idn\": \"2\",\n    \"customName\": null,\n    \"createDate\": \"2025-02-28T12:36:11+00:00\",\n    \"updateDate\": \"2025-02-28T12:36:20+00:00\",\n    \"requiredDate\": \"2025-02-28T00:00:00+00:00\",\n    \"approvalDate\": \"2025-02-28T12:36:20+00:00\",\n    \"sum\": 51.4,\n    \"netSum\": 49.9,\n    \"sumInCompanyCurrency\": 51.4,\n    \"netSumInCompanyCurrency\": 49.9,\n    \"currency\": \"USD\",\n    \"precisionData\": {\n        \"USD\": {\n            \"precision\": 2,\n            \"roundMode\": \"math\"\n        }\n    },\n    \"note\": null,\n    \"exchangeRate\": {\n        \"KHR:UAH\": 0.010371,\n        \"KHR:USD\": 0.000249,\n        \"UAH:KHR\": 96.426907,\n        \"UAH:USD\": 0.024042,\n        \"USD:KHR\": 4010.695509,\n        \"USD:UAH\": 41.593116\n    },\n    \"invoicedSum\": 0,\n    \"invoicedSumInCompanyCurrency\": 0,\n    \"netInvoicedSum\": 0,\n    \"isServiceOrder\": false,\n    \"status\": 2,\n    \"statusReceiving\": 0,\n    \"statusPayment\": 0,\n    \"statusSending\": 0,\n    \"blanketDetails\": {\n        \"startDate\": null,\n        \"firstDeliveryDate\": null,\n        \"frequency\": null,\n        \"amountOfDeliveries\": null,\n        \"blanketSum\": 0\n    },\n    \"paymentTerm\": {\n        \"id\": 74148\n    },\n    \"company\": {\n        \"id\": 22359\n    },\n    \"prepaymentPercent\": 100,\n    \"postpaymentPercent\": 0,\n    \"creditPeriodDays\": 0,\n    \"qboId\": null,\n    \"netSuiteId\": null,\n    \"xeroId\": null,\n    \"externalId\": null,\n    \"externalIntegrationLog\": null,\n    \"logicType\": 0,\n    \"budgetedSum\": 0,\n    \"usedTaxPercentInBudget\": \"100.00\",\n    \"poomUrl\": null,\n    \"deliverToName\": null,\n    \"allDocumentCustomFieldOptionsIds\": null,\n    \"sendToSupplier\": true,\n    \"isNewSupplierAdded\": false,\n    \"punchoutType\": 0,\n    \"itemsChartSum\": 51.4,\n    \"approvingWay\": {\n        \"84289\": {\n            \"step\": \"1 Approval Step #1\",\n            \"approvers\": {\n                \"95888\": {\n                    \"email\": \"apitesterfordocumentation@gmail.com\",\n                    \"datetime\": {\n                        \"date\": \"2025-02-28 12:36:20.650026\",\n                        \"timezone\": \"UTC\",\n                        \"timezone_type\": 3\n                    },\n                    \"user_approve\": true\n                }\n            },\n            \"approve_type\": 1\n        }\n    },\n    \"location\": {\n        \"id\": 97962,\n        \"uniqueCode\": null,\n        \"name\": \"Main location\",\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"fullAddress\": null,\n        \"afaxysLocationId\": null,\n        \"phone\": null,\n        \"allLocationsAccessLegalEntities\": true,\n        \"enable\": true,\n        \"locationAddress\": {\n            \"id\": null\n        },\n        \"externalId\": null\n    },\n    \"supplier\": {\n        \"id\": 719430,\n        \"uniqueCode\": \"123AB\",\n        \"name\": \"Supplier 1\",\n        \"createDate\": \"2024-07-12T10:18:00+00:00\",\n        \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n        \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n        \"legalAddress\": null,\n        \"currency\": \"USD\",\n        \"currencies\": [\n            \"USD\"\n        ],\n        \"autoSendPOSupplier\": false,\n        \"deliveryPeriod\": 0,\n        \"minimumSum\": 10,\n        \"businessRegistrationNumber\": null,\n        \"accountHolderName\": null,\n        \"bankName\": null,\n        \"accountNumber\": null,\n        \"bankAddress\": null,\n        \"swiftCode\": null,\n        \"permanentAccountNumber\": null,\n        \"internationalBankAccountNumber\": null,\n        \"americanBankersAssociationNumber\": null,\n        \"indianFinancialSystemCode\": null,\n        \"sortCode\": null,\n        \"taxPayer\": false,\n        \"taxPayerType\": 0,\n        \"taxPayerLabel\": \"Tax Payer Number\",\n        \"taxPayerNumber\": null,\n        \"phone\": null,\n        \"city\": null,\n        \"country\": null,\n        \"state\": null,\n        \"postalCode\": null,\n        \"note\": null,\n        \"conditions\": null,\n        \"enable\": true,\n        \"isMarketUpdatable\": false,\n        \"qboId\": null,\n        \"netSuiteId\": null,\n        \"xeroId\": null,\n        \"externalId\": null,\n        \"marketSupplier\": {\n            \"id\": null,\n            \"minimumSum\": null\n        },\n        \"enableMarketSupplier\": false,\n        \"creditBalanceSums\": {\n            \"USD\": 0\n        },\n        \"afaxysSupplierId\": null,\n        \"status\": 2,\n        \"creator\": {\n            \"id\": 95888,\n            \"email\": \"apitesterfordocumentation@gmail.com\"\n        },\n        \"enterInvoiceAsOneLine\": false,\n        \"isPunchoutSupplier\": false,\n        \"paymentTerms\": {\n            \"data\": [\n                {\n                    \"id\": 74148,\n                    \"name\": \"Prepayment\",\n                    \"prepaymentPercent\": 100,\n                    \"postpaymentPercent\": 0,\n                    \"creditPeriodDays\": 0,\n                    \"termsDueDateAfterInvoicing\": 0,\n                    \"paymentType\": 0,\n                    \"enable\": true,\n                    \"externalId\": null\n                }\n            ]\n        },\n        \"approvalSteps\": {\n            \"data\": []\n        },\n        \"approvingWay\": []\n    },\n    \"budget\": [],\n    \"budgetLine\": [],\n    \"legalEntity\": {\n        \"id\": 23152,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"enable\": true,\n        \"name\": \"TEST Api Precoro\",\n        \"legalAddress\": null,\n        \"accountNumber\": null,\n        \"accountHolderName\": null,\n        \"bankName\": null,\n        \"bankAddress\": null,\n        \"sortCode\": null,\n        \"businessRegistrationNumber\": null,\n        \"taxPayerType\": 2,\n        \"taxPayerNumber\": null,\n        \"phone\": null,\n        \"keyExecutive\": null,\n        \"fullName\": null,\n        \"permanentAccountNumber\": null,\n        \"internationalBankAccountNumber\": null,\n        \"americanBankersAssociationNumber\": null,\n        \"swiftCode\": null,\n        \"indianFinancialSystemCode\": null,\n        \"externalId\": null,\n        \"uniqueCode\": null\n    },\n    \"creator\": {\n        \"id\": 95888,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n        \"email\": \"apitesterfordocumentation@gmail.com\",\n        \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n        \"locale\": \"en\",\n        \"phone\": \"+13456789\",\n        \"firstname\": \"Api\",\n        \"lastname\": \"Tester\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 97962\n        },\n        \"legalEntity\": {\n            \"id\": 23152\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allItemGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_INVOICE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_SUPPLIER_APPROVAL\",\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_EXPENSE\",\n            \"ROLE_EXPENSE_APPROVAL\",\n            \"ROLE_EXPENSE_PAYMENT\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPER_USER\",\n            \"ROLE_OCR\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"isPower\": true,\n        \"availableIn\": [\n            {\n                \"id\": 22359,\n                \"name\": \"TEST Api Precoro\",\n                \"active\": true\n            }\n        ],\n        \"hasConfirmationToken\": false\n    },\n    \"lastEditor\": [],\n    \"approvalSteps\": {\n        \"data\": []\n    },\n    \"items\": {\n        \"data\": [\n            {\n                \"id\": 6017475,\n                \"createDate\": \"2025-02-28T12:36:16+00:00\",\n                \"updateDate\": \"2025-02-28T12:36:16+00:00\",\n                \"sku\": \"173516\",\n                \"name\": \"Home Desk\",\n                \"freeOfCharge\": false,\n                \"price\": 49.9,\n                \"budgetedSum\": 0,\n                \"unit\": null,\n                \"currency\": \"USD\",\n                \"ordered\": 1,\n                \"status\": 0,\n                \"description\": null,\n                \"item\": {\n                    \"id\": 1447004,\n                    \"createDate\": \"2024-06-11T14:30:18+00:00\",\n                    \"updateDate\": \"2024-06-11T14:43:44+00:00\",\n                    \"sku\": \"173516\",\n                    \"name\": \"Home Desk\",\n                    \"unit\": null,\n                    \"currency\": \"USD\",\n                    \"description\": null,\n                    \"hiddenInCatalog\": false,\n                    \"freeOfCharge\": false,\n                    \"disabledBySupplier\": false,\n                    \"mainInSimilar\": false,\n                    \"category\": {\n                        \"id\": null\n                    },\n                    \"supplier\": {\n                        \"id\": null\n                    },\n                    \"similar\": {\n                        \"id\": null\n                    },\n                    \"marketItem\": {\n                        \"id\": null\n                    },\n                    \"image\": null,\n                    \"link\": null,\n                    \"type\": 1,\n                    \"qboId\": null,\n                    \"netSuiteId\": null,\n                    \"xeroId\": null,\n                    \"externalId\": null,\n                    \"price\": 49.9\n                },\n                \"requestOrdered\": \"0.000000\",\n                \"received\": 0,\n                \"rejected\": 0,\n                \"invoiced\": 0,\n                \"addedToInvoice\": 0,\n                \"addedToReceipt\": 0,\n                \"addedToCreditNote\": 0,\n                \"waiting\": 1,\n                \"actualReceived\": 0,\n                \"type\": 1,\n                \"category\": {\n                    \"id\": null\n                },\n                \"purchaseOrder\": {\n                    \"id\": 1877480\n                },\n                \"marketItem\": {\n                    \"id\": null\n                },\n                \"link\": null,\n                \"budgetSubLine\": {\n                    \"id\": null\n                },\n                \"taxes\": {\n                    \"data\": [\n                        {\n                            \"id\": 2900152,\n                            \"name\": \"APR\",\n                            \"value\": 3,\n                            \"documentTax\": {\n                                \"id\": 933486\n                            },\n                            \"usedTaxPercent\": 0,\n                            \"isWithholdingTax\": false,\n                            \"sum\": 1.5,\n                            \"sumInCompanyCurrency\": 1.5\n                        }\n                    ]\n                },\n                \"discounts\": {\n                    \"data\": []\n                },\n                \"dataItemCustomFields\": {\n                    \"data\": []\n                },\n                \"budget\": null,\n                \"budgetParts\": {\n                    \"data\": []\n                }\n            }\n        ]\n    },\n    \"taxes\": {\n        \"data\": [\n            {\n                \"id\": 933486,\n                \"name\": \"APR\",\n                \"value\": 3,\n                \"usedTaxPercent\": 0,\n                \"isWithholdingTax\": false\n            }\n        ]\n    },\n    \"discounts\": {\n        \"data\": []\n    },\n    \"comments\": {\n        \"data\": []\n    },\n    \"contracts\": {\n        \"data\": []\n    },\n    \"followers\": {\n        \"data\": [\n            {\n                \"id\": 12270892,\n                \"user_status\": 1,\n                \"user_email\": \"apitesterfordocumentation@gmail.com\",\n                \"isAvailableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null\n            }\n        ]\n    },\n    \"dataDocumentCustomFields\": {\n        \"data\": []\n    },\n    \"attachments\": {\n        \"data\": []\n    },\n    \"budgetParts\": {\n        \"data\": []\n    },\n    \"isBudgetOverLimit\": false,\n    \"entityTemplate\": [],\n    \"documentSplits\": {\n        \"data\": []\n    }\n}"}],"_postman_id":"52a9cc0f-d264-4a76-87d1-b0b71396a7c5"},{"name":"Set Purchase Order ExternalId by IDN","id":"26cdd8dd-acf2-4a93-89be-e1e7aadf0ca7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"externalId","value":"1233","description":"<p>string</p>\n","type":"text"},{"key":"externalIntegrationLog","value":"Period is closed: 2024 - 8\n\"You already have the supplier with the same Name value.\"\nKeyError: '0% VAT'","description":"<p>string (optional) To fill and use this field, please contact our support team. This field is used to log integration errors. If the field is filled in, the text from the field will be displayed on the document details page in the \"Integration logs\" block and the document will be marked with the red \"Not sent to integration\" badge</p>\n","type":"text"}]},"url":"https://api.precoro.com/purchaseorders/{idn}","urlObject":{"protocol":"https","path":["purchaseorders","{idn}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"9ae0315e-5941-48d0-ac1e-06e264ae20a4","name":"Set Purchase Order ExternalId by IDN","originalRequest":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"externalId","value":"1233","description":"string","type":"text"},{"key":"externalIntegrationLog","value":"Period is closed: 2024 - 8\n\"You already have the supplier with the same Name value.\"\nKeyError: '0% VAT'","description":"string (optional) To fill and use this field, please contact our support team. This field is used to log integration errors. If the field is filled in, the text from the field will be displayed on the document details page in the \"Integration logs\" block and the document will be marked with the red \"Not sent to integration\" badge","type":"text"}]},"url":"https://api.precoro.com/purchaseorders/{idn}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 14:04:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 14:04:06 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=6P7U1VNHiqZgWwrfWOWOh%2FoE226YeTRaapEasHyMpEU9tHe2xW0Agkm%2FcWATwisAh%2FlbMK1AeG643Nd%2BJ2cDgOK%2BpUx%2BIiqTvmeIVO6a3VtEft6WKFRfccwhqrarWelu7w%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9190f6397a67d6ed-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6471&min_rtt=1217&rtt_var=10510&sent=9&recv=9&lost=0&retrans=0&sent_bytes=4101&recv_bytes=1776&delivery_rate=2348742&cwnd=194&unsent_bytes=0&cid=dce6bf3b8da3e43c&ts=21906&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1877480,\n    \"idn\": \"2\",\n    \"customName\": null,\n    \"createDate\": \"2025-02-28T12:36:11+00:00\",\n    \"updateDate\": \"2025-02-28T14:04:06+00:00\",\n    \"requiredDate\": \"2025-02-28T00:00:00+00:00\",\n    \"approvalDate\": \"2025-02-28T12:36:20+00:00\",\n    \"sum\": 51.4,\n    \"netSum\": 49.9,\n    \"sumInCompanyCurrency\": 51.4,\n    \"netSumInCompanyCurrency\": 49.9,\n    \"currency\": \"USD\",\n    \"precisionData\": {\n        \"USD\": {\n            \"precision\": 2,\n            \"roundMode\": \"math\"\n        }\n    },\n    \"note\": null,\n    \"exchangeRate\": {\n        \"KHR:UAH\": 0.010371,\n        \"KHR:USD\": 0.000249,\n        \"UAH:KHR\": 96.426907,\n        \"UAH:USD\": 0.024042,\n        \"USD:KHR\": 4010.695509,\n        \"USD:UAH\": 41.593116\n    },\n    \"invoicedSum\": 0,\n    \"invoicedSumInCompanyCurrency\": 0,\n    \"netInvoicedSum\": 0,\n    \"isServiceOrder\": false,\n    \"status\": 2,\n    \"statusReceiving\": 0,\n    \"statusPayment\": 0,\n    \"statusSending\": 0,\n    \"blanketDetails\": {\n        \"startDate\": null,\n        \"firstDeliveryDate\": null,\n        \"frequency\": null,\n        \"amountOfDeliveries\": null,\n        \"blanketSum\": 0\n    },\n    \"paymentTerm\": {\n        \"id\": 74148\n    },\n    \"company\": {\n        \"id\": 22359\n    },\n    \"prepaymentPercent\": 100,\n    \"postpaymentPercent\": 0,\n    \"creditPeriodDays\": 0,\n    \"qboId\": null,\n    \"netSuiteId\": null,\n    \"xeroId\": null,\n    \"externalId\": \"1233\",\n    \"externalIntegrationLog\": null,\n    \"logicType\": 0,\n    \"budgetedSum\": 0,\n    \"usedTaxPercentInBudget\": \"100.00\",\n    \"poomUrl\": null,\n    \"deliverToName\": null,\n    \"allDocumentCustomFieldOptionsIds\": null,\n    \"sendToSupplier\": true,\n    \"isNewSupplierAdded\": false,\n    \"punchoutType\": 0,\n    \"itemsChartSum\": 51.4,\n    \"approvingWay\": {\n        \"84289\": {\n            \"step\": \"1 Approval Step #1\",\n            \"approvers\": {\n                \"95888\": {\n                    \"email\": \"apitesterfordocumentation@gmail.com\",\n                    \"datetime\": {\n                        \"date\": \"2025-02-28 12:36:20.650026\",\n                        \"timezone\": \"UTC\",\n                        \"timezone_type\": 3\n                    },\n                    \"user_approve\": true\n                }\n            },\n            \"approve_type\": 1\n        }\n    },\n    \"location\": {\n        \"id\": 97962,\n        \"uniqueCode\": null,\n        \"name\": \"Main location\",\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"fullAddress\": null,\n        \"afaxysLocationId\": null,\n        \"phone\": null,\n        \"allLocationsAccessLegalEntities\": true,\n        \"enable\": true,\n        \"locationAddress\": {\n            \"id\": null\n        },\n        \"externalId\": null\n    },\n    \"supplier\": {\n        \"id\": 719430,\n        \"uniqueCode\": \"123AB\",\n        \"name\": \"Supplier 1\",\n        \"createDate\": \"2024-07-12T10:18:00+00:00\",\n        \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n        \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n        \"legalAddress\": null,\n        \"currency\": \"USD\",\n        \"currencies\": [\n            \"USD\"\n        ],\n        \"autoSendPOSupplier\": false,\n        \"deliveryPeriod\": 0,\n        \"minimumSum\": 10,\n        \"businessRegistrationNumber\": null,\n        \"accountHolderName\": null,\n        \"bankName\": null,\n        \"accountNumber\": null,\n        \"bankAddress\": null,\n        \"swiftCode\": null,\n        \"permanentAccountNumber\": null,\n        \"internationalBankAccountNumber\": null,\n        \"americanBankersAssociationNumber\": null,\n        \"indianFinancialSystemCode\": null,\n        \"sortCode\": null,\n        \"taxPayer\": false,\n        \"taxPayerType\": 0,\n        \"taxPayerLabel\": \"Tax Payer Number\",\n        \"taxPayerNumber\": null,\n        \"phone\": null,\n        \"city\": null,\n        \"country\": null,\n        \"state\": null,\n        \"postalCode\": null,\n        \"note\": null,\n        \"conditions\": null,\n        \"enable\": true,\n        \"isMarketUpdatable\": false,\n        \"qboId\": null,\n        \"netSuiteId\": null,\n        \"xeroId\": null,\n        \"externalId\": null,\n        \"marketSupplier\": {\n            \"id\": null,\n            \"minimumSum\": null\n        },\n        \"enableMarketSupplier\": false,\n        \"creditBalanceSums\": {\n            \"USD\": 0\n        },\n        \"afaxysSupplierId\": null,\n        \"status\": 2,\n        \"creator\": {\n            \"id\": 95888,\n            \"email\": \"apitesterfordocumentation@gmail.com\"\n        },\n        \"enterInvoiceAsOneLine\": false,\n        \"isPunchoutSupplier\": false,\n        \"paymentTerms\": {\n            \"data\": [\n                {\n                    \"id\": 74148,\n                    \"name\": \"Prepayment\",\n                    \"prepaymentPercent\": 100,\n                    \"postpaymentPercent\": 0,\n                    \"creditPeriodDays\": 0,\n                    \"termsDueDateAfterInvoicing\": 0,\n                    \"paymentType\": 0,\n                    \"enable\": true,\n                    \"externalId\": null\n                }\n            ]\n        },\n        \"approvalSteps\": {\n            \"data\": []\n        },\n        \"approvingWay\": [],\n        \"propsVisibility\": {\n            \"showAccountHolderNameSupplier\": true,\n            \"showLegalAddressSupplier\": true,\n            \"showPhoneNumberSupplier\": true,\n            \"showBusinessRegistrationNumberSupplier\": true,\n            \"showAccountNumberSupplier\": true,\n            \"showBankNameSupplier\": true,\n            \"showBankAddressSupplier\": true,\n            \"showSortCodeSupplier\": true,\n            \"showTaxPayerSupplier\": true,\n            \"showSwiftCodeSupplier\": true,\n            \"showPermanentAccountNumberSupplier\": true,\n            \"showInternationalBankAccountNumberSupplier\": true,\n            \"showAmericanBankersAssociationNumberSupplier\": true,\n            \"showIndianFinancialSystemCodeSupplier\": true\n        }\n    },\n    \"budget\": [],\n    \"budgetLine\": [],\n    \"legalEntity\": {\n        \"id\": 23152,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"enable\": true,\n        \"name\": \"TEST Api Precoro\",\n        \"legalAddress\": null,\n        \"accountNumber\": null,\n        \"accountHolderName\": null,\n        \"bankName\": null,\n        \"bankAddress\": null,\n        \"sortCode\": null,\n        \"businessRegistrationNumber\": null,\n        \"taxPayerType\": 2,\n        \"taxPayerNumber\": null,\n        \"phone\": null,\n        \"keyExecutive\": null,\n        \"fullName\": null,\n        \"permanentAccountNumber\": null,\n        \"internationalBankAccountNumber\": null,\n        \"americanBankersAssociationNumber\": null,\n        \"swiftCode\": null,\n        \"indianFinancialSystemCode\": null,\n        \"externalId\": null,\n        \"uniqueCode\": null\n    },\n    \"creator\": {\n        \"id\": 95888,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n        \"email\": \"apitesterfordocumentation@gmail.com\",\n        \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n        \"locale\": \"en\",\n        \"phone\": \"+13456789\",\n        \"firstname\": \"Api\",\n        \"lastname\": \"Tester\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 97962\n        },\n        \"legalEntity\": {\n            \"id\": 23152\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allItemGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_INVOICE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_SUPPLIER_APPROVAL\",\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_EXPENSE\",\n            \"ROLE_EXPENSE_APPROVAL\",\n            \"ROLE_EXPENSE_PAYMENT\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPER_USER\",\n            \"ROLE_OCR\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"isPower\": true,\n        \"availableIn\": [\n            {\n                \"id\": 22359,\n                \"name\": \"TEST Api Precoro\",\n                \"active\": true\n            }\n        ],\n        \"hasConfirmationToken\": false\n    },\n    \"lastEditor\": [],\n    \"approvalSteps\": {\n        \"data\": []\n    },\n    \"items\": {\n        \"data\": [\n            {\n                \"id\": 6017475,\n                \"createDate\": \"2025-02-28T12:36:16+00:00\",\n                \"updateDate\": \"2025-02-28T12:36:16+00:00\",\n                \"sku\": \"173516\",\n                \"name\": \"Home Desk\",\n                \"freeOfCharge\": false,\n                \"price\": 49.9,\n                \"budgetedSum\": 0,\n                \"unit\": null,\n                \"currency\": \"USD\",\n                \"ordered\": 1,\n                \"status\": 0,\n                \"description\": null,\n                \"item\": {\n                    \"id\": 1447004,\n                    \"createDate\": \"2024-06-11T14:30:18+00:00\",\n                    \"updateDate\": \"2024-06-11T14:43:44+00:00\",\n                    \"sku\": \"173516\",\n                    \"name\": \"Home Desk\",\n                    \"unit\": null,\n                    \"currency\": \"USD\",\n                    \"description\": null,\n                    \"hiddenInCatalog\": false,\n                    \"freeOfCharge\": false,\n                    \"disabledBySupplier\": false,\n                    \"mainInSimilar\": false,\n                    \"category\": {\n                        \"id\": null\n                    },\n                    \"supplier\": {\n                        \"id\": null\n                    },\n                    \"similar\": {\n                        \"id\": null\n                    },\n                    \"marketItem\": {\n                        \"id\": null\n                    },\n                    \"image\": null,\n                    \"link\": null,\n                    \"type\": 1,\n                    \"qboId\": null,\n                    \"netSuiteId\": null,\n                    \"xeroId\": null,\n                    \"externalId\": null,\n                    \"price\": 49.9\n                },\n                \"requestOrdered\": \"0.000000\",\n                \"received\": 0,\n                \"rejected\": 0,\n                \"invoiced\": 0,\n                \"addedToInvoice\": 0,\n                \"addedToReceipt\": 0,\n                \"addedToCreditNote\": 0,\n                \"waiting\": 1,\n                \"actualReceived\": 0,\n                \"type\": 1,\n                \"category\": {\n                    \"id\": null\n                },\n                \"purchaseOrder\": {\n                    \"id\": 1877480\n                },\n                \"marketItem\": {\n                    \"id\": null\n                },\n                \"link\": null,\n                \"budgetSubLine\": {\n                    \"id\": null\n                },\n                \"taxes\": {\n                    \"data\": [\n                        {\n                            \"id\": 2900152,\n                            \"name\": \"APR\",\n                            \"value\": 3,\n                            \"documentTax\": {\n                                \"id\": 933486\n                            },\n                            \"usedTaxPercent\": 0,\n                            \"isWithholdingTax\": false,\n                            \"sum\": 1.5,\n                            \"sumInCompanyCurrency\": 1.5\n                        }\n                    ]\n                },\n                \"discounts\": {\n                    \"data\": []\n                },\n                \"dataItemCustomFields\": {\n                    \"data\": []\n                },\n                \"budget\": null,\n                \"budgetParts\": {\n                    \"data\": []\n                }\n            }\n        ]\n    },\n    \"taxes\": {\n        \"data\": [\n            {\n                \"id\": 933486,\n                \"name\": \"APR\",\n                \"value\": 3,\n                \"usedTaxPercent\": 0,\n                \"isWithholdingTax\": false\n            }\n        ]\n    },\n    \"discounts\": {\n        \"data\": []\n    },\n    \"comments\": {\n        \"data\": []\n    },\n    \"contracts\": {\n        \"data\": []\n    },\n    \"followers\": {\n        \"data\": [\n            {\n                \"id\": 12270892,\n                \"user_status\": 1,\n                \"user_email\": \"apitesterfordocumentation@gmail.com\",\n                \"isAvailableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null\n            }\n        ]\n    },\n    \"dataDocumentCustomFields\": {\n        \"data\": []\n    },\n    \"attachments\": {\n        \"data\": []\n    },\n    \"isDocumentInForeignCurrency\": false,\n    \"budgetParts\": {\n        \"data\": []\n    },\n    \"isBudgetOverLimit\": false,\n    \"documentSplits\": {\n        \"data\": []\n    }\n}"}],"_postman_id":"26cdd8dd-acf2-4a93-89be-e1e7aadf0ca7"},{"name":"Create Purchase Order","id":"9d45f9b7-b824-49b4-8013-d43eec1ee3e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"requiredDate\": \"2025-12-01T00:00:00+00:00\",\n  \"supplier\": {\n    \"id\": 2552\n  },\n  \"sendToSupplier\": true,\n  \"location\": {\n    \"id\": 107666\n  },\n  \"budget\": {\n    \"id\": 1964859\n  },\n  \"legalEntity\": {\n    \"id\": 24455\n  },\n  \"currency\": \"UAH\",\n  \"note\": \"<p>some message</p>\",\n  \"paymentTerm\": {\n    \"id\": 80017\n  },\n  \"logicType\": 0,\n  \"exchangeRate\": {\n    \"UAH:USD\": 0.023314,\n    \"USD:UAH\": 45\n  },\n  \"contracts\": {\n    \"data\": [\n      {\n        \"id\": 80017\n      }\n    ]\n  },\n  \"taxes\": {\n    \"data\": [\n      {\n        \"id\": 1184489\n      }\n    ]\n  },\n  \"discounts\": {\n    \"data\": [\n      {\n        \"name\": \"sales\",\n        \"value\": 10,\n        \"unit\": \"%\"\n      }\n    ]\n  },\n  \"dataDocumentCustomFields\": {\n    \"data\": [\n      {\n        \"documentCustomField\": {\n          \"id\": \"33037\"\n        },\n        \"type\": 1,\n        \"value\": 356250\n      },\n      {\n        \"documentCustomField\": {\n          \"id\": \"33558\"\n        },\n        \"value\": 362460\n      },\n      {\n        \"value\": \"2026-01-21T00:00:00+00:00\",\n        \"type\": 3,\n        \"documentCustomField\": {\n          \"id\": 34742\n        }\n      },\n      {\n        \"value\": \"dd\",\n        \"type\": 2,\n        \"documentCustomField\": {\n          \"id\": 34743\n        }\n      }\n    ]\n  },\n  \"items\": {\n    \"data\": [\n      {\n        \"ordered\": 1,\n        \"item\": {\n          \"id\": 1662276\n        },\n        \"price\": 500,\n        \"currency\": \"UAH\",\n        \"dataItemCustomFields\": {\n          \"data\": []\n        },\n        \"taxes\": {\n          \"data\": [\n            {\n              \"id\": 1184489\n            }\n          ]\n        },\n        \"discounts\": {\n          \"data\": [\n            {\n              \"name\": \"sales\",\n              \"value\": 10,\n              \"unit\": \"%\"\n            }\n          ]\n        }\n      },\n      {\n        \"sku\": null,\n        \"name\": \"no sku\",\n        \"unit\": {\n          \"id\": 7115\n        },\n        \"ordered\": 2,\n        \"type\": 0,\n        \"freeOfCharge\": true,\n        \"dataItemCustomFields\": {\n          \"data\": [\n            {\n              \"id\": 6255958,\n              \"value\": \"846310\",\n              \"itemCustomField\": {\n                \"id\": 31759\n              }\n            }\n          ]\n        }\n      },\n      {\n        \"sku\": null,\n        \"name\": \"delivery\",\n        \"unit\": null,\n        \"currency\": \"UAH\",\n        \"ordered\": 1,\n        \"description\": null,\n        \"type\": 3,\n        \"price\": 13,\n        \"freeOfCharge\": false,\n        \"dataItemCustomFields\": {\n          \"data\": [\n            {\n              \"id\": 6255959,\n              \"value\": \"846306\",\n              \"itemCustomField\": {\n                \"id\": 31759\n              }\n            }\n          ]\n        }\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.precoro.com/purchaseorders","description":"<p>Creates a new Purchase Order.</p>\n<p><strong>Required fields:</strong> <code>requiredDate</code>, <code>location</code>, <code>currency</code>, <code>dataDocumentCustomFields</code></p>\n<p><strong>logicType values:</strong></p>\n<ul>\n<li><code>0</code> Standard PO</li>\n<li><code>1</code> Blanket PO (per items)</li>\n<li><code>2</code> Service Order</li>\n<li><code>3</code> Blanket PO (per total)</li>\n</ul>\n<p><strong>Item type values:</strong></p>\n<ul>\n<li><code>0</code> Standard item</li>\n<li><code>1</code> Catalog item</li>\n<li><code>3</code> Shipping</li>\n<li><code>4</code> Tax line</li>\n<li><code>5</code> Withholding tax</li>\n</ul>\n<p><strong>discount unit:</strong> Use <code>\"%\"</code> for percentage discounts.</p>\n<p><strong>exchangeRate:</strong> Required when <code>currency</code> differs from the company base currency.</p>\n","urlObject":{"protocol":"https","path":["purchaseorders"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"32fad0a4-1772-4aa6-857f-541751217de4","name":"Create Purchase Order","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"requiredDate\": \"2025-12-01T00:00:00+00:00\",\n  \"supplier\": {\n    \"id\": 2552\n  },\n  \"sendToSupplier\": true,\n  \"location\": {\n    \"id\": 107666\n  },\n  \"budget\": {\n    \"id\": 1964859\n  },\n  \"legalEntity\": {\n    \"id\": 24455\n  },\n  \"currency\": \"UAH\",\n  \"note\": \"<p>some message</p>\",\n  \"paymentTerm\": {\n    \"id\": 80017\n  },\n  \"logicType\": 0,\n  \"exchangeRate\": {\n    \"UAH:USD\": 0.023314,\n    \"USD:UAH\": 45\n  },\n  \"contracts\": {\n    \"data\": [\n      {\n        \"id\": 80017\n      }\n    ]\n  },\n  \"taxes\": {\n    \"data\": [\n      {\n        \"id\": 1184489\n      }\n    ]\n  },\n  \"discounts\": {\n    \"data\": [\n      {\n        \"name\": \"sales\",\n        \"value\": 10,\n        \"unit\": \"%\"\n      }\n    ]\n  },\n  \"dataDocumentCustomFields\": {\n    \"data\": [\n      {\n        \"documentCustomField\": {\n          \"id\": \"33037\"\n        },\n        \"type\": 1,\n        \"value\": 356250\n      },\n      {\n        \"documentCustomField\": {\n          \"id\": \"33558\"\n        },\n        \"value\": 362460\n      },\n      {\n        \"value\": \"2026-01-21T00:00:00+00:00\",\n        \"type\": 3,\n        \"documentCustomField\": {\n          \"id\": 34742\n        }\n      },\n      {\n        \"value\": \"dd\",\n        \"type\": 2,\n        \"documentCustomField\": {\n          \"id\": 34743\n        }\n      }\n    ]\n  },\n  \"items\": {\n    \"data\": [\n      {\n        \"ordered\": 1,\n        \"item\": {\n          \"id\": 1662276\n        },\n        \"price\": 500,\n        \"currency\": \"UAH\",\n        \"dataItemCustomFields\": {\n          \"data\": []\n        },\n        \"taxes\": {\n          \"data\": [\n            {\n              \"id\": 1184489\n            }\n          ]\n        },\n        \"discounts\": {\n          \"data\": [\n            {\n              \"name\": \"sales\",\n              \"value\": 10,\n              \"unit\": \"%\"\n            }\n          ]\n        }\n      },\n      {\n        \"sku\": null,\n        \"name\": \"no sku\",\n        \"unit\": {\n          \"id\": 7115\n        },\n        \"ordered\": 2,\n        \"type\": 0,\n        \"freeOfCharge\": true,\n        \"dataItemCustomFields\": {\n          \"data\": [\n            {\n              \"id\": 6255958,\n              \"value\": \"846310\",\n              \"itemCustomField\": {\n                \"id\": 31759\n              }\n            }\n          ]\n        }\n      },\n      {\n        \"sku\": null,\n        \"name\": \"delivery\",\n        \"unit\": null,\n        \"currency\": \"UAH\",\n        \"ordered\": 1,\n        \"description\": null,\n        \"type\": 3,\n        \"price\": 13,\n        \"freeOfCharge\": false,\n        \"dataItemCustomFields\": {\n          \"data\": [\n            {\n              \"id\": 6255959,\n              \"value\": \"846306\",\n              \"itemCustomField\": {\n                \"id\": 31759\n              }\n            }\n          ]\n        }\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.precoro.com/purchaseorders"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 21 Apr 2026 11:17:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2453445,\n    \"idn\": \"13\",\n    \"customName\": null,\n    \"createDate\": \"2026-04-21T11:17:11+00:00\",\n    \"updateDate\": \"2026-04-21T11:17:11+00:00\",\n    \"requiredDate\": \"2025-12-01T00:00:00+00:00\",\n    \"approvalDate\": null,\n    \"sum\": 463,\n    \"netSum\": 463,\n    \"sumInCompanyCurrency\": 463,\n    \"netSumInCompanyCurrency\": 463,\n    \"currency\": \"USD\",\n    \"precisionData\": {\n        \"USD\": {\n            \"precision\": 2,\n            \"roundMode\": \"math\"\n        }\n    },\n    \"note\": \"<p>some message</p>\",\n    \"exchangeRate\": {\n        \"KHR:UAH\": 0.010936,\n        \"KHR:USD\": 0.000248,\n        \"UAH:KHR\": 91.438732,\n        \"UAH:USD\": 0.022687,\n        \"USD:KHR\": 4030.497247,\n        \"USD:UAH\": 44.07867\n    },\n    \"invoicedSum\": 0,\n    \"invoicedSumInCompanyCurrency\": 0,\n    \"netInvoicedSum\": 0,\n    \"isServiceOrder\": false,\n    \"status\": 0,\n    \"statusReceiving\": 0,\n    \"statusPayment\": 0,\n    \"statusSending\": 0,\n    \"blanketDetails\": {\n        \"startDate\": null,\n        \"firstDeliveryDate\": null,\n        \"frequency\": null,\n        \"amountOfDeliveries\": null,\n        \"blanketSum\": 0\n    },\n    \"paymentTerm\": {\n        \"id\": 74149\n    },\n    \"company\": {\n        \"id\": 22359\n    },\n    \"prepaymentPercent\": 0,\n    \"postpaymentPercent\": 100,\n    \"paymentTermName\": \"Postpayment\",\n    \"creditPeriodDays\": 0,\n    \"qboId\": null,\n    \"netSuiteId\": null,\n    \"integrationStatus\": null,\n    \"xeroId\": null,\n    \"externalId\": null,\n    \"externalIntegrationLog\": null,\n    \"logicType\": 0,\n    \"budgetedSum\": 0,\n    \"usedTaxPercentInBudget\": \"100.00\",\n    \"deliverToName\": null,\n    \"allDocumentCustomFieldOptionsIds\": \"267574\",\n    \"sendToSupplier\": false,\n    \"isNewSupplierAdded\": false,\n    \"punchoutType\": 0,\n    \"itemsChartSum\": 463,\n    \"isSendToPunchout\": 0,\n    \"punchoutSupplier\": null,\n    \"approvingWay\": [],\n    \"location\": {\n        \"id\": 97962,\n        \"uniqueCode\": null,\n        \"name\": \"Main location\",\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"fullAddress\": null,\n        \"phone\": null,\n        \"allLocationsAccessLegalEntities\": true,\n        \"enable\": true,\n        \"locationAddress\": {\n            \"id\": null\n        },\n        \"externalId\": null\n    },\n    \"supplier\": {\n        \"id\": 723124,\n        \"uniqueCode\": \"01123\",\n        \"name\": \"Supplier 2\",\n        \"createDate\": \"2024-07-22T13:36:04+00:00\",\n        \"updateDate\": \"2024-10-10T13:53:08+00:00\",\n        \"approvalDate\": \"2024-07-22T13:36:04+00:00\",\n        \"legalAddress\": null,\n        \"currency\": \"USD\",\n        \"currencies\": [\n            \"USD\",\n            \"UAH\"\n        ],\n        \"autoSendPOSupplier\": false,\n        \"deliveryPeriod\": 5,\n        \"minimumSum\": 100,\n        \"businessRegistrationNumber\": null,\n        \"accountHolderName\": null,\n        \"bankName\": null,\n        \"accountNumber\": null,\n        \"bankAddress\": null,\n        \"swiftCode\": null,\n        \"permanentAccountNumber\": null,\n        \"internationalBankAccountNumber\": null,\n        \"americanBankersAssociationNumber\": null,\n        \"indianFinancialSystemCode\": null,\n        \"sortCode\": null,\n        \"taxPayer\": false,\n        \"taxPayerType\": 2,\n        \"taxPayerLabel\": \"TIN\",\n        \"taxPayerNumber\": null,\n        \"phone\": null,\n        \"city\": null,\n        \"country\": null,\n        \"state\": null,\n        \"postalCode\": null,\n        \"note\": null,\n        \"conditions\": null,\n        \"enable\": true,\n        \"qboId\": null,\n        \"netSuiteId\": null,\n        \"xeroId\": null,\n        \"integrationStatus\": null,\n        \"externalId\": null,\n        \"marketSupplier\": {\n            \"id\": null,\n            \"minimumSum\": null\n        },\n        \"enableMarketSupplier\": false,\n        \"creditBalanceSums\": {\n            \"UAH\": 0,\n            \"USD\": 0\n        },\n        \"status\": 2,\n        \"creator\": {\n            \"id\": 95888,\n            \"email\": \"apitesterfordocumentation@gmail.com\"\n        },\n        \"enterInvoiceAsOneLine\": true,\n        \"isPunchoutSupplier\": false,\n        \"isAllAccessLegalEntity\": true,\n        \"paymentTerms\": {\n            \"data\": [\n                {\n                    \"id\": 74148,\n                    \"name\": \"Prepayment\",\n                    \"prepaymentPercent\": 100,\n                    \"postpaymentPercent\": 0,\n                    \"creditPeriodDays\": 0,\n                    \"termsDueDateAfterInvoicing\": 0,\n                    \"paymentType\": 0,\n                    \"enable\": true,\n                    \"externalId\": null\n                },\n                {\n                    \"id\": 74149,\n                    \"name\": \"Postpayment\",\n                    \"prepaymentPercent\": 0,\n                    \"postpaymentPercent\": 100,\n                    \"creditPeriodDays\": 0,\n                    \"termsDueDateAfterInvoicing\": 0,\n                    \"paymentType\": 1,\n                    \"enable\": true,\n                    \"externalId\": null\n                }\n            ]\n        },\n        \"approvalSteps\": {\n            \"data\": []\n        },\n        \"approvingWay\": []\n    },\n    \"budget\": {\n        \"id\": null\n    },\n    \"budgetLine\": {\n        \"id\": null\n    },\n    \"legalEntity\": {\n        \"id\": 23152,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"enable\": true,\n        \"name\": \"TEST Api Precoro\",\n        \"legalAddress\": null,\n        \"accountNumber\": null,\n        \"accountHolderName\": null,\n        \"bankName\": null,\n        \"bankAddress\": null,\n        \"sortCode\": null,\n        \"businessRegistrationNumber\": null,\n        \"taxPayerType\": 2,\n        \"taxPayerNumber\": null,\n        \"phone\": null,\n        \"keyExecutive\": null,\n        \"fullName\": null,\n        \"permanentAccountNumber\": null,\n        \"internationalBankAccountNumber\": null,\n        \"americanBankersAssociationNumber\": null,\n        \"swiftCode\": null,\n        \"indianFinancialSystemCode\": null,\n        \"externalId\": null,\n        \"uniqueCode\": null,\n        \"netSuiteId\": null\n    },\n    \"creator\": {\n        \"id\": 95888,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2025-06-24T12:18:36+00:00\",\n        \"email\": \"apitesterfordocumentation@gmail.com\",\n        \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n        \"locale\": \"en\",\n        \"phone\": \"+13456789\",\n        \"firstname\": \"Api\",\n        \"lastname\": \"Tester\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 97962\n        },\n        \"legalEntity\": {\n            \"id\": 23152\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allItemGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_INVOICE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_SUPPLIER_APPROVAL\",\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_EXPENSE\",\n            \"ROLE_EXPENSE_APPROVAL\",\n            \"ROLE_EXPENSE_PAYMENT\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPER_USER\",\n            \"ROLE_OCR\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_ITEM_MANAGEMENT\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"isPower\": true,\n        \"hasConfirmationToken\": false\n    },\n    \"lastEditor\": {\n        \"id\": null\n    },\n    \"approvalSteps\": {\n        \"data\": []\n    },\n    \"items\": {\n        \"data\": [\n            {\n                \"id\": 7872967,\n                \"createDate\": \"2026-04-21T11:17:11+00:00\",\n                \"updateDate\": \"2026-04-21T11:17:11+00:00\",\n                \"sku\": \"173516\",\n                \"name\": \"Home Desk\",\n                \"freeOfCharge\": false,\n                \"price\": 500,\n                \"budgetedSum\": 0,\n                \"unit\": null,\n                \"currency\": \"USD\",\n                \"ordered\": 1,\n                \"status\": 0,\n                \"description\": null,\n                \"item\": {\n                    \"id\": 1447004,\n                    \"createDate\": \"2024-06-11T14:30:18+00:00\",\n                    \"updateDate\": \"2026-03-23T15:51:10+00:00\",\n                    \"sku\": \"173516\",\n                    \"name\": \"Home Desk\",\n                    \"unit\": null,\n                    \"currency\": \"USD\",\n                    \"description\": null,\n                    \"hiddenInCatalog\": false,\n                    \"autoUpdatePrice\": false,\n                    \"freeOfCharge\": false,\n                    \"disabledBySupplier\": false,\n                    \"supplier\": {\n                        \"id\": null\n                    },\n                    \"image\": null,\n                    \"link\": null,\n                    \"type\": 1,\n                    \"qboId\": null,\n                    \"netSuiteId\": null,\n                    \"xeroId\": null,\n                    \"externalId\": \"1001\",\n                    \"price\": 49.9\n                },\n                \"requestOrdered\": \"0.000000\",\n                \"received\": 0,\n                \"rejected\": 0,\n                \"invoiced\": 0,\n                \"addedToInvoice\": 0,\n                \"addedToReceipt\": 0,\n                \"addedToCreditNote\": 0,\n                \"waiting\": 1,\n                \"actualReceived\": 0,\n                \"type\": 1,\n                \"purchaseOrder\": {\n                    \"id\": 2453445\n                },\n                \"link\": null,\n                \"budgetSubLine\": {\n                    \"id\": null\n                },\n                \"canBeReceived\": true,\n                \"taxes\": {\n                    \"data\": [\n                        {\n                            \"id\": 3883048,\n                            \"name\": \"APR\",\n                            \"value\": 3,\n                            \"documentTax\": {\n                                \"id\": null\n                            },\n                            \"usedTaxPercent\": 0,\n                            \"isWithholdingTax\": false,\n                            \"sum\": 0,\n                            \"sumInCompanyCurrency\": 0\n                        }\n                    ]\n                },\n                \"discounts\": {\n                    \"data\": [\n                        {\n                            \"id\": 264044,\n                            \"name\": \"sales\",\n                            \"value\": 10,\n                            \"unit\": \"%\",\n                            \"documentDiscount\": {\n                                \"id\": null\n                            },\n                            \"discountSumLeft\": 50\n                        }\n                    ]\n                },\n                \"dataItemCustomFields\": {\n                    \"data\": []\n                },\n                \"budget\": {\n                    \"id\": null\n                },\n                \"budgetParts\": {\n                    \"data\": []\n                }\n            },\n            {\n                \"id\": 7872968,\n                \"createDate\": \"2026-04-21T11:17:11+00:00\",\n                \"updateDate\": \"2026-04-21T11:17:11+00:00\",\n                \"sku\": null,\n                \"name\": \"no sku\",\n                \"freeOfCharge\": true,\n                \"price\": 0,\n                \"budgetedSum\": 0,\n                \"unit\": null,\n                \"currency\": \"USD\",\n                \"ordered\": 2,\n                \"status\": 0,\n                \"description\": null,\n                \"item\": {\n                    \"id\": null\n                },\n                \"requestOrdered\": \"0.000000\",\n                \"received\": 0,\n                \"rejected\": 0,\n                \"invoiced\": 0,\n                \"addedToInvoice\": 0,\n                \"addedToReceipt\": 0,\n                \"addedToCreditNote\": 0,\n                \"waiting\": 2,\n                \"actualReceived\": 0,\n                \"type\": 0,\n                \"purchaseOrder\": {\n                    \"id\": 2453445\n                },\n                \"link\": null,\n                \"budgetSubLine\": {\n                    \"id\": null\n                },\n                \"canBeReceived\": true,\n                \"taxes\": {\n                    \"data\": [\n                        {\n                            \"id\": 3883049,\n                            \"name\": \"APR\",\n                            \"value\": 3,\n                            \"documentTax\": {\n                                \"id\": null\n                            },\n                            \"usedTaxPercent\": 0,\n                            \"isWithholdingTax\": false,\n                            \"sum\": 0,\n                            \"sumInCompanyCurrency\": 0\n                        }\n                    ]\n                },\n                \"discounts\": {\n                    \"data\": []\n                },\n                \"dataItemCustomFields\": {\n                    \"data\": []\n                },\n                \"budget\": {\n                    \"id\": null\n                },\n                \"budgetParts\": {\n                    \"data\": []\n                }\n            },\n            {\n                \"id\": 7872969,\n                \"createDate\": \"2026-04-21T11:17:11+00:00\",\n                \"updateDate\": \"2026-04-21T11:17:11+00:00\",\n                \"sku\": null,\n                \"name\": \"delivery\",\n                \"freeOfCharge\": false,\n                \"price\": 13,\n                \"budgetedSum\": 0,\n                \"unit\": null,\n                \"currency\": \"USD\",\n                \"ordered\": 1,\n                \"status\": 0,\n                \"description\": null,\n                \"item\": {\n                    \"id\": null\n                },\n                \"requestOrdered\": \"0.000000\",\n                \"received\": 0,\n                \"rejected\": 0,\n                \"invoiced\": 0,\n                \"addedToInvoice\": 0,\n                \"addedToReceipt\": 0,\n                \"addedToCreditNote\": 0,\n                \"waiting\": 1,\n                \"actualReceived\": 0,\n                \"type\": 3,\n                \"purchaseOrder\": {\n                    \"id\": 2453445\n                },\n                \"link\": null,\n                \"budgetSubLine\": {\n                    \"id\": null\n                },\n                \"canBeReceived\": true,\n                \"taxes\": {\n                    \"data\": []\n                },\n                \"discounts\": {\n                    \"data\": []\n                },\n                \"dataItemCustomFields\": {\n                    \"data\": []\n                },\n                \"budget\": {\n                    \"id\": null\n                },\n                \"budgetParts\": {\n                    \"data\": []\n                }\n            }\n        ]\n    },\n    \"taxes\": {\n        \"data\": [\n            {\n                \"id\": 1227757,\n                \"name\": \"APR\",\n                \"value\": 3,\n                \"usedTaxPercent\": 0,\n                \"isWithholdingTax\": false\n            }\n        ]\n    },\n    \"discounts\": {\n        \"data\": [\n            {\n                \"id\": 17803,\n                \"name\": \"sales\",\n                \"value\": 10,\n                \"unit\": \"%\"\n            }\n        ]\n    },\n    \"comments\": {\n        \"data\": []\n    },\n    \"contracts\": {\n        \"data\": []\n    },\n    \"followers\": {\n        \"data\": [\n            {\n                \"id\": 17125840,\n                \"user_status\": 1,\n                \"user_email\": \"apitesterfordocumentation@gmail.com\",\n                \"isAvailableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null\n            }\n        ]\n    },\n    \"dataDocumentCustomFields\": {\n        \"data\": [\n            {\n                \"id\": 5729226,\n                \"value\": \"267574\",\n                \"type\": 1,\n                \"documentCustomField\": {\n                    \"id\": 29942\n                }\n            }\n        ]\n    },\n    \"attachments\": {\n        \"data\": []\n    },\n    \"budgetParts\": {\n        \"data\": []\n    },\n    \"isBudgetOverLimit\": false,\n    \"entityTemplate\": {\n        \"id\": null\n    },\n    \"relatedPurchaseRequisitions\": [],\n    \"relatedRequestForProposals\": [],\n    \"relatedInvoices\": [],\n    \"relatedReceipts\": []\n}"}],"_postman_id":"9d45f9b7-b824-49b4-8013-d43eec1ee3e2"}],"id":"8eded642-dca7-4dbf-bd56-a4f37c6a0c73","description":"<p>Status values description:<br /><strong>OPEN</strong> = 0<br /><strong>PENDING</strong> = 1<br /><strong>APPROVED</strong> = 2<br /><strong>DENIED</strong> = 3</p>\n<p><strong>STOP</strong> = 4 - for Blanket PO<br /><strong>PURCHASED</strong> = 5<br /><strong>AWAITING_CONFIRMATION</strong> = 6 - on invoice-purchase order matching</p>\n<p><strong>ON_REVISE</strong> = 7<br /><strong>CANCELED</strong> = 8</p>\n<p><strong>APPROVAL_REVIEW</strong> = 10<br /><strong>CLOSED</strong> = 11</p>\n<hr />\n<p>Receive status values description:<br /><strong>NOT_RECEIVED</strong> = 0<br /><strong>PARTLY_RECEIVED</strong> = 1<br /><strong>RECEIVED</strong> = 2</p>\n<hr />\n<p>Invoice status values description:<br /><strong>NEED_CREATE_INVOICE</strong> = 0<br /><strong>NOT_PAID</strong> = 1<br /><strong>PARTLY_PAID</strong> = 2<br /><strong>PAID</strong> = 3</p>\n<hr />\n<p>Purchase order types description:<br /><strong>STANDARD</strong> = 0<br /><strong>BLANKET</strong> = 1<br /><strong>FROM_REQUISITIONS</strong> = 2</p>\n<p><strong>RECURRING</strong> = 3</p>\n<p><strong>BLANKET_PER_TOTAL</strong> = 4</p>\n<p><strong>SERVICE</strong> = 5</p>\n<p><strong>RECURRING_SERVICE</strong> = 6</p>\n<p><strong>SERVICE_FROM_REQUISITIONS</strong> = 7</p>\n<hr />\n<p>Items status description:<br /><strong>APPROVED</strong> = 1<br /><strong>REJECTED</strong> = 2</p>\n<hr />\n<p>Purchase order sending status description:<br /><strong>NOT_SENT</strong> = 0</p>\n<p><strong>SENT</strong> = 1</p>\n<p><strong>RECEIVED/OPENED</strong> = 2</p>\n<p><strong>SENT_TO_MARKETPLACE</strong> = 3</p>\n<p><strong>CONFIRMED</strong> = 4</p>\n<p><strong>SENDING_FAILED</strong> = 5</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"49808b22-274b-42bc-82f7-3178892c4f2e"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"5fcb9a43-752f-4e13-9746-d5bfa95177c3"}}],"_postman_id":"8eded642-dca7-4dbf-bd56-a4f37c6a0c73"},{"name":"Receipts","item":[{"name":"Get Receipts list","id":"47b9a7d3-4a84-48e0-8191-255b77b1fcd5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/receipts?modifiedSince=2022-12-12T00:00:00&per_page=100&page=1&approvalLeftDate=2022-12-12T00:00:00&approvalRightDate=2024-01-10T00:00:00&status[]=2&status[]=1","description":"<h2 id=\"external_id-filter\"><code>external_id[]</code> filter</h2>\n<p>Filter results by <code>externalId</code> — the identifier set on a Precoro record by your external system.</p>\n<p><strong>Rules:</strong></p>\n<ul>\n<li>Must be passed as an <strong>array</strong>: <code>external_id[]=101&amp;external_id[]=102</code></li>\n<li>Single value (<code>external_id=101</code>) is <strong>silently ignored</strong></li>\n<li>Values must be <strong>numeric</strong> — non-numeric values cause the filter to be silently skipped (full unfiltered list is returned)</li>\n<li>Maximum <strong>200</strong> values; exceeding this returns <code>400 Bad Request</code></li>\n</ul>\n<p><strong>Error response (&gt;200 values):</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"errors\": {\n        \"errors\": {\n            \"item_filter\": \"Too many external_id filter params. Maximum amount is 200\"\n        }\n    }\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["receipts"],"host":["api","precoro","com"],"query":[{"description":{"content":"<p>(optionally) If an object was created or modified since the date, it will appears in results</p>\n","type":"text/plain"},"key":"modifiedSince","value":"2022-12-12T00:00:00"},{"description":{"content":"<p>(optionally) Number of items per page. Available options: 10, 20, 50, 100, 200</p>\n","type":"text/plain"},"key":"per_page","value":"100"},{"description":{"content":"<p>(optionally) Page number to be displayed</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>(optionally) If an object was approved since the date, it will appear in the results</p>\n","type":"text/plain"},"key":"approvalLeftDate","value":"2022-12-12T00:00:00"},{"description":{"content":"<p>(optionally) If an object was approved before the date, it will appear in the results</p>\n","type":"text/plain"},"key":"approvalRightDate","value":"2024-01-10T00:00:00"},{"description":{"content":"<p>(optionally) Return receipts on status approved</p>\n","type":"text/plain"},"key":"status[]","value":"2"},{"description":{"content":"<p>(optionally) Return receipts on status pending</p>\n","type":"text/plain"},"key":"status[]","value":"1"},{"disabled":true,"description":{"content":"<p>Filter by externalId. Must be a numeric string. Repeat this param to pass multiple values: external_id[]=101&amp;external_id[]=102</p>\n","type":"text/plain"},"key":"external_id[]","value":"1"},{"disabled":true,"description":{"content":"<p>Add another value. Maximum 200 values total. Non-numeric values silently disable the filter.</p>\n","type":"text/plain"},"key":"external_id[]","value":"2"}],"variable":[]}},"response":[{"id":"9ca4ebb0-43fe-4396-b5df-ba6702d9b995","name":"Get Receipts list","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":{"raw":"https://api.precoro.com/receipts?modifiedSince=2022-12-12T00:00:00&per_page=100&page=1","protocol":"https","host":["api","precoro","com"],"path":["receipts"],"query":[{"key":"modifiedSince","value":"2022-12-12T00:00:00","description":"(optionally) If an object was created or modified since the date, it will appears in results"},{"key":"per_page","value":"100","description":"(optionally) Number of items per page. Available options: 10, 20, 50, 100, 200"},{"key":"page","value":"1","description":"(optionally) Page number to be displayed"},{"key":"approvalLeftDate","value":"2022-12-12T00:00:00","description":"(optionally) If an object was approved since the date, it will appear in the results","disabled":true},{"key":"approvalRightDate","value":"2024-01-10T00:00:00","description":"(optionally) If an object was approved before the date, it will appear in the results","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 14:04:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 14:04:20 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=f8WFomJSAsvrzSFS17Rsu3plbwsdD3t%2BKwAiOxKachz8PS5ALwfiEIzhH6K949dsRgDhFRdsmftpluRqDu4I%2BRt4XHOfe%2FA%2BQ6ANePDz2tJEE5iiEY99MdUzE%2BRRMQPUmw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9190f6937f5382ea-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=1462&min_rtt=1336&rtt_var=591&sent=3&recv=5&lost=0&retrans=0&sent_bytes=219&recv_bytes=1176&delivery_rate=1083832&cwnd=216&unsent_bytes=0&cid=e619724636d606a6&ts=449&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1067409,\n            \"idn\": \"1\",\n            \"customName\": null,\n            \"createDate\": \"2025-02-28T13:50:18+00:00\",\n            \"updateDate\": \"2025-02-28T13:50:18+00:00\",\n            \"requiredDate\": \"2025-02-28T00:00:00+00:00\",\n            \"approvalDate\": \"2025-02-28T13:50:18+00:00\",\n            \"note\": null,\n            \"status\": 2,\n            \"isServiceOrder\": false,\n            \"receiptNumber\": null,\n            \"purchaseOrder\": {\n                \"id\": 1877576,\n                \"idn\": \"3\",\n                \"customName\": null,\n                \"createDate\": \"2025-02-28T13:44:41+00:00\",\n                \"updateDate\": \"2025-02-28T13:50:18+00:00\",\n                \"requiredDate\": \"2025-02-28T00:00:00+00:00\",\n                \"approvalDate\": \"2025-02-28T13:44:49+00:00\",\n                \"sum\": 51.4,\n                \"netSum\": 49.9,\n                \"sumInCompanyCurrency\": 51.4,\n                \"netSumInCompanyCurrency\": 49.9,\n                \"currency\": \"USD\",\n                \"precisionData\": {\n                    \"USD\": {\n                        \"precision\": 2,\n                        \"roundMode\": \"math\"\n                    }\n                },\n                \"note\": null,\n                \"exchangeRate\": {\n                    \"KHR:UAH\": 0.010371,\n                    \"KHR:USD\": 0.000249,\n                    \"UAH:KHR\": 96.426907,\n                    \"UAH:USD\": 0.024042,\n                    \"USD:KHR\": 4010.695509,\n                    \"USD:UAH\": 41.593116\n                },\n                \"invoicedSum\": 51.4,\n                \"invoicedSumInCompanyCurrency\": 51.4,\n                \"netInvoicedSum\": 49.9,\n                \"isServiceOrder\": false,\n                \"status\": 2,\n                \"statusReceiving\": 2,\n                \"statusPayment\": 2,\n                \"statusSending\": 0,\n                \"blanketDetails\": {\n                    \"startDate\": null,\n                    \"firstDeliveryDate\": null,\n                    \"frequency\": null,\n                    \"amountOfDeliveries\": null,\n                    \"blanketSum\": 0\n                },\n                \"paymentTerm\": {\n                    \"id\": 74148\n                },\n                \"company\": {\n                    \"id\": 22359\n                },\n                \"prepaymentPercent\": 100,\n                \"postpaymentPercent\": 0,\n                \"creditPeriodDays\": 0,\n                \"qboId\": null,\n                \"netSuiteId\": null,\n                \"xeroId\": null,\n                \"externalId\": null,\n                \"externalIntegrationLog\": null,\n                \"logicType\": 2,\n                \"budgetedSum\": 0,\n                \"usedTaxPercentInBudget\": \"100.00\",\n                \"poomUrl\": null,\n                \"deliverToName\": null,\n                \"allDocumentCustomFieldOptionsIds\": null,\n                \"sendToSupplier\": true,\n                \"isNewSupplierAdded\": false,\n                \"punchoutType\": 0,\n                \"itemsChartSum\": 0,\n                \"approvingWay\": {\n                    \"84289\": {\n                        \"step\": \"1 Approval Step #1\",\n                        \"approvers\": {\n                            \"95888\": {\n                                \"email\": \"apitesterfordocumentation@gmail.com\",\n                                \"datetime\": {\n                                    \"date\": \"2025-02-28 13:44:49.939852\",\n                                    \"timezone\": \"UTC\",\n                                    \"timezone_type\": 3\n                                },\n                                \"user_approve\": true\n                            }\n                        },\n                        \"approve_type\": 1\n                    }\n                },\n                \"location\": {\n                    \"id\": 97962,\n                    \"uniqueCode\": null,\n                    \"name\": \"Main location\",\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"fullAddress\": null,\n                    \"afaxysLocationId\": null,\n                    \"phone\": null,\n                    \"allLocationsAccessLegalEntities\": true,\n                    \"enable\": true,\n                    \"locationAddress\": {\n                        \"id\": null\n                    },\n                    \"externalId\": null\n                },\n                \"supplier\": {\n                    \"id\": 719430,\n                    \"uniqueCode\": \"123AB\",\n                    \"name\": \"Supplier 1\",\n                    \"createDate\": \"2024-07-12T10:18:00+00:00\",\n                    \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n                    \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n                    \"legalAddress\": null,\n                    \"currency\": \"USD\",\n                    \"currencies\": [\n                        \"USD\"\n                    ],\n                    \"autoSendPOSupplier\": false,\n                    \"deliveryPeriod\": 0,\n                    \"minimumSum\": 10,\n                    \"businessRegistrationNumber\": null,\n                    \"accountHolderName\": null,\n                    \"bankName\": null,\n                    \"accountNumber\": null,\n                    \"bankAddress\": null,\n                    \"swiftCode\": null,\n                    \"permanentAccountNumber\": null,\n                    \"internationalBankAccountNumber\": null,\n                    \"americanBankersAssociationNumber\": null,\n                    \"indianFinancialSystemCode\": null,\n                    \"sortCode\": null,\n                    \"taxPayer\": false,\n                    \"taxPayerType\": 0,\n                    \"taxPayerLabel\": \"Tax Payer Number\",\n                    \"taxPayerNumber\": null,\n                    \"phone\": null,\n                    \"city\": null,\n                    \"country\": null,\n                    \"state\": null,\n                    \"postalCode\": null,\n                    \"note\": null,\n                    \"conditions\": null,\n                    \"enable\": true,\n                    \"isMarketUpdatable\": false,\n                    \"qboId\": null,\n                    \"netSuiteId\": null,\n                    \"xeroId\": null,\n                    \"externalId\": null,\n                    \"marketSupplier\": {\n                        \"id\": null,\n                        \"minimumSum\": null\n                    },\n                    \"enableMarketSupplier\": false,\n                    \"creditBalanceSums\": {\n                        \"USD\": 0\n                    },\n                    \"afaxysSupplierId\": null,\n                    \"status\": 2,\n                    \"creator\": {\n                        \"id\": 95888,\n                        \"email\": \"apitesterfordocumentation@gmail.com\"\n                    },\n                    \"enterInvoiceAsOneLine\": false,\n                    \"isPunchoutSupplier\": false,\n                    \"paymentTerms\": {\n                        \"data\": [\n                            {\n                                \"id\": 74148,\n                                \"name\": \"Prepayment\",\n                                \"prepaymentPercent\": 100,\n                                \"postpaymentPercent\": 0,\n                                \"creditPeriodDays\": 0,\n                                \"termsDueDateAfterInvoicing\": 0,\n                                \"paymentType\": 0,\n                                \"enable\": true,\n                                \"externalId\": null\n                            }\n                        ]\n                    },\n                    \"approvalSteps\": {\n                        \"data\": []\n                    },\n                    \"approvingWay\": []\n                },\n                \"budget\": [],\n                \"budgetLine\": [],\n                \"legalEntity\": {\n                    \"id\": 23152,\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"enable\": true,\n                    \"name\": \"TEST Api Precoro\",\n                    \"legalAddress\": null,\n                    \"accountNumber\": null,\n                    \"accountHolderName\": null,\n                    \"bankName\": null,\n                    \"bankAddress\": null,\n                    \"sortCode\": null,\n                    \"businessRegistrationNumber\": null,\n                    \"taxPayerType\": 2,\n                    \"taxPayerNumber\": null,\n                    \"phone\": null,\n                    \"keyExecutive\": null,\n                    \"fullName\": null,\n                    \"permanentAccountNumber\": null,\n                    \"internationalBankAccountNumber\": null,\n                    \"americanBankersAssociationNumber\": null,\n                    \"swiftCode\": null,\n                    \"indianFinancialSystemCode\": null,\n                    \"externalId\": null,\n                    \"uniqueCode\": null\n                },\n                \"creator\": {\n                    \"id\": 95888,\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                    \"email\": \"apitesterfordocumentation@gmail.com\",\n                    \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                    \"locale\": \"en\",\n                    \"phone\": \"+13456789\",\n                    \"firstname\": \"Api\",\n                    \"lastname\": \"Tester\",\n                    \"position\": null,\n                    \"location\": {\n                        \"id\": 97962\n                    },\n                    \"legalEntity\": {\n                        \"id\": 23152\n                    },\n                    \"allLocationsAccess\": true,\n                    \"allUserDocumentCustomFieldsAccess\": true,\n                    \"allItemGroupsAccess\": true,\n                    \"roles\": [\n                        \"ROLE_PURCHASE_REQUISITION\",\n                        \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                        \"ROLE_PURCHASE_ORDER\",\n                        \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                        \"ROLE_RECEIPT\",\n                        \"ROLE_RECEIPT_APPROVAL\",\n                        \"ROLE_INVOICE\",\n                        \"ROLE_INVOICE_APPROVAL\",\n                        \"ROLE_INVOICE_PAYMENT\",\n                        \"ROLE_REPORT\",\n                        \"ROLE_BUDGET_HOLDER\",\n                        \"ROLE_SUPPLIER_MANAGEMENT\",\n                        \"ROLE_SUPPLIER_APPROVAL\",\n                        \"ROLE_WAREHOUSE_REQUEST\",\n                        \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                        \"ROLE_EXPENSE\",\n                        \"ROLE_EXPENSE_APPROVAL\",\n                        \"ROLE_EXPENSE_PAYMENT\",\n                        \"ROLE_WAREHOUSE_MANAGER\",\n                        \"ROLE_SUPER_USER\",\n                        \"ROLE_OCR\",\n                        \"ROLE_CONFIGURATION\",\n                        \"ROLE_USER\"\n                    ],\n                    \"enable\": true,\n                    \"isMarketSupplier\": false,\n                    \"isAvailableVacationMode\": false,\n                    \"enableVacationMode\": false,\n                    \"startVacationMode\": null,\n                    \"endVacationMode\": null,\n                    \"isPower\": true,\n                    \"availableIn\": [\n                        {\n                            \"id\": 22359,\n                            \"name\": \"TEST Api Precoro\",\n                            \"active\": true\n                        }\n                    ],\n                    \"hasConfirmationToken\": false\n                },\n                \"lastEditor\": [],\n                \"approvalSteps\": {\n                    \"data\": []\n                }\n            },\n            \"allDocumentCustomFieldOptionsIds\": null,\n            \"externalId\": null,\n            \"netSuiteId\": null,\n            \"externalIntegrationLog\": null,\n            \"currency\": \"USD\",\n            \"exchangeRate\": {\n                \"KHR:UAH\": 0.010371,\n                \"KHR:USD\": 0.000249,\n                \"UAH:KHR\": 96.426907,\n                \"UAH:USD\": 0.024042,\n                \"USD:KHR\": 4010.695509,\n                \"USD:UAH\": 41.593116\n            },\n            \"approvingWay\": [],\n            \"location\": {\n                \"id\": 97962,\n                \"uniqueCode\": null,\n                \"name\": \"Main location\",\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"fullAddress\": null,\n                \"afaxysLocationId\": null,\n                \"phone\": null,\n                \"allLocationsAccessLegalEntities\": true,\n                \"enable\": true,\n                \"locationAddress\": {\n                    \"id\": null\n                },\n                \"externalId\": null\n            },\n            \"creator\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"availableIn\": [\n                    {\n                        \"id\": 22359,\n                        \"name\": \"TEST Api Precoro\",\n                        \"active\": true\n                    }\n                ],\n                \"hasConfirmationToken\": false\n            },\n            \"warehouse\": [],\n            \"lastEditor\": [],\n            \"approvalSteps\": {\n                \"data\": []\n            },\n            \"dataDocumentCustomFields\": {\n                \"data\": []\n            },\n            \"approvalInfo\": {\n                \"canApproveDocument\": false,\n                \"canRejectDocument\": false\n            },\n            \"relatedInvoices\": [\n                {\n                    \"id\": 1534882,\n                    \"idn\": \"5\",\n                    \"creator\": {\n                        \"id\": 95888\n                    }\n                }\n            ],\n            \"relatedInvoicesCount\": 1,\n            \"relatedPurchaseRequisitions\": [\n                {\n                    \"id\": 787948,\n                    \"idn\": \"2\",\n                    \"creator\": {\n                        \"id\": 95888\n                    }\n                }\n            ],\n            \"relatedPurchaseRequisitionsCount\": 1,\n            \"relatedRequestForProposals\": [],\n            \"relatedRequestForProposalsCount\": 0\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 1,\n            \"count\": 1,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": {}\n        }\n    }\n}"}],"_postman_id":"47b9a7d3-4a84-48e0-8191-255b77b1fcd5"},{"name":"Get Receipt by IDN","id":"61ea81b2-e490-4e69-98b3-b250ef67fbbf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/receipts/{idn}","urlObject":{"protocol":"https","path":["receipts","{idn}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"5323319c-c099-48a5-983c-d56afebe3e15","name":"Get Receipt by IDN","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/receipts/{idn}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 14:04:44 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 14:04:44 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Y5vMofmwCD6ieUcHGJjJmv0aWvUpFQY73w%2BPyXMN8XiJ%2F9X1kVLtm1AHrRiAjcOucwUt%2B6%2BCd60eTLhpG71mT%2B%2FU5682hQjUL0USbPNhHC4hi8Z0Z3XoAbkteklonTGHIg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9190f726af1a20d0-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=2204&min_rtt=2063&rtt_var=875&sent=3&recv=5&lost=0&retrans=0&sent_bytes=219&recv_bytes=1124&delivery_rate=701890&cwnd=241&unsent_bytes=0&cid=11a5a7cfafc02e75&ts=424&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1067409,\n    \"idn\": \"1\",\n    \"customName\": null,\n    \"createDate\": \"2025-02-28T13:50:18+00:00\",\n    \"updateDate\": \"2025-02-28T13:50:18+00:00\",\n    \"requiredDate\": \"2025-02-28T00:00:00+00:00\",\n    \"approvalDate\": \"2025-02-28T13:50:18+00:00\",\n    \"note\": null,\n    \"status\": 2,\n    \"isServiceOrder\": false,\n    \"receiptNumber\": null,\n    \"purchaseOrder\": {\n        \"id\": 1877576,\n        \"idn\": \"3\",\n        \"customName\": null,\n        \"createDate\": \"2025-02-28T13:44:41+00:00\",\n        \"updateDate\": \"2025-02-28T13:50:18+00:00\",\n        \"requiredDate\": \"2025-02-28T00:00:00+00:00\",\n        \"approvalDate\": \"2025-02-28T13:44:49+00:00\",\n        \"sum\": 51.4,\n        \"netSum\": 49.9,\n        \"sumInCompanyCurrency\": 51.4,\n        \"netSumInCompanyCurrency\": 49.9,\n        \"currency\": \"USD\",\n        \"precisionData\": {\n            \"USD\": {\n                \"precision\": 2,\n                \"roundMode\": \"math\"\n            }\n        },\n        \"note\": null,\n        \"exchangeRate\": {\n            \"KHR:UAH\": 0.010371,\n            \"KHR:USD\": 0.000249,\n            \"UAH:KHR\": 96.426907,\n            \"UAH:USD\": 0.024042,\n            \"USD:KHR\": 4010.695509,\n            \"USD:UAH\": 41.593116\n        },\n        \"invoicedSum\": 51.4,\n        \"invoicedSumInCompanyCurrency\": 51.4,\n        \"netInvoicedSum\": 49.9,\n        \"isServiceOrder\": false,\n        \"status\": 2,\n        \"statusReceiving\": 2,\n        \"statusPayment\": 2,\n        \"statusSending\": 0,\n        \"blanketDetails\": {\n            \"startDate\": null,\n            \"firstDeliveryDate\": null,\n            \"frequency\": null,\n            \"amountOfDeliveries\": null,\n            \"blanketSum\": 0\n        },\n        \"paymentTerm\": {\n            \"id\": 74148\n        },\n        \"company\": {\n            \"id\": 22359\n        },\n        \"prepaymentPercent\": 100,\n        \"postpaymentPercent\": 0,\n        \"creditPeriodDays\": 0,\n        \"qboId\": null,\n        \"netSuiteId\": null,\n        \"xeroId\": null,\n        \"externalId\": null,\n        \"externalIntegrationLog\": null,\n        \"logicType\": 2,\n        \"budgetedSum\": 0,\n        \"usedTaxPercentInBudget\": \"100.00\",\n        \"poomUrl\": null,\n        \"deliverToName\": null,\n        \"allDocumentCustomFieldOptionsIds\": null,\n        \"sendToSupplier\": true,\n        \"isNewSupplierAdded\": false,\n        \"punchoutType\": 0,\n        \"itemsChartSum\": 0,\n        \"approvingWay\": {\n            \"84289\": {\n                \"step\": \"1 Approval Step #1\",\n                \"approvers\": {\n                    \"95888\": {\n                        \"email\": \"apitesterfordocumentation@gmail.com\",\n                        \"datetime\": {\n                            \"date\": \"2025-02-28 13:44:49.939852\",\n                            \"timezone\": \"UTC\",\n                            \"timezone_type\": 3\n                        },\n                        \"user_approve\": true\n                    }\n                },\n                \"approve_type\": 1\n            }\n        },\n        \"location\": {\n            \"id\": 97962,\n            \"uniqueCode\": null,\n            \"name\": \"Main location\",\n            \"createDate\": \"2024-06-11T14:23:08+00:00\",\n            \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n            \"fullAddress\": null,\n            \"afaxysLocationId\": null,\n            \"phone\": null,\n            \"allLocationsAccessLegalEntities\": true,\n            \"enable\": true,\n            \"locationAddress\": {\n                \"id\": null\n            },\n            \"externalId\": null\n        },\n        \"supplier\": {\n            \"id\": 719430,\n            \"uniqueCode\": \"123AB\",\n            \"name\": \"Supplier 1\",\n            \"createDate\": \"2024-07-12T10:18:00+00:00\",\n            \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n            \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n            \"legalAddress\": null,\n            \"currency\": \"USD\",\n            \"currencies\": [\n                \"USD\"\n            ],\n            \"autoSendPOSupplier\": false,\n            \"deliveryPeriod\": 0,\n            \"minimumSum\": 10,\n            \"businessRegistrationNumber\": null,\n            \"accountHolderName\": null,\n            \"bankName\": null,\n            \"accountNumber\": null,\n            \"bankAddress\": null,\n            \"swiftCode\": null,\n            \"permanentAccountNumber\": null,\n            \"internationalBankAccountNumber\": null,\n            \"americanBankersAssociationNumber\": null,\n            \"indianFinancialSystemCode\": null,\n            \"sortCode\": null,\n            \"taxPayer\": false,\n            \"taxPayerType\": 0,\n            \"taxPayerLabel\": \"Tax Payer Number\",\n            \"taxPayerNumber\": null,\n            \"phone\": null,\n            \"city\": null,\n            \"country\": null,\n            \"state\": null,\n            \"postalCode\": null,\n            \"note\": null,\n            \"conditions\": null,\n            \"enable\": true,\n            \"isMarketUpdatable\": false,\n            \"qboId\": null,\n            \"netSuiteId\": null,\n            \"xeroId\": null,\n            \"externalId\": null,\n            \"marketSupplier\": {\n                \"id\": null,\n                \"minimumSum\": null\n            },\n            \"enableMarketSupplier\": false,\n            \"creditBalanceSums\": {\n                \"USD\": 0\n            },\n            \"afaxysSupplierId\": null,\n            \"status\": 2,\n            \"creator\": {\n                \"id\": 95888,\n                \"email\": \"apitesterfordocumentation@gmail.com\"\n            },\n            \"enterInvoiceAsOneLine\": false,\n            \"isPunchoutSupplier\": false,\n            \"paymentTerms\": {\n                \"data\": [\n                    {\n                        \"id\": 74148,\n                        \"name\": \"Prepayment\",\n                        \"prepaymentPercent\": 100,\n                        \"postpaymentPercent\": 0,\n                        \"creditPeriodDays\": 0,\n                        \"termsDueDateAfterInvoicing\": 0,\n                        \"paymentType\": 0,\n                        \"enable\": true,\n                        \"externalId\": null\n                    }\n                ]\n            },\n            \"approvalSteps\": {\n                \"data\": []\n            },\n            \"approvingWay\": []\n        },\n        \"budget\": [],\n        \"budgetLine\": [],\n        \"legalEntity\": {\n            \"id\": 23152,\n            \"createDate\": \"2024-06-11T14:23:08+00:00\",\n            \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n            \"enable\": true,\n            \"name\": \"TEST Api Precoro\",\n            \"legalAddress\": null,\n            \"accountNumber\": null,\n            \"accountHolderName\": null,\n            \"bankName\": null,\n            \"bankAddress\": null,\n            \"sortCode\": null,\n            \"businessRegistrationNumber\": null,\n            \"taxPayerType\": 2,\n            \"taxPayerNumber\": null,\n            \"phone\": null,\n            \"keyExecutive\": null,\n            \"fullName\": null,\n            \"permanentAccountNumber\": null,\n            \"internationalBankAccountNumber\": null,\n            \"americanBankersAssociationNumber\": null,\n            \"swiftCode\": null,\n            \"indianFinancialSystemCode\": null,\n            \"externalId\": null,\n            \"uniqueCode\": null\n        },\n        \"creator\": {\n            \"id\": 95888,\n            \"createDate\": \"2024-06-11T14:23:08+00:00\",\n            \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n            \"email\": \"apitesterfordocumentation@gmail.com\",\n            \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n            \"locale\": \"en\",\n            \"phone\": \"+13456789\",\n            \"firstname\": \"Api\",\n            \"lastname\": \"Tester\",\n            \"position\": null,\n            \"location\": {\n                \"id\": 97962\n            },\n            \"legalEntity\": {\n                \"id\": 23152\n            },\n            \"allLocationsAccess\": true,\n            \"allUserDocumentCustomFieldsAccess\": true,\n            \"allItemGroupsAccess\": true,\n            \"roles\": [\n                \"ROLE_PURCHASE_REQUISITION\",\n                \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                \"ROLE_PURCHASE_ORDER\",\n                \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                \"ROLE_RECEIPT\",\n                \"ROLE_RECEIPT_APPROVAL\",\n                \"ROLE_INVOICE\",\n                \"ROLE_INVOICE_APPROVAL\",\n                \"ROLE_INVOICE_PAYMENT\",\n                \"ROLE_REPORT\",\n                \"ROLE_BUDGET_HOLDER\",\n                \"ROLE_SUPPLIER_MANAGEMENT\",\n                \"ROLE_SUPPLIER_APPROVAL\",\n                \"ROLE_WAREHOUSE_REQUEST\",\n                \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                \"ROLE_REQUEST_FOR_PROPOSAL\",\n                \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                \"ROLE_EXPENSE\",\n                \"ROLE_EXPENSE_APPROVAL\",\n                \"ROLE_EXPENSE_PAYMENT\",\n                \"ROLE_WAREHOUSE_MANAGER\",\n                \"ROLE_SUPER_USER\",\n                \"ROLE_OCR\",\n                \"ROLE_CONFIGURATION\",\n                \"ROLE_USER\"\n            ],\n            \"enable\": true,\n            \"isMarketSupplier\": false,\n            \"isAvailableVacationMode\": false,\n            \"enableVacationMode\": false,\n            \"startVacationMode\": null,\n            \"endVacationMode\": null,\n            \"isPower\": true,\n            \"availableIn\": [\n                {\n                    \"id\": 22359,\n                    \"name\": \"TEST Api Precoro\",\n                    \"active\": true\n                }\n            ],\n            \"hasConfirmationToken\": false\n        },\n        \"lastEditor\": [],\n        \"approvalSteps\": {\n            \"data\": []\n        }\n    },\n    \"allDocumentCustomFieldOptionsIds\": null,\n    \"externalId\": null,\n    \"netSuiteId\": null,\n    \"externalIntegrationLog\": null,\n    \"currency\": \"USD\",\n    \"exchangeRate\": {\n        \"KHR:UAH\": 0.010371,\n        \"KHR:USD\": 0.000249,\n        \"UAH:KHR\": 96.426907,\n        \"UAH:USD\": 0.024042,\n        \"USD:KHR\": 4010.695509,\n        \"USD:UAH\": 41.593116\n    },\n    \"approvingWay\": [],\n    \"location\": {\n        \"id\": 97962,\n        \"uniqueCode\": null,\n        \"name\": \"Main location\",\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"fullAddress\": null,\n        \"afaxysLocationId\": null,\n        \"phone\": null,\n        \"allLocationsAccessLegalEntities\": true,\n        \"enable\": true,\n        \"locationAddress\": {\n            \"id\": null\n        },\n        \"externalId\": null\n    },\n    \"creator\": {\n        \"id\": 95888,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n        \"email\": \"apitesterfordocumentation@gmail.com\",\n        \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n        \"locale\": \"en\",\n        \"phone\": \"+13456789\",\n        \"firstname\": \"Api\",\n        \"lastname\": \"Tester\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 97962\n        },\n        \"legalEntity\": {\n            \"id\": 23152\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allItemGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_INVOICE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_SUPPLIER_APPROVAL\",\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_EXPENSE\",\n            \"ROLE_EXPENSE_APPROVAL\",\n            \"ROLE_EXPENSE_PAYMENT\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPER_USER\",\n            \"ROLE_OCR\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"isPower\": true,\n        \"availableIn\": [\n            {\n                \"id\": 22359,\n                \"name\": \"TEST Api Precoro\",\n                \"active\": true\n            }\n        ],\n        \"hasConfirmationToken\": false\n    },\n    \"warehouse\": [],\n    \"lastEditor\": [],\n    \"approvalSteps\": {\n        \"data\": []\n    },\n    \"dataDocumentCustomFields\": {\n        \"data\": []\n    },\n    \"items\": {\n        \"data\": [\n            {\n                \"id\": 2925392,\n                \"received\": 1,\n                \"receipt\": {\n                    \"idn\": \"1\"\n                },\n                \"status\": 0,\n                \"name\": \"Home Desk\",\n                \"sku\": \"173516\",\n                \"description\": null,\n                \"addedToCreditNote\": 0,\n                \"dataItemCustomFields\": {\n                    \"data\": []\n                },\n                \"purchaseOrderItem\": {\n                    \"id\": 6017706,\n                    \"sku\": \"173516\",\n                    \"name\": \"Home Desk\",\n                    \"unit\": null,\n                    \"ordered\": 1,\n                    \"rejected\": 0,\n                    \"invoiced\": 1,\n                    \"received\": 1,\n                    \"addedToReceipt\": 1,\n                    \"addedToInvoice\": 1,\n                    \"waiting\": 0,\n                    \"item\": {\n                        \"id\": 1447004,\n                        \"price\": 49.9\n                    }\n                },\n                \"category\": []\n            }\n        ]\n    },\n    \"comments\": {\n        \"data\": []\n    },\n    \"followers\": {\n        \"data\": [\n            {\n                \"id\": 12271848,\n                \"user_status\": 1,\n                \"user_email\": \"apitesterfordocumentation@gmail.com\",\n                \"isAvailableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null\n            }\n        ]\n    },\n    \"attachments\": {\n        \"data\": []\n    }\n}"}],"_postman_id":"61ea81b2-e490-4e69-98b3-b250ef67fbbf"},{"name":"Create Receipt","id":"fe6e3709-a50c-423a-b2dc-9037f930184e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"requiredDate\": \"2025-08-29T00:00:00+00:00\",\n    \"warehouse\": {\n        \"id\": 33405\n    },\n    \"note\": \"Important Note\",\n    \"dataDocumentCustomFields\": {\n        \"data\": [\n            {\n                \"documentCustomField\": {\n                    \"id\": \"29942\"\n                },\n                \"value\": 267574\n            },\n            {\n                \"documentCustomField\": {\n                    \"id\": \"32806\"\n                },\n                \"value\": 353627\n            }\n        ]\n    },\n    \"receiptNumber\": \"512\",\n    \"selectedItems\": {\n        \"6017475\": {\n            \"purchaseOrderItem\": {\n                \"id\": 6017475\n            },\n            \"received\": 1,\n            \"dataItemCustomFields\": [\n                {\n                    \"itemCustomField\": {\n                        \"id\": 29663\n                    },\n                    \"value\": \"796632\"\n                }\n            ]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.precoro.com/receipts/{purchase_order_idn}","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field (dot path)</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>requiredDate</code></td>\n<td>string (ISO 8601, UTC)</td>\n<td>Yes</td>\n<td>Receipt Date</td>\n</tr>\n<tr>\n<td><code>warehouse.id</code></td>\n<td>integer</td>\n<td>No</td>\n<td>ID of the warehouse to post your receipt items to</td>\n</tr>\n<tr>\n<td><code>note</code></td>\n<td>string</td>\n<td>No</td>\n<td>Text note attached to the receipt.</td>\n</tr>\n<tr>\n<td><code>dataDocumentCustomFields</code></td>\n<td>object</td>\n<td>Depends on required Document Custom Fields in this module</td>\n<td>Array form for Document Custom Fields.</td>\n</tr>\n<tr>\n<td><code>dataDocumentCustomFields.data</code></td>\n<td>array</td>\n<td>Depends on required Document Custom Fields in this module</td>\n<td>Array of Document Custom Fields to set.</td>\n</tr>\n<tr>\n<td><code>dataDocumentCustomFields.data[].documentCustomField.id</code></td>\n<td>integer</td>\n<td>Depends on required Document Custom Fields in this module</td>\n<td>ID of the Document Custom Field.</td>\n</tr>\n<tr>\n<td><code>dataDocumentCustomFields.data[].value</code></td>\n<td>id/string/string date</td>\n<td>Required per entry</td>\n<td>Value for the option (Type depends on Document Custom Field Type: Id of option, string for Text type and Date in ISO 8601 format).</td>\n</tr>\n<tr>\n<td><code>receiptNumber</code></td>\n<td>string</td>\n<td>No</td>\n<td>External Supplier Receipt number.</td>\n</tr>\n<tr>\n<td><code>selectedItems.{purchaseOrderItemId}</code></td>\n<td>object</td>\n<td>Yes</td>\n<td>Receipt line for a specific PO item. Be sure to set <code>purchaseOrderItemId</code> key correctly.</td>\n</tr>\n<tr>\n<td><code>selectedItems.{purchaseOrderItemId}.purchaseOrderItem.id</code></td>\n<td>integer</td>\n<td>Yes</td>\n<td>Receipt line for a specific PO item. Be sure to set the same id as in key <code>purchaseOrderItemId</code>.</td>\n</tr>\n<tr>\n<td><code>selectedItems.{purchaseOrderItemId}.received</code></td>\n<td>number (integer/decimal)</td>\n<td>Yes</td>\n<td>Quantity received for this line.</td>\n</tr>\n<tr>\n<td><code>selectedItems.{purchaseOrderItemId}.dataItemCustomFields[].itemCustomField.id</code></td>\n<td>integer</td>\n<td>Depends on required Item Custom Fields in this module</td>\n<td>ID of the Item Custom Field for this Item.</td>\n</tr>\n<tr>\n<td><code>selectedItems.{purchaseOrderItemId}.dataItemCustomFields[].value</code></td>\n<td>id/string/string date</td>\n<td>Depends on required Item Custom Fields in this module</td>\n<td>Value for the option (Type depends on Item Custom Field Type: Id of option, string for Text type and Date in ISO 8601 format).</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["receipts","{purchase_order_idn}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"0fc5737f-d443-4c65-8fdc-dfd834ba6aa6","name":"Create Receipt","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"requiredDate\": \"2025-08-29T00:00:00+00:00\",\n    \"warehouse\": {\n        \"id\": 33405\n    },\n    \"note\": \"Important Note\",\n    \"documentCustomFields\": {\n        \"29942\": 267574,\n        \"32806\": 353627\n    },\n    \"dataDocumentCustomFields\": {\n        \"data\": [\n            {\n                \"documentCustomField\": {\n                    \"id\": \"29942\"\n                },\n                \"value\": 267574\n            },\n            {\n                \"documentCustomField\": {\n                    \"id\": \"32806\"\n                },\n                \"value\": 353627\n            }\n        ]\n    },\n    \"receiptNumber\": \"512\",\n    \"selectedItems\": {\n        \"6017475\": {\n            \"purchaseOrderItem\": {\n                \"id\": 6017475\n            },\n            \"received\": 1,\n            \"dataItemCustomFields\": [\n                {\n                    \"itemCustomField\": {\n                        \"id\": 29663\n                    },\n                    \"value\": \"796632\"\n                }\n            ]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.precoro.com/receipts/{purchase_order_idn}"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Fri, 29 Aug 2025 12:34:18 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=424yaZbek%2BK7Q48oPxZ49seozU%2Fo%2BnQb8U9HYAvhyXnb8CNERRM4pvvyQtbuu84ocyKpcdSKCLZaK%2Fvlua0TvBPFdQBTzMMS3aQfiUfz\"}]}"},{"key":"CF-RAY","value":"976c14ec8e73c9ac-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1244460,\n    \"idn\": 2,\n    \"customName\": null,\n    \"createDate\": \"2025-08-29T12:34:17+00:00\",\n    \"updateDate\": \"2025-08-29T12:34:18+00:00\",\n    \"requiredDate\": \"2025-08-29T00:00:00+00:00\",\n    \"approvalDate\": null,\n    \"note\": \"Important Note\",\n    \"status\": 0,\n    \"isServiceOrder\": false,\n    \"receiptNumber\": \"512\",\n    \"purchaseOrder\": {\n        \"id\": 1877480,\n        \"idn\": \"2\",\n        \"customName\": null,\n        \"createDate\": \"2025-02-28T12:36:11+00:00\",\n        \"updateDate\": \"2025-08-29T12:34:18+00:00\",\n        \"requiredDate\": \"2025-02-28T00:00:00+00:00\",\n        \"approvalDate\": \"2025-02-28T12:36:20+00:00\",\n        \"sum\": 51.4,\n        \"netSum\": 49.9,\n        \"sumInCompanyCurrency\": 51.4,\n        \"netSumInCompanyCurrency\": 49.9,\n        \"currency\": \"USD\",\n        \"precisionData\": {\n            \"USD\": {\n                \"precision\": 2,\n                \"roundMode\": \"math\"\n            }\n        },\n        \"note\": null,\n        \"exchangeRate\": {\n            \"KHR:UAH\": 0.010371,\n            \"KHR:USD\": 0.000249,\n            \"UAH:KHR\": 96.426907,\n            \"UAH:USD\": 0.024042,\n            \"USD:KHR\": 4010.695509,\n            \"USD:UAH\": 41.593116\n        },\n        \"invoicedSum\": 0,\n        \"invoicedSumInCompanyCurrency\": 0,\n        \"netInvoicedSum\": 0,\n        \"isServiceOrder\": false,\n        \"status\": 2,\n        \"statusReceiving\": 0,\n        \"statusPayment\": 0,\n        \"statusSending\": 0,\n        \"blanketDetails\": {\n            \"startDate\": null,\n            \"firstDeliveryDate\": null,\n            \"frequency\": null,\n            \"amountOfDeliveries\": null,\n            \"blanketSum\": 0\n        },\n        \"paymentTerm\": {\n            \"id\": 74148\n        },\n        \"company\": {\n            \"id\": 22359\n        },\n        \"prepaymentPercent\": 100,\n        \"postpaymentPercent\": 0,\n        \"paymentTermName\": \"Prepayment\",\n        \"creditPeriodDays\": 0,\n        \"qboId\": null,\n        \"netSuiteId\": null,\n        \"xeroId\": null,\n        \"externalId\": \"1233\",\n        \"externalIntegrationLog\": null,\n        \"logicType\": 0,\n        \"budgetedSum\": 0,\n        \"usedTaxPercentInBudget\": \"100.00\",\n        \"poomUrl\": null,\n        \"deliverToName\": null,\n        \"allDocumentCustomFieldOptionsIds\": null,\n        \"sendToSupplier\": true,\n        \"isNewSupplierAdded\": false,\n        \"punchoutType\": 0,\n        \"itemsChartSum\": 51.4,\n        \"approvingWay\": {\n            \"84289\": {\n                \"step\": \"1 Approval Step #1\",\n                \"approvers\": {\n                    \"95888\": {\n                        \"email\": \"apitesterfordocumentation@gmail.com\",\n                        \"datetime\": {\n                            \"date\": \"2025-02-28 12:36:20.650026\",\n                            \"timezone\": \"UTC\",\n                            \"timezone_type\": 3\n                        },\n                        \"user_approve\": true\n                    }\n                },\n                \"approve_type\": 1\n            }\n        },\n        \"location\": {\n            \"id\": 97962,\n            \"uniqueCode\": null,\n            \"name\": \"Main location\",\n            \"createDate\": \"2024-06-11T14:23:08+00:00\",\n            \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n            \"fullAddress\": null,\n            \"phone\": null,\n            \"allLocationsAccessLegalEntities\": true,\n            \"enable\": true,\n            \"locationAddress\": {\n                \"id\": null\n            },\n            \"externalId\": null\n        },\n        \"supplier\": {\n            \"id\": 719430,\n            \"uniqueCode\": \"0112356\",\n            \"name\": \"Supplier 1 Updated\",\n            \"createDate\": \"2024-07-12T10:18:00+00:00\",\n            \"updateDate\": \"2025-05-13T11:07:56+00:00\",\n            \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n            \"legalAddress\": null,\n            \"currency\": \"USD\",\n            \"currencies\": [\n                \"USD\",\n                \"UAH\"\n            ],\n            \"autoSendPOSupplier\": false,\n            \"deliveryPeriod\": 5,\n            \"minimumSum\": 100,\n            \"businessRegistrationNumber\": null,\n            \"accountHolderName\": null,\n            \"bankName\": null,\n            \"accountNumber\": null,\n            \"bankAddress\": null,\n            \"swiftCode\": null,\n            \"permanentAccountNumber\": null,\n            \"internationalBankAccountNumber\": null,\n            \"americanBankersAssociationNumber\": null,\n            \"indianFinancialSystemCode\": null,\n            \"sortCode\": null,\n            \"taxPayer\": false,\n            \"taxPayerType\": 2,\n            \"taxPayerLabel\": \"TIN\",\n            \"taxPayerNumber\": null,\n            \"phone\": null,\n            \"city\": \"Kyiv\",\n            \"country\": null,\n            \"state\": null,\n            \"postalCode\": null,\n            \"note\": \"\",\n            \"conditions\": null,\n            \"enable\": true,\n            \"qboId\": null,\n            \"netSuiteId\": null,\n            \"xeroId\": null,\n            \"externalId\": null,\n            \"marketSupplier\": {\n                \"id\": null,\n                \"minimumSum\": null\n            },\n            \"enableMarketSupplier\": false,\n            \"creditBalanceSums\": {\n                \"USD\": 0\n            },\n            \"status\": 2,\n            \"creator\": {\n                \"id\": 95888,\n                \"email\": \"apitesterfordocumentation@gmail.com\"\n            },\n            \"enterInvoiceAsOneLine\": false,\n            \"isPunchoutSupplier\": false,\n            \"isAllAccessLegalEntity\": true,\n            \"paymentTerms\": {\n                \"data\": [\n                    {\n                        \"id\": 74148,\n                        \"name\": \"Prepayment\",\n                        \"prepaymentPercent\": 100,\n                        \"postpaymentPercent\": 0,\n                        \"creditPeriodDays\": 0,\n                        \"termsDueDateAfterInvoicing\": 0,\n                        \"paymentType\": 0,\n                        \"enable\": true,\n                        \"externalId\": null\n                    }\n                ]\n            },\n            \"approvalSteps\": {\n                \"data\": []\n            },\n            \"approvingWay\": []\n        },\n        \"budget\": {\n            \"id\": null\n        },\n        \"budgetLine\": {\n            \"id\": null\n        },\n        \"legalEntity\": {\n            \"id\": 23152,\n            \"createDate\": \"2024-06-11T14:23:08+00:00\",\n            \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n            \"enable\": true,\n            \"name\": \"TEST Api Precoro\",\n            \"legalAddress\": null,\n            \"accountNumber\": null,\n            \"accountHolderName\": null,\n            \"bankName\": null,\n            \"bankAddress\": null,\n            \"sortCode\": null,\n            \"businessRegistrationNumber\": null,\n            \"taxPayerType\": 2,\n            \"taxPayerNumber\": null,\n            \"phone\": null,\n            \"keyExecutive\": null,\n            \"fullName\": null,\n            \"permanentAccountNumber\": null,\n            \"internationalBankAccountNumber\": null,\n            \"americanBankersAssociationNumber\": null,\n            \"swiftCode\": null,\n            \"indianFinancialSystemCode\": null,\n            \"externalId\": null,\n            \"uniqueCode\": null,\n            \"netSuiteId\": null\n        },\n        \"creator\": {\n            \"id\": 95888,\n            \"createDate\": \"2024-06-11T14:23:08+00:00\",\n            \"updateDate\": \"2025-06-24T12:18:36+00:00\",\n            \"email\": \"apitesterfordocumentation@gmail.com\",\n            \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n            \"locale\": \"en\",\n            \"phone\": \"+13456789\",\n            \"firstname\": \"Api\",\n            \"lastname\": \"Tester\",\n            \"position\": null,\n            \"location\": {\n                \"id\": 97962\n            },\n            \"legalEntity\": {\n                \"id\": 23152\n            },\n            \"allLocationsAccess\": true,\n            \"allUserDocumentCustomFieldsAccess\": true,\n            \"allItemGroupsAccess\": true,\n            \"roles\": [\n                \"ROLE_PURCHASE_REQUISITION\",\n                \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                \"ROLE_PURCHASE_ORDER\",\n                \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                \"ROLE_RECEIPT\",\n                \"ROLE_RECEIPT_APPROVAL\",\n                \"ROLE_INVOICE\",\n                \"ROLE_INVOICE_APPROVAL\",\n                \"ROLE_INVOICE_PAYMENT\",\n                \"ROLE_REPORT\",\n                \"ROLE_BUDGET_HOLDER\",\n                \"ROLE_SUPPLIER_MANAGEMENT\",\n                \"ROLE_SUPPLIER_APPROVAL\",\n                \"ROLE_WAREHOUSE_REQUEST\",\n                \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                \"ROLE_REQUEST_FOR_PROPOSAL\",\n                \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                \"ROLE_EXPENSE\",\n                \"ROLE_EXPENSE_APPROVAL\",\n                \"ROLE_EXPENSE_PAYMENT\",\n                \"ROLE_WAREHOUSE_MANAGER\",\n                \"ROLE_SUPER_USER\",\n                \"ROLE_OCR\",\n                \"ROLE_CONFIGURATION\",\n                \"ROLE_ITEM_MANAGEMENT\",\n                \"ROLE_USER\"\n            ],\n            \"enable\": true,\n            \"isMarketSupplier\": false,\n            \"isAvailableVacationMode\": false,\n            \"enableVacationMode\": false,\n            \"startVacationMode\": null,\n            \"endVacationMode\": null,\n            \"isPower\": true,\n            \"availableIn\": [\n                {\n                    \"id\": 22359,\n                    \"name\": \"TEST Api Precoro\",\n                    \"active\": true\n                }\n            ],\n            \"hasConfirmationToken\": false\n        },\n        \"lastEditor\": {\n            \"id\": null\n        },\n        \"approvalSteps\": {\n            \"data\": []\n        }\n    },\n    \"allDocumentCustomFieldOptionsIds\": \"267574,353627\",\n    \"externalId\": null,\n    \"netSuiteId\": null,\n    \"externalIntegrationLog\": null,\n    \"currency\": \"USD\",\n    \"exchangeRate\": {\n        \"KHR:UAH\": 0.010371,\n        \"KHR:USD\": 0.000249,\n        \"UAH:KHR\": 96.426907,\n        \"UAH:USD\": 0.024042,\n        \"USD:KHR\": 4010.695509,\n        \"USD:UAH\": 41.593116\n    },\n    \"approvingWay\": [],\n    \"location\": {\n        \"id\": 97962,\n        \"uniqueCode\": null,\n        \"name\": \"Main location\",\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"fullAddress\": null,\n        \"phone\": null,\n        \"allLocationsAccessLegalEntities\": true,\n        \"enable\": true,\n        \"locationAddress\": {\n            \"id\": null\n        },\n        \"externalId\": null\n    },\n    \"creator\": {\n        \"id\": 95888,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2025-06-24T12:18:36+00:00\",\n        \"email\": \"apitesterfordocumentation@gmail.com\",\n        \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n        \"locale\": \"en\",\n        \"phone\": \"+13456789\",\n        \"firstname\": \"Api\",\n        \"lastname\": \"Tester\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 97962\n        },\n        \"legalEntity\": {\n            \"id\": 23152\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allItemGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_INVOICE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_SUPPLIER_APPROVAL\",\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_EXPENSE\",\n            \"ROLE_EXPENSE_APPROVAL\",\n            \"ROLE_EXPENSE_PAYMENT\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPER_USER\",\n            \"ROLE_OCR\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_ITEM_MANAGEMENT\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"isPower\": true,\n        \"availableIn\": [\n            {\n                \"id\": 22359,\n                \"name\": \"TEST Api Precoro\",\n                \"active\": true\n            }\n        ],\n        \"hasConfirmationToken\": false\n    },\n    \"warehouse\": {\n        \"id\": 33405,\n        \"createDate\": \"2024-11-07T12:10:44+00:00\",\n        \"name\": \"Warehouse 1\",\n        \"enable\": true,\n        \"integration\": false,\n        \"type\": 0,\n        \"uniqueCode\": null\n    },\n    \"lastEditor\": {\n        \"id\": null\n    },\n    \"approvalSteps\": {\n        \"data\": []\n    },\n    \"dataDocumentCustomFields\": {\n        \"data\": [\n            {\n                \"id\": 1472798,\n                \"value\": \"267574\",\n                \"type\": 1,\n                \"documentCustomField\": {\n                    \"id\": 29942\n                }\n            },\n            {\n                \"id\": 1472799,\n                \"value\": \"353627\",\n                \"type\": 1,\n                \"documentCustomField\": {\n                    \"id\": 32806\n                }\n            }\n        ]\n    },\n    \"items\": {\n        \"data\": [\n            {\n                \"id\": 3416946,\n                \"received\": 1,\n                \"receipt\": {\n                    \"idn\": 2\n                },\n                \"status\": 0,\n                \"name\": \"Home Desk\",\n                \"sku\": \"173516\",\n                \"description\": null,\n                \"addedToCreditNote\": 0,\n                \"dataItemCustomFields\": {\n                    \"data\": [\n                        {\n                            \"id\": 2629643,\n                            \"value\": \"796632\",\n                            \"itemCustomField\": {\n                                \"id\": 29663\n                            }\n                        }\n                    ]\n                },\n                \"purchaseOrderItem\": {\n                    \"id\": 6017475,\n                    \"sku\": \"173516\",\n                    \"name\": \"Home Desk\",\n                    \"unit\": null,\n                    \"ordered\": 1,\n                    \"rejected\": 0,\n                    \"invoiced\": 0,\n                    \"received\": 0,\n                    \"addedToReceipt\": 1,\n                    \"addedToInvoice\": 0,\n                    \"waiting\": 1,\n                    \"item\": {\n                        \"id\": 1447004,\n                        \"price\": 49.9\n                    }\n                },\n                \"category\": {\n                    \"id\": null\n                }\n            }\n        ]\n    },\n    \"comments\": {\n        \"data\": []\n    },\n    \"followers\": {\n        \"data\": [\n            {\n                \"id\": 14237538,\n                \"user_status\": 1,\n                \"user_email\": \"apitesterfordocumentation@gmail.com\",\n                \"isAvailableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null\n            }\n        ]\n    },\n    \"attachments\": {\n        \"data\": []\n    }\n}"}],"_postman_id":"fe6e3709-a50c-423a-b2dc-9037f930184e"},{"name":"Create Receipt from Service Purchase Order","id":"39df7e4c-754a-4582-bbaa-82c22ff72a5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token"},{"key":"email","value":"user@company.com"}],"body":{"mode":"raw","raw":"{\n    \"requiredDate\": \"2026-04-16T00:00:00+00:00\",\n    \"warehouse\": {\n        \"id\": null\n    },\n    \"note\": null,\n    \"receiptNumber\": null,\n    \"location\": {\n        \"id\": 108144\n    },\n    \"dataDocumentCustomFields\": {\n        \"data\": [\n            {\n                \"documentCustomField\": {\n                    \"id\": \"33269\"\n                },\n                \"value\": \"358681\"\n            },\n            {\n                \"documentCustomField\": {\n                    \"id\": \"33572\"\n                },\n                \"value\": \"362446\"\n            }\n        ]\n    },\n    \"currency\": \"EUR\",\n    \"selectedItems\": {\n        \"87168\": {\n            \"purchaseOrderItem\": {\n                \"id\": 87168\n            },\n            \"netTotal\": 50,\n            \"dataItemCustomFields\": [\n                {\n                    \"itemCustomField\": {\n                        \"id\": 30055\n                    },\n                    \"value\": \"811238\"\n                },\n                {\n                    \"itemCustomField\": {\n                        \"id\": 30054\n                    },\n                    \"value\": \"811221\"\n                }\n            ]\n        },\n        \"87169\": {\n            \"purchaseOrderItem\": {\n                \"id\": 87169\n            },\n            \"netTotal\": 5,\n            \"dataItemCustomFields\": [\n                {\n                    \"itemCustomField\": {\n                        \"id\": 30054\n                    },\n                    \"value\": \"811221\"\n                },\n                {\n                    \"itemCustomField\": {\n                        \"id\": 30055\n                    },\n                    \"value\": \"811238\"\n                }\n            ]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.precoro.com/receipts/{{purchase_order_idn}}","description":"<p>Creates a Receipt from a Service Purchase Order (SPO). For SPO receipts, each item in <code>selectedItems</code> uses <code>netTotal</code> (monetary amount) instead of <code>received</code> (quantity) used in standard PO receipts.</p>\n","urlObject":{"protocol":"https","path":["receipts","{{purchase_order_idn}}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"f9ac868e-7aee-484d-8bda-104ebf87e23e","name":"Create Receipt from Service Purchase Order","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token"},{"key":"email","value":"user@company.com"}],"body":{"mode":"raw","raw":"{\n    \"requiredDate\": \"2026-04-16T00:00:00+00:00\",\n    \"warehouse\": {\n        \"id\": null\n    },\n    \"note\": null,\n    \"receiptNumber\": null,\n    \"location\": {\n        \"id\": 108144\n    },\n    \"dataDocumentCustomFields\": {\n        \"data\": [\n            {\n                \"documentCustomField\": {\n                    \"id\": \"33269\"\n                },\n                \"value\": \"358681\"\n            },\n            {\n                \"documentCustomField\": {\n                    \"id\": \"33572\"\n                },\n                \"value\": \"362446\"\n            }\n        ]\n    },\n    \"currency\": \"EUR\",\n    \"selectedItems\": {\n        \"87168\": {\n            \"purchaseOrderItem\": {\n                \"id\": 87168\n            },\n            \"netTotal\": 50,\n            \"dataItemCustomFields\": [\n                {\n                    \"itemCustomField\": {\n                        \"id\": 30055\n                    },\n                    \"value\": \"811238\"\n                },\n                {\n                    \"itemCustomField\": {\n                        \"id\": 30054\n                    },\n                    \"value\": \"811221\"\n                }\n            ]\n        },\n        \"87169\": {\n            \"purchaseOrderItem\": {\n                \"id\": 87169\n            },\n            \"netTotal\": 5,\n            \"dataItemCustomFields\": [\n                {\n                    \"itemCustomField\": {\n                        \"id\": 30054\n                    },\n                    \"value\": \"811221\"\n                },\n                {\n                    \"itemCustomField\": {\n                        \"id\": 30055\n                    },\n                    \"value\": \"811238\"\n                }\n            ]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.precoro.com/receipts/15"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\"id\":1485722,\"idn\":3,\"customName\":null,\"createDate\":\"2026-04-23T13:57:15+00:00\",\"updateDate\":\"2026-04-23T13:57:16+00:00\",\"requiredDate\":\"2026-04-23T00:00:00+00:00\",\"approvalDate\":null,\"note\":\"Service receipt example\",\"status\":0,\"isServiceOrder\":true,\"receiptNumber\":null,\"purchaseOrder\":{\"id\":2457993,\"idn\":\"15\",\"isServiceOrder\":true,\"status\":2,\"logicType\":5,\"currency\":\"USD\"},\"allDocumentCustomFieldOptionsIds\":\"267574,353627\",\"externalId\":null,\"netSuiteId\":null,\"integrationStatus\":null,\"externalIntegrationLog\":null,\"currency\":\"USD\",\"logicType\":0,\"location\":{\"id\":97962,\"name\":\"Main location\"},\"warehouse\":{\"id\":null},\"dataDocumentCustomFields\":{\"data\":[{\"id\":1808423,\"value\":\"267574\",\"type\":1,\"documentCustomField\":{\"id\":29942}},{\"id\":1808424,\"value\":\"353627\",\"type\":1,\"documentCustomField\":{\"id\":32806}}]},\"items\":{\"data\":[{\"id\":23655,\"netTotal\":100,\"status\":0,\"name\":\"Item Name\",\"sku\":\"SKU\",\"isServiceItem\":true,\"dataItemCustomFields\":{\"data\":[]},\"purchaseOrderItem\":{\"id\":70545,\"netTotal\":100,\"freeOfCharge\":false,\"canBeReceived\":true,\"invoicedAmount\":0,\"receivedAmount\":0,\"addedToReceiptAmount\":100}}]},\"comments\":{\"data\":[]},\"followers\":{\"data\":[{\"id\":17165247,\"user_status\":1,\"user_email\":\"apitesterfordocumentation@gmail.com\"}]},\"attachments\":{\"data\":[]},\"relatedInvoices\":[],\"relatedPurchaseRequisitions\":[],\"relatedRequestForProposals\":[]}"}],"_postman_id":"39df7e4c-754a-4582-bbaa-82c22ff72a5b"}],"id":"745cecaf-57e5-4265-bfde-4b21a3da0028","description":"<p>Status values description:<br /><strong>OPEN</strong> = 0<br /><strong>PENDING</strong> = 1<br /><strong>APPROVED</strong> = 2<br /><strong>DENIED</strong> = 3<br /><strong>AWAITING_CONFIRMATION</strong> = 6</p>\n<p><strong>ON_REVISE</strong> = 7<br /><strong>CANCELED</strong> = 8</p>\n<p><strong>APPROVAL_REVIEW</strong> = 10<br /><strong>CLOSED</strong> = 11</p>\n<hr />\n<p>Items status description:<br /><strong>APPROVED</strong> = 1<br /><strong>REJECTED</strong> = 2</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"411220ca-c662-4d3e-89d5-0a09cbe441a4"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"fb1a9a6c-0341-41cc-8801-b64fb4f1c162"}}],"_postman_id":"745cecaf-57e5-4265-bfde-4b21a3da0028"},{"name":"Invoices and Credit Notes","item":[{"name":"Get Invoices list","id":"156705a2-9458-4afd-a505-f2761dabfed8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/invoices?modifiedSince=2022-12-12T00:00:00&per_page=100&page=1&approvalLeftDate=2022-12-12T00:00:00&approvalRightDate=2024-01-10T00:00:00&status[]=2&status[]=4&logicType[]=0","description":"<h2 id=\"external_id-filter\"><code>external_id[]</code> filter</h2>\n<p>Filter results by <code>externalId</code> — the identifier set on a Precoro record by your external system.</p>\n<p><strong>Rules:</strong></p>\n<ul>\n<li>Must be passed as an <strong>array</strong>: <code>external_id[]=101&amp;external_id[]=102</code></li>\n<li>Single value (<code>external_id=101</code>) is <strong>silently ignored</strong></li>\n<li>Values must be <strong>numeric</strong> — non-numeric values cause the filter to be silently skipped (full unfiltered list is returned)</li>\n<li>Maximum <strong>200</strong> values; exceeding this returns <code>400 Bad Request</code></li>\n</ul>\n<p><strong>Error response (&gt;200 values):</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"errors\": {\n        \"errors\": {\n            \"item_filter\": \"Too many external_id filter params. Maximum amount is 200\"\n        }\n    }\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["invoices"],"host":["api","precoro","com"],"query":[{"description":{"content":"<p>(optionally) If an object was created or modified since the date, it will appears in results</p>\n","type":"text/plain"},"key":"modifiedSince","value":"2022-12-12T00:00:00"},{"description":{"content":"<p>(optionally) Number of items per page. Available options: 10, 20, 50, 100, 200</p>\n","type":"text/plain"},"key":"per_page","value":"100"},{"description":{"content":"<p>(optionally) Page number to be displayed</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>(optionally) If an object was approved since the date, it will appear in the results</p>\n","type":"text/plain"},"key":"approvalLeftDate","value":"2022-12-12T00:00:00"},{"description":{"content":"<p>(optionally) If an object was approved before the date, it will appear in the results</p>\n","type":"text/plain"},"key":"approvalRightDate","value":"2024-01-10T00:00:00"},{"description":{"content":"<p>(optionally) Return invoices on status approved</p>\n","type":"text/plain"},"key":"status[]","value":"2"},{"description":{"content":"<p>(optionally) Return invoices on status partly paid</p>\n","type":"text/plain"},"key":"status[]","value":"4"},{"description":{"content":"<p>(optionally) Return invoices of standard type</p>\n","type":"text/plain"},"key":"logicType[]","value":"0"},{"disabled":true,"description":{"content":"<p>Filter by externalId. Must be a numeric string. Repeat this param to pass multiple values: external_id[]=101&amp;external_id[]=102</p>\n","type":"text/plain"},"key":"external_id[]","value":"1"},{"disabled":true,"description":{"content":"<p>Add another value. Maximum 200 values total. Non-numeric values silently disable the filter.</p>\n","type":"text/plain"},"key":"external_id[]","value":"2"}],"variable":[]}},"response":[{"id":"01aa2384-8935-416a-bed7-c7b0a0f8841b","name":"Get Invoices list","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":{"raw":"https://api.precoro.com/invoices?modifiedSince=2022-12-12T00:00:00&per_page=100&page=1&status[]=2&status[]=4&logicType[]=0","protocol":"https","host":["api","precoro","com"],"path":["invoices"],"query":[{"key":"modifiedSince","value":"2022-12-12T00:00:00","description":"(optionally) If an object was created or modified since the date, it will appears in results"},{"key":"per_page","value":"100","description":"(optionally) Number of items per page. Available options: 10, 20, 50, 100, 200"},{"key":"page","value":"1","description":"(optionally) Page number to be displayed"},{"key":"approvalLeftDate","value":"2022-12-12T00:00:00","description":"(optionally) If an object was approved since the date, it will appear in the results","disabled":true},{"key":"approvalRightDate","value":"2024-01-10T00:00:00","description":"(optionally) If an object was approved before the date, it will appear in the results","disabled":true},{"key":"status[]","value":"2","description":"(optionally) Return invoices on status approved"},{"key":"status[]","value":"4","description":"(optionally) Return invoices on status partly paid"},{"key":"logicType[]","value":"0","description":"(optionally) Return invoices of standard type"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 14:05:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 14:05:01 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=jNBDGoqQtyIFOtB86kiksZBmeypSlooV%2Fy2xGulpXS1JwkwFhDy%2B%2BC6z4gc0nQ9Gvqshf4V%2F0pgcFkzZ7v6Q%2BKo2BZyUd3QYxEHP3bU%2Fd%2Fbi%2FkzBV0LGYYmpJWKwmLS4DQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9190f78f9d372c11-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=2322&min_rtt=1484&rtt_var=1155&sent=3&recv=5&lost=0&retrans=0&sent_bytes=219&recv_bytes=1212&delivery_rate=975741&cwnd=228&unsent_bytes=0&cid=41cfd774b30caa25&ts=495&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1534891,\n            \"idn\": \"6\",\n            \"customName\": null,\n            \"createDate\": \"2025-02-28T13:49:52+00:00\",\n            \"updateDate\": \"2025-02-28T13:49:57+00:00\",\n            \"requiredDate\": \"2024-12-02T00:00:00+00:00\",\n            \"issueDate\": \"2024-11-27T00:00:00+00:00\",\n            \"approvalDate\": \"2025-02-28T13:49:57+00:00\",\n            \"sumPaid\": \"0.00\",\n            \"sumPaidInCompanyCurrency\": \"0.00\",\n            \"sum\": 3766.21,\n            \"netSum\": 3656.51,\n            \"sumInCompanyCurrency\": 3766.21,\n            \"netSumInCompanyCurrency\": 3656.51,\n            \"withholdingTaxSum\": 0,\n            \"currency\": \"USD\",\n            \"precisionData\": {\n                \"USD\": {\n                    \"precision\": 2,\n                    \"roundMode\": \"math\"\n                }\n            },\n            \"note\": null,\n            \"exchangeRate\": {\n                \"KHR:UAH\": 0.010371,\n                \"KHR:USD\": 0.000249,\n                \"UAH:KHR\": 96.426907,\n                \"UAH:USD\": 0.024042,\n                \"USD:KHR\": 4010.695509,\n                \"USD:UAH\": 41.593116\n            },\n            \"fromSupplier\": false,\n            \"isServiceOrder\": false,\n            \"status\": 2,\n            \"logicType\": 0,\n            \"invoiceNumber\": \"AAA 0138\",\n            \"deliveryNote\": null,\n            \"toleranceRateSum\": \"0.00\",\n            \"toleranceRatePercent\": \"0.00\",\n            \"purchaseOrder\": {\n                \"id\": null,\n                \"idn\": null,\n                \"creator\": {\n                    \"id\": null\n                }\n            },\n            \"prepaymentPercent\": 0,\n            \"postpaymentPercent\": 100,\n            \"creditPeriodDays\": 0,\n            \"paymentTerm\": {\n                \"id\": 74149\n            },\n            \"company\": {\n                \"id\": 22359\n            },\n            \"qboId\": null,\n            \"netSuiteId\": null,\n            \"xeroId\": null,\n            \"externalId\": null,\n            \"externalIntegrationLog\": null,\n            \"budgetedSum\": 0,\n            \"usedTaxPercentInBudget\": \"100.00\",\n            \"allDocumentCustomFieldOptionsIds\": null,\n            \"isNewSupplierAdded\": false,\n            \"itemsChartSum\": 3766.21,\n            \"approvingWay\": [],\n            \"location\": {\n                \"id\": 97962,\n                \"uniqueCode\": null,\n                \"name\": \"Main location\",\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"fullAddress\": null,\n                \"afaxysLocationId\": null,\n                \"phone\": null,\n                \"allLocationsAccessLegalEntities\": true,\n                \"enable\": true,\n                \"locationAddress\": {\n                    \"id\": null\n                },\n                \"externalId\": null\n            },\n            \"supplier\": {\n                \"id\": 723124,\n                \"uniqueCode\": \"01123\",\n                \"name\": \"Supplier 2\",\n                \"createDate\": \"2024-07-22T13:36:04+00:00\",\n                \"updateDate\": \"2024-10-10T13:53:08+00:00\",\n                \"approvalDate\": \"2024-07-22T13:36:04+00:00\",\n                \"legalAddress\": null,\n                \"currency\": \"USD\",\n                \"currencies\": [\n                    \"USD\",\n                    \"UAH\"\n                ],\n                \"autoSendPOSupplier\": false,\n                \"deliveryPeriod\": 5,\n                \"minimumSum\": 100,\n                \"businessRegistrationNumber\": null,\n                \"accountHolderName\": null,\n                \"bankName\": null,\n                \"accountNumber\": null,\n                \"bankAddress\": null,\n                \"swiftCode\": null,\n                \"permanentAccountNumber\": null,\n                \"internationalBankAccountNumber\": null,\n                \"americanBankersAssociationNumber\": null,\n                \"indianFinancialSystemCode\": null,\n                \"sortCode\": null,\n                \"taxPayer\": false,\n                \"taxPayerType\": 2,\n                \"taxPayerLabel\": \"TIN\",\n                \"taxPayerNumber\": null,\n                \"phone\": null,\n                \"city\": null,\n                \"country\": null,\n                \"state\": null,\n                \"postalCode\": null,\n                \"note\": null,\n                \"conditions\": null,\n                \"enable\": true,\n                \"isMarketUpdatable\": false,\n                \"qboId\": null,\n                \"netSuiteId\": null,\n                \"xeroId\": null,\n                \"externalId\": null,\n                \"marketSupplier\": {\n                    \"id\": null,\n                    \"minimumSum\": null\n                },\n                \"enableMarketSupplier\": false,\n                \"creditBalanceSums\": {\n                    \"UAH\": 0,\n                    \"USD\": 0\n                },\n                \"afaxysSupplierId\": null,\n                \"status\": 2,\n                \"creator\": {\n                    \"id\": 95888,\n                    \"email\": \"apitesterfordocumentation@gmail.com\"\n                },\n                \"enterInvoiceAsOneLine\": true,\n                \"isPunchoutSupplier\": false,\n                \"paymentTerms\": {\n                    \"data\": [\n                        {\n                            \"id\": 74148,\n                            \"name\": \"Prepayment\",\n                            \"prepaymentPercent\": 100,\n                            \"postpaymentPercent\": 0,\n                            \"creditPeriodDays\": 0,\n                            \"termsDueDateAfterInvoicing\": 0,\n                            \"paymentType\": 0,\n                            \"enable\": true,\n                            \"externalId\": null\n                        },\n                        {\n                            \"id\": 74149,\n                            \"name\": \"Postpayment\",\n                            \"prepaymentPercent\": 0,\n                            \"postpaymentPercent\": 100,\n                            \"creditPeriodDays\": 0,\n                            \"termsDueDateAfterInvoicing\": 0,\n                            \"paymentType\": 1,\n                            \"enable\": true,\n                            \"externalId\": null\n                        }\n                    ]\n                },\n                \"approvalSteps\": {\n                    \"data\": []\n                },\n                \"approvingWay\": []\n            },\n            \"budget\": [],\n            \"budgetLine\": [],\n            \"legalEntity\": {\n                \"id\": 23152,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"enable\": true,\n                \"name\": \"TEST Api Precoro\",\n                \"legalAddress\": null,\n                \"accountNumber\": null,\n                \"accountHolderName\": null,\n                \"bankName\": null,\n                \"bankAddress\": null,\n                \"sortCode\": null,\n                \"businessRegistrationNumber\": null,\n                \"taxPayerType\": 2,\n                \"taxPayerNumber\": null,\n                \"phone\": null,\n                \"keyExecutive\": null,\n                \"fullName\": null,\n                \"permanentAccountNumber\": null,\n                \"internationalBankAccountNumber\": null,\n                \"americanBankersAssociationNumber\": null,\n                \"swiftCode\": null,\n                \"indianFinancialSystemCode\": null,\n                \"externalId\": null,\n                \"uniqueCode\": null\n            },\n            \"creator\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"availableIn\": [\n                    {\n                        \"id\": 22359,\n                        \"name\": \"TEST Api Precoro\",\n                        \"active\": true\n                    }\n                ],\n                \"hasConfirmationToken\": false\n            },\n            \"lastEditor\": [],\n            \"approvalSteps\": {\n                \"data\": []\n            },\n            \"dataDocumentCustomFields\": {\n                \"data\": []\n            },\n            \"approvalInfo\": {\n                \"canApproveDocument\": false,\n                \"canRejectDocument\": false\n            },\n            \"allocatedInvoice\": [],\n            \"ocrAttachment\": {\n                \"id\": 151147,\n                \"name\": \"Lord Of The Beans S.R.L.-AAA 0138.pdf\",\n                \"file\": 5032826,\n                \"type\": 0\n            },\n            \"entityTemplate\": [],\n            \"relatedCreditNotes\": [],\n            \"relatedCreditNotesCount\": 0,\n            \"withholdingTaxSumInCompanyCurrency\": 0,\n            \"documentSplits\": {\n                \"data\": []\n            }\n        },\n        {\n            \"id\": 1335829,\n            \"idn\": \"3\",\n            \"customName\": null,\n            \"createDate\": \"2024-09-19T14:23:14+00:00\",\n            \"updateDate\": \"2024-12-12T09:41:21+00:00\",\n            \"requiredDate\": \"2024-09-20T00:00:00+00:00\",\n            \"issueDate\": \"2024-09-20T00:00:00+00:00\",\n            \"approvalDate\": \"2024-09-19T14:23:21+00:00\",\n            \"sumPaid\": \"0.06\",\n            \"sumPaidInCompanyCurrency\": \"0.06\",\n            \"sum\": 51.4,\n            \"netSum\": 49.9,\n            \"sumInCompanyCurrency\": 51.4,\n            \"netSumInCompanyCurrency\": 49.9,\n            \"withholdingTaxSum\": 0,\n            \"currency\": \"USD\",\n            \"precisionData\": {\n                \"USD\": {\n                    \"precision\": 2,\n                    \"roundMode\": \"math\"\n                }\n            },\n            \"note\": null,\n            \"exchangeRate\": {\n                \"UAH:USD\": 0.024096,\n                \"USD:UAH\": 41.500415\n            },\n            \"fromSupplier\": false,\n            \"isServiceOrder\": false,\n            \"status\": 4,\n            \"logicType\": 0,\n            \"invoiceNumber\": null,\n            \"deliveryNote\": null,\n            \"toleranceRateSum\": \"0.00\",\n            \"toleranceRatePercent\": \"0.00\",\n            \"purchaseOrder\": {\n                \"id\": null,\n                \"idn\": null,\n                \"creator\": {\n                    \"id\": null\n                }\n            },\n            \"prepaymentPercent\": 100,\n            \"postpaymentPercent\": 0,\n            \"creditPeriodDays\": 0,\n            \"paymentTerm\": {\n                \"id\": 74148\n            },\n            \"company\": {\n                \"id\": 22359\n            },\n            \"qboId\": null,\n            \"netSuiteId\": null,\n            \"xeroId\": null,\n            \"externalId\": null,\n            \"externalIntegrationLog\": null,\n            \"budgetedSum\": 0,\n            \"usedTaxPercentInBudget\": \"100.00\",\n            \"allDocumentCustomFieldOptionsIds\": \"267574\",\n            \"isNewSupplierAdded\": false,\n            \"itemsChartSum\": 51.4,\n            \"approvingWay\": [],\n            \"location\": {\n                \"id\": 97962,\n                \"uniqueCode\": null,\n                \"name\": \"Main location\",\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"fullAddress\": null,\n                \"afaxysLocationId\": null,\n                \"phone\": null,\n                \"allLocationsAccessLegalEntities\": true,\n                \"enable\": true,\n                \"locationAddress\": {\n                    \"id\": null\n                },\n                \"externalId\": null\n            },\n            \"supplier\": {\n                \"id\": 719430,\n                \"uniqueCode\": \"123AB\",\n                \"name\": \"Supplier 1\",\n                \"createDate\": \"2024-07-12T10:18:00+00:00\",\n                \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n                \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n                \"legalAddress\": null,\n                \"currency\": \"USD\",\n                \"currencies\": [\n                    \"USD\"\n                ],\n                \"autoSendPOSupplier\": false,\n                \"deliveryPeriod\": 0,\n                \"minimumSum\": 10,\n                \"businessRegistrationNumber\": null,\n                \"accountHolderName\": null,\n                \"bankName\": null,\n                \"accountNumber\": null,\n                \"bankAddress\": null,\n                \"swiftCode\": null,\n                \"permanentAccountNumber\": null,\n                \"internationalBankAccountNumber\": null,\n                \"americanBankersAssociationNumber\": null,\n                \"indianFinancialSystemCode\": null,\n                \"sortCode\": null,\n                \"taxPayer\": false,\n                \"taxPayerType\": 0,\n                \"taxPayerLabel\": \"Tax Payer Number\",\n                \"taxPayerNumber\": null,\n                \"phone\": null,\n                \"city\": null,\n                \"country\": null,\n                \"state\": null,\n                \"postalCode\": null,\n                \"note\": null,\n                \"conditions\": null,\n                \"enable\": true,\n                \"isMarketUpdatable\": false,\n                \"qboId\": null,\n                \"netSuiteId\": null,\n                \"xeroId\": null,\n                \"externalId\": null,\n                \"marketSupplier\": {\n                    \"id\": null,\n                    \"minimumSum\": null\n                },\n                \"enableMarketSupplier\": false,\n                \"creditBalanceSums\": {\n                    \"USD\": 0\n                },\n                \"afaxysSupplierId\": null,\n                \"status\": 2,\n                \"creator\": {\n                    \"id\": 95888,\n                    \"email\": \"apitesterfordocumentation@gmail.com\"\n                },\n                \"enterInvoiceAsOneLine\": false,\n                \"isPunchoutSupplier\": false,\n                \"paymentTerms\": {\n                    \"data\": [\n                        {\n                            \"id\": 74148,\n                            \"name\": \"Prepayment\",\n                            \"prepaymentPercent\": 100,\n                            \"postpaymentPercent\": 0,\n                            \"creditPeriodDays\": 0,\n                            \"termsDueDateAfterInvoicing\": 0,\n                            \"paymentType\": 0,\n                            \"enable\": true,\n                            \"externalId\": null\n                        }\n                    ]\n                },\n                \"approvalSteps\": {\n                    \"data\": []\n                },\n                \"approvingWay\": []\n            },\n            \"budget\": [],\n            \"budgetLine\": [],\n            \"legalEntity\": {\n                \"id\": 23152,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"enable\": true,\n                \"name\": \"TEST Api Precoro\",\n                \"legalAddress\": null,\n                \"accountNumber\": null,\n                \"accountHolderName\": null,\n                \"bankName\": null,\n                \"bankAddress\": null,\n                \"sortCode\": null,\n                \"businessRegistrationNumber\": null,\n                \"taxPayerType\": 2,\n                \"taxPayerNumber\": null,\n                \"phone\": null,\n                \"keyExecutive\": null,\n                \"fullName\": null,\n                \"permanentAccountNumber\": null,\n                \"internationalBankAccountNumber\": null,\n                \"americanBankersAssociationNumber\": null,\n                \"swiftCode\": null,\n                \"indianFinancialSystemCode\": null,\n                \"externalId\": null,\n                \"uniqueCode\": null\n            },\n            \"creator\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"availableIn\": [\n                    {\n                        \"id\": 22359,\n                        \"name\": \"TEST Api Precoro\",\n                        \"active\": true\n                    }\n                ],\n                \"hasConfirmationToken\": false\n            },\n            \"lastEditor\": [],\n            \"approvalSteps\": {\n                \"data\": []\n            },\n            \"dataDocumentCustomFields\": {\n                \"data\": [\n                    {\n                        \"id\": 3203315,\n                        \"value\": \"267574\",\n                        \"type\": 1,\n                        \"documentCustomField\": {\n                            \"id\": 29942\n                        }\n                    }\n                ]\n            },\n            \"approvalInfo\": {\n                \"canApproveDocument\": false,\n                \"canRejectDocument\": false\n            },\n            \"allocatedInvoice\": [],\n            \"ocrAttachment\": [],\n            \"entityTemplate\": [],\n            \"relatedCreditNotes\": [],\n            \"relatedCreditNotesCount\": 0,\n            \"withholdingTaxSumInCompanyCurrency\": 0,\n            \"documentSplits\": {\n                \"data\": []\n            }\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 2,\n            \"count\": 2,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": {}\n        }\n    }\n}"}],"_postman_id":"156705a2-9458-4afd-a505-f2761dabfed8"},{"name":"Get Credit Notes list","id":"fa046da1-911f-41d0-9c2c-3f3b0fae050e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/invoices?modifiedSince=2022-12-12T00:00:00&per_page=100&page=1&approvalLeftDate=2022-12-12T00:00:00&approvalRightDate=2024-01-10T00:00:00&status[]=2&status[]=4&logicType[]=1","description":"<h2 id=\"external_id-filter\"><code>external_id[]</code> filter</h2>\n<p>Filter results by <code>externalId</code> — the identifier set on a Precoro record by your external system.</p>\n<p><strong>Rules:</strong></p>\n<ul>\n<li>Must be passed as an <strong>array</strong>: <code>external_id[]=101&amp;external_id[]=102</code></li>\n<li>Single value (<code>external_id=101</code>) is <strong>silently ignored</strong></li>\n<li>Values must be <strong>numeric</strong> — non-numeric values cause the filter to be silently skipped (full unfiltered list is returned)</li>\n<li>Maximum <strong>200</strong> values; exceeding this returns <code>400 Bad Request</code></li>\n</ul>\n<p><strong>Error response (&gt;200 values):</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"errors\": {\n        \"errors\": {\n            \"item_filter\": \"Too many external_id filter params. Maximum amount is 200\"\n        }\n    }\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["invoices"],"host":["api","precoro","com"],"query":[{"description":{"content":"<p>(optionally) If an object was created or modified since the date, it will appears in results</p>\n","type":"text/plain"},"key":"modifiedSince","value":"2022-12-12T00:00:00"},{"description":{"content":"<p>(optionally) Number of items per page. Available options: 10, 20, 50, 100, 200</p>\n","type":"text/plain"},"key":"per_page","value":"100"},{"description":{"content":"<p>(optionally) Page number to be displayed</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>(optionally) If an object was approved since the date, it will appear in the results</p>\n","type":"text/plain"},"key":"approvalLeftDate","value":"2022-12-12T00:00:00"},{"description":{"content":"<p>(optionally) If an object was approved before the date, it will appear in the results</p>\n","type":"text/plain"},"key":"approvalRightDate","value":"2024-01-10T00:00:00"},{"description":{"content":"<p>(optionally) Return credit notes on status approved</p>\n","type":"text/plain"},"key":"status[]","value":"2"},{"description":{"content":"<p>(optionally) Return credit notes on status partly paid</p>\n","type":"text/plain"},"key":"status[]","value":"4"},{"description":{"content":"<p>Return invoices of credit note type</p>\n","type":"text/plain"},"key":"logicType[]","value":"1"},{"disabled":true,"description":{"content":"<p>Filter by externalId. Must be a numeric string. Repeat this param to pass multiple values: external_id[]=101&amp;external_id[]=102</p>\n","type":"text/plain"},"key":"external_id[]","value":"1"},{"disabled":true,"description":{"content":"<p>Add another value. Maximum 200 values total. Non-numeric values silently disable the filter.</p>\n","type":"text/plain"},"key":"external_id[]","value":"2"}],"variable":[]}},"response":[{"id":"b736c11d-3f92-4dc2-8cd8-6e3ec762960e","name":"Get Invoices list","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":{"raw":"https://api.precoro.com/invoices?modifiedSince=2022-12-12T00:00:00&per_page=100&page=1&status[]=2&status[]=4&logicType[]=0","protocol":"https","host":["api","precoro","com"],"path":["invoices"],"query":[{"key":"modifiedSince","value":"2022-12-12T00:00:00","description":"(optionally) If an object was created or modified since the date, it will appears in results"},{"key":"per_page","value":"100","description":"(optionally) Number of items per page. Available options: 10, 20, 50, 100, 200"},{"key":"page","value":"1","description":"(optionally) Page number to be displayed"},{"key":"approvalLeftDate","value":"2022-12-12T00:00:00","description":"(optionally) If an object was approved since the date, it will appear in the results","disabled":true},{"key":"approvalRightDate","value":"2024-01-10T00:00:00","description":"(optionally) If an object was approved before the date, it will appear in the results","disabled":true},{"key":"status[]","value":"2","description":"(optionally) Return invoices on status approved"},{"key":"status[]","value":"4","description":"(optionally) Return invoices on status partly paid"},{"key":"logicType[]","value":"0","description":"(optionally) Return invoices of standard type"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 14:05:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 14:05:01 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=jNBDGoqQtyIFOtB86kiksZBmeypSlooV%2Fy2xGulpXS1JwkwFhDy%2B%2BC6z4gc0nQ9Gvqshf4V%2F0pgcFkzZ7v6Q%2BKo2BZyUd3QYxEHP3bU%2Fd%2Fbi%2FkzBV0LGYYmpJWKwmLS4DQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9190f78f9d372c11-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=2322&min_rtt=1484&rtt_var=1155&sent=3&recv=5&lost=0&retrans=0&sent_bytes=219&recv_bytes=1212&delivery_rate=975741&cwnd=228&unsent_bytes=0&cid=41cfd774b30caa25&ts=495&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1534891,\n            \"idn\": \"6\",\n            \"customName\": null,\n            \"createDate\": \"2025-02-28T13:49:52+00:00\",\n            \"updateDate\": \"2025-02-28T13:49:57+00:00\",\n            \"requiredDate\": \"2024-12-02T00:00:00+00:00\",\n            \"issueDate\": \"2024-11-27T00:00:00+00:00\",\n            \"approvalDate\": \"2025-02-28T13:49:57+00:00\",\n            \"sumPaid\": \"0.00\",\n            \"sumPaidInCompanyCurrency\": \"0.00\",\n            \"sum\": 3766.21,\n            \"netSum\": 3656.51,\n            \"sumInCompanyCurrency\": 3766.21,\n            \"netSumInCompanyCurrency\": 3656.51,\n            \"withholdingTaxSum\": 0,\n            \"currency\": \"USD\",\n            \"precisionData\": {\n                \"USD\": {\n                    \"precision\": 2,\n                    \"roundMode\": \"math\"\n                }\n            },\n            \"note\": null,\n            \"exchangeRate\": {\n                \"KHR:UAH\": 0.010371,\n                \"KHR:USD\": 0.000249,\n                \"UAH:KHR\": 96.426907,\n                \"UAH:USD\": 0.024042,\n                \"USD:KHR\": 4010.695509,\n                \"USD:UAH\": 41.593116\n            },\n            \"fromSupplier\": false,\n            \"isServiceOrder\": false,\n            \"status\": 2,\n            \"logicType\": 0,\n            \"invoiceNumber\": \"AAA 0138\",\n            \"deliveryNote\": null,\n            \"toleranceRateSum\": \"0.00\",\n            \"toleranceRatePercent\": \"0.00\",\n            \"purchaseOrder\": {\n                \"id\": null,\n                \"idn\": null,\n                \"creator\": {\n                    \"id\": null\n                }\n            },\n            \"prepaymentPercent\": 0,\n            \"postpaymentPercent\": 100,\n            \"creditPeriodDays\": 0,\n            \"paymentTerm\": {\n                \"id\": 74149\n            },\n            \"company\": {\n                \"id\": 22359\n            },\n            \"qboId\": null,\n            \"netSuiteId\": null,\n            \"xeroId\": null,\n            \"externalId\": null,\n            \"externalIntegrationLog\": null,\n            \"budgetedSum\": 0,\n            \"usedTaxPercentInBudget\": \"100.00\",\n            \"allDocumentCustomFieldOptionsIds\": null,\n            \"isNewSupplierAdded\": false,\n            \"itemsChartSum\": 3766.21,\n            \"approvingWay\": [],\n            \"location\": {\n                \"id\": 97962,\n                \"uniqueCode\": null,\n                \"name\": \"Main location\",\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"fullAddress\": null,\n                \"afaxysLocationId\": null,\n                \"phone\": null,\n                \"allLocationsAccessLegalEntities\": true,\n                \"enable\": true,\n                \"locationAddress\": {\n                    \"id\": null\n                },\n                \"externalId\": null\n            },\n            \"supplier\": {\n                \"id\": 723124,\n                \"uniqueCode\": \"01123\",\n                \"name\": \"Supplier 2\",\n                \"createDate\": \"2024-07-22T13:36:04+00:00\",\n                \"updateDate\": \"2024-10-10T13:53:08+00:00\",\n                \"approvalDate\": \"2024-07-22T13:36:04+00:00\",\n                \"legalAddress\": null,\n                \"currency\": \"USD\",\n                \"currencies\": [\n                    \"USD\",\n                    \"UAH\"\n                ],\n                \"autoSendPOSupplier\": false,\n                \"deliveryPeriod\": 5,\n                \"minimumSum\": 100,\n                \"businessRegistrationNumber\": null,\n                \"accountHolderName\": null,\n                \"bankName\": null,\n                \"accountNumber\": null,\n                \"bankAddress\": null,\n                \"swiftCode\": null,\n                \"permanentAccountNumber\": null,\n                \"internationalBankAccountNumber\": null,\n                \"americanBankersAssociationNumber\": null,\n                \"indianFinancialSystemCode\": null,\n                \"sortCode\": null,\n                \"taxPayer\": false,\n                \"taxPayerType\": 2,\n                \"taxPayerLabel\": \"TIN\",\n                \"taxPayerNumber\": null,\n                \"phone\": null,\n                \"city\": null,\n                \"country\": null,\n                \"state\": null,\n                \"postalCode\": null,\n                \"note\": null,\n                \"conditions\": null,\n                \"enable\": true,\n                \"isMarketUpdatable\": false,\n                \"qboId\": null,\n                \"netSuiteId\": null,\n                \"xeroId\": null,\n                \"externalId\": null,\n                \"marketSupplier\": {\n                    \"id\": null,\n                    \"minimumSum\": null\n                },\n                \"enableMarketSupplier\": false,\n                \"creditBalanceSums\": {\n                    \"UAH\": 0,\n                    \"USD\": 0\n                },\n                \"afaxysSupplierId\": null,\n                \"status\": 2,\n                \"creator\": {\n                    \"id\": 95888,\n                    \"email\": \"apitesterfordocumentation@gmail.com\"\n                },\n                \"enterInvoiceAsOneLine\": true,\n                \"isPunchoutSupplier\": false,\n                \"paymentTerms\": {\n                    \"data\": [\n                        {\n                            \"id\": 74148,\n                            \"name\": \"Prepayment\",\n                            \"prepaymentPercent\": 100,\n                            \"postpaymentPercent\": 0,\n                            \"creditPeriodDays\": 0,\n                            \"termsDueDateAfterInvoicing\": 0,\n                            \"paymentType\": 0,\n                            \"enable\": true,\n                            \"externalId\": null\n                        },\n                        {\n                            \"id\": 74149,\n                            \"name\": \"Postpayment\",\n                            \"prepaymentPercent\": 0,\n                            \"postpaymentPercent\": 100,\n                            \"creditPeriodDays\": 0,\n                            \"termsDueDateAfterInvoicing\": 0,\n                            \"paymentType\": 1,\n                            \"enable\": true,\n                            \"externalId\": null\n                        }\n                    ]\n                },\n                \"approvalSteps\": {\n                    \"data\": []\n                },\n                \"approvingWay\": []\n            },\n            \"budget\": [],\n            \"budgetLine\": [],\n            \"legalEntity\": {\n                \"id\": 23152,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"enable\": true,\n                \"name\": \"TEST Api Precoro\",\n                \"legalAddress\": null,\n                \"accountNumber\": null,\n                \"accountHolderName\": null,\n                \"bankName\": null,\n                \"bankAddress\": null,\n                \"sortCode\": null,\n                \"businessRegistrationNumber\": null,\n                \"taxPayerType\": 2,\n                \"taxPayerNumber\": null,\n                \"phone\": null,\n                \"keyExecutive\": null,\n                \"fullName\": null,\n                \"permanentAccountNumber\": null,\n                \"internationalBankAccountNumber\": null,\n                \"americanBankersAssociationNumber\": null,\n                \"swiftCode\": null,\n                \"indianFinancialSystemCode\": null,\n                \"externalId\": null,\n                \"uniqueCode\": null\n            },\n            \"creator\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"availableIn\": [\n                    {\n                        \"id\": 22359,\n                        \"name\": \"TEST Api Precoro\",\n                        \"active\": true\n                    }\n                ],\n                \"hasConfirmationToken\": false\n            },\n            \"lastEditor\": [],\n            \"approvalSteps\": {\n                \"data\": []\n            },\n            \"dataDocumentCustomFields\": {\n                \"data\": []\n            },\n            \"approvalInfo\": {\n                \"canApproveDocument\": false,\n                \"canRejectDocument\": false\n            },\n            \"allocatedInvoice\": [],\n            \"ocrAttachment\": {\n                \"id\": 151147,\n                \"name\": \"Lord Of The Beans S.R.L.-AAA 0138.pdf\",\n                \"file\": 5032826,\n                \"type\": 0\n            },\n            \"entityTemplate\": [],\n            \"relatedCreditNotes\": [],\n            \"relatedCreditNotesCount\": 0,\n            \"withholdingTaxSumInCompanyCurrency\": 0,\n            \"documentSplits\": {\n                \"data\": []\n            }\n        },\n        {\n            \"id\": 1335829,\n            \"idn\": \"3\",\n            \"customName\": null,\n            \"createDate\": \"2024-09-19T14:23:14+00:00\",\n            \"updateDate\": \"2024-12-12T09:41:21+00:00\",\n            \"requiredDate\": \"2024-09-20T00:00:00+00:00\",\n            \"issueDate\": \"2024-09-20T00:00:00+00:00\",\n            \"approvalDate\": \"2024-09-19T14:23:21+00:00\",\n            \"sumPaid\": \"0.06\",\n            \"sumPaidInCompanyCurrency\": \"0.06\",\n            \"sum\": 51.4,\n            \"netSum\": 49.9,\n            \"sumInCompanyCurrency\": 51.4,\n            \"netSumInCompanyCurrency\": 49.9,\n            \"withholdingTaxSum\": 0,\n            \"currency\": \"USD\",\n            \"precisionData\": {\n                \"USD\": {\n                    \"precision\": 2,\n                    \"roundMode\": \"math\"\n                }\n            },\n            \"note\": null,\n            \"exchangeRate\": {\n                \"UAH:USD\": 0.024096,\n                \"USD:UAH\": 41.500415\n            },\n            \"fromSupplier\": false,\n            \"isServiceOrder\": false,\n            \"status\": 4,\n            \"logicType\": 0,\n            \"invoiceNumber\": null,\n            \"deliveryNote\": null,\n            \"toleranceRateSum\": \"0.00\",\n            \"toleranceRatePercent\": \"0.00\",\n            \"purchaseOrder\": {\n                \"id\": null,\n                \"idn\": null,\n                \"creator\": {\n                    \"id\": null\n                }\n            },\n            \"prepaymentPercent\": 100,\n            \"postpaymentPercent\": 0,\n            \"creditPeriodDays\": 0,\n            \"paymentTerm\": {\n                \"id\": 74148\n            },\n            \"company\": {\n                \"id\": 22359\n            },\n            \"qboId\": null,\n            \"netSuiteId\": null,\n            \"xeroId\": null,\n            \"externalId\": null,\n            \"externalIntegrationLog\": null,\n            \"budgetedSum\": 0,\n            \"usedTaxPercentInBudget\": \"100.00\",\n            \"allDocumentCustomFieldOptionsIds\": \"267574\",\n            \"isNewSupplierAdded\": false,\n            \"itemsChartSum\": 51.4,\n            \"approvingWay\": [],\n            \"location\": {\n                \"id\": 97962,\n                \"uniqueCode\": null,\n                \"name\": \"Main location\",\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"fullAddress\": null,\n                \"afaxysLocationId\": null,\n                \"phone\": null,\n                \"allLocationsAccessLegalEntities\": true,\n                \"enable\": true,\n                \"locationAddress\": {\n                    \"id\": null\n                },\n                \"externalId\": null\n            },\n            \"supplier\": {\n                \"id\": 719430,\n                \"uniqueCode\": \"123AB\",\n                \"name\": \"Supplier 1\",\n                \"createDate\": \"2024-07-12T10:18:00+00:00\",\n                \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n                \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n                \"legalAddress\": null,\n                \"currency\": \"USD\",\n                \"currencies\": [\n                    \"USD\"\n                ],\n                \"autoSendPOSupplier\": false,\n                \"deliveryPeriod\": 0,\n                \"minimumSum\": 10,\n                \"businessRegistrationNumber\": null,\n                \"accountHolderName\": null,\n                \"bankName\": null,\n                \"accountNumber\": null,\n                \"bankAddress\": null,\n                \"swiftCode\": null,\n                \"permanentAccountNumber\": null,\n                \"internationalBankAccountNumber\": null,\n                \"americanBankersAssociationNumber\": null,\n                \"indianFinancialSystemCode\": null,\n                \"sortCode\": null,\n                \"taxPayer\": false,\n                \"taxPayerType\": 0,\n                \"taxPayerLabel\": \"Tax Payer Number\",\n                \"taxPayerNumber\": null,\n                \"phone\": null,\n                \"city\": null,\n                \"country\": null,\n                \"state\": null,\n                \"postalCode\": null,\n                \"note\": null,\n                \"conditions\": null,\n                \"enable\": true,\n                \"isMarketUpdatable\": false,\n                \"qboId\": null,\n                \"netSuiteId\": null,\n                \"xeroId\": null,\n                \"externalId\": null,\n                \"marketSupplier\": {\n                    \"id\": null,\n                    \"minimumSum\": null\n                },\n                \"enableMarketSupplier\": false,\n                \"creditBalanceSums\": {\n                    \"USD\": 0\n                },\n                \"afaxysSupplierId\": null,\n                \"status\": 2,\n                \"creator\": {\n                    \"id\": 95888,\n                    \"email\": \"apitesterfordocumentation@gmail.com\"\n                },\n                \"enterInvoiceAsOneLine\": false,\n                \"isPunchoutSupplier\": false,\n                \"paymentTerms\": {\n                    \"data\": [\n                        {\n                            \"id\": 74148,\n                            \"name\": \"Prepayment\",\n                            \"prepaymentPercent\": 100,\n                            \"postpaymentPercent\": 0,\n                            \"creditPeriodDays\": 0,\n                            \"termsDueDateAfterInvoicing\": 0,\n                            \"paymentType\": 0,\n                            \"enable\": true,\n                            \"externalId\": null\n                        }\n                    ]\n                },\n                \"approvalSteps\": {\n                    \"data\": []\n                },\n                \"approvingWay\": []\n            },\n            \"budget\": [],\n            \"budgetLine\": [],\n            \"legalEntity\": {\n                \"id\": 23152,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"enable\": true,\n                \"name\": \"TEST Api Precoro\",\n                \"legalAddress\": null,\n                \"accountNumber\": null,\n                \"accountHolderName\": null,\n                \"bankName\": null,\n                \"bankAddress\": null,\n                \"sortCode\": null,\n                \"businessRegistrationNumber\": null,\n                \"taxPayerType\": 2,\n                \"taxPayerNumber\": null,\n                \"phone\": null,\n                \"keyExecutive\": null,\n                \"fullName\": null,\n                \"permanentAccountNumber\": null,\n                \"internationalBankAccountNumber\": null,\n                \"americanBankersAssociationNumber\": null,\n                \"swiftCode\": null,\n                \"indianFinancialSystemCode\": null,\n                \"externalId\": null,\n                \"uniqueCode\": null\n            },\n            \"creator\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"availableIn\": [\n                    {\n                        \"id\": 22359,\n                        \"name\": \"TEST Api Precoro\",\n                        \"active\": true\n                    }\n                ],\n                \"hasConfirmationToken\": false\n            },\n            \"lastEditor\": [],\n            \"approvalSteps\": {\n                \"data\": []\n            },\n            \"dataDocumentCustomFields\": {\n                \"data\": [\n                    {\n                        \"id\": 3203315,\n                        \"value\": \"267574\",\n                        \"type\": 1,\n                        \"documentCustomField\": {\n                            \"id\": 29942\n                        }\n                    }\n                ]\n            },\n            \"approvalInfo\": {\n                \"canApproveDocument\": false,\n                \"canRejectDocument\": false\n            },\n            \"allocatedInvoice\": [],\n            \"ocrAttachment\": [],\n            \"entityTemplate\": [],\n            \"relatedCreditNotes\": [],\n            \"relatedCreditNotesCount\": 0,\n            \"withholdingTaxSumInCompanyCurrency\": 0,\n            \"documentSplits\": {\n                \"data\": []\n            }\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 2,\n            \"count\": 2,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": {}\n        }\n    }\n}"}],"_postman_id":"fa046da1-911f-41d0-9c2c-3f3b0fae050e"},{"name":"Get Invoice or Credit Note by IDN","id":"a9019476-94cc-4844-9877-826fda67161c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/invoices/{idn}","urlObject":{"protocol":"https","path":["invoices","{idn}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"92ef63f3-59dd-43a1-baea-02d732daefe0","name":"Get Invoice by IDN","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/invoices/{idn}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 14:07:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 14:07:20 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=mY1HFpUtJAxnZ9jJfjnPadRcBLBHdCcuQy%2BNMKAxUT0VNHNEawRv0JvUIAUtHuFTXBZJBIdy8vGQ73VS7H%2By6gpyVy8Ixoy0M2HWcFUQ30KqBtxoCNk%2BpNTcOejAUoZLbQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9190faf4b9e13aee-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=2411&min_rtt=2210&rtt_var=972&sent=3&recv=5&lost=0&retrans=0&sent_bytes=219&recv_bytes=1124&delivery_rate=655203&cwnd=227&unsent_bytes=0&cid=4720a18b35c5610b&ts=445&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1534882,\n    \"idn\": \"5\",\n    \"customName\": null,\n    \"createDate\": \"2025-02-28T13:46:18+00:00\",\n    \"updateDate\": \"2025-02-28T13:46:34+00:00\",\n    \"requiredDate\": \"2025-03-21T00:00:00+00:00\",\n    \"issueDate\": \"2025-03-21T00:00:00+00:00\",\n    \"approvalDate\": \"2025-02-28T13:46:24+00:00\",\n    \"sumPaid\": \"45.50\",\n    \"sumPaidInCompanyCurrency\": \"45.50\",\n    \"sum\": 51.4,\n    \"netSum\": 49.9,\n    \"sumInCompanyCurrency\": 51.4,\n    \"netSumInCompanyCurrency\": 49.9,\n    \"withholdingTaxSum\": 0,\n    \"currency\": \"USD\",\n    \"precisionData\": {\n        \"USD\": {\n            \"precision\": 2,\n            \"roundMode\": \"math\"\n        }\n    },\n    \"note\": null,\n    \"exchangeRate\": {\n        \"KHR:UAH\": 0.010371,\n        \"KHR:USD\": 0.000249,\n        \"UAH:KHR\": 96.426907,\n        \"UAH:USD\": 0.024042,\n        \"USD:KHR\": 4010.695509,\n        \"USD:UAH\": 41.593116\n    },\n    \"fromSupplier\": false,\n    \"isServiceOrder\": false,\n    \"status\": 4,\n    \"logicType\": 2,\n    \"invoiceNumber\": null,\n    \"deliveryNote\": null,\n    \"toleranceRateSum\": \"0.00\",\n    \"toleranceRatePercent\": \"0.00\",\n    \"purchaseOrder\": {\n        \"id\": 1877576,\n        \"idn\": \"3\",\n        \"customName\": null,\n        \"createDate\": \"2025-02-28T13:44:41+00:00\",\n        \"updateDate\": \"2025-02-28T13:50:18+00:00\",\n        \"requiredDate\": \"2025-02-28T00:00:00+00:00\",\n        \"approvalDate\": \"2025-02-28T13:44:49+00:00\",\n        \"sum\": 51.4,\n        \"netSum\": 49.9,\n        \"sumInCompanyCurrency\": 51.4,\n        \"netSumInCompanyCurrency\": 49.9,\n        \"currency\": \"USD\",\n        \"precisionData\": {\n            \"USD\": {\n                \"precision\": 2,\n                \"roundMode\": \"math\"\n            }\n        },\n        \"note\": null,\n        \"exchangeRate\": {\n            \"KHR:UAH\": 0.010371,\n            \"KHR:USD\": 0.000249,\n            \"UAH:KHR\": 96.426907,\n            \"UAH:USD\": 0.024042,\n            \"USD:KHR\": 4010.695509,\n            \"USD:UAH\": 41.593116\n        },\n        \"invoicedSum\": 51.4,\n        \"invoicedSumInCompanyCurrency\": 51.4,\n        \"netInvoicedSum\": 49.9,\n        \"isServiceOrder\": false,\n        \"status\": 2,\n        \"statusReceiving\": 2,\n        \"statusPayment\": 2,\n        \"statusSending\": 0,\n        \"blanketDetails\": {\n            \"startDate\": null,\n            \"firstDeliveryDate\": null,\n            \"frequency\": null,\n            \"amountOfDeliveries\": null,\n            \"blanketSum\": 0\n        },\n        \"paymentTerm\": {\n            \"id\": 74148\n        },\n        \"company\": {\n            \"id\": 22359\n        },\n        \"prepaymentPercent\": 100,\n        \"postpaymentPercent\": 0,\n        \"creditPeriodDays\": 0,\n        \"qboId\": null,\n        \"netSuiteId\": null,\n        \"xeroId\": null,\n        \"externalId\": null,\n        \"externalIntegrationLog\": null,\n        \"logicType\": 2,\n        \"budgetedSum\": 0,\n        \"usedTaxPercentInBudget\": \"100.00\",\n        \"poomUrl\": null,\n        \"deliverToName\": null,\n        \"allDocumentCustomFieldOptionsIds\": null,\n        \"sendToSupplier\": true,\n        \"isNewSupplierAdded\": false,\n        \"punchoutType\": 0,\n        \"itemsChartSum\": 0,\n        \"approvingWay\": {\n            \"84289\": {\n                \"step\": \"1 Approval Step #1\",\n                \"approvers\": {\n                    \"95888\": {\n                        \"email\": \"apitesterfordocumentation@gmail.com\",\n                        \"datetime\": {\n                            \"date\": \"2025-02-28 13:44:49.939852\",\n                            \"timezone\": \"UTC\",\n                            \"timezone_type\": 3\n                        },\n                        \"user_approve\": true\n                    }\n                },\n                \"approve_type\": 1\n            }\n        },\n        \"location\": {\n            \"id\": 97962,\n            \"uniqueCode\": null,\n            \"name\": \"Main location\",\n            \"createDate\": \"2024-06-11T14:23:08+00:00\",\n            \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n            \"fullAddress\": null,\n            \"afaxysLocationId\": null,\n            \"phone\": null,\n            \"allLocationsAccessLegalEntities\": true,\n            \"enable\": true,\n            \"locationAddress\": {\n                \"id\": null\n            },\n            \"externalId\": null\n        },\n        \"supplier\": {\n            \"id\": 719430,\n            \"uniqueCode\": \"123AB\",\n            \"name\": \"Supplier 1\",\n            \"createDate\": \"2024-07-12T10:18:00+00:00\",\n            \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n            \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n            \"legalAddress\": null,\n            \"currency\": \"USD\",\n            \"currencies\": [\n                \"USD\"\n            ],\n            \"autoSendPOSupplier\": false,\n            \"deliveryPeriod\": 0,\n            \"minimumSum\": 10,\n            \"businessRegistrationNumber\": null,\n            \"accountHolderName\": null,\n            \"bankName\": null,\n            \"accountNumber\": null,\n            \"bankAddress\": null,\n            \"swiftCode\": null,\n            \"permanentAccountNumber\": null,\n            \"internationalBankAccountNumber\": null,\n            \"americanBankersAssociationNumber\": null,\n            \"indianFinancialSystemCode\": null,\n            \"sortCode\": null,\n            \"taxPayer\": false,\n            \"taxPayerType\": 0,\n            \"taxPayerLabel\": \"Tax Payer Number\",\n            \"taxPayerNumber\": null,\n            \"phone\": null,\n            \"city\": null,\n            \"country\": null,\n            \"state\": null,\n            \"postalCode\": null,\n            \"note\": null,\n            \"conditions\": null,\n            \"enable\": true,\n            \"isMarketUpdatable\": false,\n            \"qboId\": null,\n            \"netSuiteId\": null,\n            \"xeroId\": null,\n            \"externalId\": null,\n            \"marketSupplier\": {\n                \"id\": null,\n                \"minimumSum\": null\n            },\n            \"enableMarketSupplier\": false,\n            \"creditBalanceSums\": {\n                \"USD\": 0\n            },\n            \"afaxysSupplierId\": null,\n            \"status\": 2,\n            \"creator\": {\n                \"id\": 95888,\n                \"email\": \"apitesterfordocumentation@gmail.com\"\n            },\n            \"enterInvoiceAsOneLine\": false,\n            \"isPunchoutSupplier\": false,\n            \"paymentTerms\": {\n                \"data\": [\n                    {\n                        \"id\": 74148,\n                        \"name\": \"Prepayment\",\n                        \"prepaymentPercent\": 100,\n                        \"postpaymentPercent\": 0,\n                        \"creditPeriodDays\": 0,\n                        \"termsDueDateAfterInvoicing\": 0,\n                        \"paymentType\": 0,\n                        \"enable\": true,\n                        \"externalId\": null\n                    }\n                ]\n            },\n            \"approvalSteps\": {\n                \"data\": []\n            },\n            \"approvingWay\": []\n        },\n        \"budget\": [],\n        \"budgetLine\": [],\n        \"legalEntity\": {\n            \"id\": 23152,\n            \"createDate\": \"2024-06-11T14:23:08+00:00\",\n            \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n            \"enable\": true,\n            \"name\": \"TEST Api Precoro\",\n            \"legalAddress\": null,\n            \"accountNumber\": null,\n            \"accountHolderName\": null,\n            \"bankName\": null,\n            \"bankAddress\": null,\n            \"sortCode\": null,\n            \"businessRegistrationNumber\": null,\n            \"taxPayerType\": 2,\n            \"taxPayerNumber\": null,\n            \"phone\": null,\n            \"keyExecutive\": null,\n            \"fullName\": null,\n            \"permanentAccountNumber\": null,\n            \"internationalBankAccountNumber\": null,\n            \"americanBankersAssociationNumber\": null,\n            \"swiftCode\": null,\n            \"indianFinancialSystemCode\": null,\n            \"externalId\": null,\n            \"uniqueCode\": null\n        },\n        \"creator\": {\n            \"id\": 95888,\n            \"createDate\": \"2024-06-11T14:23:08+00:00\",\n            \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n            \"email\": \"apitesterfordocumentation@gmail.com\",\n            \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n            \"locale\": \"en\",\n            \"phone\": \"+13456789\",\n            \"firstname\": \"Api\",\n            \"lastname\": \"Tester\",\n            \"position\": null,\n            \"location\": {\n                \"id\": 97962\n            },\n            \"legalEntity\": {\n                \"id\": 23152\n            },\n            \"allLocationsAccess\": true,\n            \"allUserDocumentCustomFieldsAccess\": true,\n            \"allItemGroupsAccess\": true,\n            \"roles\": [\n                \"ROLE_PURCHASE_REQUISITION\",\n                \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                \"ROLE_PURCHASE_ORDER\",\n                \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                \"ROLE_RECEIPT\",\n                \"ROLE_RECEIPT_APPROVAL\",\n                \"ROLE_INVOICE\",\n                \"ROLE_INVOICE_APPROVAL\",\n                \"ROLE_INVOICE_PAYMENT\",\n                \"ROLE_REPORT\",\n                \"ROLE_BUDGET_HOLDER\",\n                \"ROLE_SUPPLIER_MANAGEMENT\",\n                \"ROLE_SUPPLIER_APPROVAL\",\n                \"ROLE_WAREHOUSE_REQUEST\",\n                \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                \"ROLE_REQUEST_FOR_PROPOSAL\",\n                \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                \"ROLE_EXPENSE\",\n                \"ROLE_EXPENSE_APPROVAL\",\n                \"ROLE_EXPENSE_PAYMENT\",\n                \"ROLE_WAREHOUSE_MANAGER\",\n                \"ROLE_SUPER_USER\",\n                \"ROLE_OCR\",\n                \"ROLE_CONFIGURATION\",\n                \"ROLE_USER\"\n            ],\n            \"enable\": true,\n            \"isMarketSupplier\": false,\n            \"isAvailableVacationMode\": false,\n            \"enableVacationMode\": false,\n            \"startVacationMode\": null,\n            \"endVacationMode\": null,\n            \"isPower\": true,\n            \"availableIn\": [\n                {\n                    \"id\": 22359,\n                    \"name\": \"TEST Api Precoro\",\n                    \"active\": true\n                }\n            ],\n            \"hasConfirmationToken\": false\n        },\n        \"lastEditor\": [],\n        \"approvalSteps\": {\n            \"data\": []\n        }\n    },\n    \"prepaymentPercent\": 100,\n    \"postpaymentPercent\": 0,\n    \"creditPeriodDays\": 0,\n    \"paymentTerm\": {\n        \"id\": 74148\n    },\n    \"company\": {\n        \"id\": 22359\n    },\n    \"qboId\": null,\n    \"netSuiteId\": null,\n    \"xeroId\": null,\n    \"externalId\": null,\n    \"externalIntegrationLog\": null,\n    \"budgetedSum\": 0,\n    \"usedTaxPercentInBudget\": \"100.00\",\n    \"allDocumentCustomFieldOptionsIds\": \"267574\",\n    \"isNewSupplierAdded\": false,\n    \"itemsChartSum\": 51.4,\n    \"approvingWay\": [],\n    \"location\": {\n        \"id\": 97962,\n        \"uniqueCode\": null,\n        \"name\": \"Main location\",\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"fullAddress\": null,\n        \"afaxysLocationId\": null,\n        \"phone\": null,\n        \"allLocationsAccessLegalEntities\": true,\n        \"enable\": true,\n        \"locationAddress\": {\n            \"id\": null\n        },\n        \"externalId\": null\n    },\n    \"supplier\": {\n        \"id\": 719430,\n        \"uniqueCode\": \"123AB\",\n        \"name\": \"Supplier 1\",\n        \"createDate\": \"2024-07-12T10:18:00+00:00\",\n        \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n        \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n        \"legalAddress\": null,\n        \"currency\": \"USD\",\n        \"currencies\": [\n            \"USD\"\n        ],\n        \"autoSendPOSupplier\": false,\n        \"deliveryPeriod\": 0,\n        \"minimumSum\": 10,\n        \"businessRegistrationNumber\": null,\n        \"accountHolderName\": null,\n        \"bankName\": null,\n        \"accountNumber\": null,\n        \"bankAddress\": null,\n        \"swiftCode\": null,\n        \"permanentAccountNumber\": null,\n        \"internationalBankAccountNumber\": null,\n        \"americanBankersAssociationNumber\": null,\n        \"indianFinancialSystemCode\": null,\n        \"sortCode\": null,\n        \"taxPayer\": false,\n        \"taxPayerType\": 0,\n        \"taxPayerLabel\": \"Tax Payer Number\",\n        \"taxPayerNumber\": null,\n        \"phone\": null,\n        \"city\": null,\n        \"country\": null,\n        \"state\": null,\n        \"postalCode\": null,\n        \"note\": null,\n        \"conditions\": null,\n        \"enable\": true,\n        \"isMarketUpdatable\": false,\n        \"qboId\": null,\n        \"netSuiteId\": null,\n        \"xeroId\": null,\n        \"externalId\": null,\n        \"marketSupplier\": {\n            \"id\": null,\n            \"minimumSum\": null\n        },\n        \"enableMarketSupplier\": false,\n        \"creditBalanceSums\": {\n            \"USD\": 0\n        },\n        \"afaxysSupplierId\": null,\n        \"status\": 2,\n        \"creator\": {\n            \"id\": 95888,\n            \"email\": \"apitesterfordocumentation@gmail.com\"\n        },\n        \"enterInvoiceAsOneLine\": false,\n        \"isPunchoutSupplier\": false,\n        \"paymentTerms\": {\n            \"data\": [\n                {\n                    \"id\": 74148,\n                    \"name\": \"Prepayment\",\n                    \"prepaymentPercent\": 100,\n                    \"postpaymentPercent\": 0,\n                    \"creditPeriodDays\": 0,\n                    \"termsDueDateAfterInvoicing\": 0,\n                    \"paymentType\": 0,\n                    \"enable\": true,\n                    \"externalId\": null\n                }\n            ]\n        },\n        \"approvalSteps\": {\n            \"data\": []\n        },\n        \"approvingWay\": []\n    },\n    \"budget\": [],\n    \"budgetLine\": [],\n    \"legalEntity\": {\n        \"id\": 23152,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"enable\": true,\n        \"name\": \"TEST Api Precoro\",\n        \"legalAddress\": null,\n        \"accountNumber\": null,\n        \"accountHolderName\": null,\n        \"bankName\": null,\n        \"bankAddress\": null,\n        \"sortCode\": null,\n        \"businessRegistrationNumber\": null,\n        \"taxPayerType\": 2,\n        \"taxPayerNumber\": null,\n        \"phone\": null,\n        \"keyExecutive\": null,\n        \"fullName\": null,\n        \"permanentAccountNumber\": null,\n        \"internationalBankAccountNumber\": null,\n        \"americanBankersAssociationNumber\": null,\n        \"swiftCode\": null,\n        \"indianFinancialSystemCode\": null,\n        \"externalId\": null,\n        \"uniqueCode\": null\n    },\n    \"creator\": {\n        \"id\": 95888,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n        \"email\": \"apitesterfordocumentation@gmail.com\",\n        \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n        \"locale\": \"en\",\n        \"phone\": \"+13456789\",\n        \"firstname\": \"Api\",\n        \"lastname\": \"Tester\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 97962\n        },\n        \"legalEntity\": {\n            \"id\": 23152\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allItemGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_INVOICE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_SUPPLIER_APPROVAL\",\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_EXPENSE\",\n            \"ROLE_EXPENSE_APPROVAL\",\n            \"ROLE_EXPENSE_PAYMENT\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPER_USER\",\n            \"ROLE_OCR\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"isPower\": true,\n        \"availableIn\": [\n            {\n                \"id\": 22359,\n                \"name\": \"TEST Api Precoro\",\n                \"active\": true\n            }\n        ],\n        \"hasConfirmationToken\": false\n    },\n    \"lastEditor\": [],\n    \"approvalSteps\": {\n        \"data\": []\n    },\n    \"items\": {\n        \"data\": [\n            {\n                \"id\": 3853205,\n                \"createDate\": \"2025-02-28T13:46:18+00:00\",\n                \"updateDate\": \"2025-02-28T13:46:18+00:00\",\n                \"sku\": \"173516\",\n                \"name\": \"Home Desk\",\n                \"freeOfCharge\": false,\n                \"price\": 49.9,\n                \"budgetedSum\": 0,\n                \"unit\": null,\n                \"currency\": \"USD\",\n                \"ordered\": 1,\n                \"status\": 0,\n                \"description\": null,\n                \"item\": {\n                    \"id\": 1447004,\n                    \"name\": \"Home Desk\",\n                    \"sku\": \"173516\",\n                    \"type\": 1,\n                    \"price\": 49.9,\n                    \"currency\": \"USD\"\n                },\n                \"type\": 1,\n                \"purchaseOrderItem\": {\n                    \"id\": 6017706\n                },\n                \"marketItem\": {\n                    \"id\": null\n                },\n                \"invoice\": {\n                    \"id\": 1534882,\n                    \"idn\": \"5\"\n                },\n                \"link\": null,\n                \"addedToCreditNote\": 0,\n                \"budgetSubLine\": {\n                    \"id\": null\n                },\n                \"taxes\": {\n                    \"data\": [\n                        {\n                            \"id\": 2309898,\n                            \"name\": \"APR\",\n                            \"value\": 3,\n                            \"documentTax\": {\n                                \"id\": 851402\n                            },\n                            \"usedTaxPercent\": 0,\n                            \"isWithholdingTax\": false,\n                            \"sum\": 1.5,\n                            \"sumInCompanyCurrency\": 1.5\n                        }\n                    ]\n                },\n                \"discounts\": {\n                    \"data\": []\n                },\n                \"dataItemCustomFields\": {\n                    \"data\": []\n                },\n                \"allocatedInvoiceItem\": null,\n                \"budget\": null,\n                \"itemSplits\": {\n                    \"data\": []\n                }\n            }\n        ]\n    },\n    \"taxes\": {\n        \"data\": [\n            {\n                \"id\": 851402,\n                \"name\": \"APR\",\n                \"value\": 3,\n                \"usedTaxPercent\": 0,\n                \"isWithholdingTax\": false\n            }\n        ]\n    },\n    \"discounts\": {\n        \"data\": []\n    },\n    \"comments\": {\n        \"data\": []\n    },\n    \"payments\": {\n        \"data\": [\n            {\n                \"id\": 1247584,\n                \"idn\": 9,\n                \"createDate\": \"2025-02-28T13:46:33+00:00\",\n                \"payDate\": \"2025-02-28T00:00:00+00:00\",\n                \"sumPaid\": 45.5,\n                \"status\": 0,\n                \"logicType\": 0,\n                \"invoice\": {\n                    \"id\": 1534882,\n                    \"idn\": \"5\",\n                    \"creator\": {\n                        \"id\": 95888\n                    }\n                },\n                \"purchaseOrder\": {\n                    \"id\": null,\n                    \"idn\": null,\n                    \"creator\": {\n                        \"id\": null\n                    }\n                },\n                \"balance\": 0,\n                \"qboId\": null,\n                \"prepayment\": null,\n                \"netSuiteId\": null,\n                \"xeroId\": null,\n                \"externalId\": null,\n                \"creator\": {\n                    \"id\": 95888,\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                    \"email\": \"apitesterfordocumentation@gmail.com\",\n                    \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                    \"locale\": \"en\",\n                    \"phone\": \"+13456789\",\n                    \"firstname\": \"Api\",\n                    \"lastname\": \"Tester\",\n                    \"position\": null,\n                    \"location\": {\n                        \"id\": 97962\n                    },\n                    \"legalEntity\": {\n                        \"id\": 23152\n                    },\n                    \"allLocationsAccess\": true,\n                    \"allUserDocumentCustomFieldsAccess\": true,\n                    \"allItemGroupsAccess\": true,\n                    \"roles\": [\n                        \"ROLE_PURCHASE_REQUISITION\",\n                        \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                        \"ROLE_PURCHASE_ORDER\",\n                        \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                        \"ROLE_RECEIPT\",\n                        \"ROLE_RECEIPT_APPROVAL\",\n                        \"ROLE_INVOICE\",\n                        \"ROLE_INVOICE_APPROVAL\",\n                        \"ROLE_INVOICE_PAYMENT\",\n                        \"ROLE_REPORT\",\n                        \"ROLE_BUDGET_HOLDER\",\n                        \"ROLE_SUPPLIER_MANAGEMENT\",\n                        \"ROLE_SUPPLIER_APPROVAL\",\n                        \"ROLE_WAREHOUSE_REQUEST\",\n                        \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                        \"ROLE_EXPENSE\",\n                        \"ROLE_EXPENSE_APPROVAL\",\n                        \"ROLE_EXPENSE_PAYMENT\",\n                        \"ROLE_WAREHOUSE_MANAGER\",\n                        \"ROLE_SUPER_USER\",\n                        \"ROLE_OCR\",\n                        \"ROLE_CONFIGURATION\",\n                        \"ROLE_USER\"\n                    ],\n                    \"enable\": true,\n                    \"isMarketSupplier\": false,\n                    \"isAvailableVacationMode\": false,\n                    \"enableVacationMode\": false,\n                    \"startVacationMode\": null,\n                    \"endVacationMode\": null,\n                    \"isPower\": true,\n                    \"availableIn\": [\n                        {\n                            \"id\": 22359,\n                            \"name\": \"TEST Api Precoro\",\n                            \"active\": true\n                        }\n                    ],\n                    \"hasConfirmationToken\": false\n                }\n            }\n        ]\n    },\n    \"followers\": {\n        \"data\": [\n            {\n                \"id\": 12271803,\n                \"user_status\": 1,\n                \"user_email\": \"apitesterfordocumentation@gmail.com\",\n                \"isAvailableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null\n            }\n        ]\n    },\n    \"dataDocumentCustomFields\": {\n        \"data\": [\n            {\n                \"id\": 3690228,\n                \"value\": \"267574\",\n                \"type\": 1,\n                \"documentCustomField\": {\n                    \"id\": 29942\n                }\n            }\n        ]\n    },\n    \"attachments\": {\n        \"data\": []\n    },\n    \"allocatedInvoice\": [],\n    \"contracts\": {\n        \"data\": []\n    },\n    \"isBudgetOverLimit\": false,\n    \"entityTemplate\": [],\n    \"documentSplits\": {\n        \"data\": []\n    }\n}"}],"_postman_id":"a9019476-94cc-4844-9877-826fda67161c"},{"name":"Set Invoice ExternalId by IDN","id":"06dce063-8d90-4c04-8efe-e52154871a93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"externalId","value":"2323","description":"<p>string</p>\n","type":"text"},{"key":"externalIntegrationLog","value":"Period is closed: 2024 - 8\n\"You already have the supplier with the same Name value.\"\nKeyError: '0% VAT'","description":"<p>string (optional) To fill and use this field, please contact our support team. This field is used to log integration errors. If the field is filled in, the text from the field will be displayed on the document details page in the \"Integration logs\" block and the document will be marked with the red \"Not sent to integration\" badge</p>\n","type":"text"}]},"url":"https://api.precoro.com/invoices/{idn}","urlObject":{"protocol":"https","path":["invoices","{idn}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"4c393480-8c49-4a62-9280-72a9bfd56490","name":"Set Invoice ExternalId by IDN","originalRequest":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"externalId","value":"2323","description":"string","type":"text"},{"key":"externalIntegrationLog","value":"Period is closed: 2024 - 8\n\"You already have the supplier with the same Name value.\"\nKeyError: '0% VAT'","description":"string (optional) To fill and use this field, please contact our support team. This field is used to log integration errors. If the field is filled in, the text from the field will be displayed on the document details page in the \"Integration logs\" block and the document will be marked with the red \"Not sent to integration\" badge","type":"text"}]},"url":"https://api.precoro.com/invoices/{idn}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 14:07:31 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 14:07:31 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=LUmvFxXITDmguAjynoxbS%2FyTvihxJokjJsYIvPgdu9Vbwdu62UCuRtX%2FKDb0dvv2HXEFVgKiH%2FuKSV2RAz%2F4xBZRqH9BtmdEB9Jvuo2Cj1sP0PvFzfHM%2F65og9TB07PEIA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9190fb3a7ede3aee-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7673&min_rtt=2187&rtt_var=11080&sent=9&recv=9&lost=0&retrans=0&sent_bytes=4284&recv_bytes=1764&delivery_rate=2577659&cwnd=232&unsent_bytes=0&cid=4720a18b35c5610b&ts=11650&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1534882,\n    \"idn\": \"5\",\n    \"customName\": null,\n    \"createDate\": \"2025-02-28T13:46:18+00:00\",\n    \"updateDate\": \"2025-02-28T14:07:31+00:00\",\n    \"requiredDate\": \"2025-03-21T00:00:00+00:00\",\n    \"issueDate\": \"2025-03-21T00:00:00+00:00\",\n    \"approvalDate\": \"2025-02-28T13:46:24+00:00\",\n    \"sumPaid\": \"45.50\",\n    \"sumPaidInCompanyCurrency\": \"45.50\",\n    \"sum\": 51.4,\n    \"netSum\": 49.9,\n    \"sumInCompanyCurrency\": 51.4,\n    \"netSumInCompanyCurrency\": 49.9,\n    \"withholdingTaxSum\": 0,\n    \"currency\": \"USD\",\n    \"precisionData\": {\n        \"USD\": {\n            \"precision\": 2,\n            \"roundMode\": \"math\"\n        }\n    },\n    \"note\": null,\n    \"exchangeRate\": {\n        \"KHR:UAH\": 0.010371,\n        \"KHR:USD\": 0.000249,\n        \"UAH:KHR\": 96.426907,\n        \"UAH:USD\": 0.024042,\n        \"USD:KHR\": 4010.695509,\n        \"USD:UAH\": 41.593116\n    },\n    \"fromSupplier\": false,\n    \"isServiceOrder\": false,\n    \"status\": 4,\n    \"logicType\": 2,\n    \"invoiceNumber\": null,\n    \"deliveryNote\": null,\n    \"toleranceRateSum\": \"0.00\",\n    \"toleranceRatePercent\": \"0.00\",\n    \"purchaseOrder\": {\n        \"id\": 1877576,\n        \"idn\": \"3\",\n        \"customName\": null,\n        \"createDate\": \"2025-02-28T13:44:41+00:00\",\n        \"updateDate\": \"2025-02-28T13:50:18+00:00\",\n        \"requiredDate\": \"2025-02-28T00:00:00+00:00\",\n        \"approvalDate\": \"2025-02-28T13:44:49+00:00\",\n        \"sum\": 51.4,\n        \"netSum\": 49.9,\n        \"sumInCompanyCurrency\": 51.4,\n        \"netSumInCompanyCurrency\": 49.9,\n        \"currency\": \"USD\",\n        \"precisionData\": {\n            \"USD\": {\n                \"precision\": 2,\n                \"roundMode\": \"math\"\n            }\n        },\n        \"note\": null,\n        \"exchangeRate\": {\n            \"KHR:UAH\": 0.010371,\n            \"KHR:USD\": 0.000249,\n            \"UAH:KHR\": 96.426907,\n            \"UAH:USD\": 0.024042,\n            \"USD:KHR\": 4010.695509,\n            \"USD:UAH\": 41.593116\n        },\n        \"invoicedSum\": 51.4,\n        \"invoicedSumInCompanyCurrency\": 51.4,\n        \"netInvoicedSum\": 49.9,\n        \"isServiceOrder\": false,\n        \"status\": 2,\n        \"statusReceiving\": 2,\n        \"statusPayment\": 2,\n        \"statusSending\": 0,\n        \"blanketDetails\": {\n            \"startDate\": null,\n            \"firstDeliveryDate\": null,\n            \"frequency\": null,\n            \"amountOfDeliveries\": null,\n            \"blanketSum\": 0\n        },\n        \"paymentTerm\": {\n            \"id\": 74148\n        },\n        \"company\": {\n            \"id\": 22359\n        },\n        \"prepaymentPercent\": 100,\n        \"postpaymentPercent\": 0,\n        \"creditPeriodDays\": 0,\n        \"qboId\": null,\n        \"netSuiteId\": null,\n        \"xeroId\": null,\n        \"externalId\": null,\n        \"externalIntegrationLog\": null,\n        \"logicType\": 2,\n        \"budgetedSum\": 0,\n        \"usedTaxPercentInBudget\": \"100.00\",\n        \"poomUrl\": null,\n        \"deliverToName\": null,\n        \"allDocumentCustomFieldOptionsIds\": null,\n        \"sendToSupplier\": true,\n        \"isNewSupplierAdded\": false,\n        \"punchoutType\": 0,\n        \"itemsChartSum\": 0,\n        \"approvingWay\": {\n            \"84289\": {\n                \"step\": \"1 Approval Step #1\",\n                \"approvers\": {\n                    \"95888\": {\n                        \"email\": \"apitesterfordocumentation@gmail.com\",\n                        \"datetime\": {\n                            \"date\": \"2025-02-28 13:44:49.939852\",\n                            \"timezone\": \"UTC\",\n                            \"timezone_type\": 3\n                        },\n                        \"user_approve\": true\n                    }\n                },\n                \"approve_type\": 1\n            }\n        },\n        \"location\": {\n            \"id\": 97962,\n            \"uniqueCode\": null,\n            \"name\": \"Main location\",\n            \"createDate\": \"2024-06-11T14:23:08+00:00\",\n            \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n            \"fullAddress\": null,\n            \"afaxysLocationId\": null,\n            \"phone\": null,\n            \"allLocationsAccessLegalEntities\": true,\n            \"enable\": true,\n            \"locationAddress\": {\n                \"id\": null\n            },\n            \"externalId\": null\n        },\n        \"supplier\": {\n            \"id\": 719430,\n            \"uniqueCode\": \"123AB\",\n            \"name\": \"Supplier 1\",\n            \"createDate\": \"2024-07-12T10:18:00+00:00\",\n            \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n            \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n            \"legalAddress\": null,\n            \"currency\": \"USD\",\n            \"currencies\": [\n                \"USD\"\n            ],\n            \"autoSendPOSupplier\": false,\n            \"deliveryPeriod\": 0,\n            \"minimumSum\": 10,\n            \"businessRegistrationNumber\": null,\n            \"accountHolderName\": null,\n            \"bankName\": null,\n            \"accountNumber\": null,\n            \"bankAddress\": null,\n            \"swiftCode\": null,\n            \"permanentAccountNumber\": null,\n            \"internationalBankAccountNumber\": null,\n            \"americanBankersAssociationNumber\": null,\n            \"indianFinancialSystemCode\": null,\n            \"sortCode\": null,\n            \"taxPayer\": false,\n            \"taxPayerType\": 0,\n            \"taxPayerLabel\": \"Tax Payer Number\",\n            \"taxPayerNumber\": null,\n            \"phone\": null,\n            \"city\": null,\n            \"country\": null,\n            \"state\": null,\n            \"postalCode\": null,\n            \"note\": null,\n            \"conditions\": null,\n            \"enable\": true,\n            \"isMarketUpdatable\": false,\n            \"qboId\": null,\n            \"netSuiteId\": null,\n            \"xeroId\": null,\n            \"externalId\": null,\n            \"marketSupplier\": {\n                \"id\": null,\n                \"minimumSum\": null\n            },\n            \"enableMarketSupplier\": false,\n            \"creditBalanceSums\": {\n                \"USD\": 0\n            },\n            \"afaxysSupplierId\": null,\n            \"status\": 2,\n            \"creator\": {\n                \"id\": 95888,\n                \"email\": \"apitesterfordocumentation@gmail.com\"\n            },\n            \"enterInvoiceAsOneLine\": false,\n            \"isPunchoutSupplier\": false,\n            \"paymentTerms\": {\n                \"data\": [\n                    {\n                        \"id\": 74148,\n                        \"name\": \"Prepayment\",\n                        \"prepaymentPercent\": 100,\n                        \"postpaymentPercent\": 0,\n                        \"creditPeriodDays\": 0,\n                        \"termsDueDateAfterInvoicing\": 0,\n                        \"paymentType\": 0,\n                        \"enable\": true,\n                        \"externalId\": null\n                    }\n                ]\n            },\n            \"approvalSteps\": {\n                \"data\": []\n            },\n            \"approvingWay\": []\n        },\n        \"budget\": [],\n        \"budgetLine\": [],\n        \"legalEntity\": {\n            \"id\": 23152,\n            \"createDate\": \"2024-06-11T14:23:08+00:00\",\n            \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n            \"enable\": true,\n            \"name\": \"TEST Api Precoro\",\n            \"legalAddress\": null,\n            \"accountNumber\": null,\n            \"accountHolderName\": null,\n            \"bankName\": null,\n            \"bankAddress\": null,\n            \"sortCode\": null,\n            \"businessRegistrationNumber\": null,\n            \"taxPayerType\": 2,\n            \"taxPayerNumber\": null,\n            \"phone\": null,\n            \"keyExecutive\": null,\n            \"fullName\": null,\n            \"permanentAccountNumber\": null,\n            \"internationalBankAccountNumber\": null,\n            \"americanBankersAssociationNumber\": null,\n            \"swiftCode\": null,\n            \"indianFinancialSystemCode\": null,\n            \"externalId\": null,\n            \"uniqueCode\": null\n        },\n        \"creator\": {\n            \"id\": 95888,\n            \"createDate\": \"2024-06-11T14:23:08+00:00\",\n            \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n            \"email\": \"apitesterfordocumentation@gmail.com\",\n            \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n            \"locale\": \"en\",\n            \"phone\": \"+13456789\",\n            \"firstname\": \"Api\",\n            \"lastname\": \"Tester\",\n            \"position\": null,\n            \"location\": {\n                \"id\": 97962\n            },\n            \"legalEntity\": {\n                \"id\": 23152\n            },\n            \"allLocationsAccess\": true,\n            \"allUserDocumentCustomFieldsAccess\": true,\n            \"allItemGroupsAccess\": true,\n            \"roles\": [\n                \"ROLE_PURCHASE_REQUISITION\",\n                \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                \"ROLE_PURCHASE_ORDER\",\n                \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                \"ROLE_RECEIPT\",\n                \"ROLE_RECEIPT_APPROVAL\",\n                \"ROLE_INVOICE\",\n                \"ROLE_INVOICE_APPROVAL\",\n                \"ROLE_INVOICE_PAYMENT\",\n                \"ROLE_REPORT\",\n                \"ROLE_BUDGET_HOLDER\",\n                \"ROLE_SUPPLIER_MANAGEMENT\",\n                \"ROLE_SUPPLIER_APPROVAL\",\n                \"ROLE_WAREHOUSE_REQUEST\",\n                \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                \"ROLE_REQUEST_FOR_PROPOSAL\",\n                \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                \"ROLE_EXPENSE\",\n                \"ROLE_EXPENSE_APPROVAL\",\n                \"ROLE_EXPENSE_PAYMENT\",\n                \"ROLE_WAREHOUSE_MANAGER\",\n                \"ROLE_SUPER_USER\",\n                \"ROLE_OCR\",\n                \"ROLE_CONFIGURATION\",\n                \"ROLE_USER\"\n            ],\n            \"enable\": true,\n            \"isMarketSupplier\": false,\n            \"isAvailableVacationMode\": false,\n            \"enableVacationMode\": false,\n            \"startVacationMode\": null,\n            \"endVacationMode\": null,\n            \"isPower\": true,\n            \"availableIn\": [\n                {\n                    \"id\": 22359,\n                    \"name\": \"TEST Api Precoro\",\n                    \"active\": true\n                }\n            ],\n            \"hasConfirmationToken\": false\n        },\n        \"lastEditor\": [],\n        \"approvalSteps\": {\n            \"data\": []\n        }\n    },\n    \"prepaymentPercent\": 100,\n    \"postpaymentPercent\": 0,\n    \"creditPeriodDays\": 0,\n    \"paymentTerm\": {\n        \"id\": 74148\n    },\n    \"company\": {\n        \"id\": 22359\n    },\n    \"qboId\": null,\n    \"netSuiteId\": null,\n    \"xeroId\": null,\n    \"externalId\": \"2323\",\n    \"externalIntegrationLog\": null,\n    \"budgetedSum\": 0,\n    \"usedTaxPercentInBudget\": \"100.00\",\n    \"allDocumentCustomFieldOptionsIds\": \"267574\",\n    \"isNewSupplierAdded\": false,\n    \"itemsChartSum\": 51.4,\n    \"approvingWay\": [],\n    \"location\": {\n        \"id\": 97962,\n        \"uniqueCode\": null,\n        \"name\": \"Main location\",\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"fullAddress\": null,\n        \"afaxysLocationId\": null,\n        \"phone\": null,\n        \"allLocationsAccessLegalEntities\": true,\n        \"enable\": true,\n        \"locationAddress\": {\n            \"id\": null\n        },\n        \"externalId\": null\n    },\n    \"supplier\": {\n        \"id\": 719430,\n        \"uniqueCode\": \"123AB\",\n        \"name\": \"Supplier 1\",\n        \"createDate\": \"2024-07-12T10:18:00+00:00\",\n        \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n        \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n        \"legalAddress\": null,\n        \"currency\": \"USD\",\n        \"currencies\": [\n            \"USD\"\n        ],\n        \"autoSendPOSupplier\": false,\n        \"deliveryPeriod\": 0,\n        \"minimumSum\": 10,\n        \"businessRegistrationNumber\": null,\n        \"accountHolderName\": null,\n        \"bankName\": null,\n        \"accountNumber\": null,\n        \"bankAddress\": null,\n        \"swiftCode\": null,\n        \"permanentAccountNumber\": null,\n        \"internationalBankAccountNumber\": null,\n        \"americanBankersAssociationNumber\": null,\n        \"indianFinancialSystemCode\": null,\n        \"sortCode\": null,\n        \"taxPayer\": false,\n        \"taxPayerType\": 0,\n        \"taxPayerLabel\": \"Tax Payer Number\",\n        \"taxPayerNumber\": null,\n        \"phone\": null,\n        \"city\": null,\n        \"country\": null,\n        \"state\": null,\n        \"postalCode\": null,\n        \"note\": null,\n        \"conditions\": null,\n        \"enable\": true,\n        \"isMarketUpdatable\": false,\n        \"qboId\": null,\n        \"netSuiteId\": null,\n        \"xeroId\": null,\n        \"externalId\": null,\n        \"marketSupplier\": {\n            \"id\": null,\n            \"minimumSum\": null\n        },\n        \"enableMarketSupplier\": false,\n        \"creditBalanceSums\": {\n            \"USD\": 0\n        },\n        \"afaxysSupplierId\": null,\n        \"status\": 2,\n        \"creator\": {\n            \"id\": 95888,\n            \"email\": \"apitesterfordocumentation@gmail.com\"\n        },\n        \"enterInvoiceAsOneLine\": false,\n        \"isPunchoutSupplier\": false,\n        \"paymentTerms\": {\n            \"data\": [\n                {\n                    \"id\": 74148,\n                    \"name\": \"Prepayment\",\n                    \"prepaymentPercent\": 100,\n                    \"postpaymentPercent\": 0,\n                    \"creditPeriodDays\": 0,\n                    \"termsDueDateAfterInvoicing\": 0,\n                    \"paymentType\": 0,\n                    \"enable\": true,\n                    \"externalId\": null\n                }\n            ]\n        },\n        \"approvalSteps\": {\n            \"data\": []\n        },\n        \"approvingWay\": [],\n        \"propsVisibility\": {\n            \"showAccountHolderNameSupplier\": true,\n            \"showLegalAddressSupplier\": true,\n            \"showPhoneNumberSupplier\": true,\n            \"showBusinessRegistrationNumberSupplier\": true,\n            \"showAccountNumberSupplier\": true,\n            \"showBankNameSupplier\": true,\n            \"showBankAddressSupplier\": true,\n            \"showSortCodeSupplier\": true,\n            \"showTaxPayerSupplier\": true,\n            \"showSwiftCodeSupplier\": true,\n            \"showPermanentAccountNumberSupplier\": true,\n            \"showInternationalBankAccountNumberSupplier\": true,\n            \"showAmericanBankersAssociationNumberSupplier\": true,\n            \"showIndianFinancialSystemCodeSupplier\": true\n        }\n    },\n    \"budget\": [],\n    \"budgetLine\": [],\n    \"legalEntity\": {\n        \"id\": 23152,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"enable\": true,\n        \"name\": \"TEST Api Precoro\",\n        \"legalAddress\": null,\n        \"accountNumber\": null,\n        \"accountHolderName\": null,\n        \"bankName\": null,\n        \"bankAddress\": null,\n        \"sortCode\": null,\n        \"businessRegistrationNumber\": null,\n        \"taxPayerType\": 2,\n        \"taxPayerNumber\": null,\n        \"phone\": null,\n        \"keyExecutive\": null,\n        \"fullName\": null,\n        \"permanentAccountNumber\": null,\n        \"internationalBankAccountNumber\": null,\n        \"americanBankersAssociationNumber\": null,\n        \"swiftCode\": null,\n        \"indianFinancialSystemCode\": null,\n        \"externalId\": null,\n        \"uniqueCode\": null\n    },\n    \"creator\": {\n        \"id\": 95888,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n        \"email\": \"apitesterfordocumentation@gmail.com\",\n        \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n        \"locale\": \"en\",\n        \"phone\": \"+13456789\",\n        \"firstname\": \"Api\",\n        \"lastname\": \"Tester\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 97962\n        },\n        \"legalEntity\": {\n            \"id\": 23152\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allItemGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_INVOICE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_SUPPLIER_APPROVAL\",\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_EXPENSE\",\n            \"ROLE_EXPENSE_APPROVAL\",\n            \"ROLE_EXPENSE_PAYMENT\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPER_USER\",\n            \"ROLE_OCR\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"isPower\": true,\n        \"availableIn\": [\n            {\n                \"id\": 22359,\n                \"name\": \"TEST Api Precoro\",\n                \"active\": true\n            }\n        ],\n        \"hasConfirmationToken\": false\n    },\n    \"lastEditor\": [],\n    \"approvalSteps\": {\n        \"data\": []\n    },\n    \"items\": {\n        \"data\": [\n            {\n                \"id\": 3853205,\n                \"createDate\": \"2025-02-28T13:46:18+00:00\",\n                \"updateDate\": \"2025-02-28T13:46:18+00:00\",\n                \"sku\": \"173516\",\n                \"name\": \"Home Desk\",\n                \"freeOfCharge\": false,\n                \"price\": 49.9,\n                \"budgetedSum\": 0,\n                \"unit\": null,\n                \"currency\": \"USD\",\n                \"ordered\": 1,\n                \"status\": 0,\n                \"description\": null,\n                \"item\": {\n                    \"id\": 1447004,\n                    \"name\": \"Home Desk\",\n                    \"sku\": \"173516\",\n                    \"type\": 1,\n                    \"price\": 49.9,\n                    \"currency\": \"USD\"\n                },\n                \"type\": 1,\n                \"purchaseOrderItem\": {\n                    \"id\": 6017706\n                },\n                \"marketItem\": {\n                    \"id\": null\n                },\n                \"invoice\": {\n                    \"id\": 1534882,\n                    \"idn\": \"5\"\n                },\n                \"link\": null,\n                \"addedToCreditNote\": 0,\n                \"budgetSubLine\": {\n                    \"id\": null\n                },\n                \"taxes\": {\n                    \"data\": [\n                        {\n                            \"id\": 2309898,\n                            \"name\": \"APR\",\n                            \"value\": 3,\n                            \"documentTax\": {\n                                \"id\": 851402\n                            },\n                            \"usedTaxPercent\": 0,\n                            \"isWithholdingTax\": false,\n                            \"sum\": 1.5,\n                            \"sumInCompanyCurrency\": 1.5\n                        }\n                    ]\n                },\n                \"discounts\": {\n                    \"data\": []\n                },\n                \"dataItemCustomFields\": {\n                    \"data\": []\n                },\n                \"allocatedInvoiceItem\": null,\n                \"budget\": null,\n                \"itemSplits\": {\n                    \"data\": []\n                }\n            }\n        ]\n    },\n    \"taxes\": {\n        \"data\": [\n            {\n                \"id\": 851402,\n                \"name\": \"APR\",\n                \"value\": 3,\n                \"usedTaxPercent\": 0,\n                \"isWithholdingTax\": false\n            }\n        ]\n    },\n    \"discounts\": {\n        \"data\": []\n    },\n    \"comments\": {\n        \"data\": []\n    },\n    \"payments\": {\n        \"data\": [\n            {\n                \"id\": 1247584,\n                \"idn\": 9,\n                \"createDate\": \"2025-02-28T13:46:33+00:00\",\n                \"payDate\": \"2025-02-28T00:00:00+00:00\",\n                \"sumPaid\": 45.5,\n                \"status\": 0,\n                \"logicType\": 0,\n                \"invoice\": {\n                    \"id\": 1534882,\n                    \"idn\": \"5\",\n                    \"creator\": {\n                        \"id\": 95888\n                    }\n                },\n                \"purchaseOrder\": {\n                    \"id\": null,\n                    \"idn\": null,\n                    \"creator\": {\n                        \"id\": null\n                    }\n                },\n                \"balance\": 0,\n                \"qboId\": null,\n                \"prepayment\": null,\n                \"netSuiteId\": null,\n                \"xeroId\": null,\n                \"externalId\": null,\n                \"creator\": {\n                    \"id\": 95888,\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                    \"email\": \"apitesterfordocumentation@gmail.com\",\n                    \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                    \"locale\": \"en\",\n                    \"phone\": \"+13456789\",\n                    \"firstname\": \"Api\",\n                    \"lastname\": \"Tester\",\n                    \"position\": null,\n                    \"location\": {\n                        \"id\": 97962\n                    },\n                    \"legalEntity\": {\n                        \"id\": 23152\n                    },\n                    \"allLocationsAccess\": true,\n                    \"allUserDocumentCustomFieldsAccess\": true,\n                    \"allItemGroupsAccess\": true,\n                    \"roles\": [\n                        \"ROLE_PURCHASE_REQUISITION\",\n                        \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                        \"ROLE_PURCHASE_ORDER\",\n                        \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                        \"ROLE_RECEIPT\",\n                        \"ROLE_RECEIPT_APPROVAL\",\n                        \"ROLE_INVOICE\",\n                        \"ROLE_INVOICE_APPROVAL\",\n                        \"ROLE_INVOICE_PAYMENT\",\n                        \"ROLE_REPORT\",\n                        \"ROLE_BUDGET_HOLDER\",\n                        \"ROLE_SUPPLIER_MANAGEMENT\",\n                        \"ROLE_SUPPLIER_APPROVAL\",\n                        \"ROLE_WAREHOUSE_REQUEST\",\n                        \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                        \"ROLE_EXPENSE\",\n                        \"ROLE_EXPENSE_APPROVAL\",\n                        \"ROLE_EXPENSE_PAYMENT\",\n                        \"ROLE_WAREHOUSE_MANAGER\",\n                        \"ROLE_SUPER_USER\",\n                        \"ROLE_OCR\",\n                        \"ROLE_CONFIGURATION\",\n                        \"ROLE_USER\"\n                    ],\n                    \"enable\": true,\n                    \"isMarketSupplier\": false,\n                    \"isAvailableVacationMode\": false,\n                    \"enableVacationMode\": false,\n                    \"startVacationMode\": null,\n                    \"endVacationMode\": null,\n                    \"isPower\": true,\n                    \"availableIn\": [\n                        {\n                            \"id\": 22359,\n                            \"name\": \"TEST Api Precoro\",\n                            \"active\": true\n                        }\n                    ],\n                    \"hasConfirmationToken\": false\n                }\n            }\n        ]\n    },\n    \"followers\": {\n        \"data\": [\n            {\n                \"id\": 12271803,\n                \"user_status\": 1,\n                \"user_email\": \"apitesterfordocumentation@gmail.com\",\n                \"isAvailableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null\n            }\n        ]\n    },\n    \"dataDocumentCustomFields\": {\n        \"data\": [\n            {\n                \"id\": 3690228,\n                \"value\": \"267574\",\n                \"type\": 1,\n                \"documentCustomField\": {\n                    \"id\": 29942\n                }\n            }\n        ]\n    },\n    \"attachments\": {\n        \"data\": []\n    },\n    \"allocatedInvoice\": [],\n    \"contracts\": {\n        \"data\": []\n    },\n    \"isDocumentInForeignCurrency\": false,\n    \"isBudgetOverLimit\": false,\n    \"documentSplits\": {\n        \"data\": []\n    }\n}"}],"_postman_id":"06dce063-8d90-4c04-8efe-e52154871a93"},{"name":"Create Invoice","id":"2c388d81-1046-40f1-abef-de011e78d0bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token"},{"key":"email","value":"user@company.com"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"requiredDate\": \"2025-12-01T00:00:00+00:00\",\n  \"issueDate\": \"2025-11-17T00:00:00+00:00\",\n  \"supplier\": {\n    \"id\": 2552\n  },\n  \"location\": {\n    \"id\": 107666\n  },\n  \"budget\": {\n    \"id\": 1964859\n  },\n  \"legalEntity\": {\n    \"id\": 24455\n  },\n  \"currency\": \"UAH\",\n  \"note\": \"<p>some message</p>\",\n  \"paymentTerm\": {\n    \"id\": 80017\n  },\n  \"logicType\": 0,\n  \"exchangeRate\": {\n    \"UAH:USD\": 0.023314,\n    \"USD:UAH\": 45\n  },\n  \"invoiceNumber\": \"11555\",\n  \"contracts\": {\n    \"data\": [\n      {\n        \"id\": 80017\n      }\n    ]\n  },\n  \"taxes\": {\n    \"data\": [\n      {\n        \"id\": 1184489\n      }\n    ]\n  },\n  \"discounts\": {\n    \"data\": [\n      {\n        \"name\": \"sales\",\n        \"value\": 10,\n        \"unit\": \"%\"\n      }\n    ]\n  },\n  \"dataDocumentCustomFields\": {\n    \"data\": [\n      {\n        \"documentCustomField\": {\n          \"id\": \"33037\"\n        },\n        \"type\": 1,\n        \"value\": 356250\n      },\n      {\n        \"documentCustomField\": {\n          \"id\": \"33558\"\n        },\n        \"value\": 362460\n      },\n      {\n        \"value\": \"2026-01-21T00:00:00+00:00\",\n        \"type\": 3,\n        \"documentCustomField\": {\n          \"id\": 34742\n        }\n      },\n      {\n        \"value\": \"dd\",\n        \"type\": 2,\n        \"documentCustomField\": {\n          \"id\": 34743\n        }\n      }\n    ]\n  },\n  \"items\": {\n    \"data\": [\n      {\n        \"ordered\": 1,\n        \"item\": {\n          \"id\": 1662276\n        },\n        \"price\": 500,\n        \"currency\": \"UAH\",\n        \"dataItemCustomFields\": {\n          \"data\": []\n        },\n        \"taxes\": {\n          \"data\": [\n            {\n              \"id\": 1184489\n            }\n          ]\n        },\n        \"discounts\": {\n          \"data\": [\n            {\n              \"name\": \"sales\",\n              \"value\": 10,\n              \"unit\": \"%\"\n            }\n          ]\n        }\n      },\n      {\n        \"sku\": null,\n        \"name\": \"no sku\",\n        \"unit\": {\n          \"id\": 7115\n        },\n        \"ordered\": 2,\n        \"type\": 0,\n        \"freeOfCharge\": true,\n        \"dataItemCustomFields\": {\n          \"data\": [\n            {\n              \"id\": 6255958,\n              \"value\": \"846310\",\n              \"itemCustomField\": {\n                \"id\": 31759\n              }\n            }\n          ]\n        }\n      },\n      {\n        \"sku\": null,\n        \"name\": \"delivery\",\n        \"unit\": null,\n        \"currency\": \"UAH\",\n        \"ordered\": 1,\n        \"description\": null,\n        \"type\": 3,\n        \"price\": 13,\n        \"freeOfCharge\": false,\n        \"dataItemCustomFields\": {\n          \"data\": [\n            {\n              \"id\": 6255959,\n              \"value\": \"846306\",\n              \"itemCustomField\": {\n                \"id\": 31759\n              }\n            }\n          ]\n        }\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.precoro.com/invoices","description":"<p>Creates a new standalone invoice (logicType: 0). Supports catalog items, non-catalog items, shipping items, document custom fields, taxes, discounts, contracts, and exchange rates.</p>\n<p><strong>Required fields:</strong> <code>requiredDate</code>, <code>currency</code>, <code>location</code>, <code>dataDocumentCustomFields</code></p>\n<p><strong>logicType values:</strong></p>\n<ul>\n<li><code>0</code> — Standard (standalone invoice)</li>\n<li><code>1</code> — From Purchase Order</li>\n<li><code>2</code> — From Service Order</li>\n</ul>\n<p><strong>Item type values:</strong></p>\n<ul>\n<li><code>0</code> — Non-catalog item</li>\n<li><code>1</code> — Catalog item (use <code>item.id</code>)</li>\n<li><code>3</code> — Shipping item</li>\n</ul>\n<p><strong>DCF type values:</strong></p>\n<ul>\n<li><code>1</code> — Dropdown</li>\n<li><code>2</code> — Text</li>\n<li><code>3</code> — Date</li>\n</ul>\n<p>Use <code>freeOfCharge: true</code> on an item to mark it as free (price is ignored).</p>\n","urlObject":{"protocol":"https","path":["invoices"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"19bd7da1-3b34-4def-b6a1-81d08b8e9d10","name":"Create Invoice - 201 Created","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token"},{"key":"email","value":"user@company.com"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"requiredDate\": \"2025-12-01T00:00:00+00:00\",\n  \"issueDate\": \"2025-11-17T00:00:00+00:00\",\n  \"supplier\": {\"id\": 719430},\n  \"location\": {\"id\": 97962},\n  \"budget\": {\"id\": 1750223},\n  \"currency\": \"USD\",\n  \"note\": \"<p>some message</p>\",\n  \"logicType\": 0,\n  \"invoiceNumber\": \"INV-API-TEST-001\",\n  \"taxes\": {\"data\": [{\"id\": 33974}]},\n  \"discounts\": {\"data\": [{\"name\": \"sales\", \"value\": 10, \"unit\": \"%\"}]},\n  \"dataDocumentCustomFields\": {\n    \"data\": [\n      {\n        \"documentCustomField\": {\"id\": 29942},\n        \"type\": 1,\n        \"value\": \"267574\"\n      }\n    ]\n  },\n  \"items\": {\n    \"data\": [\n      {\n        \"ordered\": 1,\n        \"item\": {\"id\": 1447004},\n        \"dataItemCustomFields\": {\"data\": []}\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.precoro.com/invoices"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\"id\":2217387,\"idn\":8,\"customName\":null,\"createDate\":\"2026-05-15T12:36:32+00:00\",\"updateDate\":\"2026-05-15T12:36:32+00:00\",\"requiredDate\":\"2025-12-01T00:00:00+00:00\",\"issueDate\":\"2025-11-17T00:00:00+00:00\",\"approvalDate\":null,\"sumPaid\":0,\"sumPaidInCompanyCurrency\":0,\"sum\":49.9,\"netSum\":49.9,\"sumInCompanyCurrency\":49.9,\"netSumInCompanyCurrency\":49.9,\"withholdingTaxSum\":0,\"currency\":\"USD\",\"precisionData\":{\"USD\":{\"precision\":2,\"roundMode\":\"math\"}},\"note\":\"\\u003Cp\\u003Esome message\\u003C\\/p\\u003E\",\"exchangeRate\":{\"USD:UAH\":43.933523,\"UAH:USD\":0.022762},\"fromSupplier\":false,\"isServiceOrder\":false,\"status\":0,\"logicType\":0,\"invoiceNumber\":\"INV-API-TEST-001\",\"deliveryNote\":null,\"toleranceRateSum\":0,\"toleranceRatePercent\":0,\"purchaseOrder\":{\"id\":null},\"prepaymentPercent\":null,\"postpaymentPercent\":null,\"paymentTermName\":null,\"creditPeriodDays\":null,\"paymentTerm\":{\"id\":null},\"company\":{\"id\":22359},\"qboId\":null,\"netSuiteId\":null,\"integrationStatus\":null,\"xeroId\":null,\"billId\":null,\"externalId\":null,\"externalIntegrationLog\":null,\"budgetedSum\":49.9,\"usedTaxPercentInBudget\":\"100.00\",\"allDocumentCustomFieldOptionsIds\":\"267574\",\"isNewSupplierAdded\":false,\"itemsChartSum\":49.9,\"punchoutType\":0,\"approvingWay\":[],\"location\":{\"id\":97962,\"name\":\"Main location\",\"enable\":true},\"supplier\":{\"id\":719430,\"uniqueCode\":\"0112356\",\"name\":\"Supplier 1 Updated\",\"currency\":\"USD\",\"enable\":true},\"budget\":{\"id\":1750223,\"name\":\"Main office budget\",\"fullName\":\"Budget #1 Main office budget\",\"availableSum\":2000},\"budgetLine\":{\"id\":null},\"legalEntity\":{\"id\":23152,\"name\":\"TEST Api Precoro\",\"currency\":\"USD\"},\"creator\":{\"id\":95888,\"email\":\"apitesterfordocumentation@gmail.com\",\"firstname\":\"Api\",\"lastname\":\"Tester\"},\"lastEditor\":{\"id\":null},\"approvalSteps\":{\"data\":[]},\"items\":{\"data\":[{\"id\":5593159,\"sku\":\"173516\",\"name\":\"Home Desk\",\"freeOfCharge\":false,\"price\":49.9,\"budgetedSum\":49.9,\"unit\":null,\"currency\":\"USD\",\"ordered\":1,\"status\":0,\"item\":{\"id\":1447004,\"name\":\"Home Desk\",\"sku\":\"173516\",\"type\":1,\"price\":49.9,\"currency\":\"USD\"},\"type\":1,\"taxes\":{\"data\":[]},\"discounts\":{\"data\":[]},\"dataItemCustomFields\":{\"data\":[]}}]},\"taxes\":{\"data\":[{\"id\":1289419,\"name\":\"APR\",\"value\":3,\"usedTaxPercent\":0,\"isWithholdingTax\":false}]},\"discounts\":{\"data\":[{\"id\":13363,\"name\":\"sales\",\"value\":10,\"unit\":\"%\"}]},\"comments\":{\"data\":[]},\"payments\":{\"data\":[]},\"followers\":{\"data\":[{\"id\":17447115,\"user_status\":1,\"user_email\":\"apitesterfordocumentation@gmail.com\"}]},\"dataDocumentCustomFields\":{\"data\":[{\"id\":5381878,\"value\":\"267574\",\"type\":1,\"documentCustomField\":{\"id\":29942}}]},\"attachments\":{\"data\":[]},\"allocatedInvoice\":{\"id\":null},\"contracts\":{\"data\":[]},\"isBudgetOverLimit\":false,\"entityTemplate\":{\"id\":null},\"relatedCreditNotes\":[],\"relatedOcrAttachment\":{\"id\":null}}"}],"_postman_id":"2c388d81-1046-40f1-abef-de011e78d0bd"}],"id":"43e66428-e872-4e1a-bfc6-28a0731d78c9","description":"<p>Status values description:<br /><strong>OPEN</strong> = 0<br /><strong>PENDING</strong> = 1<br /><strong>APPROVED</strong> = 2<br /><strong>DENIED</strong> = 3</p>\n<p><strong>PARTLY_PAID</strong> = 4<br /><strong>PAID</strong> = 5<br /><strong>AWAITING_CONFIRMATION</strong> = 6 - on invoice-purchase order matching</p>\n<p><strong>ON_REVISE</strong> = 7<br /><strong>CANCELED</strong> = 8</p>\n<p><strong>PENDING_RECEIPT</strong> = 9</p>\n<p><strong>APPROVAL_REVIEW</strong> = 10<br /><strong>CLOSED</strong> = 11</p>\n<hr />\n<p>Items status description:<br /><strong>APPROVED</strong> = 1<br /><strong>REJECTED</strong> = 2</p>\n<hr />\n<p>Logic types description:</p>\n<p><strong>STANDARD</strong> = 0</p>\n<p><strong>CREDIT_NOTE</strong> = 1</p>\n<p><strong>FROM_ORDER</strong> = 2</p>\n<p><strong>RECURRING</strong> = 3</p>\n<p><strong>FROM_SERVICE_ORDER</strong> = 4</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"2fa510e9-a2e6-4062-86d5-1870cf1d5973"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"9c92c02a-6fbf-406a-b323-2f8166d7a029"}}],"_postman_id":"43e66428-e872-4e1a-bfc6-28a0731d78c9"},{"name":"Expenses","item":[{"name":"Get Expenses list","id":"85194bf4-4e12-4bac-b24c-da2132d1eab5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/expenses?modifiedSince=2022-12-12T00:00:00&per_page=100&page=1&approvalLeftDate=2022-12-12T00:00:00&approvalRightDate=2024-01-10T00:00:00&status[]=2&status[]=4","urlObject":{"protocol":"https","path":["expenses"],"host":["api","precoro","com"],"query":[{"description":{"content":"<p>(optionally) If an object was modified since the date, it will appears in results</p>\n","type":"text/plain"},"key":"modifiedSince","value":"2022-12-12T00:00:00"},{"description":{"content":"<p>(optionally) Number of items per page. Available options: 10, 20, 50, 100, 200</p>\n","type":"text/plain"},"key":"per_page","value":"100"},{"description":{"content":"<p>(optionally) Page number to be displayed</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>(optionally) If an object was approved since the date, it will appear in the results</p>\n","type":"text/plain"},"key":"approvalLeftDate","value":"2022-12-12T00:00:00"},{"description":{"content":"<p>(optionally) If an object was approved before the date, it will appear in the results</p>\n","type":"text/plain"},"key":"approvalRightDate","value":"2024-01-10T00:00:00"},{"description":{"content":"<p>(optionally) Return expenses on status approved</p>\n","type":"text/plain"},"key":"status[]","value":"2"},{"description":{"content":"<p>(optionally) Return expenses on status partly paid</p>\n","type":"text/plain"},"key":"status[]","value":"4"}],"variable":[]}},"response":[{"id":"74b66597-d7d1-4477-a178-64c9b42846f8","name":"Get Expenses list","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":{"raw":"https://api.precoro.com/expenses?modifiedSince=2022-12-12T00:00:00&per_page=100&page=1","protocol":"https","host":["api","precoro","com"],"path":["expenses"],"query":[{"key":"modifiedSince","value":"2022-12-12T00:00:00","description":"(optionally) If an object was modified since the date, it will appears in results"},{"key":"per_page","value":"100","description":"(optionally) Number of items per page. Available options: 10, 20, 50, 100, 200"},{"key":"page","value":"1","description":"(optionally) Page number to be displayed"},{"key":"approvalLeftDate","value":"2022-12-12T00:00:00","description":"(optionally) If an object was approved since the date, it will appear in the results","disabled":true},{"key":"approvalRightDate","value":"2024-01-10T00:00:00","description":"(optionally) If an object was approved before the date, it will appear in the results","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 14:08:45 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 14:08:45 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=mlgbqpbZ9BKUzXSVTWFhlNusbmd13CJknnkC50bCO1%2Bo0ClTuTc6dFCqqfE8yCIAOOSW9CjmZlGDWU%2BlgEECutRXdLyZc03YT%2FWZUKFopdl%2F7SmPbX38pDlnVyJuI5vSGQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9190fd0a98e282ff-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=1561&min_rtt=1409&rtt_var=637&sent=3&recv=5&lost=0&retrans=0&sent_bytes=219&recv_bytes=1176&delivery_rate=1027679&cwnd=200&unsent_bytes=0&cid=aac98d1566f28338&ts=371&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 75940,\n            \"idn\": \"2\",\n            \"customName\": null,\n            \"createDate\": \"2025-02-28T14:07:57+00:00\",\n            \"updateDate\": \"2025-02-28T14:07:57+00:00\",\n            \"requiredDate\": \"2025-02-25T00:00:00+00:00\",\n            \"issueDate\": \"2025-02-11T00:00:00+00:00\",\n            \"approvalDate\": null,\n            \"sumPaid\": 0,\n            \"sumPaidInCompanyCurrency\": 0,\n            \"sum\": 0,\n            \"netSum\": 0,\n            \"sumInCompanyCurrency\": 0,\n            \"netSumInCompanyCurrency\": 0,\n            \"withholdingTaxSum\": 0,\n            \"currency\": \"USD\",\n            \"precisionData\": {\n                \"USD\": {\n                    \"precision\": 2,\n                    \"roundMode\": \"math\"\n                }\n            },\n            \"note\": null,\n            \"exchangeRate\": {\n                \"KHR:UAH\": 0.010371,\n                \"KHR:USD\": 0.000249,\n                \"UAH:KHR\": 96.426907,\n                \"UAH:USD\": 0.024042,\n                \"USD:KHR\": 4010.695509,\n                \"USD:UAH\": 41.593116\n            },\n            \"status\": 0,\n            \"expenseNumber\": null,\n            \"budgetedSum\": 0,\n            \"usedTaxPercentInBudget\": \"100.00\",\n            \"allDocumentCustomFieldOptionsIds\": null,\n            \"qboId\": null,\n            \"approvingWay\": [],\n            \"location\": {\n                \"id\": 97962,\n                \"uniqueCode\": null,\n                \"name\": \"Main location\",\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"fullAddress\": null,\n                \"afaxysLocationId\": null,\n                \"phone\": null,\n                \"allLocationsAccessLegalEntities\": true,\n                \"enable\": true,\n                \"locationAddress\": {\n                    \"id\": null\n                },\n                \"externalId\": null\n            },\n            \"budget\": [],\n            \"creator\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"availableIn\": [\n                    {\n                        \"id\": 22359,\n                        \"name\": \"TEST Api Precoro\",\n                        \"active\": true\n                    }\n                ],\n                \"hasConfirmationToken\": false\n            },\n            \"lastEditor\": [],\n            \"legalEntity\": {\n                \"id\": 23152,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"enable\": true,\n                \"name\": \"TEST Api Precoro\",\n                \"legalAddress\": null,\n                \"accountNumber\": null,\n                \"accountHolderName\": null,\n                \"bankName\": null,\n                \"bankAddress\": null,\n                \"sortCode\": null,\n                \"businessRegistrationNumber\": null,\n                \"taxPayerType\": 2,\n                \"taxPayerNumber\": null,\n                \"phone\": null,\n                \"keyExecutive\": null,\n                \"fullName\": null,\n                \"permanentAccountNumber\": null,\n                \"internationalBankAccountNumber\": null,\n                \"americanBankersAssociationNumber\": null,\n                \"swiftCode\": null,\n                \"indianFinancialSystemCode\": null,\n                \"externalId\": null,\n                \"uniqueCode\": null\n            },\n            \"approvalSteps\": {\n                \"data\": []\n            },\n            \"dataDocumentCustomFields\": {\n                \"data\": []\n            },\n            \"approvalInfo\": {\n                \"canApproveDocument\": false,\n                \"canRejectDocument\": false\n            },\n            \"isBudgetOverLimit\": false,\n            \"entityTemplate\": []\n        },\n        {\n            \"id\": 63057,\n            \"idn\": \"1\",\n            \"customName\": null,\n            \"createDate\": \"2024-07-09T12:11:14+00:00\",\n            \"updateDate\": \"2024-07-09T12:12:09+00:00\",\n            \"requiredDate\": \"2024-07-23T00:00:00+00:00\",\n            \"issueDate\": \"2024-07-24T00:00:00+00:00\",\n            \"approvalDate\": \"2024-07-09T12:11:26+00:00\",\n            \"sumPaid\": 10,\n            \"sumPaidInCompanyCurrency\": 10,\n            \"sum\": 10.3,\n            \"netSum\": 10,\n            \"sumInCompanyCurrency\": 10.3,\n            \"netSumInCompanyCurrency\": 10,\n            \"withholdingTaxSum\": 0,\n            \"currency\": \"USD\",\n            \"precisionData\": {\n                \"USD\": {\n                    \"precision\": 2,\n                    \"roundMode\": \"math\"\n                }\n            },\n            \"note\": null,\n            \"exchangeRate\": [],\n            \"status\": 4,\n            \"expenseNumber\": null,\n            \"budgetedSum\": 0,\n            \"usedTaxPercentInBudget\": \"100.00\",\n            \"allDocumentCustomFieldOptionsIds\": null,\n            \"qboId\": null,\n            \"approvingWay\": [],\n            \"location\": {\n                \"id\": 97962,\n                \"uniqueCode\": null,\n                \"name\": \"Main location\",\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"fullAddress\": null,\n                \"afaxysLocationId\": null,\n                \"phone\": null,\n                \"allLocationsAccessLegalEntities\": true,\n                \"enable\": true,\n                \"locationAddress\": {\n                    \"id\": null\n                },\n                \"externalId\": null\n            },\n            \"budget\": [],\n            \"creator\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"availableIn\": [\n                    {\n                        \"id\": 22359,\n                        \"name\": \"TEST Api Precoro\",\n                        \"active\": true\n                    }\n                ],\n                \"hasConfirmationToken\": false\n            },\n            \"lastEditor\": [],\n            \"legalEntity\": {\n                \"id\": 23152,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"enable\": true,\n                \"name\": \"TEST Api Precoro\",\n                \"legalAddress\": null,\n                \"accountNumber\": null,\n                \"accountHolderName\": null,\n                \"bankName\": null,\n                \"bankAddress\": null,\n                \"sortCode\": null,\n                \"businessRegistrationNumber\": null,\n                \"taxPayerType\": 2,\n                \"taxPayerNumber\": null,\n                \"phone\": null,\n                \"keyExecutive\": null,\n                \"fullName\": null,\n                \"permanentAccountNumber\": null,\n                \"internationalBankAccountNumber\": null,\n                \"americanBankersAssociationNumber\": null,\n                \"swiftCode\": null,\n                \"indianFinancialSystemCode\": null,\n                \"externalId\": null,\n                \"uniqueCode\": null\n            },\n            \"approvalSteps\": {\n                \"data\": []\n            },\n            \"dataDocumentCustomFields\": {\n                \"data\": []\n            },\n            \"approvalInfo\": {\n                \"canApproveDocument\": false,\n                \"canRejectDocument\": false\n            },\n            \"isBudgetOverLimit\": false,\n            \"entityTemplate\": []\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 2,\n            \"count\": 2,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": {}\n        }\n    }\n}"}],"_postman_id":"85194bf4-4e12-4bac-b24c-da2132d1eab5"},{"name":"Get Expense by IDN","id":"cdb8e2ef-7217-49f1-a4e2-410d4b25a5b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/expenses/{idn}","urlObject":{"protocol":"https","path":["expenses","{idn}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"0d4027ee-7df8-4092-bbc7-6509ede0d390","name":"Get Expense by IDN","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/expenses/{idn}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 14:08:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 14:08:55 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=pjenojjc6Zp1FD9mxcCsszxaHEzpMQj7xCD6hBc4a57z%2FUisYj47qbVvKSBzBOSTEU5GgUP6V%2BkRFeW01odDV%2BNU8LctVt9U4Qn1uWpVEIKSQttzEwYwBpMXh9K2hcraUQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9190fd45fc5ac9bf-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=1781&min_rtt=1633&rtt_var=718&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2337&recv_bytes=869&delivery_rate=1773423&cwnd=157&unsent_bytes=0&cid=c9860e0fc4574e4a&ts=392&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 63057,\n    \"idn\": \"1\",\n    \"customName\": null,\n    \"createDate\": \"2024-07-09T12:11:14+00:00\",\n    \"updateDate\": \"2024-07-09T12:12:09+00:00\",\n    \"requiredDate\": \"2024-07-23T00:00:00+00:00\",\n    \"issueDate\": \"2024-07-24T00:00:00+00:00\",\n    \"approvalDate\": \"2024-07-09T12:11:26+00:00\",\n    \"sumPaid\": 10,\n    \"sumPaidInCompanyCurrency\": 10,\n    \"sum\": 10.3,\n    \"netSum\": 10,\n    \"sumInCompanyCurrency\": 10.3,\n    \"netSumInCompanyCurrency\": 10,\n    \"withholdingTaxSum\": 0,\n    \"currency\": \"USD\",\n    \"precisionData\": {\n        \"USD\": {\n            \"precision\": 2,\n            \"roundMode\": \"math\"\n        }\n    },\n    \"note\": null,\n    \"exchangeRate\": [],\n    \"status\": 4,\n    \"expenseNumber\": null,\n    \"budgetedSum\": 0,\n    \"usedTaxPercentInBudget\": \"100.00\",\n    \"allDocumentCustomFieldOptionsIds\": null,\n    \"qboId\": null,\n    \"approvingWay\": [],\n    \"location\": {\n        \"id\": 97962,\n        \"uniqueCode\": null,\n        \"name\": \"Main location\",\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"fullAddress\": null,\n        \"afaxysLocationId\": null,\n        \"phone\": null,\n        \"allLocationsAccessLegalEntities\": true,\n        \"enable\": true,\n        \"locationAddress\": {\n            \"id\": null\n        },\n        \"externalId\": null\n    },\n    \"budget\": [],\n    \"creator\": {\n        \"id\": 95888,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n        \"email\": \"apitesterfordocumentation@gmail.com\",\n        \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n        \"locale\": \"en\",\n        \"phone\": \"+13456789\",\n        \"firstname\": \"Api\",\n        \"lastname\": \"Tester\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 97962\n        },\n        \"legalEntity\": {\n            \"id\": 23152\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allItemGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_INVOICE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_SUPPLIER_APPROVAL\",\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_EXPENSE\",\n            \"ROLE_EXPENSE_APPROVAL\",\n            \"ROLE_EXPENSE_PAYMENT\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPER_USER\",\n            \"ROLE_OCR\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"isPower\": true,\n        \"availableIn\": [\n            {\n                \"id\": 22359,\n                \"name\": \"TEST Api Precoro\",\n                \"active\": true\n            }\n        ],\n        \"hasConfirmationToken\": false\n    },\n    \"lastEditor\": [],\n    \"legalEntity\": {\n        \"id\": 23152,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"enable\": true,\n        \"name\": \"TEST Api Precoro\",\n        \"legalAddress\": null,\n        \"accountNumber\": null,\n        \"accountHolderName\": null,\n        \"bankName\": null,\n        \"bankAddress\": null,\n        \"sortCode\": null,\n        \"businessRegistrationNumber\": null,\n        \"taxPayerType\": 2,\n        \"taxPayerNumber\": null,\n        \"phone\": null,\n        \"keyExecutive\": null,\n        \"fullName\": null,\n        \"permanentAccountNumber\": null,\n        \"internationalBankAccountNumber\": null,\n        \"americanBankersAssociationNumber\": null,\n        \"swiftCode\": null,\n        \"indianFinancialSystemCode\": null,\n        \"externalId\": null,\n        \"uniqueCode\": null\n    },\n    \"approvalSteps\": {\n        \"data\": []\n    },\n    \"items\": {\n        \"data\": [\n            {\n                \"id\": 103649,\n                \"createDate\": \"2024-07-09T12:11:23+00:00\",\n                \"updateDate\": \"2024-07-09T12:11:23+00:00\",\n                \"sku\": null,\n                \"name\": \"Item 1\",\n                \"freeOfCharge\": false,\n                \"price\": 10,\n                \"budgetedSum\": 0,\n                \"unit\": null,\n                \"currency\": \"USD\",\n                \"ordered\": 1,\n                \"status\": 0,\n                \"item\": {\n                    \"id\": null\n                },\n                \"expense\": {\n                    \"id\": 63057,\n                    \"idn\": \"1\"\n                },\n                \"link\": null,\n                \"discounts\": {\n                    \"data\": []\n                },\n                \"dataItemCustomFields\": {\n                    \"data\": []\n                },\n                \"taxes\": {\n                    \"data\": [\n                        {\n                            \"id\": 7178,\n                            \"name\": \"APR\",\n                            \"value\": 3,\n                            \"documentTax\": {\n                                \"id\": 4494\n                            },\n                            \"usedTaxPercent\": 0,\n                            \"isWithholdingTax\": false,\n                            \"sum\": 0.3,\n                            \"sumInCompanyCurrency\": 0.3\n                        }\n                    ]\n                },\n                \"budget\": null\n            }\n        ]\n    },\n    \"comments\": {\n        \"data\": []\n    },\n    \"expensePayments\": {\n        \"data\": [\n            {\n                \"id\": 30986,\n                \"idn\": 1,\n                \"createDate\": \"2024-07-09T12:12:09+00:00\",\n                \"payDate\": \"2024-07-09T00:00:00+00:00\",\n                \"sumPaid\": 10,\n                \"status\": 0,\n                \"expense\": {\n                    \"id\": 63057,\n                    \"idn\": \"1\"\n                },\n                \"creator\": {\n                    \"id\": 95888,\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                    \"email\": \"apitesterfordocumentation@gmail.com\",\n                    \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                    \"locale\": \"en\",\n                    \"phone\": \"+13456789\",\n                    \"firstname\": \"Api\",\n                    \"lastname\": \"Tester\",\n                    \"position\": null,\n                    \"location\": {\n                        \"id\": 97962\n                    },\n                    \"legalEntity\": {\n                        \"id\": 23152\n                    },\n                    \"allLocationsAccess\": true,\n                    \"allUserDocumentCustomFieldsAccess\": true,\n                    \"allItemGroupsAccess\": true,\n                    \"roles\": [\n                        \"ROLE_PURCHASE_REQUISITION\",\n                        \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                        \"ROLE_PURCHASE_ORDER\",\n                        \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                        \"ROLE_RECEIPT\",\n                        \"ROLE_RECEIPT_APPROVAL\",\n                        \"ROLE_INVOICE\",\n                        \"ROLE_INVOICE_APPROVAL\",\n                        \"ROLE_INVOICE_PAYMENT\",\n                        \"ROLE_REPORT\",\n                        \"ROLE_BUDGET_HOLDER\",\n                        \"ROLE_SUPPLIER_MANAGEMENT\",\n                        \"ROLE_SUPPLIER_APPROVAL\",\n                        \"ROLE_WAREHOUSE_REQUEST\",\n                        \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                        \"ROLE_EXPENSE\",\n                        \"ROLE_EXPENSE_APPROVAL\",\n                        \"ROLE_EXPENSE_PAYMENT\",\n                        \"ROLE_WAREHOUSE_MANAGER\",\n                        \"ROLE_SUPER_USER\",\n                        \"ROLE_OCR\",\n                        \"ROLE_CONFIGURATION\",\n                        \"ROLE_USER\"\n                    ],\n                    \"enable\": true,\n                    \"isMarketSupplier\": false,\n                    \"isAvailableVacationMode\": false,\n                    \"enableVacationMode\": false,\n                    \"startVacationMode\": null,\n                    \"endVacationMode\": null,\n                    \"isPower\": true,\n                    \"availableIn\": [\n                        {\n                            \"id\": 22359,\n                            \"name\": \"TEST Api Precoro\",\n                            \"active\": true\n                        }\n                    ],\n                    \"hasConfirmationToken\": false\n                }\n            }\n        ]\n    },\n    \"dataDocumentCustomFields\": {\n        \"data\": []\n    },\n    \"attachments\": {\n        \"data\": []\n    },\n    \"followers\": {\n        \"data\": [\n            {\n                \"id\": 10096393,\n                \"user_status\": 1,\n                \"user_email\": \"apitesterfordocumentation@gmail.com\",\n                \"isAvailableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null\n            }\n        ]\n    },\n    \"taxes\": {\n        \"data\": [\n            {\n                \"id\": 4494,\n                \"name\": \"APR\",\n                \"value\": 3,\n                \"usedTaxPercent\": 0,\n                \"isWithholdingTax\": false\n            }\n        ]\n    },\n    \"isBudgetOverLimit\": false,\n    \"entityTemplate\": []\n}"}],"_postman_id":"cdb8e2ef-7217-49f1-a4e2-410d4b25a5b6"}],"id":"7f450b63-893a-4706-ae88-4b6b060d207e","description":"<p>Status values description:<br /><strong>OPEN</strong> = 0<br /><strong>PENDING</strong> = 1<br /><strong>APPROVED</strong> = 2<br /><strong>DENIED</strong> = 3</p>\n<p><strong>PARTLY_PAID</strong> = 4<br /><strong>PAID</strong> = 5</p>\n<p><strong>ON_REVISE</strong> = 7<br /><strong>CANCELED</strong> = 8</p>\n<p><strong>APPROVAL_REVIEW</strong> = 10<br /><strong>CLOSED</strong> = 11</p>\n","_postman_id":"7f450b63-893a-4706-ae88-4b6b060d207e"},{"name":"Payments","item":[{"name":"Get  Payments","id":"e4868715-c3f6-4a03-968c-eb6139403baa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"https://api.precoro.com/payments","urlObject":{"protocol":"https","path":["payments"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"4aca5d6e-2d0c-4209-b849-3fb207feb861","name":"Get  Payments","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/payments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 14:09:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 14:09:12 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Qgi2ST7rMKhwGT2Ps5kZSJlmo3aPpnrqkeQzhP27cCsDWZs8cS4qxjDD%2Fe4lKH81X9erxb3Rbpc2fw3PrKJyeokxe%2FRJl3FgYuplMFBCAlcc923A2rEnz8%2FUV3yluhey0Q%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9190fdb159ccf27e-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=2012&min_rtt=1825&rtt_var=818&sent=3&recv=5&lost=0&retrans=0&sent_bytes=219&recv_bytes=1122&delivery_rate=793424&cwnd=140&unsent_bytes=0&cid=dd3083ab592f2ceb&ts=462&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1247584,\n            \"idn\": 9,\n            \"createDate\": \"2025-02-28T13:46:33+00:00\",\n            \"payDate\": \"2025-02-28T00:00:00+00:00\",\n            \"sumPaid\": 45.5,\n            \"status\": 0,\n            \"logicType\": 0,\n            \"invoice\": {\n                \"id\": 1534882,\n                \"idn\": \"5\",\n                \"customName\": null,\n                \"createDate\": \"2025-02-28T13:46:18+00:00\",\n                \"updateDate\": \"2025-02-28T14:07:31+00:00\",\n                \"requiredDate\": \"2025-03-21T00:00:00+00:00\",\n                \"issueDate\": \"2025-03-21T00:00:00+00:00\",\n                \"approvalDate\": \"2025-02-28T13:46:24+00:00\",\n                \"sumPaid\": \"45.50\",\n                \"sumPaidInCompanyCurrency\": \"45.50\",\n                \"sum\": 51.4,\n                \"netSum\": 49.9,\n                \"sumInCompanyCurrency\": 51.4,\n                \"netSumInCompanyCurrency\": 49.9,\n                \"withholdingTaxSum\": 0,\n                \"currency\": \"USD\",\n                \"precisionData\": {\n                    \"USD\": {\n                        \"precision\": 2,\n                        \"roundMode\": \"math\"\n                    }\n                },\n                \"note\": null,\n                \"exchangeRate\": {\n                    \"KHR:UAH\": 0.010371,\n                    \"KHR:USD\": 0.000249,\n                    \"UAH:KHR\": 96.426907,\n                    \"UAH:USD\": 0.024042,\n                    \"USD:KHR\": 4010.695509,\n                    \"USD:UAH\": 41.593116\n                },\n                \"fromSupplier\": false,\n                \"isServiceOrder\": false,\n                \"status\": 4,\n                \"logicType\": 2,\n                \"invoiceNumber\": null,\n                \"deliveryNote\": null,\n                \"toleranceRateSum\": \"0.00\",\n                \"toleranceRatePercent\": \"0.00\",\n                \"purchaseOrder\": {\n                    \"id\": 1877576,\n                    \"idn\": \"3\",\n                    \"creator\": {\n                        \"id\": 95888\n                    }\n                },\n                \"prepaymentPercent\": 100,\n                \"postpaymentPercent\": 0,\n                \"creditPeriodDays\": 0,\n                \"paymentTerm\": {\n                    \"id\": 74148\n                },\n                \"company\": {\n                    \"id\": 22359\n                },\n                \"qboId\": null,\n                \"netSuiteId\": null,\n                \"xeroId\": null,\n                \"externalId\": \"2323\",\n                \"externalIntegrationLog\": null,\n                \"budgetedSum\": 0,\n                \"usedTaxPercentInBudget\": \"100.00\",\n                \"allDocumentCustomFieldOptionsIds\": \"267574\",\n                \"isNewSupplierAdded\": false,\n                \"itemsChartSum\": 51.4,\n                \"approvingWay\": [],\n                \"location\": {\n                    \"id\": 97962,\n                    \"uniqueCode\": null,\n                    \"name\": \"Main location\",\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"fullAddress\": null,\n                    \"afaxysLocationId\": null,\n                    \"phone\": null,\n                    \"allLocationsAccessLegalEntities\": true,\n                    \"enable\": true,\n                    \"locationAddress\": {\n                        \"id\": null\n                    },\n                    \"externalId\": null\n                },\n                \"supplier\": {\n                    \"id\": 719430,\n                    \"uniqueCode\": \"123AB\",\n                    \"name\": \"Supplier 1\",\n                    \"createDate\": \"2024-07-12T10:18:00+00:00\",\n                    \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n                    \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n                    \"legalAddress\": null,\n                    \"currency\": \"USD\",\n                    \"currencies\": [\n                        \"USD\"\n                    ],\n                    \"autoSendPOSupplier\": false,\n                    \"deliveryPeriod\": 0,\n                    \"minimumSum\": 10,\n                    \"businessRegistrationNumber\": null,\n                    \"accountHolderName\": null,\n                    \"bankName\": null,\n                    \"accountNumber\": null,\n                    \"bankAddress\": null,\n                    \"swiftCode\": null,\n                    \"permanentAccountNumber\": null,\n                    \"internationalBankAccountNumber\": null,\n                    \"americanBankersAssociationNumber\": null,\n                    \"indianFinancialSystemCode\": null,\n                    \"sortCode\": null,\n                    \"taxPayer\": false,\n                    \"taxPayerType\": 0,\n                    \"taxPayerLabel\": \"Tax Payer Number\",\n                    \"taxPayerNumber\": null,\n                    \"phone\": null,\n                    \"city\": null,\n                    \"country\": null,\n                    \"state\": null,\n                    \"postalCode\": null,\n                    \"note\": null,\n                    \"conditions\": null,\n                    \"enable\": true,\n                    \"isMarketUpdatable\": false,\n                    \"qboId\": null,\n                    \"netSuiteId\": null,\n                    \"xeroId\": null,\n                    \"externalId\": null,\n                    \"marketSupplier\": {\n                        \"id\": null,\n                        \"minimumSum\": null\n                    },\n                    \"enableMarketSupplier\": false,\n                    \"creditBalanceSums\": {\n                        \"USD\": 0\n                    },\n                    \"afaxysSupplierId\": null,\n                    \"status\": 2,\n                    \"creator\": {\n                        \"id\": 95888,\n                        \"email\": \"apitesterfordocumentation@gmail.com\"\n                    },\n                    \"enterInvoiceAsOneLine\": false,\n                    \"isPunchoutSupplier\": false,\n                    \"paymentTerms\": {\n                        \"data\": [\n                            {\n                                \"id\": 74148,\n                                \"name\": \"Prepayment\",\n                                \"prepaymentPercent\": 100,\n                                \"postpaymentPercent\": 0,\n                                \"creditPeriodDays\": 0,\n                                \"termsDueDateAfterInvoicing\": 0,\n                                \"paymentType\": 0,\n                                \"enable\": true,\n                                \"externalId\": null\n                            }\n                        ]\n                    },\n                    \"approvalSteps\": {\n                        \"data\": []\n                    },\n                    \"approvingWay\": []\n                },\n                \"budget\": [],\n                \"budgetLine\": [],\n                \"legalEntity\": {\n                    \"id\": 23152,\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"enable\": true,\n                    \"name\": \"TEST Api Precoro\",\n                    \"legalAddress\": null,\n                    \"accountNumber\": null,\n                    \"accountHolderName\": null,\n                    \"bankName\": null,\n                    \"bankAddress\": null,\n                    \"sortCode\": null,\n                    \"businessRegistrationNumber\": null,\n                    \"taxPayerType\": 2,\n                    \"taxPayerNumber\": null,\n                    \"phone\": null,\n                    \"keyExecutive\": null,\n                    \"fullName\": null,\n                    \"permanentAccountNumber\": null,\n                    \"internationalBankAccountNumber\": null,\n                    \"americanBankersAssociationNumber\": null,\n                    \"swiftCode\": null,\n                    \"indianFinancialSystemCode\": null,\n                    \"externalId\": null,\n                    \"uniqueCode\": null\n                },\n                \"creator\": {\n                    \"id\": 95888,\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                    \"email\": \"apitesterfordocumentation@gmail.com\",\n                    \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                    \"locale\": \"en\",\n                    \"phone\": \"+13456789\",\n                    \"firstname\": \"Api\",\n                    \"lastname\": \"Tester\",\n                    \"position\": null,\n                    \"location\": {\n                        \"id\": 97962\n                    },\n                    \"legalEntity\": {\n                        \"id\": 23152\n                    },\n                    \"allLocationsAccess\": true,\n                    \"allUserDocumentCustomFieldsAccess\": true,\n                    \"allItemGroupsAccess\": true,\n                    \"roles\": [\n                        \"ROLE_PURCHASE_REQUISITION\",\n                        \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                        \"ROLE_PURCHASE_ORDER\",\n                        \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                        \"ROLE_RECEIPT\",\n                        \"ROLE_RECEIPT_APPROVAL\",\n                        \"ROLE_INVOICE\",\n                        \"ROLE_INVOICE_APPROVAL\",\n                        \"ROLE_INVOICE_PAYMENT\",\n                        \"ROLE_REPORT\",\n                        \"ROLE_BUDGET_HOLDER\",\n                        \"ROLE_SUPPLIER_MANAGEMENT\",\n                        \"ROLE_SUPPLIER_APPROVAL\",\n                        \"ROLE_WAREHOUSE_REQUEST\",\n                        \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                        \"ROLE_EXPENSE\",\n                        \"ROLE_EXPENSE_APPROVAL\",\n                        \"ROLE_EXPENSE_PAYMENT\",\n                        \"ROLE_WAREHOUSE_MANAGER\",\n                        \"ROLE_SUPER_USER\",\n                        \"ROLE_OCR\",\n                        \"ROLE_CONFIGURATION\",\n                        \"ROLE_USER\"\n                    ],\n                    \"enable\": true,\n                    \"isMarketSupplier\": false,\n                    \"isAvailableVacationMode\": false,\n                    \"enableVacationMode\": false,\n                    \"startVacationMode\": null,\n                    \"endVacationMode\": null,\n                    \"isPower\": true,\n                    \"availableIn\": [\n                        {\n                            \"id\": 22359,\n                            \"name\": \"TEST Api Precoro\",\n                            \"active\": true\n                        }\n                    ],\n                    \"hasConfirmationToken\": false\n                },\n                \"lastEditor\": [],\n                \"approvalSteps\": {\n                    \"data\": []\n                }\n            },\n            \"purchaseOrder\": {\n                \"id\": null,\n                \"idn\": null,\n                \"creator\": {\n                    \"id\": null\n                }\n            },\n            \"balance\": 0,\n            \"qboId\": null,\n            \"prepayment\": null,\n            \"netSuiteId\": null,\n            \"xeroId\": null,\n            \"externalId\": null,\n            \"creator\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"availableIn\": [\n                    {\n                        \"id\": 22359,\n                        \"name\": \"TEST Api Precoro\",\n                        \"active\": true\n                    }\n                ],\n                \"hasConfirmationToken\": false\n            }\n        },\n        {\n            \"id\": 1177500,\n            \"idn\": 8,\n            \"createDate\": \"2024-12-12T09:41:21+00:00\",\n            \"payDate\": \"2021-03-01T00:00:00+00:00\",\n            \"sumPaid\": 0.01,\n            \"status\": 0,\n            \"logicType\": 0,\n            \"invoice\": {\n                \"id\": 1335829,\n                \"idn\": \"3\",\n                \"customName\": null,\n                \"createDate\": \"2024-09-19T14:23:14+00:00\",\n                \"updateDate\": \"2024-12-12T09:41:21+00:00\",\n                \"requiredDate\": \"2024-09-20T00:00:00+00:00\",\n                \"issueDate\": \"2024-09-20T00:00:00+00:00\",\n                \"approvalDate\": \"2024-09-19T14:23:21+00:00\",\n                \"sumPaid\": \"0.06\",\n                \"sumPaidInCompanyCurrency\": \"0.06\",\n                \"sum\": 51.4,\n                \"netSum\": 49.9,\n                \"sumInCompanyCurrency\": 51.4,\n                \"netSumInCompanyCurrency\": 49.9,\n                \"withholdingTaxSum\": 0,\n                \"currency\": \"USD\",\n                \"precisionData\": {\n                    \"USD\": {\n                        \"precision\": 2,\n                        \"roundMode\": \"math\"\n                    }\n                },\n                \"note\": null,\n                \"exchangeRate\": {\n                    \"UAH:USD\": 0.024096,\n                    \"USD:UAH\": 41.500415\n                },\n                \"fromSupplier\": false,\n                \"isServiceOrder\": false,\n                \"status\": 4,\n                \"logicType\": 0,\n                \"invoiceNumber\": null,\n                \"deliveryNote\": null,\n                \"toleranceRateSum\": \"0.00\",\n                \"toleranceRatePercent\": \"0.00\",\n                \"purchaseOrder\": {\n                    \"id\": null,\n                    \"idn\": null,\n                    \"creator\": {\n                        \"id\": null\n                    }\n                },\n                \"prepaymentPercent\": 100,\n                \"postpaymentPercent\": 0,\n                \"creditPeriodDays\": 0,\n                \"paymentTerm\": {\n                    \"id\": 74148\n                },\n                \"company\": {\n                    \"id\": 22359\n                },\n                \"qboId\": null,\n                \"netSuiteId\": null,\n                \"xeroId\": null,\n                \"externalId\": null,\n                \"externalIntegrationLog\": null,\n                \"budgetedSum\": 0,\n                \"usedTaxPercentInBudget\": \"100.00\",\n                \"allDocumentCustomFieldOptionsIds\": \"267574\",\n                \"isNewSupplierAdded\": false,\n                \"itemsChartSum\": 51.4,\n                \"approvingWay\": [],\n                \"location\": {\n                    \"id\": 97962,\n                    \"uniqueCode\": null,\n                    \"name\": \"Main location\",\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"fullAddress\": null,\n                    \"afaxysLocationId\": null,\n                    \"phone\": null,\n                    \"allLocationsAccessLegalEntities\": true,\n                    \"enable\": true,\n                    \"locationAddress\": {\n                        \"id\": null\n                    },\n                    \"externalId\": null\n                },\n                \"supplier\": {\n                    \"id\": 719430,\n                    \"uniqueCode\": \"123AB\",\n                    \"name\": \"Supplier 1\",\n                    \"createDate\": \"2024-07-12T10:18:00+00:00\",\n                    \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n                    \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n                    \"legalAddress\": null,\n                    \"currency\": \"USD\",\n                    \"currencies\": [\n                        \"USD\"\n                    ],\n                    \"autoSendPOSupplier\": false,\n                    \"deliveryPeriod\": 0,\n                    \"minimumSum\": 10,\n                    \"businessRegistrationNumber\": null,\n                    \"accountHolderName\": null,\n                    \"bankName\": null,\n                    \"accountNumber\": null,\n                    \"bankAddress\": null,\n                    \"swiftCode\": null,\n                    \"permanentAccountNumber\": null,\n                    \"internationalBankAccountNumber\": null,\n                    \"americanBankersAssociationNumber\": null,\n                    \"indianFinancialSystemCode\": null,\n                    \"sortCode\": null,\n                    \"taxPayer\": false,\n                    \"taxPayerType\": 0,\n                    \"taxPayerLabel\": \"Tax Payer Number\",\n                    \"taxPayerNumber\": null,\n                    \"phone\": null,\n                    \"city\": null,\n                    \"country\": null,\n                    \"state\": null,\n                    \"postalCode\": null,\n                    \"note\": null,\n                    \"conditions\": null,\n                    \"enable\": true,\n                    \"isMarketUpdatable\": false,\n                    \"qboId\": null,\n                    \"netSuiteId\": null,\n                    \"xeroId\": null,\n                    \"externalId\": null,\n                    \"marketSupplier\": {\n                        \"id\": null,\n                        \"minimumSum\": null\n                    },\n                    \"enableMarketSupplier\": false,\n                    \"creditBalanceSums\": {\n                        \"USD\": 0\n                    },\n                    \"afaxysSupplierId\": null,\n                    \"status\": 2,\n                    \"creator\": {\n                        \"id\": 95888,\n                        \"email\": \"apitesterfordocumentation@gmail.com\"\n                    },\n                    \"enterInvoiceAsOneLine\": false,\n                    \"isPunchoutSupplier\": false,\n                    \"paymentTerms\": {\n                        \"data\": [\n                            {\n                                \"id\": 74148,\n                                \"name\": \"Prepayment\",\n                                \"prepaymentPercent\": 100,\n                                \"postpaymentPercent\": 0,\n                                \"creditPeriodDays\": 0,\n                                \"termsDueDateAfterInvoicing\": 0,\n                                \"paymentType\": 0,\n                                \"enable\": true,\n                                \"externalId\": null\n                            }\n                        ]\n                    },\n                    \"approvalSteps\": {\n                        \"data\": []\n                    },\n                    \"approvingWay\": []\n                },\n                \"budget\": [],\n                \"budgetLine\": [],\n                \"legalEntity\": {\n                    \"id\": 23152,\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"enable\": true,\n                    \"name\": \"TEST Api Precoro\",\n                    \"legalAddress\": null,\n                    \"accountNumber\": null,\n                    \"accountHolderName\": null,\n                    \"bankName\": null,\n                    \"bankAddress\": null,\n                    \"sortCode\": null,\n                    \"businessRegistrationNumber\": null,\n                    \"taxPayerType\": 2,\n                    \"taxPayerNumber\": null,\n                    \"phone\": null,\n                    \"keyExecutive\": null,\n                    \"fullName\": null,\n                    \"permanentAccountNumber\": null,\n                    \"internationalBankAccountNumber\": null,\n                    \"americanBankersAssociationNumber\": null,\n                    \"swiftCode\": null,\n                    \"indianFinancialSystemCode\": null,\n                    \"externalId\": null,\n                    \"uniqueCode\": null\n                },\n                \"creator\": {\n                    \"id\": 95888,\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                    \"email\": \"apitesterfordocumentation@gmail.com\",\n                    \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                    \"locale\": \"en\",\n                    \"phone\": \"+13456789\",\n                    \"firstname\": \"Api\",\n                    \"lastname\": \"Tester\",\n                    \"position\": null,\n                    \"location\": {\n                        \"id\": 97962\n                    },\n                    \"legalEntity\": {\n                        \"id\": 23152\n                    },\n                    \"allLocationsAccess\": true,\n                    \"allUserDocumentCustomFieldsAccess\": true,\n                    \"allItemGroupsAccess\": true,\n                    \"roles\": [\n                        \"ROLE_PURCHASE_REQUISITION\",\n                        \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                        \"ROLE_PURCHASE_ORDER\",\n                        \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                        \"ROLE_RECEIPT\",\n                        \"ROLE_RECEIPT_APPROVAL\",\n                        \"ROLE_INVOICE\",\n                        \"ROLE_INVOICE_APPROVAL\",\n                        \"ROLE_INVOICE_PAYMENT\",\n                        \"ROLE_REPORT\",\n                        \"ROLE_BUDGET_HOLDER\",\n                        \"ROLE_SUPPLIER_MANAGEMENT\",\n                        \"ROLE_SUPPLIER_APPROVAL\",\n                        \"ROLE_WAREHOUSE_REQUEST\",\n                        \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                        \"ROLE_EXPENSE\",\n                        \"ROLE_EXPENSE_APPROVAL\",\n                        \"ROLE_EXPENSE_PAYMENT\",\n                        \"ROLE_WAREHOUSE_MANAGER\",\n                        \"ROLE_SUPER_USER\",\n                        \"ROLE_OCR\",\n                        \"ROLE_CONFIGURATION\",\n                        \"ROLE_USER\"\n                    ],\n                    \"enable\": true,\n                    \"isMarketSupplier\": false,\n                    \"isAvailableVacationMode\": false,\n                    \"enableVacationMode\": false,\n                    \"startVacationMode\": null,\n                    \"endVacationMode\": null,\n                    \"isPower\": true,\n                    \"availableIn\": [\n                        {\n                            \"id\": 22359,\n                            \"name\": \"TEST Api Precoro\",\n                            \"active\": true\n                        }\n                    ],\n                    \"hasConfirmationToken\": false\n                },\n                \"lastEditor\": [],\n                \"approvalSteps\": {\n                    \"data\": []\n                }\n            },\n            \"purchaseOrder\": {\n                \"id\": null,\n                \"idn\": null,\n                \"creator\": {\n                    \"id\": null\n                }\n            },\n            \"balance\": 0,\n            \"qboId\": null,\n            \"prepayment\": null,\n            \"netSuiteId\": null,\n            \"xeroId\": null,\n            \"externalId\": null,\n            \"creator\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"availableIn\": [\n                    {\n                        \"id\": 22359,\n                        \"name\": \"TEST Api Precoro\",\n                        \"active\": true\n                    }\n                ],\n                \"hasConfirmationToken\": false\n            }\n        },\n        {\n            \"id\": 1177499,\n            \"idn\": 7,\n            \"createDate\": \"2024-12-12T09:41:20+00:00\",\n            \"payDate\": \"2021-03-01T00:00:00+00:00\",\n            \"sumPaid\": 0.01,\n            \"status\": 0,\n            \"logicType\": 0,\n            \"invoice\": {\n                \"id\": 1335829,\n                \"idn\": \"3\",\n                \"customName\": null,\n                \"createDate\": \"2024-09-19T14:23:14+00:00\",\n                \"updateDate\": \"2024-12-12T09:41:21+00:00\",\n                \"requiredDate\": \"2024-09-20T00:00:00+00:00\",\n                \"issueDate\": \"2024-09-20T00:00:00+00:00\",\n                \"approvalDate\": \"2024-09-19T14:23:21+00:00\",\n                \"sumPaid\": \"0.06\",\n                \"sumPaidInCompanyCurrency\": \"0.06\",\n                \"sum\": 51.4,\n                \"netSum\": 49.9,\n                \"sumInCompanyCurrency\": 51.4,\n                \"netSumInCompanyCurrency\": 49.9,\n                \"withholdingTaxSum\": 0,\n                \"currency\": \"USD\",\n                \"precisionData\": {\n                    \"USD\": {\n                        \"precision\": 2,\n                        \"roundMode\": \"math\"\n                    }\n                },\n                \"note\": null,\n                \"exchangeRate\": {\n                    \"UAH:USD\": 0.024096,\n                    \"USD:UAH\": 41.500415\n                },\n                \"fromSupplier\": false,\n                \"isServiceOrder\": false,\n                \"status\": 4,\n                \"logicType\": 0,\n                \"invoiceNumber\": null,\n                \"deliveryNote\": null,\n                \"toleranceRateSum\": \"0.00\",\n                \"toleranceRatePercent\": \"0.00\",\n                \"purchaseOrder\": {\n                    \"id\": null,\n                    \"idn\": null,\n                    \"creator\": {\n                        \"id\": null\n                    }\n                },\n                \"prepaymentPercent\": 100,\n                \"postpaymentPercent\": 0,\n                \"creditPeriodDays\": 0,\n                \"paymentTerm\": {\n                    \"id\": 74148\n                },\n                \"company\": {\n                    \"id\": 22359\n                },\n                \"qboId\": null,\n                \"netSuiteId\": null,\n                \"xeroId\": null,\n                \"externalId\": null,\n                \"externalIntegrationLog\": null,\n                \"budgetedSum\": 0,\n                \"usedTaxPercentInBudget\": \"100.00\",\n                \"allDocumentCustomFieldOptionsIds\": \"267574\",\n                \"isNewSupplierAdded\": false,\n                \"itemsChartSum\": 51.4,\n                \"approvingWay\": [],\n                \"location\": {\n                    \"id\": 97962,\n                    \"uniqueCode\": null,\n                    \"name\": \"Main location\",\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"fullAddress\": null,\n                    \"afaxysLocationId\": null,\n                    \"phone\": null,\n                    \"allLocationsAccessLegalEntities\": true,\n                    \"enable\": true,\n                    \"locationAddress\": {\n                        \"id\": null\n                    },\n                    \"externalId\": null\n                },\n                \"supplier\": {\n                    \"id\": 719430,\n                    \"uniqueCode\": \"123AB\",\n                    \"name\": \"Supplier 1\",\n                    \"createDate\": \"2024-07-12T10:18:00+00:00\",\n                    \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n                    \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n                    \"legalAddress\": null,\n                    \"currency\": \"USD\",\n                    \"currencies\": [\n                        \"USD\"\n                    ],\n                    \"autoSendPOSupplier\": false,\n                    \"deliveryPeriod\": 0,\n                    \"minimumSum\": 10,\n                    \"businessRegistrationNumber\": null,\n                    \"accountHolderName\": null,\n                    \"bankName\": null,\n                    \"accountNumber\": null,\n                    \"bankAddress\": null,\n                    \"swiftCode\": null,\n                    \"permanentAccountNumber\": null,\n                    \"internationalBankAccountNumber\": null,\n                    \"americanBankersAssociationNumber\": null,\n                    \"indianFinancialSystemCode\": null,\n                    \"sortCode\": null,\n                    \"taxPayer\": false,\n                    \"taxPayerType\": 0,\n                    \"taxPayerLabel\": \"Tax Payer Number\",\n                    \"taxPayerNumber\": null,\n                    \"phone\": null,\n                    \"city\": null,\n                    \"country\": null,\n                    \"state\": null,\n                    \"postalCode\": null,\n                    \"note\": null,\n                    \"conditions\": null,\n                    \"enable\": true,\n                    \"isMarketUpdatable\": false,\n                    \"qboId\": null,\n                    \"netSuiteId\": null,\n                    \"xeroId\": null,\n                    \"externalId\": null,\n                    \"marketSupplier\": {\n                        \"id\": null,\n                        \"minimumSum\": null\n                    },\n                    \"enableMarketSupplier\": false,\n                    \"creditBalanceSums\": {\n                        \"USD\": 0\n                    },\n                    \"afaxysSupplierId\": null,\n                    \"status\": 2,\n                    \"creator\": {\n                        \"id\": 95888,\n                        \"email\": \"apitesterfordocumentation@gmail.com\"\n                    },\n                    \"enterInvoiceAsOneLine\": false,\n                    \"isPunchoutSupplier\": false,\n                    \"paymentTerms\": {\n                        \"data\": [\n                            {\n                                \"id\": 74148,\n                                \"name\": \"Prepayment\",\n                                \"prepaymentPercent\": 100,\n                                \"postpaymentPercent\": 0,\n                                \"creditPeriodDays\": 0,\n                                \"termsDueDateAfterInvoicing\": 0,\n                                \"paymentType\": 0,\n                                \"enable\": true,\n                                \"externalId\": null\n                            }\n                        ]\n                    },\n                    \"approvalSteps\": {\n                        \"data\": []\n                    },\n                    \"approvingWay\": []\n                },\n                \"budget\": [],\n                \"budgetLine\": [],\n                \"legalEntity\": {\n                    \"id\": 23152,\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"enable\": true,\n                    \"name\": \"TEST Api Precoro\",\n                    \"legalAddress\": null,\n                    \"accountNumber\": null,\n                    \"accountHolderName\": null,\n                    \"bankName\": null,\n                    \"bankAddress\": null,\n                    \"sortCode\": null,\n                    \"businessRegistrationNumber\": null,\n                    \"taxPayerType\": 2,\n                    \"taxPayerNumber\": null,\n                    \"phone\": null,\n                    \"keyExecutive\": null,\n                    \"fullName\": null,\n                    \"permanentAccountNumber\": null,\n                    \"internationalBankAccountNumber\": null,\n                    \"americanBankersAssociationNumber\": null,\n                    \"swiftCode\": null,\n                    \"indianFinancialSystemCode\": null,\n                    \"externalId\": null,\n                    \"uniqueCode\": null\n                },\n                \"creator\": {\n                    \"id\": 95888,\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                    \"email\": \"apitesterfordocumentation@gmail.com\",\n                    \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                    \"locale\": \"en\",\n                    \"phone\": \"+13456789\",\n                    \"firstname\": \"Api\",\n                    \"lastname\": \"Tester\",\n                    \"position\": null,\n                    \"location\": {\n                        \"id\": 97962\n                    },\n                    \"legalEntity\": {\n                        \"id\": 23152\n                    },\n                    \"allLocationsAccess\": true,\n                    \"allUserDocumentCustomFieldsAccess\": true,\n                    \"allItemGroupsAccess\": true,\n                    \"roles\": [\n                        \"ROLE_PURCHASE_REQUISITION\",\n                        \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                        \"ROLE_PURCHASE_ORDER\",\n                        \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                        \"ROLE_RECEIPT\",\n                        \"ROLE_RECEIPT_APPROVAL\",\n                        \"ROLE_INVOICE\",\n                        \"ROLE_INVOICE_APPROVAL\",\n                        \"ROLE_INVOICE_PAYMENT\",\n                        \"ROLE_REPORT\",\n                        \"ROLE_BUDGET_HOLDER\",\n                        \"ROLE_SUPPLIER_MANAGEMENT\",\n                        \"ROLE_SUPPLIER_APPROVAL\",\n                        \"ROLE_WAREHOUSE_REQUEST\",\n                        \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                        \"ROLE_EXPENSE\",\n                        \"ROLE_EXPENSE_APPROVAL\",\n                        \"ROLE_EXPENSE_PAYMENT\",\n                        \"ROLE_WAREHOUSE_MANAGER\",\n                        \"ROLE_SUPER_USER\",\n                        \"ROLE_OCR\",\n                        \"ROLE_CONFIGURATION\",\n                        \"ROLE_USER\"\n                    ],\n                    \"enable\": true,\n                    \"isMarketSupplier\": false,\n                    \"isAvailableVacationMode\": false,\n                    \"enableVacationMode\": false,\n                    \"startVacationMode\": null,\n                    \"endVacationMode\": null,\n                    \"isPower\": true,\n                    \"availableIn\": [\n                        {\n                            \"id\": 22359,\n                            \"name\": \"TEST Api Precoro\",\n                            \"active\": true\n                        }\n                    ],\n                    \"hasConfirmationToken\": false\n                },\n                \"lastEditor\": [],\n                \"approvalSteps\": {\n                    \"data\": []\n                }\n            },\n            \"purchaseOrder\": {\n                \"id\": null,\n                \"idn\": null,\n                \"creator\": {\n                    \"id\": null\n                }\n            },\n            \"balance\": 0,\n            \"qboId\": null,\n            \"prepayment\": null,\n            \"netSuiteId\": null,\n            \"xeroId\": null,\n            \"externalId\": null,\n            \"creator\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"availableIn\": [\n                    {\n                        \"id\": 22359,\n                        \"name\": \"TEST Api Precoro\",\n                        \"active\": true\n                    }\n                ],\n                \"hasConfirmationToken\": false\n            }\n        },\n        {\n            \"id\": 1177498,\n            \"idn\": 6,\n            \"createDate\": \"2024-12-12T09:41:19+00:00\",\n            \"payDate\": \"2021-03-01T00:00:00+00:00\",\n            \"sumPaid\": 0.01,\n            \"status\": 0,\n            \"logicType\": 0,\n            \"invoice\": {\n                \"id\": 1335829,\n                \"idn\": \"3\",\n                \"customName\": null,\n                \"createDate\": \"2024-09-19T14:23:14+00:00\",\n                \"updateDate\": \"2024-12-12T09:41:21+00:00\",\n                \"requiredDate\": \"2024-09-20T00:00:00+00:00\",\n                \"issueDate\": \"2024-09-20T00:00:00+00:00\",\n                \"approvalDate\": \"2024-09-19T14:23:21+00:00\",\n                \"sumPaid\": \"0.06\",\n                \"sumPaidInCompanyCurrency\": \"0.06\",\n                \"sum\": 51.4,\n                \"netSum\": 49.9,\n                \"sumInCompanyCurrency\": 51.4,\n                \"netSumInCompanyCurrency\": 49.9,\n                \"withholdingTaxSum\": 0,\n                \"currency\": \"USD\",\n                \"precisionData\": {\n                    \"USD\": {\n                        \"precision\": 2,\n                        \"roundMode\": \"math\"\n                    }\n                },\n                \"note\": null,\n                \"exchangeRate\": {\n                    \"UAH:USD\": 0.024096,\n                    \"USD:UAH\": 41.500415\n                },\n                \"fromSupplier\": false,\n                \"isServiceOrder\": false,\n                \"status\": 4,\n                \"logicType\": 0,\n                \"invoiceNumber\": null,\n                \"deliveryNote\": null,\n                \"toleranceRateSum\": \"0.00\",\n                \"toleranceRatePercent\": \"0.00\",\n                \"purchaseOrder\": {\n                    \"id\": null,\n                    \"idn\": null,\n                    \"creator\": {\n                        \"id\": null\n                    }\n                },\n                \"prepaymentPercent\": 100,\n                \"postpaymentPercent\": 0,\n                \"creditPeriodDays\": 0,\n                \"paymentTerm\": {\n                    \"id\": 74148\n                },\n                \"company\": {\n                    \"id\": 22359\n                },\n                \"qboId\": null,\n                \"netSuiteId\": null,\n                \"xeroId\": null,\n                \"externalId\": null,\n                \"externalIntegrationLog\": null,\n                \"budgetedSum\": 0,\n                \"usedTaxPercentInBudget\": \"100.00\",\n                \"allDocumentCustomFieldOptionsIds\": \"267574\",\n                \"isNewSupplierAdded\": false,\n                \"itemsChartSum\": 51.4,\n                \"approvingWay\": [],\n                \"location\": {\n                    \"id\": 97962,\n                    \"uniqueCode\": null,\n                    \"name\": \"Main location\",\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"fullAddress\": null,\n                    \"afaxysLocationId\": null,\n                    \"phone\": null,\n                    \"allLocationsAccessLegalEntities\": true,\n                    \"enable\": true,\n                    \"locationAddress\": {\n                        \"id\": null\n                    },\n                    \"externalId\": null\n                },\n                \"supplier\": {\n                    \"id\": 719430,\n                    \"uniqueCode\": \"123AB\",\n                    \"name\": \"Supplier 1\",\n                    \"createDate\": \"2024-07-12T10:18:00+00:00\",\n                    \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n                    \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n                    \"legalAddress\": null,\n                    \"currency\": \"USD\",\n                    \"currencies\": [\n                        \"USD\"\n                    ],\n                    \"autoSendPOSupplier\": false,\n                    \"deliveryPeriod\": 0,\n                    \"minimumSum\": 10,\n                    \"businessRegistrationNumber\": null,\n                    \"accountHolderName\": null,\n                    \"bankName\": null,\n                    \"accountNumber\": null,\n                    \"bankAddress\": null,\n                    \"swiftCode\": null,\n                    \"permanentAccountNumber\": null,\n                    \"internationalBankAccountNumber\": null,\n                    \"americanBankersAssociationNumber\": null,\n                    \"indianFinancialSystemCode\": null,\n                    \"sortCode\": null,\n                    \"taxPayer\": false,\n                    \"taxPayerType\": 0,\n                    \"taxPayerLabel\": \"Tax Payer Number\",\n                    \"taxPayerNumber\": null,\n                    \"phone\": null,\n                    \"city\": null,\n                    \"country\": null,\n                    \"state\": null,\n                    \"postalCode\": null,\n                    \"note\": null,\n                    \"conditions\": null,\n                    \"enable\": true,\n                    \"isMarketUpdatable\": false,\n                    \"qboId\": null,\n                    \"netSuiteId\": null,\n                    \"xeroId\": null,\n                    \"externalId\": null,\n                    \"marketSupplier\": {\n                        \"id\": null,\n                        \"minimumSum\": null\n                    },\n                    \"enableMarketSupplier\": false,\n                    \"creditBalanceSums\": {\n                        \"USD\": 0\n                    },\n                    \"afaxysSupplierId\": null,\n                    \"status\": 2,\n                    \"creator\": {\n                        \"id\": 95888,\n                        \"email\": \"apitesterfordocumentation@gmail.com\"\n                    },\n                    \"enterInvoiceAsOneLine\": false,\n                    \"isPunchoutSupplier\": false,\n                    \"paymentTerms\": {\n                        \"data\": [\n                            {\n                                \"id\": 74148,\n                                \"name\": \"Prepayment\",\n                                \"prepaymentPercent\": 100,\n                                \"postpaymentPercent\": 0,\n                                \"creditPeriodDays\": 0,\n                                \"termsDueDateAfterInvoicing\": 0,\n                                \"paymentType\": 0,\n                                \"enable\": true,\n                                \"externalId\": null\n                            }\n                        ]\n                    },\n                    \"approvalSteps\": {\n                        \"data\": []\n                    },\n                    \"approvingWay\": []\n                },\n                \"budget\": [],\n                \"budgetLine\": [],\n                \"legalEntity\": {\n                    \"id\": 23152,\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"enable\": true,\n                    \"name\": \"TEST Api Precoro\",\n                    \"legalAddress\": null,\n                    \"accountNumber\": null,\n                    \"accountHolderName\": null,\n                    \"bankName\": null,\n                    \"bankAddress\": null,\n                    \"sortCode\": null,\n                    \"businessRegistrationNumber\": null,\n                    \"taxPayerType\": 2,\n                    \"taxPayerNumber\": null,\n                    \"phone\": null,\n                    \"keyExecutive\": null,\n                    \"fullName\": null,\n                    \"permanentAccountNumber\": null,\n                    \"internationalBankAccountNumber\": null,\n                    \"americanBankersAssociationNumber\": null,\n                    \"swiftCode\": null,\n                    \"indianFinancialSystemCode\": null,\n                    \"externalId\": null,\n                    \"uniqueCode\": null\n                },\n                \"creator\": {\n                    \"id\": 95888,\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                    \"email\": \"apitesterfordocumentation@gmail.com\",\n                    \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                    \"locale\": \"en\",\n                    \"phone\": \"+13456789\",\n                    \"firstname\": \"Api\",\n                    \"lastname\": \"Tester\",\n                    \"position\": null,\n                    \"location\": {\n                        \"id\": 97962\n                    },\n                    \"legalEntity\": {\n                        \"id\": 23152\n                    },\n                    \"allLocationsAccess\": true,\n                    \"allUserDocumentCustomFieldsAccess\": true,\n                    \"allItemGroupsAccess\": true,\n                    \"roles\": [\n                        \"ROLE_PURCHASE_REQUISITION\",\n                        \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                        \"ROLE_PURCHASE_ORDER\",\n                        \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                        \"ROLE_RECEIPT\",\n                        \"ROLE_RECEIPT_APPROVAL\",\n                        \"ROLE_INVOICE\",\n                        \"ROLE_INVOICE_APPROVAL\",\n                        \"ROLE_INVOICE_PAYMENT\",\n                        \"ROLE_REPORT\",\n                        \"ROLE_BUDGET_HOLDER\",\n                        \"ROLE_SUPPLIER_MANAGEMENT\",\n                        \"ROLE_SUPPLIER_APPROVAL\",\n                        \"ROLE_WAREHOUSE_REQUEST\",\n                        \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                        \"ROLE_EXPENSE\",\n                        \"ROLE_EXPENSE_APPROVAL\",\n                        \"ROLE_EXPENSE_PAYMENT\",\n                        \"ROLE_WAREHOUSE_MANAGER\",\n                        \"ROLE_SUPER_USER\",\n                        \"ROLE_OCR\",\n                        \"ROLE_CONFIGURATION\",\n                        \"ROLE_USER\"\n                    ],\n                    \"enable\": true,\n                    \"isMarketSupplier\": false,\n                    \"isAvailableVacationMode\": false,\n                    \"enableVacationMode\": false,\n                    \"startVacationMode\": null,\n                    \"endVacationMode\": null,\n                    \"isPower\": true,\n                    \"availableIn\": [\n                        {\n                            \"id\": 22359,\n                            \"name\": \"TEST Api Precoro\",\n                            \"active\": true\n                        }\n                    ],\n                    \"hasConfirmationToken\": false\n                },\n                \"lastEditor\": [],\n                \"approvalSteps\": {\n                    \"data\": []\n                }\n            },\n            \"purchaseOrder\": {\n                \"id\": null,\n                \"idn\": null,\n                \"creator\": {\n                    \"id\": null\n                }\n            },\n            \"balance\": 0,\n            \"qboId\": null,\n            \"prepayment\": null,\n            \"netSuiteId\": null,\n            \"xeroId\": null,\n            \"externalId\": null,\n            \"creator\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"availableIn\": [\n                    {\n                        \"id\": 22359,\n                        \"name\": \"TEST Api Precoro\",\n                        \"active\": true\n                    }\n                ],\n                \"hasConfirmationToken\": false\n            }\n        },\n        {\n            \"id\": 1177497,\n            \"idn\": 5,\n            \"createDate\": \"2024-12-12T09:41:17+00:00\",\n            \"payDate\": \"2021-03-01T00:00:00+00:00\",\n            \"sumPaid\": 0.01,\n            \"status\": 0,\n            \"logicType\": 0,\n            \"invoice\": {\n                \"id\": 1335829,\n                \"idn\": \"3\",\n                \"customName\": null,\n                \"createDate\": \"2024-09-19T14:23:14+00:00\",\n                \"updateDate\": \"2024-12-12T09:41:21+00:00\",\n                \"requiredDate\": \"2024-09-20T00:00:00+00:00\",\n                \"issueDate\": \"2024-09-20T00:00:00+00:00\",\n                \"approvalDate\": \"2024-09-19T14:23:21+00:00\",\n                \"sumPaid\": \"0.06\",\n                \"sumPaidInCompanyCurrency\": \"0.06\",\n                \"sum\": 51.4,\n                \"netSum\": 49.9,\n                \"sumInCompanyCurrency\": 51.4,\n                \"netSumInCompanyCurrency\": 49.9,\n                \"withholdingTaxSum\": 0,\n                \"currency\": \"USD\",\n                \"precisionData\": {\n                    \"USD\": {\n                        \"precision\": 2,\n                        \"roundMode\": \"math\"\n                    }\n                },\n                \"note\": null,\n                \"exchangeRate\": {\n                    \"UAH:USD\": 0.024096,\n                    \"USD:UAH\": 41.500415\n                },\n                \"fromSupplier\": false,\n                \"isServiceOrder\": false,\n                \"status\": 4,\n                \"logicType\": 0,\n                \"invoiceNumber\": null,\n                \"deliveryNote\": null,\n                \"toleranceRateSum\": \"0.00\",\n                \"toleranceRatePercent\": \"0.00\",\n                \"purchaseOrder\": {\n                    \"id\": null,\n                    \"idn\": null,\n                    \"creator\": {\n                        \"id\": null\n                    }\n                },\n                \"prepaymentPercent\": 100,\n                \"postpaymentPercent\": 0,\n                \"creditPeriodDays\": 0,\n                \"paymentTerm\": {\n                    \"id\": 74148\n                },\n                \"company\": {\n                    \"id\": 22359\n                },\n                \"qboId\": null,\n                \"netSuiteId\": null,\n                \"xeroId\": null,\n                \"externalId\": null,\n                \"externalIntegrationLog\": null,\n                \"budgetedSum\": 0,\n                \"usedTaxPercentInBudget\": \"100.00\",\n                \"allDocumentCustomFieldOptionsIds\": \"267574\",\n                \"isNewSupplierAdded\": false,\n                \"itemsChartSum\": 51.4,\n                \"approvingWay\": [],\n                \"location\": {\n                    \"id\": 97962,\n                    \"uniqueCode\": null,\n                    \"name\": \"Main location\",\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"fullAddress\": null,\n                    \"afaxysLocationId\": null,\n                    \"phone\": null,\n                    \"allLocationsAccessLegalEntities\": true,\n                    \"enable\": true,\n                    \"locationAddress\": {\n                        \"id\": null\n                    },\n                    \"externalId\": null\n                },\n                \"supplier\": {\n                    \"id\": 719430,\n                    \"uniqueCode\": \"123AB\",\n                    \"name\": \"Supplier 1\",\n                    \"createDate\": \"2024-07-12T10:18:00+00:00\",\n                    \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n                    \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n                    \"legalAddress\": null,\n                    \"currency\": \"USD\",\n                    \"currencies\": [\n                        \"USD\"\n                    ],\n                    \"autoSendPOSupplier\": false,\n                    \"deliveryPeriod\": 0,\n                    \"minimumSum\": 10,\n                    \"businessRegistrationNumber\": null,\n                    \"accountHolderName\": null,\n                    \"bankName\": null,\n                    \"accountNumber\": null,\n                    \"bankAddress\": null,\n                    \"swiftCode\": null,\n                    \"permanentAccountNumber\": null,\n                    \"internationalBankAccountNumber\": null,\n                    \"americanBankersAssociationNumber\": null,\n                    \"indianFinancialSystemCode\": null,\n                    \"sortCode\": null,\n                    \"taxPayer\": false,\n                    \"taxPayerType\": 0,\n                    \"taxPayerLabel\": \"Tax Payer Number\",\n                    \"taxPayerNumber\": null,\n                    \"phone\": null,\n                    \"city\": null,\n                    \"country\": null,\n                    \"state\": null,\n                    \"postalCode\": null,\n                    \"note\": null,\n                    \"conditions\": null,\n                    \"enable\": true,\n                    \"isMarketUpdatable\": false,\n                    \"qboId\": null,\n                    \"netSuiteId\": null,\n                    \"xeroId\": null,\n                    \"externalId\": null,\n                    \"marketSupplier\": {\n                        \"id\": null,\n                        \"minimumSum\": null\n                    },\n                    \"enableMarketSupplier\": false,\n                    \"creditBalanceSums\": {\n                        \"USD\": 0\n                    },\n                    \"afaxysSupplierId\": null,\n                    \"status\": 2,\n                    \"creator\": {\n                        \"id\": 95888,\n                        \"email\": \"apitesterfordocumentation@gmail.com\"\n                    },\n                    \"enterInvoiceAsOneLine\": false,\n                    \"isPunchoutSupplier\": false,\n                    \"paymentTerms\": {\n                        \"data\": [\n                            {\n                                \"id\": 74148,\n                                \"name\": \"Prepayment\",\n                                \"prepaymentPercent\": 100,\n                                \"postpaymentPercent\": 0,\n                                \"creditPeriodDays\": 0,\n                                \"termsDueDateAfterInvoicing\": 0,\n                                \"paymentType\": 0,\n                                \"enable\": true,\n                                \"externalId\": null\n                            }\n                        ]\n                    },\n                    \"approvalSteps\": {\n                        \"data\": []\n                    },\n                    \"approvingWay\": []\n                },\n                \"budget\": [],\n                \"budgetLine\": [],\n                \"legalEntity\": {\n                    \"id\": 23152,\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"enable\": true,\n                    \"name\": \"TEST Api Precoro\",\n                    \"legalAddress\": null,\n                    \"accountNumber\": null,\n                    \"accountHolderName\": null,\n                    \"bankName\": null,\n                    \"bankAddress\": null,\n                    \"sortCode\": null,\n                    \"businessRegistrationNumber\": null,\n                    \"taxPayerType\": 2,\n                    \"taxPayerNumber\": null,\n                    \"phone\": null,\n                    \"keyExecutive\": null,\n                    \"fullName\": null,\n                    \"permanentAccountNumber\": null,\n                    \"internationalBankAccountNumber\": null,\n                    \"americanBankersAssociationNumber\": null,\n                    \"swiftCode\": null,\n                    \"indianFinancialSystemCode\": null,\n                    \"externalId\": null,\n                    \"uniqueCode\": null\n                },\n                \"creator\": {\n                    \"id\": 95888,\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                    \"email\": \"apitesterfordocumentation@gmail.com\",\n                    \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                    \"locale\": \"en\",\n                    \"phone\": \"+13456789\",\n                    \"firstname\": \"Api\",\n                    \"lastname\": \"Tester\",\n                    \"position\": null,\n                    \"location\": {\n                        \"id\": 97962\n                    },\n                    \"legalEntity\": {\n                        \"id\": 23152\n                    },\n                    \"allLocationsAccess\": true,\n                    \"allUserDocumentCustomFieldsAccess\": true,\n                    \"allItemGroupsAccess\": true,\n                    \"roles\": [\n                        \"ROLE_PURCHASE_REQUISITION\",\n                        \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                        \"ROLE_PURCHASE_ORDER\",\n                        \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                        \"ROLE_RECEIPT\",\n                        \"ROLE_RECEIPT_APPROVAL\",\n                        \"ROLE_INVOICE\",\n                        \"ROLE_INVOICE_APPROVAL\",\n                        \"ROLE_INVOICE_PAYMENT\",\n                        \"ROLE_REPORT\",\n                        \"ROLE_BUDGET_HOLDER\",\n                        \"ROLE_SUPPLIER_MANAGEMENT\",\n                        \"ROLE_SUPPLIER_APPROVAL\",\n                        \"ROLE_WAREHOUSE_REQUEST\",\n                        \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                        \"ROLE_EXPENSE\",\n                        \"ROLE_EXPENSE_APPROVAL\",\n                        \"ROLE_EXPENSE_PAYMENT\",\n                        \"ROLE_WAREHOUSE_MANAGER\",\n                        \"ROLE_SUPER_USER\",\n                        \"ROLE_OCR\",\n                        \"ROLE_CONFIGURATION\",\n                        \"ROLE_USER\"\n                    ],\n                    \"enable\": true,\n                    \"isMarketSupplier\": false,\n                    \"isAvailableVacationMode\": false,\n                    \"enableVacationMode\": false,\n                    \"startVacationMode\": null,\n                    \"endVacationMode\": null,\n                    \"isPower\": true,\n                    \"availableIn\": [\n                        {\n                            \"id\": 22359,\n                            \"name\": \"TEST Api Precoro\",\n                            \"active\": true\n                        }\n                    ],\n                    \"hasConfirmationToken\": false\n                },\n                \"lastEditor\": [],\n                \"approvalSteps\": {\n                    \"data\": []\n                }\n            },\n            \"purchaseOrder\": {\n                \"id\": null,\n                \"idn\": null,\n                \"creator\": {\n                    \"id\": null\n                }\n            },\n            \"balance\": 0,\n            \"qboId\": null,\n            \"prepayment\": null,\n            \"netSuiteId\": null,\n            \"xeroId\": null,\n            \"externalId\": null,\n            \"creator\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"availableIn\": [\n                    {\n                        \"id\": 22359,\n                        \"name\": \"TEST Api Precoro\",\n                        \"active\": true\n                    }\n                ],\n                \"hasConfirmationToken\": false\n            }\n        },\n        {\n            \"id\": 1177496,\n            \"idn\": 4,\n            \"createDate\": \"2024-12-12T09:41:16+00:00\",\n            \"payDate\": \"2021-03-01T00:00:00+00:00\",\n            \"sumPaid\": 0.01,\n            \"status\": 0,\n            \"logicType\": 0,\n            \"invoice\": {\n                \"id\": 1335829,\n                \"idn\": \"3\",\n                \"customName\": null,\n                \"createDate\": \"2024-09-19T14:23:14+00:00\",\n                \"updateDate\": \"2024-12-12T09:41:21+00:00\",\n                \"requiredDate\": \"2024-09-20T00:00:00+00:00\",\n                \"issueDate\": \"2024-09-20T00:00:00+00:00\",\n                \"approvalDate\": \"2024-09-19T14:23:21+00:00\",\n                \"sumPaid\": \"0.06\",\n                \"sumPaidInCompanyCurrency\": \"0.06\",\n                \"sum\": 51.4,\n                \"netSum\": 49.9,\n                \"sumInCompanyCurrency\": 51.4,\n                \"netSumInCompanyCurrency\": 49.9,\n                \"withholdingTaxSum\": 0,\n                \"currency\": \"USD\",\n                \"precisionData\": {\n                    \"USD\": {\n                        \"precision\": 2,\n                        \"roundMode\": \"math\"\n                    }\n                },\n                \"note\": null,\n                \"exchangeRate\": {\n                    \"UAH:USD\": 0.024096,\n                    \"USD:UAH\": 41.500415\n                },\n                \"fromSupplier\": false,\n                \"isServiceOrder\": false,\n                \"status\": 4,\n                \"logicType\": 0,\n                \"invoiceNumber\": null,\n                \"deliveryNote\": null,\n                \"toleranceRateSum\": \"0.00\",\n                \"toleranceRatePercent\": \"0.00\",\n                \"purchaseOrder\": {\n                    \"id\": null,\n                    \"idn\": null,\n                    \"creator\": {\n                        \"id\": null\n                    }\n                },\n                \"prepaymentPercent\": 100,\n                \"postpaymentPercent\": 0,\n                \"creditPeriodDays\": 0,\n                \"paymentTerm\": {\n                    \"id\": 74148\n                },\n                \"company\": {\n                    \"id\": 22359\n                },\n                \"qboId\": null,\n                \"netSuiteId\": null,\n                \"xeroId\": null,\n                \"externalId\": null,\n                \"externalIntegrationLog\": null,\n                \"budgetedSum\": 0,\n                \"usedTaxPercentInBudget\": \"100.00\",\n                \"allDocumentCustomFieldOptionsIds\": \"267574\",\n                \"isNewSupplierAdded\": false,\n                \"itemsChartSum\": 51.4,\n                \"approvingWay\": [],\n                \"location\": {\n                    \"id\": 97962,\n                    \"uniqueCode\": null,\n                    \"name\": \"Main location\",\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"fullAddress\": null,\n                    \"afaxysLocationId\": null,\n                    \"phone\": null,\n                    \"allLocationsAccessLegalEntities\": true,\n                    \"enable\": true,\n                    \"locationAddress\": {\n                        \"id\": null\n                    },\n                    \"externalId\": null\n                },\n                \"supplier\": {\n                    \"id\": 719430,\n                    \"uniqueCode\": \"123AB\",\n                    \"name\": \"Supplier 1\",\n                    \"createDate\": \"2024-07-12T10:18:00+00:00\",\n                    \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n                    \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n                    \"legalAddress\": null,\n                    \"currency\": \"USD\",\n                    \"currencies\": [\n                        \"USD\"\n                    ],\n                    \"autoSendPOSupplier\": false,\n                    \"deliveryPeriod\": 0,\n                    \"minimumSum\": 10,\n                    \"businessRegistrationNumber\": null,\n                    \"accountHolderName\": null,\n                    \"bankName\": null,\n                    \"accountNumber\": null,\n                    \"bankAddress\": null,\n                    \"swiftCode\": null,\n                    \"permanentAccountNumber\": null,\n                    \"internationalBankAccountNumber\": null,\n                    \"americanBankersAssociationNumber\": null,\n                    \"indianFinancialSystemCode\": null,\n                    \"sortCode\": null,\n                    \"taxPayer\": false,\n                    \"taxPayerType\": 0,\n                    \"taxPayerLabel\": \"Tax Payer Number\",\n                    \"taxPayerNumber\": null,\n                    \"phone\": null,\n                    \"city\": null,\n                    \"country\": null,\n                    \"state\": null,\n                    \"postalCode\": null,\n                    \"note\": null,\n                    \"conditions\": null,\n                    \"enable\": true,\n                    \"isMarketUpdatable\": false,\n                    \"qboId\": null,\n                    \"netSuiteId\": null,\n                    \"xeroId\": null,\n                    \"externalId\": null,\n                    \"marketSupplier\": {\n                        \"id\": null,\n                        \"minimumSum\": null\n                    },\n                    \"enableMarketSupplier\": false,\n                    \"creditBalanceSums\": {\n                        \"USD\": 0\n                    },\n                    \"afaxysSupplierId\": null,\n                    \"status\": 2,\n                    \"creator\": {\n                        \"id\": 95888,\n                        \"email\": \"apitesterfordocumentation@gmail.com\"\n                    },\n                    \"enterInvoiceAsOneLine\": false,\n                    \"isPunchoutSupplier\": false,\n                    \"paymentTerms\": {\n                        \"data\": [\n                            {\n                                \"id\": 74148,\n                                \"name\": \"Prepayment\",\n                                \"prepaymentPercent\": 100,\n                                \"postpaymentPercent\": 0,\n                                \"creditPeriodDays\": 0,\n                                \"termsDueDateAfterInvoicing\": 0,\n                                \"paymentType\": 0,\n                                \"enable\": true,\n                                \"externalId\": null\n                            }\n                        ]\n                    },\n                    \"approvalSteps\": {\n                        \"data\": []\n                    },\n                    \"approvingWay\": []\n                },\n                \"budget\": [],\n                \"budgetLine\": [],\n                \"legalEntity\": {\n                    \"id\": 23152,\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"enable\": true,\n                    \"name\": \"TEST Api Precoro\",\n                    \"legalAddress\": null,\n                    \"accountNumber\": null,\n                    \"accountHolderName\": null,\n                    \"bankName\": null,\n                    \"bankAddress\": null,\n                    \"sortCode\": null,\n                    \"businessRegistrationNumber\": null,\n                    \"taxPayerType\": 2,\n                    \"taxPayerNumber\": null,\n                    \"phone\": null,\n                    \"keyExecutive\": null,\n                    \"fullName\": null,\n                    \"permanentAccountNumber\": null,\n                    \"internationalBankAccountNumber\": null,\n                    \"americanBankersAssociationNumber\": null,\n                    \"swiftCode\": null,\n                    \"indianFinancialSystemCode\": null,\n                    \"externalId\": null,\n                    \"uniqueCode\": null\n                },\n                \"creator\": {\n                    \"id\": 95888,\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                    \"email\": \"apitesterfordocumentation@gmail.com\",\n                    \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                    \"locale\": \"en\",\n                    \"phone\": \"+13456789\",\n                    \"firstname\": \"Api\",\n                    \"lastname\": \"Tester\",\n                    \"position\": null,\n                    \"location\": {\n                        \"id\": 97962\n                    },\n                    \"legalEntity\": {\n                        \"id\": 23152\n                    },\n                    \"allLocationsAccess\": true,\n                    \"allUserDocumentCustomFieldsAccess\": true,\n                    \"allItemGroupsAccess\": true,\n                    \"roles\": [\n                        \"ROLE_PURCHASE_REQUISITION\",\n                        \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                        \"ROLE_PURCHASE_ORDER\",\n                        \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                        \"ROLE_RECEIPT\",\n                        \"ROLE_RECEIPT_APPROVAL\",\n                        \"ROLE_INVOICE\",\n                        \"ROLE_INVOICE_APPROVAL\",\n                        \"ROLE_INVOICE_PAYMENT\",\n                        \"ROLE_REPORT\",\n                        \"ROLE_BUDGET_HOLDER\",\n                        \"ROLE_SUPPLIER_MANAGEMENT\",\n                        \"ROLE_SUPPLIER_APPROVAL\",\n                        \"ROLE_WAREHOUSE_REQUEST\",\n                        \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                        \"ROLE_EXPENSE\",\n                        \"ROLE_EXPENSE_APPROVAL\",\n                        \"ROLE_EXPENSE_PAYMENT\",\n                        \"ROLE_WAREHOUSE_MANAGER\",\n                        \"ROLE_SUPER_USER\",\n                        \"ROLE_OCR\",\n                        \"ROLE_CONFIGURATION\",\n                        \"ROLE_USER\"\n                    ],\n                    \"enable\": true,\n                    \"isMarketSupplier\": false,\n                    \"isAvailableVacationMode\": false,\n                    \"enableVacationMode\": false,\n                    \"startVacationMode\": null,\n                    \"endVacationMode\": null,\n                    \"isPower\": true,\n                    \"availableIn\": [\n                        {\n                            \"id\": 22359,\n                            \"name\": \"TEST Api Precoro\",\n                            \"active\": true\n                        }\n                    ],\n                    \"hasConfirmationToken\": false\n                },\n                \"lastEditor\": [],\n                \"approvalSteps\": {\n                    \"data\": []\n                }\n            },\n            \"purchaseOrder\": {\n                \"id\": null,\n                \"idn\": null,\n                \"creator\": {\n                    \"id\": null\n                }\n            },\n            \"balance\": 0,\n            \"qboId\": null,\n            \"prepayment\": null,\n            \"netSuiteId\": null,\n            \"xeroId\": null,\n            \"externalId\": null,\n            \"creator\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"availableIn\": [\n                    {\n                        \"id\": 22359,\n                        \"name\": \"TEST Api Precoro\",\n                        \"active\": true\n                    }\n                ],\n                \"hasConfirmationToken\": false\n            }\n        },\n        {\n            \"id\": 1177482,\n            \"idn\": 3,\n            \"createDate\": \"2024-12-12T09:38:34+00:00\",\n            \"payDate\": \"2021-03-01T00:00:00+00:00\",\n            \"sumPaid\": 0.01,\n            \"status\": 0,\n            \"logicType\": 0,\n            \"invoice\": {\n                \"id\": 1335829,\n                \"idn\": \"3\",\n                \"customName\": null,\n                \"createDate\": \"2024-09-19T14:23:14+00:00\",\n                \"updateDate\": \"2024-12-12T09:41:21+00:00\",\n                \"requiredDate\": \"2024-09-20T00:00:00+00:00\",\n                \"issueDate\": \"2024-09-20T00:00:00+00:00\",\n                \"approvalDate\": \"2024-09-19T14:23:21+00:00\",\n                \"sumPaid\": \"0.06\",\n                \"sumPaidInCompanyCurrency\": \"0.06\",\n                \"sum\": 51.4,\n                \"netSum\": 49.9,\n                \"sumInCompanyCurrency\": 51.4,\n                \"netSumInCompanyCurrency\": 49.9,\n                \"withholdingTaxSum\": 0,\n                \"currency\": \"USD\",\n                \"precisionData\": {\n                    \"USD\": {\n                        \"precision\": 2,\n                        \"roundMode\": \"math\"\n                    }\n                },\n                \"note\": null,\n                \"exchangeRate\": {\n                    \"UAH:USD\": 0.024096,\n                    \"USD:UAH\": 41.500415\n                },\n                \"fromSupplier\": false,\n                \"isServiceOrder\": false,\n                \"status\": 4,\n                \"logicType\": 0,\n                \"invoiceNumber\": null,\n                \"deliveryNote\": null,\n                \"toleranceRateSum\": \"0.00\",\n                \"toleranceRatePercent\": \"0.00\",\n                \"purchaseOrder\": {\n                    \"id\": null,\n                    \"idn\": null,\n                    \"creator\": {\n                        \"id\": null\n                    }\n                },\n                \"prepaymentPercent\": 100,\n                \"postpaymentPercent\": 0,\n                \"creditPeriodDays\": 0,\n                \"paymentTerm\": {\n                    \"id\": 74148\n                },\n                \"company\": {\n                    \"id\": 22359\n                },\n                \"qboId\": null,\n                \"netSuiteId\": null,\n                \"xeroId\": null,\n                \"externalId\": null,\n                \"externalIntegrationLog\": null,\n                \"budgetedSum\": 0,\n                \"usedTaxPercentInBudget\": \"100.00\",\n                \"allDocumentCustomFieldOptionsIds\": \"267574\",\n                \"isNewSupplierAdded\": false,\n                \"itemsChartSum\": 51.4,\n                \"approvingWay\": [],\n                \"location\": {\n                    \"id\": 97962,\n                    \"uniqueCode\": null,\n                    \"name\": \"Main location\",\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"fullAddress\": null,\n                    \"afaxysLocationId\": null,\n                    \"phone\": null,\n                    \"allLocationsAccessLegalEntities\": true,\n                    \"enable\": true,\n                    \"locationAddress\": {\n                        \"id\": null\n                    },\n                    \"externalId\": null\n                },\n                \"supplier\": {\n                    \"id\": 719430,\n                    \"uniqueCode\": \"123AB\",\n                    \"name\": \"Supplier 1\",\n                    \"createDate\": \"2024-07-12T10:18:00+00:00\",\n                    \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n                    \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n                    \"legalAddress\": null,\n                    \"currency\": \"USD\",\n                    \"currencies\": [\n                        \"USD\"\n                    ],\n                    \"autoSendPOSupplier\": false,\n                    \"deliveryPeriod\": 0,\n                    \"minimumSum\": 10,\n                    \"businessRegistrationNumber\": null,\n                    \"accountHolderName\": null,\n                    \"bankName\": null,\n                    \"accountNumber\": null,\n                    \"bankAddress\": null,\n                    \"swiftCode\": null,\n                    \"permanentAccountNumber\": null,\n                    \"internationalBankAccountNumber\": null,\n                    \"americanBankersAssociationNumber\": null,\n                    \"indianFinancialSystemCode\": null,\n                    \"sortCode\": null,\n                    \"taxPayer\": false,\n                    \"taxPayerType\": 0,\n                    \"taxPayerLabel\": \"Tax Payer Number\",\n                    \"taxPayerNumber\": null,\n                    \"phone\": null,\n                    \"city\": null,\n                    \"country\": null,\n                    \"state\": null,\n                    \"postalCode\": null,\n                    \"note\": null,\n                    \"conditions\": null,\n                    \"enable\": true,\n                    \"isMarketUpdatable\": false,\n                    \"qboId\": null,\n                    \"netSuiteId\": null,\n                    \"xeroId\": null,\n                    \"externalId\": null,\n                    \"marketSupplier\": {\n                        \"id\": null,\n                        \"minimumSum\": null\n                    },\n                    \"enableMarketSupplier\": false,\n                    \"creditBalanceSums\": {\n                        \"USD\": 0\n                    },\n                    \"afaxysSupplierId\": null,\n                    \"status\": 2,\n                    \"creator\": {\n                        \"id\": 95888,\n                        \"email\": \"apitesterfordocumentation@gmail.com\"\n                    },\n                    \"enterInvoiceAsOneLine\": false,\n                    \"isPunchoutSupplier\": false,\n                    \"paymentTerms\": {\n                        \"data\": [\n                            {\n                                \"id\": 74148,\n                                \"name\": \"Prepayment\",\n                                \"prepaymentPercent\": 100,\n                                \"postpaymentPercent\": 0,\n                                \"creditPeriodDays\": 0,\n                                \"termsDueDateAfterInvoicing\": 0,\n                                \"paymentType\": 0,\n                                \"enable\": true,\n                                \"externalId\": null\n                            }\n                        ]\n                    },\n                    \"approvalSteps\": {\n                        \"data\": []\n                    },\n                    \"approvingWay\": []\n                },\n                \"budget\": [],\n                \"budgetLine\": [],\n                \"legalEntity\": {\n                    \"id\": 23152,\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"enable\": true,\n                    \"name\": \"TEST Api Precoro\",\n                    \"legalAddress\": null,\n                    \"accountNumber\": null,\n                    \"accountHolderName\": null,\n                    \"bankName\": null,\n                    \"bankAddress\": null,\n                    \"sortCode\": null,\n                    \"businessRegistrationNumber\": null,\n                    \"taxPayerType\": 2,\n                    \"taxPayerNumber\": null,\n                    \"phone\": null,\n                    \"keyExecutive\": null,\n                    \"fullName\": null,\n                    \"permanentAccountNumber\": null,\n                    \"internationalBankAccountNumber\": null,\n                    \"americanBankersAssociationNumber\": null,\n                    \"swiftCode\": null,\n                    \"indianFinancialSystemCode\": null,\n                    \"externalId\": null,\n                    \"uniqueCode\": null\n                },\n                \"creator\": {\n                    \"id\": 95888,\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                    \"email\": \"apitesterfordocumentation@gmail.com\",\n                    \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                    \"locale\": \"en\",\n                    \"phone\": \"+13456789\",\n                    \"firstname\": \"Api\",\n                    \"lastname\": \"Tester\",\n                    \"position\": null,\n                    \"location\": {\n                        \"id\": 97962\n                    },\n                    \"legalEntity\": {\n                        \"id\": 23152\n                    },\n                    \"allLocationsAccess\": true,\n                    \"allUserDocumentCustomFieldsAccess\": true,\n                    \"allItemGroupsAccess\": true,\n                    \"roles\": [\n                        \"ROLE_PURCHASE_REQUISITION\",\n                        \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                        \"ROLE_PURCHASE_ORDER\",\n                        \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                        \"ROLE_RECEIPT\",\n                        \"ROLE_RECEIPT_APPROVAL\",\n                        \"ROLE_INVOICE\",\n                        \"ROLE_INVOICE_APPROVAL\",\n                        \"ROLE_INVOICE_PAYMENT\",\n                        \"ROLE_REPORT\",\n                        \"ROLE_BUDGET_HOLDER\",\n                        \"ROLE_SUPPLIER_MANAGEMENT\",\n                        \"ROLE_SUPPLIER_APPROVAL\",\n                        \"ROLE_WAREHOUSE_REQUEST\",\n                        \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                        \"ROLE_EXPENSE\",\n                        \"ROLE_EXPENSE_APPROVAL\",\n                        \"ROLE_EXPENSE_PAYMENT\",\n                        \"ROLE_WAREHOUSE_MANAGER\",\n                        \"ROLE_SUPER_USER\",\n                        \"ROLE_OCR\",\n                        \"ROLE_CONFIGURATION\",\n                        \"ROLE_USER\"\n                    ],\n                    \"enable\": true,\n                    \"isMarketSupplier\": false,\n                    \"isAvailableVacationMode\": false,\n                    \"enableVacationMode\": false,\n                    \"startVacationMode\": null,\n                    \"endVacationMode\": null,\n                    \"isPower\": true,\n                    \"availableIn\": [\n                        {\n                            \"id\": 22359,\n                            \"name\": \"TEST Api Precoro\",\n                            \"active\": true\n                        }\n                    ],\n                    \"hasConfirmationToken\": false\n                },\n                \"lastEditor\": [],\n                \"approvalSteps\": {\n                    \"data\": []\n                }\n            },\n            \"purchaseOrder\": {\n                \"id\": null,\n                \"idn\": null,\n                \"creator\": {\n                    \"id\": null\n                }\n            },\n            \"balance\": 0,\n            \"qboId\": null,\n            \"prepayment\": null,\n            \"netSuiteId\": null,\n            \"xeroId\": null,\n            \"externalId\": null,\n            \"creator\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"availableIn\": [\n                    {\n                        \"id\": 22359,\n                        \"name\": \"TEST Api Precoro\",\n                        \"active\": true\n                    }\n                ],\n                \"hasConfirmationToken\": false\n            }\n        },\n        {\n            \"id\": 1103338,\n            \"idn\": 2,\n            \"createDate\": \"2024-09-19T14:23:02+00:00\",\n            \"payDate\": \"2024-09-19T00:00:00+00:00\",\n            \"sumPaid\": 51.4,\n            \"status\": 0,\n            \"logicType\": 1,\n            \"invoice\": {\n                \"id\": 1335827,\n                \"idn\": \"1\",\n                \"customName\": null,\n                \"createDate\": \"2024-09-19T14:22:36+00:00\",\n                \"updateDate\": \"2024-09-19T14:23:02+00:00\",\n                \"requiredDate\": \"2024-09-30T00:00:00+00:00\",\n                \"issueDate\": \"2024-09-30T00:00:00+00:00\",\n                \"approvalDate\": \"2024-09-19T14:22:48+00:00\",\n                \"sumPaid\": \"51.40\",\n                \"sumPaidInCompanyCurrency\": \"51.40\",\n                \"sum\": 51.4,\n                \"netSum\": 49.9,\n                \"sumInCompanyCurrency\": 51.4,\n                \"netSumInCompanyCurrency\": 49.9,\n                \"withholdingTaxSum\": 0,\n                \"currency\": \"USD\",\n                \"precisionData\": {\n                    \"USD\": {\n                        \"precision\": 2,\n                        \"roundMode\": \"math\"\n                    }\n                },\n                \"note\": null,\n                \"exchangeRate\": {\n                    \"UAH:USD\": 0.024096,\n                    \"USD:UAH\": 41.500415\n                },\n                \"fromSupplier\": false,\n                \"isServiceOrder\": false,\n                \"status\": 5,\n                \"logicType\": 0,\n                \"invoiceNumber\": null,\n                \"deliveryNote\": null,\n                \"toleranceRateSum\": \"0.00\",\n                \"toleranceRatePercent\": \"0.00\",\n                \"purchaseOrder\": {\n                    \"id\": null,\n                    \"idn\": null,\n                    \"creator\": {\n                        \"id\": null\n                    }\n                },\n                \"prepaymentPercent\": 100,\n                \"postpaymentPercent\": 0,\n                \"creditPeriodDays\": 0,\n                \"paymentTerm\": {\n                    \"id\": 74148\n                },\n                \"company\": {\n                    \"id\": 22359\n                },\n                \"qboId\": null,\n                \"netSuiteId\": null,\n                \"xeroId\": null,\n                \"externalId\": null,\n                \"externalIntegrationLog\": null,\n                \"budgetedSum\": 0,\n                \"usedTaxPercentInBudget\": \"100.00\",\n                \"allDocumentCustomFieldOptionsIds\": \"267574\",\n                \"isNewSupplierAdded\": false,\n                \"itemsChartSum\": 0,\n                \"approvingWay\": [],\n                \"location\": {\n                    \"id\": 97962,\n                    \"uniqueCode\": null,\n                    \"name\": \"Main location\",\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"fullAddress\": null,\n                    \"afaxysLocationId\": null,\n                    \"phone\": null,\n                    \"allLocationsAccessLegalEntities\": true,\n                    \"enable\": true,\n                    \"locationAddress\": {\n                        \"id\": null\n                    },\n                    \"externalId\": null\n                },\n                \"supplier\": {\n                    \"id\": 719430,\n                    \"uniqueCode\": \"123AB\",\n                    \"name\": \"Supplier 1\",\n                    \"createDate\": \"2024-07-12T10:18:00+00:00\",\n                    \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n                    \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n                    \"legalAddress\": null,\n                    \"currency\": \"USD\",\n                    \"currencies\": [\n                        \"USD\"\n                    ],\n                    \"autoSendPOSupplier\": false,\n                    \"deliveryPeriod\": 0,\n                    \"minimumSum\": 10,\n                    \"businessRegistrationNumber\": null,\n                    \"accountHolderName\": null,\n                    \"bankName\": null,\n                    \"accountNumber\": null,\n                    \"bankAddress\": null,\n                    \"swiftCode\": null,\n                    \"permanentAccountNumber\": null,\n                    \"internationalBankAccountNumber\": null,\n                    \"americanBankersAssociationNumber\": null,\n                    \"indianFinancialSystemCode\": null,\n                    \"sortCode\": null,\n                    \"taxPayer\": false,\n                    \"taxPayerType\": 0,\n                    \"taxPayerLabel\": \"Tax Payer Number\",\n                    \"taxPayerNumber\": null,\n                    \"phone\": null,\n                    \"city\": null,\n                    \"country\": null,\n                    \"state\": null,\n                    \"postalCode\": null,\n                    \"note\": null,\n                    \"conditions\": null,\n                    \"enable\": true,\n                    \"isMarketUpdatable\": false,\n                    \"qboId\": null,\n                    \"netSuiteId\": null,\n                    \"xeroId\": null,\n                    \"externalId\": null,\n                    \"marketSupplier\": {\n                        \"id\": null,\n                        \"minimumSum\": null\n                    },\n                    \"enableMarketSupplier\": false,\n                    \"creditBalanceSums\": {\n                        \"USD\": 0\n                    },\n                    \"afaxysSupplierId\": null,\n                    \"status\": 2,\n                    \"creator\": {\n                        \"id\": 95888,\n                        \"email\": \"apitesterfordocumentation@gmail.com\"\n                    },\n                    \"enterInvoiceAsOneLine\": false,\n                    \"isPunchoutSupplier\": false,\n                    \"paymentTerms\": {\n                        \"data\": [\n                            {\n                                \"id\": 74148,\n                                \"name\": \"Prepayment\",\n                                \"prepaymentPercent\": 100,\n                                \"postpaymentPercent\": 0,\n                                \"creditPeriodDays\": 0,\n                                \"termsDueDateAfterInvoicing\": 0,\n                                \"paymentType\": 0,\n                                \"enable\": true,\n                                \"externalId\": null\n                            }\n                        ]\n                    },\n                    \"approvalSteps\": {\n                        \"data\": []\n                    },\n                    \"approvingWay\": []\n                },\n                \"budget\": [],\n                \"budgetLine\": [],\n                \"legalEntity\": {\n                    \"id\": 23152,\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"enable\": true,\n                    \"name\": \"TEST Api Precoro\",\n                    \"legalAddress\": null,\n                    \"accountNumber\": null,\n                    \"accountHolderName\": null,\n                    \"bankName\": null,\n                    \"bankAddress\": null,\n                    \"sortCode\": null,\n                    \"businessRegistrationNumber\": null,\n                    \"taxPayerType\": 2,\n                    \"taxPayerNumber\": null,\n                    \"phone\": null,\n                    \"keyExecutive\": null,\n                    \"fullName\": null,\n                    \"permanentAccountNumber\": null,\n                    \"internationalBankAccountNumber\": null,\n                    \"americanBankersAssociationNumber\": null,\n                    \"swiftCode\": null,\n                    \"indianFinancialSystemCode\": null,\n                    \"externalId\": null,\n                    \"uniqueCode\": null\n                },\n                \"creator\": {\n                    \"id\": 95888,\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                    \"email\": \"apitesterfordocumentation@gmail.com\",\n                    \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                    \"locale\": \"en\",\n                    \"phone\": \"+13456789\",\n                    \"firstname\": \"Api\",\n                    \"lastname\": \"Tester\",\n                    \"position\": null,\n                    \"location\": {\n                        \"id\": 97962\n                    },\n                    \"legalEntity\": {\n                        \"id\": 23152\n                    },\n                    \"allLocationsAccess\": true,\n                    \"allUserDocumentCustomFieldsAccess\": true,\n                    \"allItemGroupsAccess\": true,\n                    \"roles\": [\n                        \"ROLE_PURCHASE_REQUISITION\",\n                        \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                        \"ROLE_PURCHASE_ORDER\",\n                        \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                        \"ROLE_RECEIPT\",\n                        \"ROLE_RECEIPT_APPROVAL\",\n                        \"ROLE_INVOICE\",\n                        \"ROLE_INVOICE_APPROVAL\",\n                        \"ROLE_INVOICE_PAYMENT\",\n                        \"ROLE_REPORT\",\n                        \"ROLE_BUDGET_HOLDER\",\n                        \"ROLE_SUPPLIER_MANAGEMENT\",\n                        \"ROLE_SUPPLIER_APPROVAL\",\n                        \"ROLE_WAREHOUSE_REQUEST\",\n                        \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                        \"ROLE_EXPENSE\",\n                        \"ROLE_EXPENSE_APPROVAL\",\n                        \"ROLE_EXPENSE_PAYMENT\",\n                        \"ROLE_WAREHOUSE_MANAGER\",\n                        \"ROLE_SUPER_USER\",\n                        \"ROLE_OCR\",\n                        \"ROLE_CONFIGURATION\",\n                        \"ROLE_USER\"\n                    ],\n                    \"enable\": true,\n                    \"isMarketSupplier\": false,\n                    \"isAvailableVacationMode\": false,\n                    \"enableVacationMode\": false,\n                    \"startVacationMode\": null,\n                    \"endVacationMode\": null,\n                    \"isPower\": true,\n                    \"availableIn\": [\n                        {\n                            \"id\": 22359,\n                            \"name\": \"TEST Api Precoro\",\n                            \"active\": true\n                        }\n                    ],\n                    \"hasConfirmationToken\": false\n                },\n                \"lastEditor\": [],\n                \"approvalSteps\": {\n                    \"data\": []\n                }\n            },\n            \"purchaseOrder\": {\n                \"id\": null,\n                \"idn\": null,\n                \"creator\": {\n                    \"id\": null\n                }\n            },\n            \"balance\": 0,\n            \"qboId\": null,\n            \"prepayment\": null,\n            \"netSuiteId\": null,\n            \"xeroId\": null,\n            \"externalId\": null,\n            \"creator\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"availableIn\": [\n                    {\n                        \"id\": 22359,\n                        \"name\": \"TEST Api Precoro\",\n                        \"active\": true\n                    }\n                ],\n                \"hasConfirmationToken\": false\n            }\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 8,\n            \"count\": 8,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": {}\n        }\n    }\n}"}],"_postman_id":"e4868715-c3f6-4a03-968c-eb6139403baa"},{"name":"Add Invoice Payment","id":"52f73b94-3b5c-4d9d-b74b-d3288d76e3df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"invoice[id]","value":"1335829","type":"text","description":"<p>required</p>\n"},{"key":"sumPaid","value":"0.1","type":"text","description":"<p>required</p>\n"},{"key":"logicType","value":"0","type":"text","description":"<p>required</p>\n"},{"key":"payDate","value":"2025-02-28T12:00:00+00:00","type":"text","description":"<p>required</p>\n"},{"key":"externalId","value":"","type":"text"}]},"url":"https://api.precoro.com/payments","urlObject":{"protocol":"https","path":["payments"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"155260f2-4038-4338-94df-2b4fe1506db5","name":"Add Invoice Payment","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"invoice[id]","value":"1335829","type":"text","description":"required"},{"key":"sumPaid","value":"0.1","type":"text","description":"required"},{"key":"logicType","value":"0","type":"text","description":"required"},{"key":"payDate","value":"2025-02-28T12:00:00+00:00","type":"text","description":"required"},{"key":"externalId","value":"","type":"text"}]},"url":"https://api.precoro.com/payments"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 14:10:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 14:10:35 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=JegvkMyeHrGKskcP2DFN8ISELpjgj%2FYBy%2FJn%2BLb1MJiGFu9x0VdvJAkqOnqtTmL%2BJKXULr8DrXg6kVduSRLijXFMDg1PErd1cqdb%2Fg9vwWmMUrsq74IB7DygaiGTRP18bg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9190ffb9ad7df28b-IAD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=1952&min_rtt=1836&rtt_var=771&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2336&recv_bytes=1039&delivery_rate=1577342&cwnd=207&unsent_bytes=0&cid=c36050583b560971&ts=391&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1247611,\n    \"idn\": 10,\n    \"createDate\": \"2025-02-28T14:10:35+00:00\",\n    \"payDate\": \"2025-02-28T12:00:00+00:00\",\n    \"sumPaid\": 0.1,\n    \"status\": 0,\n    \"logicType\": 0,\n    \"invoice\": {\n        \"id\": 1335829,\n        \"idn\": \"3\",\n        \"creator\": {\n            \"id\": 95888\n        }\n    },\n    \"purchaseOrder\": {\n        \"id\": null,\n        \"idn\": null,\n        \"creator\": {\n            \"id\": null\n        }\n    },\n    \"balance\": 0,\n    \"qboId\": null,\n    \"prepayment\": null,\n    \"netSuiteId\": null,\n    \"xeroId\": null,\n    \"externalId\": null,\n    \"creator\": {\n        \"id\": 95888,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n        \"email\": \"apitesterfordocumentation@gmail.com\",\n        \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n        \"locale\": \"en\",\n        \"phone\": \"+13456789\",\n        \"firstname\": \"Api\",\n        \"lastname\": \"Tester\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 97962\n        },\n        \"legalEntity\": {\n            \"id\": 23152\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allItemGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_INVOICE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_SUPPLIER_APPROVAL\",\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_EXPENSE\",\n            \"ROLE_EXPENSE_APPROVAL\",\n            \"ROLE_EXPENSE_PAYMENT\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPER_USER\",\n            \"ROLE_OCR\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"isPower\": true,\n        \"availableIn\": [\n            {\n                \"id\": 22359,\n                \"name\": \"TEST Api Precoro\",\n                \"active\": true\n            }\n        ],\n        \"hasConfirmationToken\": false\n    }\n}"}],"_postman_id":"52f73b94-3b5c-4d9d-b74b-d3288d76e3df"},{"name":"Add Expense Payment","id":"1289197e-4808-4a2a-aea6-6beb0cc5c19c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"expense[id]","value":"63057","type":"text","description":"<p>required</p>\n"},{"key":"sumPaid","value":"10","type":"text","description":"<p>required</p>\n"},{"key":"payDate","value":"2024-07-09T00:00:00+00:00","type":"text","description":"<p>required</p>\n"}]},"url":"https://api.precoro.com/expensePayments","urlObject":{"protocol":"https","path":["expensePayments"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"056920ec-6bd8-4d62-93b8-ff26a64ac813","name":"Add Expense Payment","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"expense[id]","value":"63057","type":"text","description":"required"},{"key":"sumPaid","value":"0.3","type":"text","description":"required"},{"key":"payDate","value":"2025-02-28T10:00:00+00:00","type":"text","description":"required"}]},"url":"https://api.precoro.com/expensePayments"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 14:16:09 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 14:16:09 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=VweV1IbtwUsonYdgbzI2tp0HtU%2BUDyjTRr0TDLNBWM73Nka5pE7%2F13LHRQKjt%2FrqhJJ6ZgazW50V8XtUm8i7yr0YVRF3LGBK%2Bl6RJ1L4xvkNIWwYrpH2UlwpffHci114JQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"919107e1fe2fc943-IAD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7580&min_rtt=2285&rtt_var=10759&sent=7&recv=8&lost=0&retrans=0&sent_bytes=1844&recv_bytes=1835&delivery_rate=1247200&cwnd=207&unsent_bytes=0&cid=5b74527d38757ee4&ts=7646&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 41208,\n    \"idn\": 2,\n    \"createDate\": \"2025-02-28T14:16:09+00:00\",\n    \"payDate\": \"2025-02-28T10:00:00+00:00\",\n    \"sumPaid\": 0.3,\n    \"status\": 0,\n    \"expense\": {\n        \"id\": 63057,\n        \"idn\": \"1\"\n    },\n    \"creator\": {\n        \"id\": 95888,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n        \"email\": \"apitesterfordocumentation@gmail.com\",\n        \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n        \"locale\": \"en\",\n        \"phone\": \"+13456789\",\n        \"firstname\": \"Api\",\n        \"lastname\": \"Tester\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 97962\n        },\n        \"legalEntity\": {\n            \"id\": 23152\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allItemGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_INVOICE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_SUPPLIER_APPROVAL\",\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_EXPENSE\",\n            \"ROLE_EXPENSE_APPROVAL\",\n            \"ROLE_EXPENSE_PAYMENT\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPER_USER\",\n            \"ROLE_OCR\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"isPower\": true,\n        \"availableIn\": [\n            {\n                \"id\": 22359,\n                \"name\": \"TEST Api Precoro\",\n                \"active\": true\n            }\n        ],\n        \"hasConfirmationToken\": false\n    }\n}"}],"_postman_id":"1289197e-4808-4a2a-aea6-6beb0cc5c19c"},{"name":"Cancel Payment by IDN","id":"d98cd0d6-6043-4f63-b720-9acb884379f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/payments/{idn}/cancel","urlObject":{"protocol":"https","path":["payments","{idn}","cancel"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"d7512270-5dc0-4ff8-b0c1-c4ffd118c91d","name":"Cancel Payment by IDN","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/payments/{idn}/cancel"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 14:16:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 14:16:42 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=gKXTsBQMdUEf78TI%2Bhs2vS8N6bo%2B5xBpWrNqyTBo7ML%2B0p%2FK6BXbw%2BmSNt86JaPQsqev%2Bgjod2aRrctKAYeRBY3zM4tLKkp0iaiWFeVl7HmF%2B%2FPYX167KqAeBel0vO%2BqvA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"919108b17fb65836-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=1826&min_rtt=1559&rtt_var=776&sent=3&recv=5&lost=0&retrans=0&sent_bytes=219&recv_bytes=1151&delivery_rate=928800&cwnd=231&unsent_bytes=0&cid=f072d03e72e5b692&ts=391&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1177500,\n    \"idn\": 8,\n    \"createDate\": \"2024-12-12T09:41:21+00:00\",\n    \"payDate\": \"2021-03-01T00:00:00+00:00\",\n    \"sumPaid\": 0.01,\n    \"status\": 8,\n    \"logicType\": 0,\n    \"invoice\": {\n        \"id\": 1335829,\n        \"idn\": \"3\",\n        \"customName\": null,\n        \"createDate\": \"2024-09-19T14:23:14+00:00\",\n        \"updateDate\": \"2025-02-28T14:16:42+00:00\",\n        \"requiredDate\": \"2024-09-20T00:00:00+00:00\",\n        \"issueDate\": \"2024-09-20T00:00:00+00:00\",\n        \"approvalDate\": \"2024-09-19T14:23:21+00:00\",\n        \"sumPaid\": 0.15,\n        \"sumPaidInCompanyCurrency\": 0.15,\n        \"sum\": 51.4,\n        \"netSum\": 49.9,\n        \"sumInCompanyCurrency\": 51.4,\n        \"netSumInCompanyCurrency\": 49.9,\n        \"withholdingTaxSum\": 0,\n        \"currency\": \"USD\",\n        \"precisionData\": {\n            \"USD\": {\n                \"precision\": 2,\n                \"roundMode\": \"math\"\n            }\n        },\n        \"note\": null,\n        \"exchangeRate\": {\n            \"UAH:USD\": 0.024096,\n            \"USD:UAH\": 41.500415\n        },\n        \"fromSupplier\": false,\n        \"isServiceOrder\": false,\n        \"status\": 4,\n        \"logicType\": 0,\n        \"invoiceNumber\": null,\n        \"deliveryNote\": null,\n        \"toleranceRateSum\": \"0.00\",\n        \"toleranceRatePercent\": \"0.00\",\n        \"purchaseOrder\": {\n            \"id\": null,\n            \"idn\": null,\n            \"creator\": {\n                \"id\": null\n            }\n        },\n        \"prepaymentPercent\": 100,\n        \"postpaymentPercent\": 0,\n        \"creditPeriodDays\": 0,\n        \"paymentTerm\": {\n            \"id\": 74148\n        },\n        \"company\": {\n            \"id\": 22359\n        },\n        \"qboId\": null,\n        \"netSuiteId\": null,\n        \"xeroId\": null,\n        \"externalId\": null,\n        \"externalIntegrationLog\": null,\n        \"budgetedSum\": 0,\n        \"usedTaxPercentInBudget\": \"100.00\",\n        \"allDocumentCustomFieldOptionsIds\": \"267574\",\n        \"isNewSupplierAdded\": false,\n        \"itemsChartSum\": 51.4,\n        \"approvingWay\": [],\n        \"location\": {\n            \"id\": 97962,\n            \"uniqueCode\": null,\n            \"name\": \"Main location\",\n            \"createDate\": \"2024-06-11T14:23:08+00:00\",\n            \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n            \"fullAddress\": null,\n            \"afaxysLocationId\": null,\n            \"phone\": null,\n            \"allLocationsAccessLegalEntities\": true,\n            \"enable\": true,\n            \"locationAddress\": {\n                \"id\": null\n            },\n            \"externalId\": null\n        },\n        \"supplier\": {\n            \"id\": 719430,\n            \"uniqueCode\": \"123AB\",\n            \"name\": \"Supplier 1\",\n            \"createDate\": \"2024-07-12T10:18:00+00:00\",\n            \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n            \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n            \"legalAddress\": null,\n            \"currency\": \"USD\",\n            \"currencies\": [\n                \"USD\"\n            ],\n            \"autoSendPOSupplier\": false,\n            \"deliveryPeriod\": 0,\n            \"minimumSum\": 10,\n            \"businessRegistrationNumber\": null,\n            \"accountHolderName\": null,\n            \"bankName\": null,\n            \"accountNumber\": null,\n            \"bankAddress\": null,\n            \"swiftCode\": null,\n            \"permanentAccountNumber\": null,\n            \"internationalBankAccountNumber\": null,\n            \"americanBankersAssociationNumber\": null,\n            \"indianFinancialSystemCode\": null,\n            \"sortCode\": null,\n            \"taxPayer\": false,\n            \"taxPayerType\": 0,\n            \"taxPayerLabel\": \"Tax Payer Number\",\n            \"taxPayerNumber\": null,\n            \"phone\": null,\n            \"city\": null,\n            \"country\": null,\n            \"state\": null,\n            \"postalCode\": null,\n            \"note\": null,\n            \"conditions\": null,\n            \"enable\": true,\n            \"isMarketUpdatable\": false,\n            \"qboId\": null,\n            \"netSuiteId\": null,\n            \"xeroId\": null,\n            \"externalId\": null,\n            \"marketSupplier\": {\n                \"id\": null,\n                \"minimumSum\": null\n            },\n            \"enableMarketSupplier\": false,\n            \"creditBalanceSums\": {\n                \"USD\": 0\n            },\n            \"afaxysSupplierId\": null,\n            \"status\": 2,\n            \"creator\": {\n                \"id\": 95888,\n                \"email\": \"apitesterfordocumentation@gmail.com\"\n            },\n            \"enterInvoiceAsOneLine\": false,\n            \"isPunchoutSupplier\": false,\n            \"paymentTerms\": {\n                \"data\": [\n                    {\n                        \"id\": 74148,\n                        \"name\": \"Prepayment\",\n                        \"prepaymentPercent\": 100,\n                        \"postpaymentPercent\": 0,\n                        \"creditPeriodDays\": 0,\n                        \"termsDueDateAfterInvoicing\": 0,\n                        \"paymentType\": 0,\n                        \"enable\": true,\n                        \"externalId\": null\n                    }\n                ]\n            },\n            \"approvalSteps\": {\n                \"data\": []\n            },\n            \"approvingWay\": []\n        },\n        \"budget\": [],\n        \"budgetLine\": [],\n        \"legalEntity\": {\n            \"id\": 23152,\n            \"createDate\": \"2024-06-11T14:23:08+00:00\",\n            \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n            \"enable\": true,\n            \"name\": \"TEST Api Precoro\",\n            \"legalAddress\": null,\n            \"accountNumber\": null,\n            \"accountHolderName\": null,\n            \"bankName\": null,\n            \"bankAddress\": null,\n            \"sortCode\": null,\n            \"businessRegistrationNumber\": null,\n            \"taxPayerType\": 2,\n            \"taxPayerNumber\": null,\n            \"phone\": null,\n            \"keyExecutive\": null,\n            \"fullName\": null,\n            \"permanentAccountNumber\": null,\n            \"internationalBankAccountNumber\": null,\n            \"americanBankersAssociationNumber\": null,\n            \"swiftCode\": null,\n            \"indianFinancialSystemCode\": null,\n            \"externalId\": null,\n            \"uniqueCode\": null\n        },\n        \"creator\": {\n            \"id\": 95888,\n            \"createDate\": \"2024-06-11T14:23:08+00:00\",\n            \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n            \"email\": \"apitesterfordocumentation@gmail.com\",\n            \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n            \"locale\": \"en\",\n            \"phone\": \"+13456789\",\n            \"firstname\": \"Api\",\n            \"lastname\": \"Tester\",\n            \"position\": null,\n            \"location\": {\n                \"id\": 97962\n            },\n            \"legalEntity\": {\n                \"id\": 23152\n            },\n            \"allLocationsAccess\": true,\n            \"allUserDocumentCustomFieldsAccess\": true,\n            \"allItemGroupsAccess\": true,\n            \"roles\": [\n                \"ROLE_PURCHASE_REQUISITION\",\n                \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                \"ROLE_PURCHASE_ORDER\",\n                \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                \"ROLE_RECEIPT\",\n                \"ROLE_RECEIPT_APPROVAL\",\n                \"ROLE_INVOICE\",\n                \"ROLE_INVOICE_APPROVAL\",\n                \"ROLE_INVOICE_PAYMENT\",\n                \"ROLE_REPORT\",\n                \"ROLE_BUDGET_HOLDER\",\n                \"ROLE_SUPPLIER_MANAGEMENT\",\n                \"ROLE_SUPPLIER_APPROVAL\",\n                \"ROLE_WAREHOUSE_REQUEST\",\n                \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                \"ROLE_REQUEST_FOR_PROPOSAL\",\n                \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                \"ROLE_EXPENSE\",\n                \"ROLE_EXPENSE_APPROVAL\",\n                \"ROLE_EXPENSE_PAYMENT\",\n                \"ROLE_WAREHOUSE_MANAGER\",\n                \"ROLE_SUPER_USER\",\n                \"ROLE_OCR\",\n                \"ROLE_CONFIGURATION\",\n                \"ROLE_USER\"\n            ],\n            \"enable\": true,\n            \"isMarketSupplier\": false,\n            \"isAvailableVacationMode\": false,\n            \"enableVacationMode\": false,\n            \"startVacationMode\": null,\n            \"endVacationMode\": null,\n            \"isPower\": true,\n            \"availableIn\": [\n                {\n                    \"id\": 22359,\n                    \"name\": \"TEST Api Precoro\",\n                    \"active\": true\n                }\n            ],\n            \"hasConfirmationToken\": false\n        },\n        \"lastEditor\": [],\n        \"approvalSteps\": {\n            \"data\": []\n        }\n    },\n    \"purchaseOrder\": {\n        \"id\": null,\n        \"idn\": null,\n        \"creator\": {\n            \"id\": null\n        }\n    },\n    \"balance\": 0,\n    \"qboId\": null,\n    \"prepayment\": null,\n    \"netSuiteId\": null,\n    \"xeroId\": null,\n    \"externalId\": null,\n    \"creator\": {\n        \"id\": 95888,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n        \"email\": \"apitesterfordocumentation@gmail.com\",\n        \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n        \"locale\": \"en\",\n        \"phone\": \"+13456789\",\n        \"firstname\": \"Api\",\n        \"lastname\": \"Tester\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 97962\n        },\n        \"legalEntity\": {\n            \"id\": 23152\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allItemGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_INVOICE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_SUPPLIER_APPROVAL\",\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_EXPENSE\",\n            \"ROLE_EXPENSE_APPROVAL\",\n            \"ROLE_EXPENSE_PAYMENT\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPER_USER\",\n            \"ROLE_OCR\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"isPower\": true,\n        \"availableIn\": [\n            {\n                \"id\": 22359,\n                \"name\": \"TEST Api Precoro\",\n                \"active\": true\n            }\n        ],\n        \"hasConfirmationToken\": false\n    }\n}"}],"_postman_id":"d98cd0d6-6043-4f63-b720-9acb884379f8"},{"name":"Set Payment ExternalId by IDN","id":"e45714bd-0f91-479e-95ec-773ca6aabfaa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token"},{"key":"email","value":"user@company.com"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"externalId","value":"20","description":"<p>string</p>\n","type":"text"}]},"url":"https://api.precoro.com/payments/{idn}","urlObject":{"protocol":"https","path":["payments","{idn}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"59129dd9-6a97-4c12-8363-8f16a508fbe7","name":"Set Payment ExternalId by IDN","originalRequest":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token"},{"key":"email","value":"user@company.com"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"externalId","value":"20","description":"string","type":"text"}]},"url":"https://api.precoro.com/payments/{idn}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 14:18:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 14:18:06 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=nMdgPohWNRATbOulbRFHHj95D4J2Bs0IyEAezjHd4DPXYLFqlDFngRkAFNHABLjPOL2woSj2IOoeNCZa77QbPYQ85lGDo3DpFUr5L8nh%2F%2F0ecwEEHaYta6XL4xwZSjco%2Bw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91910abaadf4d643-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=2202&min_rtt=1952&rtt_var=910&sent=3&recv=5&lost=0&retrans=0&sent_bytes=219&recv_bytes=1208&delivery_rate=741803&cwnd=149&unsent_bytes=0&cid=d77eaaae34b01f66&ts=387&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1177496,\n    \"idn\": 4,\n    \"createDate\": \"2024-12-12T09:41:16+00:00\",\n    \"payDate\": \"2021-03-01T00:00:00+00:00\",\n    \"sumPaid\": 0.01,\n    \"status\": 0,\n    \"logicType\": 0,\n    \"invoice\": {\n        \"id\": 1335829,\n        \"idn\": \"3\",\n        \"creator\": {\n            \"id\": 95888\n        }\n    },\n    \"purchaseOrder\": {\n        \"id\": null,\n        \"idn\": null,\n        \"creator\": {\n            \"id\": null\n        }\n    },\n    \"balance\": 0,\n    \"qboId\": null,\n    \"prepayment\": null,\n    \"netSuiteId\": null,\n    \"xeroId\": null,\n    \"externalId\": \"20\",\n    \"creator\": {\n        \"id\": 95888,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n        \"email\": \"apitesterfordocumentation@gmail.com\",\n        \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n        \"locale\": \"en\",\n        \"phone\": \"+13456789\",\n        \"firstname\": \"Api\",\n        \"lastname\": \"Tester\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 97962\n        },\n        \"legalEntity\": {\n            \"id\": 23152\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allItemGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_INVOICE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_SUPPLIER_APPROVAL\",\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_EXPENSE\",\n            \"ROLE_EXPENSE_APPROVAL\",\n            \"ROLE_EXPENSE_PAYMENT\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPER_USER\",\n            \"ROLE_OCR\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"isPower\": true,\n        \"availableIn\": [\n            {\n                \"id\": 22359,\n                \"name\": \"TEST Api Precoro\",\n                \"active\": true\n            }\n        ],\n        \"hasConfirmationToken\": false\n    }\n}"}],"_postman_id":"e45714bd-0f91-479e-95ec-773ca6aabfaa"}],"id":"14782596-35f3-4f17-95a6-6ebb75e76350","description":"<p>Status values description:<br /><strong>PAID</strong> = 0<br /><strong>CANCELED</strong> = 8</p>\n<p>logicType values description:<br /><strong>PAYMENT</strong> = 0 (default)<br /><strong>CREDIT</strong> = 1<br /><strong>ADD_TO_SUPPLIER_CREDIT_BALANCE</strong> = 2<br /><strong>INVOICE_PREPAYMENT</strong> = 3</p>\n<p><strong>PURCHASE_ORDER_PREPAYMENT</strong> = 4<br /><strong>PURCHASE_ORDER_CREDIT</strong> = 5<br /><strong>INVOICE_PREPAYMENT_CREDIT</strong> = 6</p>\n","_postman_id":"14782596-35f3-4f17-95a6-6ebb75e76350"},{"name":" Budgets","item":[{"name":"Get Budgets list","id":"e7dfd418-6875-4df0-9000-ef105ae11d3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/budgets","urlObject":{"protocol":"https","path":["budgets"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"7a13d69d-8f82-45f6-88d4-081bb18c198a","name":"Get Budgets list","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/budgets"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 14:19:14 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 14:19:14 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=9YCxQ6rfe7HkhhPseBjR9xi8o5Yhr2QKchx6hTzHv8wu3ECMEsATsibNSl5BmRXcde3YzmBSNQ7aY%2FQu39EUwBHMegv3OIx7UUrmTESDamRb5fqKoyfdyn23oKp52UtY%2Fw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91910c671c51080c-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=2428&min_rtt=2183&rtt_var=994&sent=3&recv=5&lost=0&retrans=0&sent_bytes=219&recv_bytes=1121&delivery_rate=663307&cwnd=239&unsent_bytes=0&cid=fc4de06b9d71b64f&ts=367&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1750223,\n            \"createDate\": \"2025-02-28T14:19:08+00:00\",\n            \"name\": \"Main office budget\",\n            \"startDate\": \"2025-10-01T00:00:00+00:00\",\n            \"endDate\": \"2025-12-31T00:00:00+00:00\",\n            \"sum\": 2000,\n            \"usedTaxPercentInBudget\": \"100.00\",\n            \"usedSumInPurchaseOrder\": \"0.000000\",\n            \"usedSumInInvoice\": \"0.000000\",\n            \"usedSumInExpense\": \"0.000000\",\n            \"usedSumInPurchaseRequisition\": \"0.000000\",\n            \"budgetLimit\": false,\n            \"type\": 2,\n            \"allLocationsAccess\": true,\n            \"allItemCustomFieldIds\": null,\n            \"allItemCustomFieldAccessIds\": null,\n            \"allItemCustomFieldOptionsIds\": null,\n            \"allDocumentCustomFieldIds\": null,\n            \"allDocumentCustomFieldAccessIds\": null,\n            \"allDocumentCustomFieldOptionsIds\": null,\n            \"parent\": {\n                \"id\": null\n            },\n            \"budgetSubLine\": {\n                \"id\": null\n            },\n            \"parentBudgetId\": 932434,\n            \"fullName\": \"Budget #1 Main office budget\",\n            \"availableSum\": 2000,\n            \"reservedSumInRecurringInvoice\": 0,\n            \"reservedSumInRecurringPurchaseOrder\": 0,\n            \"children\": {\n                \"data\": []\n            }\n        },\n        {\n            \"id\": 1750222,\n            \"createDate\": \"2025-02-28T14:19:08+00:00\",\n            \"name\": \"Main office budget\",\n            \"startDate\": \"2025-07-01T00:00:00+00:00\",\n            \"endDate\": \"2025-09-30T00:00:00+00:00\",\n            \"sum\": 1000,\n            \"usedTaxPercentInBudget\": \"100.00\",\n            \"usedSumInPurchaseOrder\": \"0.000000\",\n            \"usedSumInInvoice\": \"0.000000\",\n            \"usedSumInExpense\": \"0.000000\",\n            \"usedSumInPurchaseRequisition\": \"0.000000\",\n            \"budgetLimit\": false,\n            \"type\": 2,\n            \"allLocationsAccess\": true,\n            \"allItemCustomFieldIds\": null,\n            \"allItemCustomFieldAccessIds\": null,\n            \"allItemCustomFieldOptionsIds\": null,\n            \"allDocumentCustomFieldIds\": null,\n            \"allDocumentCustomFieldAccessIds\": null,\n            \"allDocumentCustomFieldOptionsIds\": null,\n            \"parent\": {\n                \"id\": null\n            },\n            \"budgetSubLine\": {\n                \"id\": null\n            },\n            \"parentBudgetId\": 932434,\n            \"fullName\": \"Budget #1 Main office budget\",\n            \"availableSum\": 1000,\n            \"reservedSumInRecurringInvoice\": 0,\n            \"reservedSumInRecurringPurchaseOrder\": 0,\n            \"children\": {\n                \"data\": []\n            }\n        },\n        {\n            \"id\": 1750221,\n            \"createDate\": \"2025-02-28T14:19:08+00:00\",\n            \"name\": \"Main office budget\",\n            \"startDate\": \"2025-04-01T00:00:00+00:00\",\n            \"endDate\": \"2025-06-30T00:00:00+00:00\",\n            \"sum\": 1500,\n            \"usedTaxPercentInBudget\": \"100.00\",\n            \"usedSumInPurchaseOrder\": \"0.000000\",\n            \"usedSumInInvoice\": \"0.000000\",\n            \"usedSumInExpense\": \"0.000000\",\n            \"usedSumInPurchaseRequisition\": \"0.000000\",\n            \"budgetLimit\": false,\n            \"type\": 2,\n            \"allLocationsAccess\": true,\n            \"allItemCustomFieldIds\": null,\n            \"allItemCustomFieldAccessIds\": null,\n            \"allItemCustomFieldOptionsIds\": null,\n            \"allDocumentCustomFieldIds\": null,\n            \"allDocumentCustomFieldAccessIds\": null,\n            \"allDocumentCustomFieldOptionsIds\": null,\n            \"parent\": {\n                \"id\": null\n            },\n            \"budgetSubLine\": {\n                \"id\": null\n            },\n            \"parentBudgetId\": 932434,\n            \"fullName\": \"Budget #1 Main office budget\",\n            \"availableSum\": 1500,\n            \"reservedSumInRecurringInvoice\": 0,\n            \"reservedSumInRecurringPurchaseOrder\": 0,\n            \"children\": {\n                \"data\": []\n            }\n        },\n        {\n            \"id\": 1750220,\n            \"createDate\": \"2025-02-28T14:19:08+00:00\",\n            \"name\": \"Main office budget\",\n            \"startDate\": \"2025-01-01T00:00:00+00:00\",\n            \"endDate\": \"2025-03-31T00:00:00+00:00\",\n            \"sum\": 1000,\n            \"usedTaxPercentInBudget\": \"100.00\",\n            \"usedSumInPurchaseOrder\": \"0.000000\",\n            \"usedSumInInvoice\": \"0.000000\",\n            \"usedSumInExpense\": \"0.000000\",\n            \"usedSumInPurchaseRequisition\": \"0.000000\",\n            \"budgetLimit\": false,\n            \"type\": 2,\n            \"allLocationsAccess\": true,\n            \"allItemCustomFieldIds\": null,\n            \"allItemCustomFieldAccessIds\": null,\n            \"allItemCustomFieldOptionsIds\": null,\n            \"allDocumentCustomFieldIds\": null,\n            \"allDocumentCustomFieldAccessIds\": null,\n            \"allDocumentCustomFieldOptionsIds\": null,\n            \"parent\": {\n                \"id\": null\n            },\n            \"budgetSubLine\": {\n                \"id\": null\n            },\n            \"parentBudgetId\": 932434,\n            \"fullName\": \"Budget #1 Main office budget\",\n            \"availableSum\": 1000,\n            \"reservedSumInRecurringInvoice\": 0,\n            \"reservedSumInRecurringPurchaseOrder\": 0,\n            \"children\": {\n                \"data\": []\n            }\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 4,\n            \"count\": 4,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": {}\n        }\n    }\n}"}],"_postman_id":"e7dfd418-6875-4df0-9000-ef105ae11d3e"}],"id":"db29cdf2-1a00-42c0-8968-1e88c0e107ab","_postman_id":"db29cdf2-1a00-42c0-8968-1e88c0e107ab","description":""},{"name":"Inventory","item":[{"name":"Stock Transfers","item":[{"name":"Get Stock Transfers list","id":"e0dd9443-6513-4982-8d7d-fdf8b3259aa7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/stocktransfers","urlObject":{"protocol":"https","path":["stocktransfers"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"7d97715c-6cee-4265-ad81-72b6c86e4f9d","name":"Get Stock Transfers list","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/stocktransfers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 14:21:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 14:21:36 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=10P%2BHZQC0NQmiDme8ANIFXSCo75lmxiadx2aDBubAQy7raXrN5JdsSyZG7RYBO2FBjoJaWhShPMmKjoKBY%2B2rRmEY7X2E1WvrqUPHYJCcNzBd7QtKuniNMVFjgiDlqgVYw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91910fde7e5ed6f5-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=1466&min_rtt=1333&rtt_var=595&sent=3&recv=5&lost=0&retrans=0&sent_bytes=219&recv_bytes=1128&delivery_rate=1086271&cwnd=211&unsent_bytes=0&cid=459ddb13b7e1900e&ts=322&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 512223,\n            \"createDate\": \"2025-02-28T14:21:26+00:00\",\n            \"type\": 1,\n            \"status\": 0,\n            \"requiredDate\": \"2025-02-28T00:00:00+00:00\",\n            \"creator\": {\n                \"id\": 95888,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isPower\": true,\n                \"availableIn\": [\n                    {\n                        \"id\": 22359,\n                        \"name\": \"TEST Api Precoro\",\n                        \"active\": true\n                    }\n                ],\n                \"hasConfirmationToken\": false\n            },\n            \"receipt\": [],\n            \"warehouseRequest\": {\n                \"id\": 242311,\n                \"idn\": \"2\",\n                \"customName\": null,\n                \"createDate\": \"2025-02-28T13:12:18+00:00\",\n                \"updateDate\": \"2025-02-28T14:21:26+00:00\",\n                \"requiredDate\": \"2025-02-28T00:00:00+00:00\",\n                \"approvalDate\": \"2025-02-28T13:12:25+00:00\",\n                \"statusTransferred\": 2,\n                \"currency\": \"USD\",\n                \"precisionData\": {\n                    \"USD\": {\n                        \"precision\": 2,\n                        \"roundMode\": \"math\"\n                    }\n                },\n                \"note\": null,\n                \"exchangeRate\": [],\n                \"status\": 2,\n                \"allDocumentCustomFieldOptionsIds\": null,\n                \"sum\": 49.9,\n                \"approvingWay\": {\n                    \"85396\": {\n                        \"step\": \"1 Approval Step 1\",\n                        \"approvers\": {\n                            \"95888\": {\n                                \"email\": \"apitesterfordocumentation@gmail.com\",\n                                \"datetime\": {\n                                    \"date\": \"2025-02-28 13:12:25.376677\",\n                                    \"timezone\": \"UTC\",\n                                    \"timezone_type\": 3\n                                },\n                                \"user_approve\": true\n                            }\n                        },\n                        \"approve_type\": 1\n                    }\n                },\n                \"location\": {\n                    \"id\": 97962,\n                    \"uniqueCode\": null,\n                    \"name\": \"Main location\",\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"fullAddress\": null,\n                    \"afaxysLocationId\": null,\n                    \"phone\": null,\n                    \"allLocationsAccessLegalEntities\": true,\n                    \"enable\": true,\n                    \"locationAddress\": {\n                        \"id\": null\n                    },\n                    \"externalId\": null\n                },\n                \"creator\": {\n                    \"id\": 95888,\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n                    \"email\": \"apitesterfordocumentation@gmail.com\",\n                    \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                    \"locale\": \"en\",\n                    \"phone\": \"+13456789\",\n                    \"firstname\": \"Api\",\n                    \"lastname\": \"Tester\",\n                    \"position\": null,\n                    \"location\": {\n                        \"id\": 97962\n                    },\n                    \"legalEntity\": {\n                        \"id\": 23152\n                    },\n                    \"allLocationsAccess\": true,\n                    \"allUserDocumentCustomFieldsAccess\": true,\n                    \"allItemGroupsAccess\": true,\n                    \"roles\": [\n                        \"ROLE_PURCHASE_REQUISITION\",\n                        \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                        \"ROLE_PURCHASE_ORDER\",\n                        \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                        \"ROLE_RECEIPT\",\n                        \"ROLE_RECEIPT_APPROVAL\",\n                        \"ROLE_INVOICE\",\n                        \"ROLE_INVOICE_APPROVAL\",\n                        \"ROLE_INVOICE_PAYMENT\",\n                        \"ROLE_REPORT\",\n                        \"ROLE_BUDGET_HOLDER\",\n                        \"ROLE_SUPPLIER_MANAGEMENT\",\n                        \"ROLE_SUPPLIER_APPROVAL\",\n                        \"ROLE_WAREHOUSE_REQUEST\",\n                        \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                        \"ROLE_EXPENSE\",\n                        \"ROLE_EXPENSE_APPROVAL\",\n                        \"ROLE_EXPENSE_PAYMENT\",\n                        \"ROLE_WAREHOUSE_MANAGER\",\n                        \"ROLE_SUPER_USER\",\n                        \"ROLE_OCR\",\n                        \"ROLE_CONFIGURATION\",\n                        \"ROLE_USER\"\n                    ],\n                    \"enable\": true,\n                    \"isMarketSupplier\": false,\n                    \"isAvailableVacationMode\": false,\n                    \"enableVacationMode\": false,\n                    \"startVacationMode\": null,\n                    \"endVacationMode\": null,\n                    \"isPower\": true,\n                    \"availableIn\": [\n                        {\n                            \"id\": 22359,\n                            \"name\": \"TEST Api Precoro\",\n                            \"active\": true\n                        }\n                    ],\n                    \"hasConfirmationToken\": false\n                },\n                \"lastEditor\": [],\n                \"approvalSteps\": {\n                    \"data\": []\n                },\n                \"warehouse\": {\n                    \"id\": null\n                },\n                \"dataDocumentCustomFields\": {\n                    \"data\": []\n                },\n                \"legalEntity\": {\n                    \"id\": 23152,\n                    \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                    \"enable\": true,\n                    \"name\": \"TEST Api Precoro\",\n                    \"legalAddress\": null,\n                    \"accountNumber\": null,\n                    \"accountHolderName\": null,\n                    \"bankName\": null,\n                    \"bankAddress\": null,\n                    \"sortCode\": null,\n                    \"businessRegistrationNumber\": null,\n                    \"taxPayerType\": 2,\n                    \"taxPayerNumber\": null,\n                    \"phone\": null,\n                    \"keyExecutive\": null,\n                    \"fullName\": null,\n                    \"permanentAccountNumber\": null,\n                    \"internationalBankAccountNumber\": null,\n                    \"americanBankersAssociationNumber\": null,\n                    \"swiftCode\": null,\n                    \"indianFinancialSystemCode\": null,\n                    \"externalId\": null,\n                    \"uniqueCode\": null\n                }\n            },\n            \"inventoryConsumption\": [],\n            \"fromWarehouse\": {\n                \"id\": 33405,\n                \"name\": \"Warehouse 1\"\n            },\n            \"toWarehouse\": {\n                \"id\": null,\n                \"name\": null\n            },\n            \"canOpenToWarehouse\": false,\n            \"canOpenFromWarehouse\": true,\n            \"canOpenReceipt\": false,\n            \"canOpenWarehouseRequest\": true,\n            \"canOpenInventoryConsumption\": false\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 1,\n            \"count\": 1,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": {}\n        }\n    }\n}"}],"_postman_id":"e0dd9443-6513-4982-8d7d-fdf8b3259aa7"},{"name":"Get Stock Transfer by ID","id":"7dc39ec6-88da-4e4b-910e-b15898cc1ae7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/stocktransfers/{id}","urlObject":{"protocol":"https","path":["stocktransfers","{id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"c920f3c0-bba1-404b-b8ad-e22ceb4de186","name":"Get Stock Transfer by ID","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/stocktransfers/{id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 14:21:54 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 14:21:54 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=vccDBuXKP7APoaHkxax%2BAoB0QHtl2zi1Z%2BgjQoqeUZB3mH7Sp%2F0%2Bu9WWa83CVKFds6qlU9ZG8937J%2BQVcnGV9X6JpOKcdlFjzNucq4RkUiNdH3P9BJ1p7i39KD77XxpZZQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9191104ecd27d6f5-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=1541&min_rtt=1333&rtt_var=538&sent=8&recv=8&lost=0&retrans=0&sent_bytes=3117&recv_bytes=1551&delivery_rate=2632727&cwnd=215&unsent_bytes=0&cid=459ddb13b7e1900e&ts=18289&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 512223,\n    \"createDate\": \"2025-02-28T14:21:26+00:00\",\n    \"type\": 1,\n    \"status\": 0,\n    \"requiredDate\": \"2025-02-28T00:00:00+00:00\",\n    \"creator\": {\n        \"id\": 95888,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2025-01-21T09:33:21+00:00\",\n        \"email\": \"apitesterfordocumentation@gmail.com\",\n        \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n        \"locale\": \"en\",\n        \"phone\": \"+13456789\",\n        \"firstname\": \"Api\",\n        \"lastname\": \"Tester\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 97962\n        },\n        \"legalEntity\": {\n            \"id\": 23152\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allItemGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_INVOICE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_SUPPLIER_APPROVAL\",\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_EXPENSE\",\n            \"ROLE_EXPENSE_APPROVAL\",\n            \"ROLE_EXPENSE_PAYMENT\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPER_USER\",\n            \"ROLE_OCR\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"isPower\": true,\n        \"availableIn\": [\n            {\n                \"id\": 22359,\n                \"name\": \"TEST Api Precoro\",\n                \"active\": true\n            }\n        ],\n        \"hasConfirmationToken\": false\n    },\n    \"receipt\": {\n        \"id\": null,\n        \"idn\": null\n    },\n    \"warehouseRequest\": {\n        \"id\": 242311,\n        \"idn\": \"2\"\n    },\n    \"inventoryConsumption\": {\n        \"id\": null\n    },\n    \"fromWarehouse\": {\n        \"id\": 33405,\n        \"name\": \"Warehouse 1\"\n    },\n    \"toWarehouse\": {\n        \"id\": null,\n        \"name\": null\n    },\n    \"items\": {\n        \"data\": [\n            {\n                \"id\": 1940698,\n                \"quantity\": \"1.000000\",\n                \"status\": 12,\n                \"stockTransfer\": {\n                    \"id\": 512223\n                },\n                \"item\": {\n                    \"id\": 1447004\n                },\n                \"warehouseItem\": {\n                    \"id\": 354094\n                },\n                \"receiptItem\": {\n                    \"id\": null\n                },\n                \"warehouseRequestItem\": {\n                    \"id\": 1653722\n                },\n                \"dataItemCustomFields\": {\n                    \"data\": []\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"7dc39ec6-88da-4e4b-910e-b15898cc1ae7"}],"id":"e43d697f-1069-45c0-a5ee-e6b1defbcd40","description":"<p>Stock Transfer types description:<br /><strong>REQUEST</strong> = 0<br /><strong>RECEIPT</strong> = 1<br /><strong>RELOCATION</strong> = 2</p>\n<p>You could get information for Create Stock Transfer from WR action from <strong>GET Warehouse Request by IDN:</strong></p>\n<p><img src=\"https://content.pstmn.io/621459dd-8315-4404-a22c-605e4f8f284c/Q3JlYXRlU3RvY2tUcmFuc2ZlckZyb21XUi5wbmc=\" alt /></p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"3b87c615-23ad-44dd-851d-70492dcd0db1"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"dbc548de-0d7a-4f60-86e4-b44078df8f62"}}],"_postman_id":"e43d697f-1069-45c0-a5ee-e6b1defbcd40"},{"name":"Get Warehouse Items","id":"0810280c-f0a1-4902-92fe-a2ab2da7bf8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/warehouses/{warehouse_id}/items","urlObject":{"protocol":"https","path":["warehouses","{warehouse_id}","items"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"e384949b-e5f1-40b2-a6a2-8d4043f69be9","name":"Get Warehouse Items","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/warehouses/{warehouse_id}/items"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 14:22:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 14:22:25 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=OOy1dRHXBMdkjtEY%2FBB%2Be1bfoMTAZNnEMca7cmsG8pNnd1JxIXpXLm9zWybPKRtM5D845eava4%2Bsj8RUJuoaFQrlTVQq7wno63sEdJB%2BwJJEax5QH6E5g1AIKhDaEdStiQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"919111120f721734-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=1580&min_rtt=1392&rtt_var=656&sent=3&recv=5&lost=0&retrans=0&sent_bytes=219&recv_bytes=1136&delivery_rate=1040229&cwnd=250&unsent_bytes=0&cid=6f3fa79c5592df1b&ts=346&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 354094,\n            \"updateDate\": \"2025-02-28T14:21:26+00:00\",\n            \"warehouse\": {\n                \"id\": 33405\n            },\n            \"quantity\": 99,\n            \"minimumStockLevel\": 0,\n            \"reorderTo\": 0,\n            \"needToOrder\": 0,\n            \"mainItem\": {\n                \"id\": 1447004,\n                \"createDate\": \"2024-06-11T14:30:18+00:00\",\n                \"updateDate\": \"2024-06-11T14:43:44+00:00\",\n                \"sku\": \"173516\",\n                \"name\": \"Home Desk\",\n                \"unit\": null,\n                \"currency\": \"USD\",\n                \"description\": null,\n                \"hiddenInCatalog\": false,\n                \"freeOfCharge\": false,\n                \"disabledBySupplier\": false,\n                \"mainInSimilar\": false,\n                \"category\": {\n                    \"id\": null\n                },\n                \"supplier\": {\n                    \"id\": null\n                },\n                \"similar\": {\n                    \"id\": null\n                },\n                \"marketItem\": {\n                    \"id\": null\n                },\n                \"image\": null,\n                \"link\": null,\n                \"type\": 1,\n                \"qboId\": null,\n                \"netSuiteId\": null,\n                \"xeroId\": null,\n                \"externalId\": null,\n                \"price\": 49.9\n            },\n            \"taxes\": {\n                \"data\": []\n            }\n        },\n        {\n            \"id\": 332892,\n            \"updateDate\": \"2025-02-28T14:21:03+00:00\",\n            \"warehouse\": {\n                \"id\": 33405\n            },\n            \"quantity\": 100,\n            \"minimumStockLevel\": 0,\n            \"reorderTo\": 0,\n            \"needToOrder\": 0,\n            \"mainItem\": {\n                \"id\": 1508045,\n                \"createDate\": \"2024-10-02T06:56:12+00:00\",\n                \"updateDate\": \"2024-10-02T06:56:12+00:00\",\n                \"sku\": \"1623FA2\",\n                \"name\": \"Computer\",\n                \"unit\": null,\n                \"currency\": \"USD\",\n                \"description\": null,\n                \"hiddenInCatalog\": false,\n                \"freeOfCharge\": false,\n                \"disabledBySupplier\": false,\n                \"mainInSimilar\": false,\n                \"category\": {\n                    \"id\": null\n                },\n                \"supplier\": {\n                    \"id\": 719430\n                },\n                \"similar\": {\n                    \"id\": null\n                },\n                \"marketItem\": {\n                    \"id\": null\n                },\n                \"image\": null,\n                \"link\": null,\n                \"type\": 1,\n                \"qboId\": null,\n                \"netSuiteId\": null,\n                \"xeroId\": null,\n                \"externalId\": null,\n                \"price\": 800\n            },\n            \"taxes\": {\n                \"data\": []\n            }\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 2,\n            \"count\": 2,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": {}\n        }\n    }\n}"}],"_postman_id":"0810280c-f0a1-4902-92fe-a2ab2da7bf8b"},{"name":"Get Stock-takings list","id":"9f478462-20cd-44a0-8a67-73e1b5939291","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/stock_takings","urlObject":{"protocol":"https","path":["stock_takings"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"508dbec1-c3cb-4f33-9a4b-daf17980b022","name":"Get Stock-takings list","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/stock_takings"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Date","value":"Thu, 26 May 2022 12:37:06 GMT"},{"key":"X-Debug-Token","value":"735bef"},{"key":"Expires","value":"Thu, 26 May 2022 12:37:06 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=k81u15ct5t8t40rjq4uf4uejh0; expires=Tue, 31-Jan-2023 12:37:06 GMT; Max-Age=21600000; path=/; secure; httponly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 11389,\n            \"createDate\": \"2022-05-16T15:52:21+00:00\",\n            \"creator\": {\n                \"id\": 45778,\n                \"createDate\": \"2022-04-26T14:24:44+00:00\",\n                \"updateDate\": \"2022-04-26T14:26:48+00:00\",\n                \"email\": \"examplestestprecoro@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": null,\n                \"firstname\": \"Examples\",\n                \"lastname\": \"Test\",\n                \"position\": null,\n                \"location\": {\n                    \"id\": 44089\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"allProductGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_USER\"\n                ],\n                \"enable\": true,\n                \"isMarketSupplier\": false,\n                \"isAvailableVacationMode\": false,\n                \"enableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"unconfirmedEmail\": \"examplestestprecoro@gmail.com\"\n            },\n            \"warehouse\": {\n                \"id\": 12963,\n                \"name\": \"Warehouse 1\"\n            }\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 1,\n            \"count\": 1,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": {}\n        }\n    }\n}"}],"_postman_id":"9f478462-20cd-44a0-8a67-73e1b5939291"},{"name":"Get Stock-taking by ID","id":"4000e734-c45a-4973-a760-ecfd24465c23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/stock_takings/{id}","urlObject":{"protocol":"https","path":["stock_takings","{id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"722892fe-ac77-4729-9058-5dc4d5dd8dbd","name":"Get Stock-taking by ID","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/stock_takings/{id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Date","value":"Thu, 26 May 2022 12:38:01 GMT"},{"key":"X-Debug-Token","value":"b82f70"},{"key":"Expires","value":"Thu, 26 May 2022 12:38:01 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 11389,\n    \"createDate\": \"2022-05-16T15:52:21+00:00\",\n    \"creator\": {\n        \"id\": 45778,\n        \"createDate\": \"2022-04-26T14:24:44+00:00\",\n        \"updateDate\": \"2022-04-26T14:26:48+00:00\",\n        \"email\": \"examplestestprecoro@gmail.com\",\n        \"locale\": \"en\",\n        \"phone\": null,\n        \"firstname\": \"Examples\",\n        \"lastname\": \"Test\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 44089\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allItemGroupsAccess\": true,\n        \"allProductGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_EXPENSE\",\n            \"ROLE_EXPENSE_APPROVAL\",\n            \"ROLE_EXPENSE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"unconfirmedEmail\": \"examplestestprecoro@gmail.com\"\n    },\n    \"warehouse\": {\n        \"id\": 12963,\n        \"name\": \"Warehouse 1\"\n    },\n    \"stockTransfers\": {\n        \"data\": [\n            {\n                \"id\": 92237,\n                \"createDate\": \"2022-05-16T15:52:21+00:00\",\n                \"type\": 2,\n                \"requiredDate\": null,\n                \"creator\": {\n                    \"id\": 45778,\n                    \"createDate\": \"2022-04-26T14:24:44+00:00\",\n                    \"updateDate\": \"2022-04-26T14:26:48+00:00\",\n                    \"email\": \"examplestestprecoro@gmail.com\",\n                    \"locale\": \"en\",\n                    \"phone\": null,\n                    \"firstname\": \"Examples\",\n                    \"lastname\": \"Test\",\n                    \"position\": null,\n                    \"location\": {\n                        \"id\": 44089\n                    },\n                    \"allLocationsAccess\": true,\n                    \"allUserDocumentCustomFieldsAccess\": true,\n                    \"allItemGroupsAccess\": true,\n                    \"allProductGroupsAccess\": true,\n                    \"roles\": [\n                        \"ROLE_WAREHOUSE_REQUEST\",\n                        \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                        \"ROLE_PURCHASE_REQUISITION\",\n                        \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL\",\n                        \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                        \"ROLE_PURCHASE_ORDER\",\n                        \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                        \"ROLE_RECEIPT\",\n                        \"ROLE_RECEIPT_APPROVAL\",\n                        \"ROLE_INVOICE\",\n                        \"ROLE_INVOICE_APPROVAL\",\n                        \"ROLE_EXPENSE\",\n                        \"ROLE_EXPENSE_APPROVAL\",\n                        \"ROLE_EXPENSE_PAYMENT\",\n                        \"ROLE_REPORT\",\n                        \"ROLE_BUDGET_HOLDER\",\n                        \"ROLE_WAREHOUSE_MANAGER\",\n                        \"ROLE_SUPPLIER_MANAGEMENT\",\n                        \"ROLE_CONFIGURATION\",\n                        \"ROLE_USER\"\n                    ],\n                    \"enable\": true,\n                    \"isMarketSupplier\": false,\n                    \"isAvailableVacationMode\": false,\n                    \"enableVacationMode\": false,\n                    \"startVacationMode\": null,\n                    \"endVacationMode\": null,\n                    \"unconfirmedEmail\": \"examplestestprecoro@gmail.com\"\n                },\n                \"receipt\": {\n                    \"id\": null,\n                    \"idn\": null\n                },\n                \"warehouseRequest\": {\n                    \"id\": null,\n                    \"idn\": null\n                },\n                \"inventoryConsumption\": {\n                    \"id\": null\n                },\n                \"fromWarehouse\": {\n                    \"id\": null,\n                    \"name\": null\n                },\n                \"toWarehouse\": {\n                    \"id\": 12963,\n                    \"name\": \"Warehouse 1\"\n                },\n                \"items\": {\n                    \"data\": [\n                        {\n                            \"id\": 389588,\n                            \"quantity\": \"150.000000\",\n                            \"status\": 12,\n                            \"statusString\": \"status.done\",\n                            \"stockTransfer\": {\n                                \"id\": 92237\n                            },\n                            \"item\": {\n                                \"id\": 773368\n                            },\n                            \"product\": {\n                                \"id\": 773368\n                            },\n                            \"warehouseItem\": {\n                                \"id\": 144004\n                            },\n                            \"receiptItem\": {\n                                \"id\": null\n                            },\n                            \"warehouseRequestItem\": {\n                                \"id\": null\n                            }\n                        }\n                    ]\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"4000e734-c45a-4973-a760-ecfd24465c23"}],"id":"03259394-247b-4ac2-bc99-ed4396c3408a","_postman_id":"03259394-247b-4ac2-bc99-ed4396c3408a","description":""},{"name":"Suppliers and Items","item":[{"name":"Supplier Management","item":[{"name":"Get Suppliers  list","id":"8307304d-f5ee-43c1-a8bb-74981498be48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/suppliers?modifiedSince=2022-12-12T00:00:00&per_page=100&page=1","description":"<h2 id=\"external_id-filter\"><code>external_id[]</code> filter</h2>\n<p>Filter results by <code>externalId</code> — the identifier set on a Precoro record by your external system.</p>\n<p><strong>Rules:</strong></p>\n<ul>\n<li>Must be passed as an <strong>array</strong>: <code>external_id[]=101&amp;external_id[]=102</code></li>\n<li>Single value (<code>external_id=101</code>) is <strong>silently ignored</strong></li>\n<li>Values must be <strong>numeric</strong> — non-numeric values cause the filter to be silently skipped (full unfiltered list is returned)</li>\n<li>Maximum <strong>200</strong> values; exceeding this returns <code>400 Bad Request</code></li>\n</ul>\n<p><strong>Error response (&gt;200 values):</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"errors\": {\n        \"errors\": {\n            \"item_filter\": \"Too many external_id filter params. Maximum amount is 200\"\n        }\n    }\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["suppliers"],"host":["api","precoro","com"],"query":[{"description":{"content":"<p>(optionally) If an object was created or modified since the date, it will appears in results</p>\n","type":"text/plain"},"key":"modifiedSince","value":"2022-12-12T00:00:00"},{"description":{"content":"<p>(optionally) Number of items per page. Available options: 10, 20, 50, 100, 200</p>\n","type":"text/plain"},"key":"per_page","value":"100"},{"description":{"content":"<p>(optionally) Page number to be displayed</p>\n","type":"text/plain"},"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>Filter by externalId. Must be a numeric string. Repeat this param to pass multiple values: external_id[]=101&amp;external_id[]=102</p>\n","type":"text/plain"},"key":"external_id[]","value":"1"},{"disabled":true,"description":{"content":"<p>Add another value. Maximum 200 values total. Non-numeric values silently disable the filter.</p>\n","type":"text/plain"},"key":"external_id[]","value":"2"}],"variable":[]}},"response":[{"id":"23ba6993-c793-43df-ba87-d19cbb0ffc01","name":"Get Suppliers  list","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":{"raw":"https://api.precoro.com/suppliers?modifiedSince=2022-12-12T00:00:00&per_page=100&page=1","protocol":"https","host":["api","precoro","com"],"path":["suppliers"],"query":[{"key":"modifiedSince","value":"2022-12-12T00:00:00","description":"(optionally) If an object was created or modified since the date, it will appears in results"},{"key":"per_page","value":"100","description":"(optionally) Number of items per page. Available options: 10, 20, 50, 100, 200"},{"key":"page","value":"1","description":"(optionally) Page number to be displayed"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 15:38:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 15:38:22 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=deleted; expires=Thu, 29 Feb 2024 15:38:21 GMT; Max-Age=0; path=/; secure; httponly; samesite=lax"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=hiQLEiMtMVTL3WKA4Vm8%2BCf1LWBeJS36OcMOTsXCWH4N%2FGcehjvhYjAZ5txeR2XalWLZo6P1iavWYrJ8lNei8J2Ljva%2BhOuSgeEGDrtOafCJhkeKLnBvKsGItv2Y1Fymmg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"919180526c0cd8b4-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=1778&min_rtt=1659&rtt_var=707&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2336&recv_bytes=922&delivery_rate=1745629&cwnd=216&unsent_bytes=0&cid=ba575997a8e161b4&ts=348&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 719430,\n            \"uniqueCode\": \"123AB\",\n            \"name\": \"Supplier 1\",\n            \"createDate\": \"2024-07-12T10:18:00+00:00\",\n            \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n            \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n            \"legalAddress\": null,\n            \"currency\": \"USD\",\n            \"currencies\": [\n                \"USD\"\n            ],\n            \"autoSendPOSupplier\": false,\n            \"deliveryPeriod\": 0,\n            \"minimumSum\": 10,\n            \"businessRegistrationNumber\": null,\n            \"accountHolderName\": null,\n            \"bankName\": null,\n            \"accountNumber\": null,\n            \"bankAddress\": null,\n            \"swiftCode\": null,\n            \"permanentAccountNumber\": null,\n            \"internationalBankAccountNumber\": null,\n            \"americanBankersAssociationNumber\": null,\n            \"indianFinancialSystemCode\": null,\n            \"sortCode\": null,\n            \"taxPayer\": false,\n            \"taxPayerType\": 0,\n            \"taxPayerLabel\": \"Tax Payer Number\",\n            \"taxPayerNumber\": null,\n            \"phone\": null,\n            \"city\": null,\n            \"country\": null,\n            \"state\": null,\n            \"postalCode\": null,\n            \"note\": null,\n            \"conditions\": null,\n            \"enable\": true,\n            \"isMarketUpdatable\": false,\n            \"qboId\": null,\n            \"netSuiteId\": null,\n            \"xeroId\": null,\n            \"externalId\": null,\n            \"marketSupplier\": {\n                \"id\": null,\n                \"minimumSum\": null\n            },\n            \"enableMarketSupplier\": false,\n            \"creditBalanceSums\": {\n                \"USD\": 0\n            },\n            \"afaxysSupplierId\": null,\n            \"status\": 2,\n            \"creator\": {\n                \"id\": 95888,\n                \"email\": \"apitesterfordocumentation@gmail.com\"\n            },\n            \"enterInvoiceAsOneLine\": false,\n            \"isPunchoutSupplier\": false,\n            \"paymentTerms\": {\n                \"data\": [\n                    {\n                        \"id\": 74148,\n                        \"name\": \"Prepayment\",\n                        \"prepaymentPercent\": 100,\n                        \"postpaymentPercent\": 0,\n                        \"creditPeriodDays\": 0,\n                        \"termsDueDateAfterInvoicing\": 0,\n                        \"paymentType\": 0,\n                        \"enable\": true,\n                        \"externalId\": null\n                    }\n                ]\n            },\n            \"approvalSteps\": {\n                \"data\": []\n            },\n            \"approvingWay\": [],\n            \"contacts\": {\n                \"data\": []\n            },\n            \"marketContacts\": {\n                \"data\": []\n            },\n            \"supplierRegistrations\": {\n                \"data\": []\n            },\n            \"supplierToleranceLimitsSetup\": {\n                \"data\": [\n                    {\n                        \"id\": 15478,\n                        \"type\": 0,\n                        \"startSum\": 10,\n                        \"endSum\": 0,\n                        \"toleranceLimit\": 25,\n                        \"limitType\": 0\n                    }\n                ]\n            },\n            \"dataSupplierCustomFields\": {\n                \"data\": [\n                    {\n                        \"id\": 18592,\n                        \"value\": \"898\",\n                        \"type\": 1,\n                        \"supplierCustomField\": {\n                            \"id\": 514\n                        }\n                    },\n                    {\n                        \"id\": 12683,\n                        \"value\": \"899\",\n                        \"type\": 1,\n                        \"supplierCustomField\": {\n                            \"id\": 514\n                        }\n                    }\n                ]\n            },\n            \"substituteEmail\": [],\n            \"supplierLegalEntities\": {\n                \"data\": []\n            }\n        },\n        {\n            \"id\": 723124,\n            \"uniqueCode\": \"01123\",\n            \"name\": \"Supplier 2\",\n            \"createDate\": \"2024-07-22T13:36:04+00:00\",\n            \"updateDate\": \"2024-10-10T13:53:08+00:00\",\n            \"approvalDate\": \"2024-07-22T13:36:04+00:00\",\n            \"legalAddress\": null,\n            \"currency\": \"USD\",\n            \"currencies\": [\n                \"USD\",\n                \"UAH\"\n            ],\n            \"autoSendPOSupplier\": false,\n            \"deliveryPeriod\": 5,\n            \"minimumSum\": 100,\n            \"businessRegistrationNumber\": null,\n            \"accountHolderName\": null,\n            \"bankName\": null,\n            \"accountNumber\": null,\n            \"bankAddress\": null,\n            \"swiftCode\": null,\n            \"permanentAccountNumber\": null,\n            \"internationalBankAccountNumber\": null,\n            \"americanBankersAssociationNumber\": null,\n            \"indianFinancialSystemCode\": null,\n            \"sortCode\": null,\n            \"taxPayer\": false,\n            \"taxPayerType\": 2,\n            \"taxPayerLabel\": \"TIN\",\n            \"taxPayerNumber\": null,\n            \"phone\": null,\n            \"city\": null,\n            \"country\": null,\n            \"state\": null,\n            \"postalCode\": null,\n            \"note\": null,\n            \"conditions\": null,\n            \"enable\": true,\n            \"isMarketUpdatable\": false,\n            \"qboId\": null,\n            \"netSuiteId\": null,\n            \"xeroId\": null,\n            \"externalId\": null,\n            \"marketSupplier\": {\n                \"id\": null,\n                \"minimumSum\": null\n            },\n            \"enableMarketSupplier\": false,\n            \"creditBalanceSums\": {\n                \"UAH\": 0,\n                \"USD\": 0\n            },\n            \"afaxysSupplierId\": null,\n            \"status\": 2,\n            \"creator\": {\n                \"id\": 95888,\n                \"email\": \"apitesterfordocumentation@gmail.com\"\n            },\n            \"enterInvoiceAsOneLine\": true,\n            \"isPunchoutSupplier\": false,\n            \"paymentTerms\": {\n                \"data\": [\n                    {\n                        \"id\": 74148,\n                        \"name\": \"Prepayment\",\n                        \"prepaymentPercent\": 100,\n                        \"postpaymentPercent\": 0,\n                        \"creditPeriodDays\": 0,\n                        \"termsDueDateAfterInvoicing\": 0,\n                        \"paymentType\": 0,\n                        \"enable\": true,\n                        \"externalId\": null\n                    },\n                    {\n                        \"id\": 74149,\n                        \"name\": \"Postpayment\",\n                        \"prepaymentPercent\": 0,\n                        \"postpaymentPercent\": 100,\n                        \"creditPeriodDays\": 0,\n                        \"termsDueDateAfterInvoicing\": 0,\n                        \"paymentType\": 1,\n                        \"enable\": true,\n                        \"externalId\": null\n                    }\n                ]\n            },\n            \"approvalSteps\": {\n                \"data\": []\n            },\n            \"approvingWay\": [],\n            \"contacts\": {\n                \"data\": [\n                    {\n                        \"id\": 305735,\n                        \"createDate\": \"2024-10-10T13:52:38+00:00\",\n                        \"email\": \"supplier1@acme.com\",\n                        \"phone\": null,\n                        \"firstName\": null,\n                        \"showEmail\": true\n                    },\n                    {\n                        \"id\": 305736,\n                        \"createDate\": \"2024-10-10T13:53:08+00:00\",\n                        \"email\": \"supplier2@acme.com\",\n                        \"phone\": null,\n                        \"firstName\": null,\n                        \"showEmail\": true\n                    }\n                ]\n            },\n            \"marketContacts\": {\n                \"data\": []\n            },\n            \"supplierRegistrations\": {\n                \"data\": []\n            },\n            \"supplierToleranceLimitsSetup\": {\n                \"data\": []\n            },\n            \"dataSupplierCustomFields\": {\n                \"data\": []\n            },\n            \"substituteEmail\": [],\n            \"supplierLegalEntities\": {\n                \"data\": []\n            }\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 2,\n            \"count\": 2,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": {}\n        }\n    }\n}"}],"_postman_id":"8307304d-f5ee-43c1-a8bb-74981498be48"},{"name":"Get Supplier by ID","id":"cb4bfa51-5158-46dc-97aa-ae6d40d19323","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/suppliers/{id}","urlObject":{"protocol":"https","path":["suppliers","{id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"5359373f-9480-4c9a-a72f-050d8f0a8597","name":"Get Supplier by ID","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/suppliers/{id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 15:38:39 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 15:38:39 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=nul5u7vjlufh1pj0ra1l6a6mvt; path=/; secure; httponly; samesite=lax"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=PfPweqfmaWrSP0UDwllfcxwEGcle7QCNp1pOuc1v%2FJa0NJSzJAWmROm1XCgNqE8TXesUT9dSgeNZXxeT0mgirYpgJQrRpP9VtC4zxIHHFZ3jife7HXfHN%2FrZgnx43I3JVA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"919180babf451320-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=2546&min_rtt=2325&rtt_var=1030&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2336&recv_bytes=837&delivery_rate=1245591&cwnd=159&unsent_bytes=0&cid=65782111134b897b&ts=312&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 719430,\n    \"uniqueCode\": \"123AB\",\n    \"name\": \"Supplier 1\",\n    \"createDate\": \"2024-07-12T10:18:00+00:00\",\n    \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n    \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n    \"legalAddress\": null,\n    \"currency\": \"USD\",\n    \"currencies\": [\n        \"USD\"\n    ],\n    \"autoSendPOSupplier\": false,\n    \"deliveryPeriod\": 0,\n    \"minimumSum\": 10,\n    \"businessRegistrationNumber\": null,\n    \"accountHolderName\": null,\n    \"bankName\": null,\n    \"accountNumber\": null,\n    \"bankAddress\": null,\n    \"swiftCode\": null,\n    \"permanentAccountNumber\": null,\n    \"internationalBankAccountNumber\": null,\n    \"americanBankersAssociationNumber\": null,\n    \"indianFinancialSystemCode\": null,\n    \"sortCode\": null,\n    \"taxPayer\": false,\n    \"taxPayerType\": 0,\n    \"taxPayerLabel\": \"Tax Payer Number\",\n    \"taxPayerNumber\": null,\n    \"phone\": null,\n    \"city\": null,\n    \"country\": null,\n    \"state\": null,\n    \"postalCode\": null,\n    \"note\": null,\n    \"conditions\": null,\n    \"enable\": true,\n    \"isMarketUpdatable\": false,\n    \"qboId\": null,\n    \"netSuiteId\": null,\n    \"xeroId\": null,\n    \"externalId\": null,\n    \"marketSupplier\": {\n        \"id\": null,\n        \"minimumSum\": null\n    },\n    \"enableMarketSupplier\": false,\n    \"creditBalanceSums\": {\n        \"USD\": 0\n    },\n    \"afaxysSupplierId\": null,\n    \"status\": 2,\n    \"creator\": {\n        \"id\": 95888,\n        \"email\": \"apitesterfordocumentation@gmail.com\"\n    },\n    \"enterInvoiceAsOneLine\": false,\n    \"isPunchoutSupplier\": false,\n    \"paymentTerms\": {\n        \"data\": [\n            {\n                \"id\": 74148,\n                \"name\": \"Prepayment\",\n                \"prepaymentPercent\": 100,\n                \"postpaymentPercent\": 0,\n                \"creditPeriodDays\": 0,\n                \"termsDueDateAfterInvoicing\": 0,\n                \"paymentType\": 0,\n                \"enable\": true,\n                \"externalId\": null\n            }\n        ]\n    },\n    \"approvalSteps\": {\n        \"data\": []\n    },\n    \"approvingWay\": [],\n    \"contacts\": {\n        \"data\": []\n    },\n    \"marketContacts\": {\n        \"data\": []\n    },\n    \"propsVisibility\": {\n        \"showAccountHolderNameSupplier\": true,\n        \"showLegalAddressSupplier\": true,\n        \"showPhoneNumberSupplier\": true,\n        \"showBusinessRegistrationNumberSupplier\": true,\n        \"showAccountNumberSupplier\": true,\n        \"showBankNameSupplier\": true,\n        \"showBankAddressSupplier\": true,\n        \"showSortCodeSupplier\": true,\n        \"showTaxPayerSupplier\": true,\n        \"showSwiftCodeSupplier\": true,\n        \"showPermanentAccountNumberSupplier\": true,\n        \"showInternationalBankAccountNumberSupplier\": true,\n        \"showAmericanBankersAssociationNumberSupplier\": true,\n        \"showIndianFinancialSystemCodeSupplier\": true\n    },\n    \"supplierRegistrations\": {\n        \"data\": []\n    },\n    \"attachments\": {\n        \"data\": [\n            {\n                \"id\": 4059700,\n                \"name\": \"PrecoroUpdatePurchaseRequisitionItems.xlsx\",\n                \"uploadDate\": \"2024-11-15T09:08:20+00:00\",\n                \"user\": {\n                    \"id\": 95888,\n                    \"email\": \"apitesterfordocumentation@gmail.com\",\n                    \"company\": {\n                        \"id\": 22359\n                    }\n                },\n                \"type\": 0,\n                \"size\": \"19 KB\",\n                \"formatType\": \"xlsx\",\n                \"comment\": null\n            }\n        ]\n    },\n    \"marketAttachments\": [],\n    \"approvalInfo\": {\n        \"canApprove\": false,\n        \"canReject\": false,\n        \"canRevise\": false,\n        \"canEditOnRevision\": false,\n        \"needSelectSupplierCustomFieldsForApproval\": false\n    },\n    \"supplierTaxDefaultOptions\": {\n        \"data\": []\n    },\n    \"supplierICFDefaultOptions\": {\n        \"data\": []\n    },\n    \"supplierDCFDefaultOptions\": {\n        \"data\": [\n            {\n                \"id\": 27327,\n                \"supplier\": {\n                    \"id\": 719430\n                },\n                \"documentCustomField\": {\n                    \"id\": 29942,\n                    \"name\": \"Main DCF\"\n                },\n                \"documentCustomFieldOption\": {\n                    \"id\": 267574,\n                    \"name\": \"Test 1\",\n                    \"enable\": true\n                }\n            }\n        ]\n    },\n    \"supplierCustomFieldOptionValues\": {\n        \"data\": [\n            {\n                \"id\": 18592,\n                \"supplier\": {\n                    \"id\": 719430\n                },\n                \"supplierCustomField\": {\n                    \"id\": 514,\n                    \"name\": \"Vendor\",\n                    \"type\": 1,\n                    \"displayInTheList\": true,\n                    \"enable\": true,\n                    \"description\": \"Type of Vendor\"\n                },\n                \"value\": \"898\",\n                \"show\": false\n            },\n            {\n                \"id\": 12683,\n                \"supplier\": {\n                    \"id\": 719430\n                },\n                \"supplierCustomField\": {\n                    \"id\": 514,\n                    \"name\": \"Vendor\",\n                    \"type\": 1,\n                    \"displayInTheList\": true,\n                    \"enable\": true,\n                    \"description\": \"Type of Vendor\"\n                },\n                \"value\": \"899\",\n                \"show\": true\n            }\n        ]\n    },\n    \"supplierToleranceLimitsSetup\": {\n        \"data\": [\n            {\n                \"id\": 15478,\n                \"type\": 0,\n                \"startSum\": 10,\n                \"endSum\": 0,\n                \"toleranceLimit\": 25,\n                \"limitType\": 0\n            }\n        ]\n    },\n    \"showApprovingWay\": [],\n    \"showApprovalReviewers\": [],\n    \"substitute\": [],\n    \"supplierLegalEntities\": {\n        \"data\": []\n    }\n}"}],"_postman_id":"cb4bfa51-5158-46dc-97aa-ae6d40d19323"},{"name":"Create Supplier","id":"2be29948-9b66-4665-9df1-4b0b0bb3496a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Example Name","type":"text","description":"<p>required,string(255), unique</p>\n"},{"key":"currencies[]","value":"USD","type":"text","contentType":""},{"key":"currencies[]","value":"UAH","type":"text"},{"key":"uniqueCode","value":"","description":"<p>string(255), unique</p>\n","type":"text"},{"key":"deliveryPeriod","value":"","description":"<p>int</p>\n","type":"text"},{"key":"minimumSum","value":"","description":"<p>int</p>\n","type":"text"},{"key":"autoSendPOSupplier","value":"","description":"<p>bool</p>\n","type":"text"},{"key":"legalAddress","value":"","description":"<p>text(255)</p>\n","type":"text"},{"key":"city","value":"","description":"<p>text(255)</p>\n","type":"text"},{"key":"state","value":"","description":"<p>text(255)</p>\n","type":"text"},{"key":"postalCode","value":"","description":"<p>text(255)</p>\n","type":"text"},{"key":"country","value":"","description":"<p>text(255)</p>\n","type":"text"},{"key":"phone","value":"","description":"<p>text(255)</p>\n","type":"text"},{"key":"businessRegistrationNumber","value":"","description":"<p>text(40)</p>\n","type":"text"},{"key":"taxPayer","value":"","description":"<p>bool</p>\n","type":"text"},{"key":"taxPayerNumber","value":"","description":"<p>text(40)</p>\n","type":"text"},{"key":"taxPayerType","value":"1","type":"text","description":"<p>int(0-5)</p>\n"},{"key":"internationalBankAccountNumber","value":"","description":"<p>text(34)</p>\n","type":"text"},{"key":"accountNumber","value":"","description":"<p>text(255)</p>\n","type":"text"},{"key":"accountHolderName","value":"","description":"<p>text(255)</p>\n","type":"text"},{"key":"bankName","value":"","description":"<p>text(255)</p>\n","type":"text"},{"key":"bankAddress","value":"","description":"<p>text(255)</p>\n","type":"text"},{"key":"permanentAccountNumber","value":"","description":"<p>text(10)</p>\n","type":"text"},{"key":"americanBankersAssociationNumber","value":"","description":"<p>text(20)</p>\n","type":"text"},{"key":"swiftCode","value":"","description":"<p>text(20)</p>\n","type":"text"},{"key":"indianFinancialSystemCode","value":"","description":"<p>text(20)</p>\n","type":"text"},{"key":"sortCode","value":"","description":"<p>text(20)</p>\n","type":"text"},{"key":"conditions","value":"","description":"<p>text(255)</p>\n","type":"text"},{"key":"note","value":"","description":"<p>text</p>\n","type":"text"},{"key":"externalId","value":"","description":"<p>int</p>\n","type":"text"},{"key":"paymentTerms[][id]","value":"1","type":"text"},{"key":"paymentTerms[][id]","value":"2","type":"text"},{"key":"contacts[data][0][email]","value":"supplier1@acme.com","type":"text"},{"key":"contacts[data][1][email]","value":"supplier2@acme.com","type":"text"},{"key":"supplierLegalEntityIds[]","value":"23152","type":"text","uuid":"5db85ad0-8973-4c30-9a9a-47b85b41ac69"},{"key":"supplierLegalEntityIds[]","value":"23153","type":"text","uuid":"34af8bdf-cbab-416a-9f01-16a7f50305fe"}]},"url":"https://api.precoro.com/suppliers","urlObject":{"protocol":"https","path":["suppliers"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"f001f0fe-f4c1-424b-8dc2-7e8e4d01c088","name":"Create Supplier","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Example Name","type":"text","description":"required,string(255), unique"},{"key":"currencies[]","value":"USD","type":"text","contentType":""},{"key":"currencies[]","value":"UAH","type":"text"},{"key":"uniqueCode","value":"","description":"string(255), unique","type":"text"},{"key":"deliveryPeriod","value":"","description":"int","type":"text"},{"key":"minimumSum","value":"","description":"int","type":"text"},{"key":"autoSendPOSupplier","value":"","description":"bool","type":"text"},{"key":"legalAddress","value":"","description":"text(255)","type":"text"},{"key":"city","value":"","description":"text(255)","type":"text"},{"key":"state","value":"","description":"text(255)","type":"text"},{"key":"postalCode","value":"","description":"text(255)","type":"text"},{"key":"country","value":"","description":"text(255)","type":"text"},{"key":"phone","value":"","description":"text(255)","type":"text"},{"key":"businessRegistrationNumber","value":"","description":"text(40)","type":"text"},{"key":"taxPayer","value":"","description":"bool","type":"text"},{"key":"taxPayerNumber","value":"","description":"text(40)","type":"text"},{"key":"taxPayerType","value":"1","type":"text","description":"int(0-5)"},{"key":"internationalBankAccountNumber","value":"","description":"text(34)","type":"text"},{"key":"accountNumber","value":"","description":"text(255)","type":"text"},{"key":"accountHolderName","value":"","description":"text(255)","type":"text"},{"key":"bankName","value":"","description":"text(255)","type":"text"},{"key":"bankAddress","value":"","description":"text(255)","type":"text"},{"key":"permanentAccountNumber","value":"","description":"text(10)","type":"text"},{"key":"americanBankersAssociationNumber","value":"","description":"text(20)","type":"text"},{"key":"swiftCode","value":"","description":"text(20)","type":"text"},{"key":"indianFinancialSystemCode","value":"","description":"text(20)","type":"text"},{"key":"sortCode","value":"","description":"text(20)","type":"text"},{"key":"conditions","value":"","description":"text(255)","type":"text"},{"key":"note","value":"","description":"text","type":"text"},{"key":"externalId","value":"","description":"int","type":"text"},{"key":"paymentTerms[][id]","value":"1","type":"text"},{"key":"paymentTerms[][id]","value":"2","type":"text"},{"key":"contacts[data][0][email]","value":"supplier1@acme.com","type":"text"},{"key":"contacts[data][1][email]","value":"supplier2@acme.com","type":"text"},{"key":"supplierLegalEntityIds[]","value":"23152","type":"text","uuid":"5db85ad0-8973-4c30-9a9a-47b85b41ac69"},{"key":"supplierLegalEntityIds[]","value":"23153","type":"text","uuid":"34af8bdf-cbab-416a-9f01-16a7f50305fe"}]},"url":"https://api.precoro.com/suppliers"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Tue, 23 Dec 2025 14:24:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-user","value":"95888"},{"key":"x-active-company","value":"22359"},{"key":"x-active-company-user","value":"102979"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=njmnUGPGNnwjCu67CsKb0jxrHtKd8JEDN%2FTINpxVxlVVKrOh8CeEbKNocqmyJs6fNR9MY1MgBYEv07aiVDKli9sFj4ayRNKka5cMguM6\"}]}"},{"key":"CF-RAY","value":"9b288646ae831281-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 909889,\n    \"uniqueCode\": null,\n    \"name\": \"Example Name\",\n    \"createDate\": \"2025-12-23T14:24:47+00:00\",\n    \"updateDate\": \"2025-12-23T14:24:47+00:00\",\n    \"approvalDate\": \"2025-12-23T14:24:47+00:00\",\n    \"legalAddress\": null,\n    \"currency\": \"USD\",\n    \"currencies\": [\n        \"USD\",\n        \"UAH\"\n    ],\n    \"autoSendPOSupplier\": false,\n    \"deliveryPeriod\": 0,\n    \"minimumSum\": 0,\n    \"businessRegistrationNumber\": null,\n    \"accountHolderName\": null,\n    \"bankName\": null,\n    \"accountNumber\": null,\n    \"bankAddress\": null,\n    \"swiftCode\": null,\n    \"permanentAccountNumber\": null,\n    \"internationalBankAccountNumber\": null,\n    \"americanBankersAssociationNumber\": null,\n    \"indianFinancialSystemCode\": null,\n    \"sortCode\": null,\n    \"taxPayer\": false,\n    \"taxPayerType\": 1,\n    \"taxPayerLabel\": \"EIN\",\n    \"taxPayerNumber\": null,\n    \"phone\": null,\n    \"city\": null,\n    \"country\": null,\n    \"state\": null,\n    \"postalCode\": null,\n    \"note\": \"\",\n    \"conditions\": null,\n    \"enable\": true,\n    \"qboId\": null,\n    \"netSuiteId\": null,\n    \"xeroId\": null,\n    \"externalId\": null,\n    \"marketSupplier\": {\n        \"id\": null,\n        \"minimumSum\": null\n    },\n    \"enableMarketSupplier\": false,\n    \"creditBalanceSums\": {\n        \"USD\": 0,\n        \"UAH\": 0\n    },\n    \"status\": 2,\n    \"creator\": {\n        \"id\": 95888,\n        \"email\": \"apitesterfordocumentation@gmail.com\"\n    },\n    \"enterInvoiceAsOneLine\": true,\n    \"isPunchoutSupplier\": false,\n    \"isPunchinSupplier\": false,\n    \"isAllAccessLegalEntity\": true,\n    \"paymentTerms\": {\n        \"data\": []\n    },\n    \"approvalSteps\": {\n        \"data\": []\n    },\n    \"approvingWay\": [],\n    \"contacts\": {\n        \"data\": [\n            {\n                \"id\": 368005,\n                \"createDate\": \"2025-12-23T14:24:47+00:00\",\n                \"email\": \"supplier1@acme.com\",\n                \"phone\": null,\n                \"firstName\": null,\n                \"showEmail\": true\n            },\n            {\n                \"id\": 368006,\n                \"createDate\": \"2025-12-23T14:24:47+00:00\",\n                \"email\": \"supplier2@acme.com\",\n                \"phone\": null,\n                \"firstName\": null,\n                \"showEmail\": true\n            }\n        ]\n    },\n    \"marketContacts\": {\n        \"data\": []\n    },\n    \"propsVisibility\": {\n        \"showAccountHolderNameSupplier\": true,\n        \"showLegalAddressSupplier\": true,\n        \"showPhoneNumberSupplier\": true,\n        \"showBusinessRegistrationNumberSupplier\": true,\n        \"showAccountNumberSupplier\": true,\n        \"showBankNameSupplier\": true,\n        \"showBankAddressSupplier\": true,\n        \"showSortCodeSupplier\": true,\n        \"showTaxPayerSupplier\": true,\n        \"showSwiftCodeSupplier\": true,\n        \"showPermanentAccountNumberSupplier\": true,\n        \"showInternationalBankAccountNumberSupplier\": true,\n        \"showAmericanBankersAssociationNumberSupplier\": true,\n        \"showIndianFinancialSystemCodeSupplier\": true\n    },\n    \"supplierRegistrations\": {\n        \"data\": []\n    },\n    \"attachments\": {\n        \"data\": []\n    },\n    \"marketAttachments\": {\n        \"data\": []\n    },\n    \"approvalInfo\": {\n        \"canApprove\": false,\n        \"canReject\": false,\n        \"canEditSupplierByInRevision\": false\n    },\n    \"supplierCustomFieldOptionValues\": {\n        \"data\": []\n    },\n    \"showApprovingWay\": [],\n    \"showApprovalReviewers\": [],\n    \"substitute\": {\n        \"id\": null\n    },\n    \"supplierLegalEntities\": {\n        \"data\": [\n            {\n                \"id\": 335701,\n                \"supplier\": {\n                    \"id\": 909889\n                },\n                \"legalEntity\": {\n                    \"id\": 23152\n                }\n            }\n        ]\n    },\n    \"voters\": {\n        \"isCanEnableMarketSupplier\": false,\n        \"isCanEnableSupplier\": true,\n        \"showNotAvailable\": false,\n        \"canRevise\": false,\n        \"canRestartApproval\": false,\n        \"canSendQuestionnaire\": true,\n        \"canTakeOverRevise\": false\n    },\n    \"isEnabledApproval\": true,\n    \"accessToDocuments\": {\n        \"hasAccessPurchaseOrder\": true,\n        \"hasAccessInvoice\": true,\n        \"hasAccessReceipt\": true,\n        \"hasAccessPurchaseRequisition\": true\n    }\n}"}],"_postman_id":"2be29948-9b66-4665-9df1-4b0b0bb3496a"},{"name":"Create Contract","id":"a308a160-c01e-49b1-8f0a-80a152c4487b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": 16527,\n    \"number\": \"123AB5\",\n    \"createDate\": \"2025-09-22T14:38:52+00:00\",\n    \"beginDate\": \"2025-09-01T00:00:00+00:00\",\n    \"endDate\": \"2026-09-30T00:00:00+00:00\",\n    \"prolongation\": false,\n    \"note\": \"My Contract Note\",\n    \"enable\": true,\n    \"contractAmount\": 10000,\n    \"contractAmountUsedSum\": 0,\n    \"expirationDateReminder\": 1,\n    \"sendToSupplierEmail\": \"supplier1@acme.com\",\n    \"supplier\": {\n        \"id\": 723124\n    },\n    \"legalEntity\": {\n        \"id\": 23152\n    },\n    \"companyUsers\": [\n        102979\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.precoro.com/contract","description":"<p>Expiration Date Reminder descriptions:</p>\n<p><strong>DISABLED</strong> = 0<br /><strong>BEFORE 30 Days</strong> = 1<br /><strong>BEFORE 60 Days</strong> = 2<br /><strong>BEFORE 90 Days</strong> = 3<br /><strong>BEFORE 120 Days</strong> = 4<br /><strong>BEFORE 150 Days</strong> = 5<br /><strong>BEFORE 180 Days</strong> = 6</p>\n","urlObject":{"protocol":"https","path":["contract"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"bb9da12d-b127-436b-8647-638d1977ab8b","name":"Create Contract","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": 16527,\n    \"number\": \"123AB5\",\n    \"createDate\": \"2025-09-22T14:38:52+00:00\",\n    \"beginDate\": \"2025-09-01T00:00:00+00:00\",\n    \"endDate\": \"2026-09-30T00:00:00+00:00\",\n    \"prolongation\": false,\n    \"note\": \"My Contract Note\",\n    \"enable\": true,\n    \"contractAmount\": 10000,\n    \"contractAmountUsedSum\": 0,\n    \"expirationDateReminder\": 1,\n    \"sendToSupplierEmail\": \"supplier1@acme.com\",\n    \"supplier\": {\n        \"id\": 723124\n    },\n    \"legalEntity\": {\n        \"id\": 23152\n    },\n    \"companyUsers\": [\n        102979\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.precoro.com/contract"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Mon, 22 Sep 2025 14:47:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=fyFGKi2JwLnGu0q6mkVA%2BlvWjSJp2u3W3ki6aLi7EDFdIfwkhM62f9mhoJNu3yA9k393gmf6VYFl3Sc9rmH0k2ccvMOaufQCOKnlWFxG\"}]}"},{"key":"Content-Encoding","value":"br"},{"key":"CF-RAY","value":"983298592aefc9ac-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 16528,\n    \"number\": \"123AB5\",\n    \"createDate\": \"2025-09-22T14:47:01+00:00\",\n    \"beginDate\": \"2025-09-01T00:00:00+00:00\",\n    \"endDate\": \"2026-09-30T00:00:00+00:00\",\n    \"prolongation\": false,\n    \"note\": \"My Contract Note\",\n    \"enable\": true,\n    \"contractAmount\": \"10000\",\n    \"contractAmountUsedSum\": 0,\n    \"expirationDateReminder\": 1,\n    \"sendToSupplierEmail\": \"supplier1@acme.com\",\n    \"supplier\": {\n        \"id\": 723124,\n        \"uniqueCode\": \"01123\",\n        \"name\": \"Supplier 2\",\n        \"createDate\": \"2024-07-22T13:36:04+00:00\",\n        \"updateDate\": \"2024-10-10T13:53:08+00:00\",\n        \"approvalDate\": \"2024-07-22T13:36:04+00:00\",\n        \"legalAddress\": null,\n        \"currency\": \"USD\",\n        \"currencies\": [\n            \"USD\",\n            \"UAH\"\n        ],\n        \"autoSendPOSupplier\": false,\n        \"deliveryPeriod\": 5,\n        \"minimumSum\": 100,\n        \"businessRegistrationNumber\": null,\n        \"accountHolderName\": null,\n        \"bankName\": null,\n        \"accountNumber\": null,\n        \"bankAddress\": null,\n        \"swiftCode\": null,\n        \"permanentAccountNumber\": null,\n        \"internationalBankAccountNumber\": null,\n        \"americanBankersAssociationNumber\": null,\n        \"indianFinancialSystemCode\": null,\n        \"sortCode\": null,\n        \"taxPayer\": false,\n        \"taxPayerType\": 2,\n        \"taxPayerLabel\": \"TIN\",\n        \"taxPayerNumber\": null,\n        \"phone\": null,\n        \"city\": null,\n        \"country\": null,\n        \"state\": null,\n        \"postalCode\": null,\n        \"note\": null,\n        \"conditions\": null,\n        \"enable\": true,\n        \"qboId\": null,\n        \"netSuiteId\": null,\n        \"xeroId\": null,\n        \"externalId\": null,\n        \"marketSupplier\": {\n            \"id\": null,\n            \"minimumSum\": null\n        },\n        \"enableMarketSupplier\": false,\n        \"creditBalanceSums\": {\n            \"UAH\": 0,\n            \"USD\": 0\n        },\n        \"status\": 2,\n        \"creator\": {\n            \"id\": 95888,\n            \"email\": \"apitesterfordocumentation@gmail.com\"\n        },\n        \"enterInvoiceAsOneLine\": true,\n        \"isPunchoutSupplier\": false,\n        \"isAllAccessLegalEntity\": true,\n        \"paymentTerms\": {\n            \"data\": [\n                {\n                    \"id\": 74148,\n                    \"name\": \"Prepayment\",\n                    \"prepaymentPercent\": 100,\n                    \"postpaymentPercent\": 0,\n                    \"creditPeriodDays\": 0,\n                    \"termsDueDateAfterInvoicing\": 0,\n                    \"paymentType\": 0,\n                    \"enable\": true,\n                    \"externalId\": null\n                },\n                {\n                    \"id\": 74149,\n                    \"name\": \"Postpayment\",\n                    \"prepaymentPercent\": 0,\n                    \"postpaymentPercent\": 100,\n                    \"creditPeriodDays\": 0,\n                    \"termsDueDateAfterInvoicing\": 0,\n                    \"paymentType\": 1,\n                    \"enable\": true,\n                    \"externalId\": null\n                }\n            ]\n        },\n        \"approvalSteps\": {\n            \"data\": []\n        },\n        \"approvingWay\": []\n    },\n    \"legalEntity\": {\n        \"id\": 23152,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"enable\": true,\n        \"name\": \"TEST Api Precoro\",\n        \"legalAddress\": null,\n        \"accountNumber\": null,\n        \"accountHolderName\": null,\n        \"bankName\": null,\n        \"bankAddress\": null,\n        \"sortCode\": null,\n        \"businessRegistrationNumber\": null,\n        \"taxPayerType\": 2,\n        \"taxPayerNumber\": null,\n        \"phone\": null,\n        \"keyExecutive\": null,\n        \"fullName\": null,\n        \"permanentAccountNumber\": null,\n        \"internationalBankAccountNumber\": null,\n        \"americanBankersAssociationNumber\": null,\n        \"swiftCode\": null,\n        \"indianFinancialSystemCode\": null,\n        \"externalId\": null,\n        \"uniqueCode\": null,\n        \"netSuiteId\": null\n    },\n    \"attachments\": {\n        \"data\": []\n    },\n    \"companyUsers\": {\n        \"data\": [\n            {\n                \"id\": 102979,\n                \"isPower\": true,\n                \"location\": {\n                    \"id\": 97962\n                },\n                \"allLocationsAccess\": true,\n                \"allUserDocumentCustomFieldsAccess\": true,\n                \"allItemGroupsAccess\": true,\n                \"roles\": [\n                    \"ROLE_PURCHASE_REQUISITION\",\n                    \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                    \"ROLE_PURCHASE_ORDER\",\n                    \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                    \"ROLE_RECEIPT\",\n                    \"ROLE_RECEIPT_APPROVAL\",\n                    \"ROLE_INVOICE\",\n                    \"ROLE_INVOICE_APPROVAL\",\n                    \"ROLE_INVOICE_PAYMENT\",\n                    \"ROLE_REPORT\",\n                    \"ROLE_BUDGET_HOLDER\",\n                    \"ROLE_SUPPLIER_MANAGEMENT\",\n                    \"ROLE_SUPPLIER_APPROVAL\",\n                    \"ROLE_WAREHOUSE_REQUEST\",\n                    \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL\",\n                    \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                    \"ROLE_EXPENSE\",\n                    \"ROLE_EXPENSE_APPROVAL\",\n                    \"ROLE_EXPENSE_PAYMENT\",\n                    \"ROLE_WAREHOUSE_MANAGER\",\n                    \"ROLE_SUPER_USER\",\n                    \"ROLE_OCR\",\n                    \"ROLE_CONFIGURATION\",\n                    \"ROLE_ITEM_MANAGEMENT\"\n                ],\n                \"inviteStatus\": 2,\n                \"verified\": true,\n                \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n                \"company\": {\n                    \"id\": 22359,\n                    \"name\": \"TEST Api Precoro\"\n                },\n                \"companyHasGroups\": true,\n                \"legalEntity\": {\n                    \"id\": 23152\n                },\n                \"allLegalEntityAccess\": true,\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2025-06-24T12:18:36+00:00\",\n                \"user\": {\n                    \"id\": 95888\n                },\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"locale\": \"en\",\n                \"phone\": \"+13456789\",\n                \"firstname\": \"Api\",\n                \"lastname\": \"Tester\",\n                \"position\": null,\n                \"isAvailableVacationMode\": false,\n                \"startVacationMode\": null,\n                \"endVacationMode\": null,\n                \"isTwoFactorAuthenticationEnabled\": false\n            }\n        ]\n    }\n}"}],"_postman_id":"a308a160-c01e-49b1-8f0a-80a152c4487b"},{"name":"Add Attachment to Supplier by ID","id":"372a1fc2-93b2-450e-8281-8f6ee825c759","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"files","type":"file","description":"<p>File key type,\none file</p>\n","value":null}]},"url":"https://api.precoro.com/attachments/{supplier_id}/8","urlObject":{"protocol":"https","path":["attachments","{supplier_id}","8"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"1e075554-4f23-4006-a847-fd3e8e683313","name":"Add Attachment to Supplier by ID","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"files","type":"file","description":"File key type,\none file","src":["yYRbzahSm/PrecoroUpdatePurchaseRequisitionItems.xlsx"]}]},"url":"https://api.precoro.com/attachments/{supplier_id}/8"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 15 Nov 2024 09:08:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 15 Nov 2024 09:08:20 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=D9q6OlYLpn51emcYsJZvbi8za%2B6b9dzcTbm3e8InGijkGXvVTxH3gWj70olv26ZYwgAHJYQPo3MVyutiHmBH477PyV6DWCNY4MEEfFlFxKQQTA%2FD7oYDxPRpMkOyre5f3g%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8e2e18991fd7c983-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=2483&sent=8&recv=21&lost=0&retrans=0&sent_bytes=2333&recv_bytes=20367&delivery_rate=1208176&cwnd=248&unsent_bytes=0&cid=7da9af0bcd4a9684&ts=457&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 4059700,\n            \"name\": \"PrecoroUpdatePurchaseRequisitionItems.xlsx\",\n            \"uploadDate\": \"2024-11-15T09:08:20+00:00\",\n            \"user\": {\n                \"id\": 95888,\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"company\": {\n                    \"id\": 22359\n                }\n            },\n            \"type\": 0,\n            \"size\": \"19 KB\",\n            \"formatType\": \"xlsx\",\n            \"comment\": null\n        }\n    ]\n}"}],"_postman_id":"372a1fc2-93b2-450e-8281-8f6ee825c759"},{"name":"Update Supplier by ID","id":"8b32c990-5ee0-44ae-84b5-8bca19d0d5b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Supplier 2","type":"text","description":"<p>required,string(255), unique</p>\n"},{"key":"currencies[]","value":"USD","type":"text","contentType":""},{"key":"currencies[]","value":"UAH","type":"text","contentType":""},{"key":"uniqueCode","value":"01123","description":"<p>string(255), unique</p>\n","type":"text"},{"key":"deliveryPeriod","value":"5","description":"<p>int</p>\n","type":"text"},{"key":"minimumSum","value":"100","description":"<p>int</p>\n","type":"text"},{"key":"autoSendPOSupplier","value":"0","description":"<p>bool</p>\n","type":"text"},{"key":"legalAddress","value":"","description":"<p>text(255)</p>\n","type":"text"},{"key":"city","value":"","description":"<p>text(255)</p>\n","type":"text"},{"key":"state","value":"","description":"<p>text(255)</p>\n","type":"text"},{"key":"postalCode","value":"","description":"<p>text(255)</p>\n","type":"text"},{"key":"country","value":"","description":"<p>text(255)</p>\n","type":"text"},{"key":"phone","value":"","description":"<p>text(255)</p>\n","type":"text"},{"key":"businessRegistrationNumber","value":"","description":"<p>text(40)</p>\n","type":"text"},{"key":"taxPayer","value":"0","description":"<p>bool</p>\n","type":"text"},{"key":"taxPayerNumber","value":"","description":"<p>text(40)</p>\n","type":"text"},{"key":"taxPayerType","value":"2","type":"text","description":"<p>int(0-5)</p>\n"},{"key":"internationalBankAccountNumber","value":"","description":"<p>text(34)</p>\n","type":"text"},{"key":"accountNumber","value":"","description":"<p>text(255)</p>\n","type":"text"},{"key":"accountHolderName","value":"","description":"<p>text(255)</p>\n","type":"text"},{"key":"bankName","value":"","description":"<p>text(255)</p>\n","type":"text"},{"key":"bankAddress","value":"","description":"<p>text(255)</p>\n","type":"text"},{"key":"permanentAccountNumber","value":"","description":"<p>text(10)</p>\n","type":"text"},{"key":"americanBankersAssociationNumber","value":"","description":"<p>text(20)</p>\n","type":"text"},{"key":"swiftCode","value":"","description":"<p>text(20)</p>\n","type":"text"},{"key":"indianFinancialSystemCode","value":"","description":"<p>text(20)</p>\n","type":"text"},{"key":"sortCode","value":"","description":"<p>text(20)</p>\n","type":"text"},{"key":"conditions","value":"","description":"<p>text(255)</p>\n","type":"text"},{"key":"note","value":"","description":"<p>text</p>\n","type":"text"},{"key":"externalId","value":"","description":"<p>int</p>\n","type":"text"},{"key":"contacts[data][0][email]","value":"supplier1@acme.com","type":"text"},{"key":"contacts[data][1][email]","value":"supplier2@acme.com","type":"text"}]},"url":"https://api.precoro.com/suppliers/{id}","urlObject":{"protocol":"https","path":["suppliers","{id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"2a485b49-3536-4585-8acd-d2fb13420481","name":"Update Supplier by ID","originalRequest":{"method":"PUT","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Supplier 2","type":"text","description":"required,string(255), unique"},{"key":"currencies[]","value":"USD","type":"text","contentType":""},{"key":"currencies[]","value":"UAH","type":"text","contentType":""},{"key":"uniqueCode","value":"01123","description":"string(255), unique","type":"text"},{"key":"deliveryPeriod","value":"5","description":"int","type":"text"},{"key":"minimumSum","value":"100","description":"int","type":"text"},{"key":"autoSendPOSupplier","value":"0","description":"bool","type":"text"},{"key":"legalAddress","value":"","description":"text(255)","type":"text"},{"key":"city","value":"","description":"text(255)","type":"text"},{"key":"state","value":"","description":"text(255)","type":"text"},{"key":"postalCode","value":"","description":"text(255)","type":"text"},{"key":"country","value":"","description":"text(255)","type":"text"},{"key":"phone","value":"","description":"text(255)","type":"text"},{"key":"businessRegistrationNumber","value":"","description":"text(40)","type":"text"},{"key":"taxPayer","value":"0","description":"bool","type":"text"},{"key":"taxPayerNumber","value":"","description":"text(40)","type":"text"},{"key":"taxPayerType","value":"2","type":"text","description":"int(0-5)"},{"key":"internationalBankAccountNumber","value":"","description":"text(34)","type":"text"},{"key":"accountNumber","value":"","description":"text(255)","type":"text"},{"key":"accountHolderName","value":"","description":"text(255)","type":"text"},{"key":"bankName","value":"","description":"text(255)","type":"text"},{"key":"bankAddress","value":"","description":"text(255)","type":"text"},{"key":"permanentAccountNumber","value":"","description":"text(10)","type":"text"},{"key":"americanBankersAssociationNumber","value":"","description":"text(20)","type":"text"},{"key":"swiftCode","value":"","description":"text(20)","type":"text"},{"key":"indianFinancialSystemCode","value":"","description":"text(20)","type":"text"},{"key":"sortCode","value":"","description":"text(20)","type":"text"},{"key":"conditions","value":"","description":"text(255)","type":"text"},{"key":"note","value":"","description":"text","type":"text"},{"key":"externalId","value":"","description":"int","type":"text"}]},"url":"https://api.precoro.com/suppliers/723124"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 22 Jul 2024 13:37:50 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Mon, 22 Jul 2024 13:37:50 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=vg0B2zGMJnqAJXRVRmDJf3diizGhAgXMeRjw7GP8gl3pW8bZwUrzVFIWplTb3SBop1dCwl8JEhWJzIeYgYEdbfAyojiysBflf6aOXYf9f6bxNDoQozJ1GrNXt9zrI%2B5%2Bzw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8a73d3e1a8f90854-IAD"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 723124,\n    \"uniqueCode\": \"01123\",\n    \"name\": \"Supplier 2\",\n    \"createDate\": \"2024-07-22T13:36:04+00:00\",\n    \"updateDate\": \"2024-07-22T13:37:50+00:00\",\n    \"legalAddress\": null,\n    \"currency\": \"USD\",\n    \"currencies\": [\n        \"USD\",\n        \"UAH\"\n    ],\n    \"autoSendPOSupplier\": false,\n    \"deliveryPeriod\": 5,\n    \"minimumSum\": 100,\n    \"businessRegistrationNumber\": null,\n    \"accountHolderName\": null,\n    \"bankName\": null,\n    \"accountNumber\": null,\n    \"bankAddress\": null,\n    \"swiftCode\": null,\n    \"permanentAccountNumber\": null,\n    \"internationalBankAccountNumber\": null,\n    \"americanBankersAssociationNumber\": null,\n    \"indianFinancialSystemCode\": null,\n    \"sortCode\": null,\n    \"taxPayer\": false,\n    \"taxPayerType\": 2,\n    \"taxPayerLabel\": \"TIN\",\n    \"taxPayerNumber\": null,\n    \"phone\": null,\n    \"city\": null,\n    \"country\": null,\n    \"state\": null,\n    \"postalCode\": null,\n    \"note\": null,\n    \"conditions\": null,\n    \"enable\": true,\n    \"isMarketUpdatable\": false,\n    \"qboId\": null,\n    \"netSuiteId\": null,\n    \"xeroId\": null,\n    \"externalId\": null,\n    \"marketSupplier\": {\n        \"id\": null,\n        \"minimumSum\": null\n    },\n    \"enableMarketSupplier\": false,\n    \"creditBalanceSums\": {\n        \"UAH\": 0,\n        \"USD\": 0\n    },\n    \"afaxysSupplierId\": null,\n    \"status\": 2,\n    \"creator\": {\n        \"id\": 95888\n    },\n    \"enterInvoiceAsOneLine\": true,\n    \"paymentTerms\": {\n        \"data\": [\n            {\n                \"id\": 74148,\n                \"name\": \"Prepayment\",\n                \"prepaymentPercent\": 100,\n                \"postpaymentPercent\": 0,\n                \"creditPeriodDays\": 0,\n                \"paymentType\": 0,\n                \"enable\": true,\n                \"externalId\": null\n            },\n            {\n                \"id\": 74149,\n                \"name\": \"Postpayment\",\n                \"prepaymentPercent\": 0,\n                \"postpaymentPercent\": 100,\n                \"creditPeriodDays\": 0,\n                \"paymentType\": 1,\n                \"enable\": true,\n                \"externalId\": null\n            }\n        ]\n    },\n    \"approvalSteps\": {\n        \"data\": []\n    },\n    \"approvingWay\": [],\n    \"contacts\": {\n        \"data\": []\n    },\n    \"marketContacts\": {\n        \"data\": []\n    },\n    \"propsVisibility\": {\n        \"showAccountHolderNameSupplier\": true,\n        \"showLegalAddressSupplier\": true,\n        \"showPhoneNumberSupplier\": true,\n        \"showBusinessRegistrationNumberSupplier\": true,\n        \"showAccountNumberSupplier\": true,\n        \"showBankNameSupplier\": true,\n        \"showBankAddressSupplier\": true,\n        \"showSortCodeSupplier\": true,\n        \"showTaxPayerSupplier\": true,\n        \"showSwiftCodeSupplier\": true,\n        \"showPermanentAccountNumberSupplier\": true,\n        \"showInternationalBankAccountNumberSupplier\": true,\n        \"showAmericanBankersAssociationNumberSupplier\": true,\n        \"showIndianFinancialSystemCodeSupplier\": true\n    },\n    \"supplierRegistrations\": {\n        \"data\": []\n    },\n    \"attachments\": {\n        \"data\": []\n    },\n    \"marketAttachments\": [],\n    \"approvalInfo\": {\n        \"canApprove\": false,\n        \"canReject\": false,\n        \"needSelectSupplierCustomFieldsForApproval\": false\n    },\n    \"supplierCustomFieldOptionValues\": {\n        \"data\": []\n    }\n}"}],"_postman_id":"8b32c990-5ee0-44ae-84b5-8bca19d0d5b9"},{"name":"Set Supplier ExternalId by ID","id":"937aac90-3e4c-4ba7-bc7c-34657219f502","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"externalId","value":"1234","type":"text","description":"<p>string</p>\n"}]},"url":"https://api.precoro.com/suppliers/{id}","urlObject":{"protocol":"https","path":["suppliers","{id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"6832e08d-698f-4622-84ab-0330d3d68505","name":"Set Supplier ExternalId by ID","originalRequest":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"externalId","value":"int","type":"text"}]},"url":"https://api.precoro.com/suppliers/{id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Date","value":"Mon, 14 Mar 2022 15:35:57 GMT"},{"key":"X-Debug-Token","value":"362d06"},{"key":"Expires","value":"Mon, 14 Mar 2022 15:35:57 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": 281946,\n    \"uniqueCode\": \"011\",\n    \"name\": \"Oxi Fresh Carpet Cleaning\",\n    \"createDate\": \"2022-03-14T11:49:20+00:00\",\n    \"legalAddress\": \"143 Union Blvd, Lakewood, Colorado, USA\",\n    \"currency\": \"USD\",\n    \"currencies\": [\n        \"USD\"\n    ],\n    \"autoSendPOSupplier\": false,\n    \"deliveryPeriod\": 3,\n    \"minimumSum\": 100,\n    \"businessRegistrationNumber\": \"111111\",\n    \"accountHolderName\": \"John Doe\",\n    \"bankName\": \"American Express\",\n    \"accountNumber\": \"340000555056547\",\n    \"bankAddress\": null,\n    \"swiftCode\": null,\n    \"permanentAccountNumber\": null,\n    \"internationalBankAccountNumber\": null,\n    \"americanBankersAssociationNumber\": null,\n    \"indianFinancialSystemCode\": null,\n    \"sortCode\": \"11-11-11\",\n    \"taxPayer\": false,\n    \"taxPayerType\": 0,\n    \"taxPayerLabel\": \"Tax Payer Number\",\n    \"taxPayerNumber\": null,\n    \"phone\": \"+1-111-555-1111\",\n    \"city\": null,\n    \"country\": null,\n    \"state\": null,\n    \"postalCode\": null,\n    \"note\": null,\n    \"conditions\": null,\n    \"enableToleranceRate\": false,\n    \"toleranceRatePercent\": 0,\n    \"enable\": true,\n    \"isMarketUpdatable\": false,\n    \"qboId\": null,\n    \"externalId\": 1234,\n    \"xeroId\": null,\n    \"marketSupplier\": {\n        \"id\": null\n    },\n    \"enableMarketSupplier\": false,\n    \"creditBalanceSums\": {\n        \"USD\": 0\n    },\n    \"paymentTerms\": {\n        \"data\": [\n            {\n                \"id\": 35415,\n                \"name\": \"Prepayment\",\n                \"prepaymentPercent\": 100,\n                \"postpaymentPercent\": 0,\n                \"creditPeriodDays\": 0,\n                \"paymentType\": 0,\n                \"enable\": true\n            }\n        ]\n    },\n    \"contacts\": {\n        \"data\": [\n            {\n                \"id\": 109435,\n                \"createDate\": \"2022-03-14T11:49:20+00:00\",\n                \"email\": \"servicessupplier@email.com\",\n                \"phone\": \"+1-202-555-0146\",\n                \"firstName\": \"John\",\n                \"showEmail\": true\n            }\n        ]\n    },\n    \"marketContacts\": {\n        \"data\": []\n    },\n    \"propsVisibility\": {\n        \"showAccountHolderNameSupplier\": true,\n        \"showLegalAddressSupplier\": true,\n        \"showPhoneNumberSupplier\": true,\n        \"showBusinessRegistrationNumberSupplier\": true,\n        \"showAccountNumberSupplier\": true,\n        \"showBankNameSupplier\": true,\n        \"showBankAddressSupplier\": true,\n        \"showSortCodeSupplier\": true,\n        \"showTaxPayerSupplier\": true,\n        \"showSwiftCodeSupplier\": true,\n        \"showPermanentAccountNumberSupplier\": true,\n        \"showInternationalBankAccountNumberSupplier\": true,\n        \"showAmericanBankersAssociationNumberSupplier\": true,\n        \"showIndianFinancialSystemCodeSupplier\": true\n    },\n    \"attachments\": {\n        \"data\": []\n    },\n    \"marketAttachments\": []\n}"}],"_postman_id":"937aac90-3e4c-4ba7-bc7c-34657219f502"},{"name":"Set Supplier SCF by ID","id":"1ec003af-0764-4334-91e8-84c7f2793336","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"514","description":"<p>id of a Supplier Custom Field</p>\n","type":"text"},{"key":"value","value":"898","description":"<p>value of an option (id, text, or date depending on a SCF type)</p>\n","type":"text"}]},"url":"https://api.precoro.com/suppliers/{supplier_id}/customfields","urlObject":{"protocol":"https","path":["suppliers","{supplier_id}","customfields"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"5e64215a-80f3-4ef9-b09b-c1183fcb714a","name":"Set Supplier SCF by ID","originalRequest":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"514","description":"id of a Supplier Custom Field","type":"text"},{"key":"value","value":"898","description":"value of an option (id, text, or date depending on a SCF type)","type":"text"}]},"url":"https://api.precoro.com/suppliers/{supplier_id}/customfields"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 04 Oct 2024 13:29:05 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 04 Oct 2024 13:29:04 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Ct3i9p8B7xKaxBxBtX9KpjB8DxxyXNQxFzJihzQWIxxSSx2fc%2BYtUiMfXhZY%2FTo%2Fripo0uVeM%2F6bvTzAnQXhJTsEQ5FcwRdstI3ET1ojUlmpMk%2BIkdOC78qY9EjlK47uSw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8cd584cc293cc797-IAD"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 719430,\n    \"uniqueCode\": \"123AB\",\n    \"name\": \"Supplier 1\",\n    \"createDate\": \"2024-07-12T10:18:00+00:00\",\n    \"updateDate\": \"2024-08-05T15:00:36+00:00\",\n    \"legalAddress\": null,\n    \"currency\": \"USD\",\n    \"currencies\": [\n        \"USD\"\n    ],\n    \"autoSendPOSupplier\": false,\n    \"deliveryPeriod\": 0,\n    \"minimumSum\": 10,\n    \"businessRegistrationNumber\": null,\n    \"accountHolderName\": null,\n    \"bankName\": null,\n    \"accountNumber\": null,\n    \"bankAddress\": null,\n    \"swiftCode\": null,\n    \"permanentAccountNumber\": null,\n    \"internationalBankAccountNumber\": null,\n    \"americanBankersAssociationNumber\": null,\n    \"indianFinancialSystemCode\": null,\n    \"sortCode\": null,\n    \"taxPayer\": false,\n    \"taxPayerType\": 0,\n    \"taxPayerLabel\": \"Tax Payer Number\",\n    \"taxPayerNumber\": null,\n    \"phone\": null,\n    \"city\": null,\n    \"country\": null,\n    \"state\": null,\n    \"postalCode\": null,\n    \"note\": null,\n    \"conditions\": null,\n    \"enable\": true,\n    \"isMarketUpdatable\": false,\n    \"qboId\": null,\n    \"netSuiteId\": null,\n    \"xeroId\": null,\n    \"externalId\": null,\n    \"marketSupplier\": {\n        \"id\": null,\n        \"minimumSum\": null\n    },\n    \"enableMarketSupplier\": false,\n    \"creditBalanceSums\": {\n        \"USD\": 0\n    },\n    \"afaxysSupplierId\": null,\n    \"status\": 2,\n    \"creator\": {\n        \"id\": 95888\n    },\n    \"enterInvoiceAsOneLine\": false,\n    \"paymentTerms\": {\n        \"data\": [\n            {\n                \"id\": 74148,\n                \"name\": \"Prepayment\",\n                \"prepaymentPercent\": 100,\n                \"postpaymentPercent\": 0,\n                \"creditPeriodDays\": 0,\n                \"termsDueDateAfterInvoicing\": 0,\n                \"paymentType\": 0,\n                \"enable\": true,\n                \"externalId\": null\n            }\n        ]\n    },\n    \"approvalSteps\": {\n        \"data\": []\n    },\n    \"approvingWay\": [],\n    \"contacts\": {\n        \"data\": []\n    },\n    \"marketContacts\": {\n        \"data\": []\n    },\n    \"propsVisibility\": {\n        \"showAccountHolderNameSupplier\": true,\n        \"showLegalAddressSupplier\": true,\n        \"showPhoneNumberSupplier\": true,\n        \"showBusinessRegistrationNumberSupplier\": true,\n        \"showAccountNumberSupplier\": true,\n        \"showBankNameSupplier\": true,\n        \"showBankAddressSupplier\": true,\n        \"showSortCodeSupplier\": true,\n        \"showTaxPayerSupplier\": true,\n        \"showSwiftCodeSupplier\": true,\n        \"showPermanentAccountNumberSupplier\": true,\n        \"showInternationalBankAccountNumberSupplier\": true,\n        \"showAmericanBankersAssociationNumberSupplier\": true,\n        \"showIndianFinancialSystemCodeSupplier\": true\n    },\n    \"supplierRegistrations\": {\n        \"data\": []\n    },\n    \"attachments\": {\n        \"data\": []\n    },\n    \"marketAttachments\": [],\n    \"approvalInfo\": {\n        \"canApprove\": false,\n        \"canReject\": false,\n        \"needSelectSupplierCustomFieldsForApproval\": false\n    },\n    \"supplierCustomFieldOptionValues\": {\n        \"data\": [\n            {\n                \"id\": 12683,\n                \"supplier\": {\n                    \"id\": 719430\n                },\n                \"supplierCustomField\": {\n                    \"id\": 514,\n                    \"name\": \"Vendor\",\n                    \"type\": 1,\n                    \"displayInTheList\": true,\n                    \"enable\": true,\n                    \"description\": \"Type of Vendor\"\n                },\n                \"value\": \"899\",\n                \"show\": true\n            }\n        ]\n    }\n}"}],"_postman_id":"1ec003af-0764-4334-91e8-84c7f2793336"}],"id":"238b9fa7-98e2-4435-a93b-906a55454a53","description":"<p>taxPayerType values description:</p>\n<p><strong>EIN</strong> = 1</p>\n<p><strong>TIN</strong> = 2</p>\n<p><strong>Tax ID</strong> = 3</p>\n<p><strong>VAT Number</strong> = 4</p>\n<p><strong>GST</strong> = 5</p>\n<p>Status values description:<br /><strong>PENDING</strong> = 1</p>\n<p><strong>APPROVED</strong> = 2<br /><strong>IN REVISION</strong> = 7</p>\n<p><strong>PENDING FORM</strong> = 12</p>\n","_postman_id":"238b9fa7-98e2-4435-a93b-906a55454a53"},{"name":"Item Management","item":[{"name":"Get Items list","id":"5a7ad5eb-4aa2-467c-8d80-3c56d030da09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/items?modifiedSince=2022-12-12T00:00:00&per_page=100&page=1","description":"<h2 id=\"external_id-filter\"><code>external_id[]</code> filter</h2>\n<p>Filter results by <code>externalId</code> — the identifier set on a Precoro record by your external system.</p>\n<p><strong>Rules:</strong></p>\n<ul>\n<li>Must be passed as an <strong>array</strong>: <code>external_id[]=101&amp;external_id[]=102</code></li>\n<li>Single value (<code>external_id=101</code>) is <strong>silently ignored</strong></li>\n<li>Values must be <strong>numeric</strong> — non-numeric values cause the filter to be silently skipped (full unfiltered list is returned)</li>\n<li>Maximum <strong>200</strong> values; exceeding this returns <code>400 Bad Request</code></li>\n</ul>\n<p><strong>Error response (&gt;200 values):</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"errors\": {\n        \"errors\": {\n            \"item_filter\": \"Too many external_id filter params. Maximum amount is 200\"\n        }\n    }\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["items"],"host":["api","precoro","com"],"query":[{"description":{"content":"<p>(optionally) If an object was created or modified since the date, it will appears in results</p>\n","type":"text/plain"},"key":"modifiedSince","value":"2022-12-12T00:00:00"},{"description":{"content":"<p>(optionally) Number of items per page. Available options: 10, 20, 50, 100, 200</p>\n","type":"text/plain"},"key":"per_page","value":"100"},{"description":{"content":"<p>(optionally) Page number to be displayed</p>\n","type":"text/plain"},"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>Filter by externalId. Must be a numeric string. Repeat this param to pass multiple values: external_id[]=101&amp;external_id[]=102</p>\n","type":"text/plain"},"key":"external_id[]","value":"1"},{"disabled":true,"description":{"content":"<p>Add another value. Maximum 200 values total. Non-numeric values silently disable the filter.</p>\n","type":"text/plain"},"key":"external_id[]","value":"2"}],"variable":[]}},"response":[{"id":"f4616e10-4590-48be-8278-c18b9e3cae52","name":"Get Items list","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":{"raw":"https://api.precoro.com/items?modifiedSince=2022-12-12T00:00:00&per_page=100&page=1","protocol":"https","host":["api","precoro","com"],"path":["items"],"query":[{"key":"modifiedSince","value":"2022-12-12T00:00:00","description":"(optionally) If an object was created or modified since the date, it will appears in results"},{"key":"per_page","value":"100","description":"(optionally) Number of items per page. Available options: 10, 20, 50, 100, 200"},{"key":"page","value":"1","description":"(optionally) Page number to be displayed"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 15:50:50 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 15:50:50 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=j1HdKfwJeRexHT9vU26J3i9%2FNlbyNmk4f1%2BYxnouvYIiIhZ5Ag673R8iLMKykcT1Zygrs0EYnxyL%2FPwyLOj6G08T1aUMUMyryvkRSVL0YS7wH5kxZD%2FUM7O6PXs1Wi71Fw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"91919295e81ed471-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=1547&min_rtt=1358&rtt_var=644&sent=3&recv=5&lost=0&retrans=0&sent_bytes=219&recv_bytes=1173&delivery_rate=1066273&cwnd=235&unsent_bytes=0&cid=e903719281de7129&ts=412&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1447004,\n            \"createDate\": \"2024-06-11T14:30:18+00:00\",\n            \"updateDate\": \"2024-06-11T14:43:44+00:00\",\n            \"sku\": \"173516\",\n            \"name\": \"Home Desk\",\n            \"unit\": null,\n            \"currency\": \"USD\",\n            \"description\": null,\n            \"hiddenInCatalog\": false,\n            \"freeOfCharge\": false,\n            \"disabledBySupplier\": false,\n            \"mainInSimilar\": false,\n            \"category\": [],\n            \"supplier\": [],\n            \"similar\": {\n                \"id\": null\n            },\n            \"marketItem\": {\n                \"id\": null\n            },\n            \"image\": null,\n            \"link\": null,\n            \"type\": 1,\n            \"qboId\": null,\n            \"netSuiteId\": null,\n            \"xeroId\": null,\n            \"externalId\": null,\n            \"price\": 49.9,\n            \"dataItemCustomFields\": {\n                \"data\": []\n            },\n            \"bundleItems\": {\n                \"data\": []\n            },\n            \"groupItems\": {\n                \"data\": [\n                    {\n                        \"id\": 435502,\n                        \"group\": {\n                            \"id\": 3140\n                        }\n                    }\n                ]\n            }\n        },\n        {\n            \"id\": 1508045,\n            \"createDate\": \"2024-10-02T06:56:12+00:00\",\n            \"updateDate\": \"2024-10-02T06:56:12+00:00\",\n            \"sku\": \"1623FA2\",\n            \"name\": \"Computer\",\n            \"unit\": null,\n            \"currency\": \"USD\",\n            \"description\": null,\n            \"hiddenInCatalog\": false,\n            \"freeOfCharge\": false,\n            \"disabledBySupplier\": false,\n            \"mainInSimilar\": false,\n            \"category\": [],\n            \"supplier\": {\n                \"id\": 719430,\n                \"uniqueCode\": \"123AB\",\n                \"name\": \"Supplier 1\",\n                \"createDate\": \"2024-07-12T10:18:00+00:00\",\n                \"updateDate\": \"2024-11-15T09:08:20+00:00\",\n                \"approvalDate\": \"2024-07-12T10:18:00+00:00\",\n                \"legalAddress\": null,\n                \"currency\": \"USD\",\n                \"currencies\": [\n                    \"USD\"\n                ],\n                \"autoSendPOSupplier\": false,\n                \"deliveryPeriod\": 0,\n                \"minimumSum\": 10,\n                \"businessRegistrationNumber\": null,\n                \"accountHolderName\": null,\n                \"bankName\": null,\n                \"accountNumber\": null,\n                \"bankAddress\": null,\n                \"swiftCode\": null,\n                \"permanentAccountNumber\": null,\n                \"internationalBankAccountNumber\": null,\n                \"americanBankersAssociationNumber\": null,\n                \"indianFinancialSystemCode\": null,\n                \"sortCode\": null,\n                \"taxPayer\": false,\n                \"taxPayerType\": 0,\n                \"taxPayerLabel\": \"Tax Payer Number\",\n                \"taxPayerNumber\": null,\n                \"phone\": null,\n                \"city\": null,\n                \"country\": null,\n                \"state\": null,\n                \"postalCode\": null,\n                \"note\": null,\n                \"conditions\": null,\n                \"enable\": true,\n                \"isMarketUpdatable\": false,\n                \"qboId\": null,\n                \"netSuiteId\": null,\n                \"xeroId\": null,\n                \"externalId\": null,\n                \"marketSupplier\": {\n                    \"id\": null,\n                    \"minimumSum\": null\n                },\n                \"enableMarketSupplier\": false,\n                \"creditBalanceSums\": {\n                    \"USD\": 0\n                },\n                \"afaxysSupplierId\": null,\n                \"status\": 2,\n                \"creator\": {\n                    \"id\": 95888,\n                    \"email\": \"apitesterfordocumentation@gmail.com\"\n                },\n                \"enterInvoiceAsOneLine\": false,\n                \"isPunchoutSupplier\": false,\n                \"paymentTerms\": {\n                    \"data\": [\n                        {\n                            \"id\": 74148,\n                            \"name\": \"Prepayment\",\n                            \"prepaymentPercent\": 100,\n                            \"postpaymentPercent\": 0,\n                            \"creditPeriodDays\": 0,\n                            \"termsDueDateAfterInvoicing\": 0,\n                            \"paymentType\": 0,\n                            \"enable\": true,\n                            \"externalId\": null\n                        }\n                    ]\n                },\n                \"approvalSteps\": {\n                    \"data\": []\n                },\n                \"approvingWay\": []\n            },\n            \"similar\": {\n                \"id\": null\n            },\n            \"marketItem\": {\n                \"id\": null\n            },\n            \"image\": null,\n            \"link\": null,\n            \"type\": 1,\n            \"qboId\": null,\n            \"netSuiteId\": null,\n            \"xeroId\": null,\n            \"externalId\": null,\n            \"price\": 800,\n            \"dataItemCustomFields\": {\n                \"data\": []\n            },\n            \"bundleItems\": {\n                \"data\": []\n            },\n            \"groupItems\": {\n                \"data\": []\n            }\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 2,\n            \"count\": 2,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": {}\n        }\n    }\n}"}],"_postman_id":"5a7ad5eb-4aa2-467c-8d80-3c56d030da09"},{"name":"Get Item by ID","id":"7cf43556-86f1-4df0-8e0f-c969b09932cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/items/{id}","urlObject":{"protocol":"https","path":["items","{id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"a3233205-47b2-4607-a4ca-0c31568bac3b","name":"Get Item by ID","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/items/{id}"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Mon, 23 Mar 2026 10:59:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-user","value":"95888"},{"key":"x-active-company","value":"22359"},{"key":"x-active-company-user","value":"102979"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=bm8yNOIU5fQjTwkZMoVDcsfpFLLq4nGXvEj3Y8tGJZD0DV85WHXrna7CJV28HaHapJIT6InOIJ2I7N8pbRyhVzr8OKO0IgRAgueD9tdU\"}]}"},{"key":"Content-Encoding","value":"br"},{"key":"CF-RAY","value":"9e0ceda59903d6d1-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1447004,\n    \"createDate\": \"2024-06-11T14:30:18+00:00\",\n    \"updateDate\": \"2024-06-11T14:43:44+00:00\",\n    \"sku\": \"173516\",\n    \"name\": \"Home Desk\",\n    \"unit\": null,\n    \"currency\": \"USD\",\n    \"description\": null,\n    \"hiddenInCatalog\": false,\n    \"autoUpdatePrice\": false,\n    \"freeOfCharge\": false,\n    \"disabledBySupplier\": false,\n    \"supplier\": {\n        \"id\": null\n    },\n    \"image\": null,\n    \"link\": null,\n    \"type\": 1,\n    \"qboId\": null,\n    \"netSuiteId\": null,\n    \"xeroId\": null,\n    \"externalId\": null,\n    \"price\": 49.9,\n    \"dataItemCustomFields\": {\n        \"data\": []\n    },\n    \"bundleItems\": {\n        \"data\": []\n    },\n    \"groupItems\": {\n        \"data\": [\n            {\n                \"id\": 435502,\n                \"group\": {\n                    \"id\": 3140\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"7cf43556-86f1-4df0-8e0f-c969b09932cd"},{"name":"Add Item","id":"d021dca4-71a0-4e67-87a1-0392af6afeb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"sku","value":"173516","description":"<p>string(300)</p>\n","type":"text"},{"key":"name","value":"Home Desk","description":"<p>required,string</p>\n","type":"text"},{"key":"description","value":"","description":"<p>string(1000)</p>\n","type":"text"},{"key":"freeOfCharge","value":"0","description":"<p>bool</p>\n","type":"text"},{"key":"price","value":"99.99","description":"<p>required, int</p>\n","type":"text"},{"key":"hiddenInCatalog","value":"0","description":"<p>bool</p>\n","type":"text"},{"key":"currency","value":"USD","type":"text"},{"key":"unit","value":"","description":"<p>string(1000)</p>\n","type":"text"},{"key":"link","value":"","description":"<p>string(2083)</p>\n","type":"text"},{"key":"type","value":"0","description":"<p>int(0-5)</p>\n","type":"text"},{"key":"externalId","value":"","description":"<p>int</p>\n","type":"text"},{"key":"category[id]","value":"","description":"<p>int</p>\n","type":"text"},{"key":"supplier[id]","value":"","description":"<p>int</p>\n","type":"text"}]},"url":"https://api.precoro.com/items","urlObject":{"protocol":"https","path":["items"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"370a30c5-9362-464d-b39a-64e880188d40","name":"Add Item","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"sku","value":"1521612","description":"string(300)","type":"text"},{"key":"name","value":"Office chair","description":"required,string","type":"text"},{"key":"description","value":"","description":"string(1000)","type":"text"},{"key":"freeOfCharge","value":"0","description":"bool","type":"text"},{"key":"price","value":"65.70","description":"required, int","type":"text"},{"key":"hiddenInCatalog","value":"0","description":"bool","type":"text"},{"key":"currency","value":"USD","type":"text"},{"key":"unit","value":"","description":"string(1000)","type":"text"},{"key":"link","value":"","description":"string(2083)","type":"text"},{"key":"type","value":"0","description":"int(0-5)","type":"text"},{"key":"externalId","value":"","description":"int","type":"text"},{"key":"category[id]","value":"","description":"int","type":"text"},{"key":"supplier[id]","value":"","description":"int","type":"text"}]},"url":"https://api.precoro.com/items"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 15:55:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 28 Feb 2025 15:55:28 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=7jsk08hd0me4eq8dipbj9e4mvv; path=/; secure; httponly; samesite=lax"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=lL9RlcRt8EfrOzM2iOwRxuXPUyo0b4hIcGRWda6gKt2UXaWjJ9%2F6euzid1%2BQEMIUdVyo18kyu5XxHnNgYH0n83dCqW4Tmm7ekU0NelD0YjG4vsacY%2BcDLWJdAexW2Dzq7w%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9191995e1a1c82ba-IAD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=2157&min_rtt=1972&rtt_var=872&sent=3&recv=5&lost=0&retrans=0&sent_bytes=219&recv_bytes=1319&delivery_rate=734279&cwnd=61&unsent_bytes=0&cid=fd5f8df504aeb6ff&ts=394&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1578283,\n    \"createDate\": \"2025-02-28T15:55:28+00:00\",\n    \"updateDate\": \"2025-02-28T15:55:28+00:00\",\n    \"sku\": \"1521612\",\n    \"name\": \"Office chair\",\n    \"unit\": null,\n    \"currency\": \"USD\",\n    \"description\": null,\n    \"hiddenInCatalog\": false,\n    \"freeOfCharge\": false,\n    \"disabledBySupplier\": false,\n    \"mainInSimilar\": false,\n    \"category\": [],\n    \"supplier\": [],\n    \"similar\": {\n        \"id\": null\n    },\n    \"marketItem\": {\n        \"id\": null\n    },\n    \"image\": null,\n    \"link\": null,\n    \"type\": 0,\n    \"qboId\": null,\n    \"netSuiteId\": null,\n    \"xeroId\": null,\n    \"externalId\": null,\n    \"price\": 65.7,\n    \"dataItemCustomFields\": {\n        \"data\": []\n    },\n    \"bundleItems\": {\n        \"data\": []\n    },\n    \"groupItems\": {\n        \"data\": []\n    }\n}"}],"_postman_id":"d021dca4-71a0-4e67-87a1-0392af6afeb7"},{"name":"Update Item by ID","id":"3c9e6886-7c18-4956-baf0-e7fe458d3508","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token"},{"key":"email","value":"user@company.com"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"sku","value":"173516","description":"<p>string(300)</p>\n","type":"text"},{"key":"name","value":"Home Desk","description":"<p>required,string</p>\n","type":"text"},{"key":"description","value":"","description":"<p>string(1000)</p>\n","type":"text"},{"key":"freeOfCharge","value":"0","description":"<p>bool</p>\n","type":"text"},{"key":"price","value":"49.90","description":"<p>int</p>\n","type":"text"},{"key":"hiddenInCatalog","value":"0","description":"<p>bool</p>\n","type":"text"},{"key":"currency","value":"USD","type":"text"},{"key":"unit","value":"","description":"<p>string(1000)</p>\n","type":"text"},{"key":"link","value":"","description":"<p>string(2083)</p>\n","type":"text"},{"key":"type","value":"1","description":"<p>int(0-2)</p>\n","type":"text"},{"key":"externalId","value":"","description":"<p>int</p>\n","type":"text"},{"key":"category[id]","value":"","description":"<p>int</p>\n","type":"text"},{"key":"supplier[id]","value":"","description":"<p>int</p>\n","type":"text"},{"key":"groupItems[data][0][group][id]","value":"3140","description":"<p>int</p>\n","type":"text"}]},"url":"https://api.precoro.com/items/{id}","urlObject":{"protocol":"https","path":["items","{id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"38d1f21a-10d5-4beb-ab6c-bc563415e325","name":"Update Item by ID","originalRequest":{"method":"PUT","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token"},{"key":"email","value":"user@company.com"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"sku","value":"173516","description":"string(300)","type":"text"},{"key":"name","value":"Home Desk","description":"required,string","type":"text"},{"key":"description","value":"","description":"string(1000)","type":"text"},{"key":"freeOfCharge","value":"0","description":"bool","type":"text"},{"key":"price","value":"49.90","description":"int","type":"text"},{"key":"hiddenInCatalog","value":"0","description":"bool","type":"text"},{"key":"currency","value":"USD","type":"text"},{"key":"unit","value":"","description":"string(1000)","type":"text"},{"key":"link","value":"","description":"string(2083)","type":"text"},{"key":"type","value":"1","description":"int(0-2)","type":"text"},{"key":"externalId","value":"","description":"int","type":"text"},{"key":"category[id]","value":"","description":"int","type":"text"},{"key":"supplier[id]","value":"","description":"int","type":"text"},{"key":"groupItems[data][0][group][id]","value":"3140","description":"int","type":"text"}]},"url":"https://api.precoro.com/items/{id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Jun 2024 14:43:44 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Tue, 11 Jun 2024 14:43:44 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=eeOZLCs9xz8L1wa16yH7CEc%2FN066Z0bceM3uQ%2BRLQLu24EZDV8dCViz4vnyiDa5TkMG9dF%2F1LRG%2FgE91FanRocLrxE7pYthaTi6o14zjZ7Hk0JtxQxACsbDkaZt3AYHwVw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"89226007d971878e-IAD"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1447004,\n    \"createDate\": \"2024-06-11T14:30:18+00:00\",\n    \"updateDate\": \"2024-06-11T14:43:44+00:00\",\n    \"sku\": \"173516\",\n    \"name\": \"Home Desk\",\n    \"unit\": null,\n    \"currency\": \"USD\",\n    \"description\": null,\n    \"hiddenInCatalog\": false,\n    \"freeOfCharge\": false,\n    \"disabledBySupplier\": false,\n    \"mainInSimilar\": false,\n    \"category\": [],\n    \"supplier\": [],\n    \"similar\": {\n        \"id\": null\n    },\n    \"marketItem\": {\n        \"id\": null\n    },\n    \"image\": null,\n    \"link\": null,\n    \"type\": 1,\n    \"qboId\": null,\n    \"netSuiteId\": null,\n    \"xeroId\": null,\n    \"externalId\": null,\n    \"price\": 49.9,\n    \"dataItemCustomFields\": {\n        \"data\": []\n    },\n    \"bundleItems\": {\n        \"data\": []\n    },\n    \"groupItems\": {\n        \"data\": [\n            {\n                \"id\": 435502,\n                \"group\": {\n                    \"id\": 3140\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"3c9e6886-7c18-4956-baf0-e7fe458d3508"},{"name":"Set Item ExternalId by ID","id":"58d78383-1ad5-4d7e-8e67-068bdffbb1bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token"},{"key":"email","value":"user@company.com"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"externalId","value":"20","description":"<p>string</p>\n","type":"text"}]},"url":"https://api.precoro.com/items/{id}","urlObject":{"protocol":"https","path":["items","{id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"b3fffa8b-20d8-4ae7-bde9-76e78b8e7568","name":"Set Item ExternalId by ID","originalRequest":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token"},{"key":"email","value":"user@company.com"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"externalId","value":"20","type":"text"}]},"url":"https://api.precoro.com/items/{id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 07 Jun 2024 06:38:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 07 Jun 2024 06:38:49 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=S7eyKF41qQApFcljCptR54EixWdreGoNb5hbbFz9%2F%2BsrwRy%2BoDl9iapxc7SM%2BG8YcAopu5nN%2FGRI5VOK1GtLhrbAxV%2B7qFI0USIeUWIEsyBo8e2M9sFgVozUl4sfNLisXA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"88fea434c95c068c-IAD"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 458986,\n    \"createDate\": \"2021-01-28T13:40:02+00:00\",\n    \"updateDate\": \"2024-06-07T06:38:49+00:00\",\n    \"sku\": \"12dw-updated\",\n    \"name\": \"iPad - updated\",\n    \"unit\": \"Piece-updated\",\n    \"currency\": \"USD\",\n    \"description\": \"Efficient enough for basic operations\",\n    \"hiddenInCatalog\": false,\n    \"freeOfCharge\": false,\n    \"disabledBySupplier\": false,\n    \"mainInSimilar\": false,\n    \"category\": {\n        \"id\": 39092,\n        \"name\": \"Office Equipment\",\n        \"enable\": false\n    },\n    \"supplier\": {\n        \"id\": 323063,\n        \"uniqueCode\": null,\n        \"name\": \"Amazon_\",\n        \"createDate\": \"2022-06-06T09:38:57+00:00\",\n        \"updateDate\": \"2024-05-01T10:24:22+00:00\",\n        \"legalAddress\": null,\n        \"currency\": \"USD\",\n        \"currencies\": [\n            \"USD\",\n            \"EUR\"\n        ],\n        \"autoSendPOSupplier\": false,\n        \"deliveryPeriod\": 1,\n        \"minimumSum\": 0,\n        \"businessRegistrationNumber\": null,\n        \"accountHolderName\": null,\n        \"bankName\": null,\n        \"accountNumber\": null,\n        \"bankAddress\": null,\n        \"swiftCode\": null,\n        \"permanentAccountNumber\": null,\n        \"internationalBankAccountNumber\": null,\n        \"americanBankersAssociationNumber\": null,\n        \"indianFinancialSystemCode\": null,\n        \"sortCode\": null,\n        \"taxPayer\": false,\n        \"taxPayerType\": 0,\n        \"taxPayerLabel\": \"Tax Payer Number\",\n        \"taxPayerNumber\": null,\n        \"phone\": null,\n        \"city\": null,\n        \"country\": null,\n        \"state\": null,\n        \"postalCode\": null,\n        \"note\": \"Internal NOTE!\",\n        \"conditions\": null,\n        \"enableToleranceRate\": true,\n        \"toleranceRatePercent\": 10,\n        \"enable\": false,\n        \"isMarketUpdatable\": false,\n        \"qboId\": null,\n        \"netSuiteId\": null,\n        \"xeroId\": null,\n        \"externalId\": null,\n        \"marketSupplier\": {\n            \"id\": null,\n            \"minimumSum\": null\n        },\n        \"enableMarketSupplier\": false,\n        \"creditBalanceSums\": {\n            \"USD\": 101.9\n        },\n        \"afaxysSupplierId\": \"1111\",\n        \"status\": 2,\n        \"creator\": {\n            \"id\": 47426\n        },\n        \"enterInvoiceAsOneLine\": true,\n        \"paymentTerms\": {\n            \"data\": []\n        },\n        \"approvalSteps\": {\n            \"data\": []\n        },\n        \"approvingWay\": []\n    },\n    \"similar\": {\n        \"id\": null\n    },\n    \"marketItem\": {\n        \"id\": null\n    },\n    \"image\": null,\n    \"link\": null,\n    \"type\": 0,\n    \"qboId\": null,\n    \"netSuiteId\": null,\n    \"xeroId\": null,\n    \"externalId\": \"20\",\n    \"price\": 200,\n    \"dataItemCustomFields\": {\n        \"data\": [\n            {\n                \"id\": 204969,\n                \"value\": \"91985\",\n                \"itemCustomField\": {\n                    \"id\": 7172\n                }\n            },\n            {\n                \"id\": 343175,\n                \"value\": \"179721\",\n                \"itemCustomField\": {\n                    \"id\": 10251\n                }\n            },\n            {\n                \"id\": 506305,\n                \"value\": \"08u\",\n                \"itemCustomField\": {\n                    \"id\": 12456\n                }\n            },\n            {\n                \"id\": 539058,\n                \"value\": \"339878\",\n                \"itemCustomField\": {\n                    \"id\": 15154\n                }\n            },\n            {\n                \"id\": 539059,\n                \"value\": \"339888\",\n                \"itemCustomField\": {\n                    \"id\": 15155\n                }\n            }\n        ]\n    },\n    \"bundleItems\": {\n        \"data\": [\n            {\n                \"id\": 6381,\n                \"bundle\": {\n                    \"id\": 482\n                },\n                \"defaultOrdered\": \"1.000000\"\n            }\n        ]\n    },\n    \"groupItems\": {\n        \"data\": []\n    }\n}"}],"_postman_id":"58d78383-1ad5-4d7e-8e67-068bdffbb1bd"},{"name":"Get Units list","id":"e178cb8e-dba9-4960-babb-fc8da888704a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/units","urlObject":{"protocol":"https","path":["units"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"8092a229-ff3d-479a-87ec-1a0897c2b534","name":"Get Units list","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","type":"text","value":"your_company_token"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/units"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Date","value":"Wed, 17 Apr 2019 11:56:43 GMT"},{"key":"X-Debug-Token","value":"81bcdc"},{"key":"Strict-Transport-Security","value":"max-age=15768000"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 7115,\n            \"name\": \"BOX\",\n            \"enable\": true\n        },\n        {\n            \"id\": 7114,\n            \"name\": \"H\",\n            \"enable\": true\n        },\n        {\n            \"id\": 7117,\n            \"name\": \"Kg\",\n            \"enable\": true\n        },\n        {\n            \"id\": 7113,\n            \"name\": \"Km\",\n            \"enable\": false\n        },\n        {\n            \"id\": 7116,\n            \"name\": \"L\",\n            \"enable\": true\n        },\n        {\n            \"id\": 7120,\n            \"name\": \"M\",\n            \"enable\": true\n        },\n        {\n            \"id\": 7118,\n            \"name\": \"Package\",\n            \"enable\": true\n        },\n        {\n            \"id\": 7119,\n            \"name\": \"Pieces\",\n            \"enable\": true\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 8,\n            \"count\": 8,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": []\n        }\n    }\n}"}],"_postman_id":"e178cb8e-dba9-4960-babb-fc8da888704a"},{"name":"GET Item Groups","id":"34da57df-7cb0-4550-9a5d-dbf65257b2b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/groups?page=1&per_page=100","urlObject":{"protocol":"https","path":["groups"],"host":["api","precoro","com"],"query":[{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Items per page. Available: 10, 20, 50, 100, 200</p>\n","type":"text/plain"},"key":"per_page","value":"100"},{"disabled":true,"description":{"content":"<p>Filter by enabled status (true/false). Defaults to true</p>\n","type":"text/plain"},"key":"enable","value":"true"}],"variable":[]}},"response":[{"id":"2ad47495-52fa-4a04-b782-b5c9ea6d542e","name":"GET Item Groups","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":{"raw":"https://api.precoro.com/groups?page=1&per_page=100","protocol":"https","host":["api","precoro","com"],"path":["groups"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"100"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\"data\":[{\"id\":3140,\"name\":\"Group 1\",\"enable\":true}],\"meta\":{\"pagination\":{\"count\":1,\"per_page\":100,\"current_page\":1,\"has_next_page\":false,\"links\":{},\"total\":1,\"total_pages\":1}}}"}],"_postman_id":"34da57df-7cb0-4550-9a5d-dbf65257b2b7"},{"name":"GET Item Group by ID","id":"b491133d-8685-4767-8bdf-40f2c8cedada","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/groups/:id","urlObject":{"protocol":"https","path":["groups",":id"],"host":["api","precoro","com"],"query":[],"variable":[{"id":"49406c4a-4f2b-4200-af80-408bfa1aaa03","description":{"content":"<p>Item Group ID</p>\n","type":"text/plain"},"type":"any","value":"3140","key":"id"}]}},"response":[{"id":"831898b5-727b-4d33-bd62-f10f158223ee","name":"GET Item Group by ID","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/groups/3140"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\"data\":{\"id\":3140,\"name\":\"Group 1\",\"enable\":true}}"}],"_postman_id":"b491133d-8685-4767-8bdf-40f2c8cedada"}],"id":"c164f3bc-51e4-406f-a7a9-10d9727dafa4","description":"<p>Item types description:</p>\n<p><strong>Non-Inventory</strong> = 0</p>\n<p><strong>Inventory</strong> = 1</p>\n<p><strong>Service</strong> = 2</p>\n<p><strong>Shipping</strong> = 3</p>\n<p><strong>Tax</strong> = 4</p>\n<p><strong>Withholding Tax</strong> = 5</p>\n","_postman_id":"c164f3bc-51e4-406f-a7a9-10d9727dafa4"},{"name":"Custom Supplier Fields","item":[{"name":"Get Supplier Сustom Fields list","id":"9bcd1c77-be6e-4973-b4cf-8c4813526a36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/suppliercustomfields","description":"<p>Type values description:  </p>\n<p><strong>SELECT</strong> = 1<br /><strong>TEXT</strong> = 2<br /><strong>DATE</strong> = 3</p>\n","urlObject":{"protocol":"https","path":["suppliercustomfields"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"44efb263-5b0a-4178-a14d-952ee6a680fb","name":"Get Supplier Сustom Fields list","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/suppliercustomfields"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 02 Aug 2024 11:16:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 02 Aug 2024 11:16:13 GMT"},{"key":"set-cookie","value":"PHPSESSID=fdsk7ncn2fd7qvfvkn6sunp66g; path=/; secure; httponly"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=YDW%2BrQ1iYPzbjmD8O5Jghxouv32eFogKFymEYngo00FmQDNrQ6kxISDD1AS0svAk0mawswvMIQ24%2BIMygk8AgnhhleiX9Psmq9wA75wayfYf4riLPZicz7GNok4OF7N%2F%2BA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8acda78fda43c973-IAD"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 514,\n            \"createDate\": \"2024-08-02T11:13:55+00:00\",\n            \"updateDate\": \"2024-08-02T11:14:15+00:00\",\n            \"name\": \"Vendor\",\n            \"description\": \"Type of Vendor\",\n            \"required\": false,\n            \"enable\": true,\n            \"type\": 1,\n            \"position\": 1,\n            \"sortingFormat\": 0,\n            \"useCodeInApproval\": false,\n            \"availableInApprovalWorkflow\": false,\n            \"displayInTheList\": true,\n            \"showInFilters\": false,\n            \"showInSupplierPortal\": false,\n            \"options\": {\n                \"data\": [\n                    {\n                        \"id\": 898,\n                        \"name\": \"Internal\",\n                        \"code\": \"B-01\",\n                        \"label\": \"Internal\",\n                        \"level\": 1,\n                        \"parent\": {\n                            \"id\": null\n                        },\n                        \"enable\": true\n                    },\n                    {\n                        \"id\": 899,\n                        \"name\": \"External\",\n                        \"code\": \"B-02\",\n                        \"label\": \"External\",\n                        \"level\": 1,\n                        \"parent\": {\n                            \"id\": null\n                        },\n                        \"enable\": true\n                    }\n                ]\n            }\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 1,\n            \"count\": 1,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": {}\n        }\n    }\n}"}],"_postman_id":"9bcd1c77-be6e-4973-b4cf-8c4813526a36"},{"name":"Get Supplier Сustom Field by ID","id":"81d137ca-f5f7-448a-952a-853accfaa617","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/suppliercustomfields/{id}","urlObject":{"protocol":"https","path":["suppliercustomfields","{id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"ddbef644-8a38-48a9-9233-312dc8f8aac5","name":"Get Supplier Сustom Field by ID","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/suppliercustomfields/{id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 02 Aug 2024 11:17:04 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 02 Aug 2024 11:17:04 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=w2xHinbRJHT4i7ZRbGrUZBjYzS659rSxWIceq6Urse1a4t69zdEZxlB9gRe4NHxus55MxQZLicOajjbCOBvR9C6TmVz7gMsejwVKUVvk7XDrIH8WZj9jnPQPcIdk1%2F3qyg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8acda8ca79f238aa-IAD"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 514,\n    \"createDate\": \"2024-08-02T11:13:55+00:00\",\n    \"updateDate\": \"2024-08-02T11:14:15+00:00\",\n    \"name\": \"Vendor\",\n    \"description\": \"Type of Vendor\",\n    \"required\": false,\n    \"enable\": true,\n    \"type\": 1,\n    \"position\": 1,\n    \"sortingFormat\": 0,\n    \"useCodeInApproval\": false,\n    \"availableInApprovalWorkflow\": false,\n    \"displayInTheList\": true,\n    \"showInFilters\": false,\n    \"showInSupplierPortal\": false,\n    \"options\": {\n        \"data\": [\n            {\n                \"id\": 898,\n                \"name\": \"Internal\",\n                \"code\": \"B-01\",\n                \"label\": \"Internal\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"enable\": true\n            },\n            {\n                \"id\": 899,\n                \"name\": \"External\",\n                \"code\": \"B-02\",\n                \"label\": \"External\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"enable\": true\n            }\n        ]\n    }\n}"}],"_postman_id":"81d137ca-f5f7-448a-952a-853accfaa617"},{"name":"Add Supplier Custom Field Option","id":"843a8acf-2066-49da-aa29-494b0db9b6bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Mixed","description":"<p>required</p>\n","type":"text"},{"key":"code","value":"C-01","type":"text"},{"key":"enable","value":"1","type":"text"},{"key":"parent[id]","value":"","type":"text"}]},"url":"https://api.precoro.com/suppliercustomfields/{id}/options","urlObject":{"protocol":"https","path":["suppliercustomfields","{id}","options"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"02a9e639-8757-4cd9-b45b-754fe0b69d0c","name":"Add Supplier Custom Field Option","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Mixed","description":"required","type":"text"},{"key":"code","value":"C-01","type":"text"},{"key":"enable","value":"1","type":"text"},{"key":"parent[id]","value":"","type":"text"}]},"url":"https://api.precoro.com/suppliercustomfields/{id}/options"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 02 Aug 2024 11:19:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 02 Aug 2024 11:19:06 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=jPrRNWHxmadxlp5Gtf945pVUhwURjdI8jMTFcSDzs29cJxJ6eE0R6ntkvLCkFKVa%2FR5MZ1cr82LDx7i%2Fkvph1TsfVtLQVQYZeKEqr4R7Z%2BTddDYXjLsQr55%2FfySqarelZQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8acdabc9aab939b6-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 900,\n    \"name\": \"Mixed\",\n    \"code\": \"C-01\",\n    \"label\": \"Mixed\",\n    \"level\": 1,\n    \"parent\": {\n        \"id\": null\n    },\n    \"enable\": true\n}"}],"_postman_id":"843a8acf-2066-49da-aa29-494b0db9b6bd"},{"name":"Update Supplier Custom Field Option","id":"0cbdb7d5-9b09-4422-b6f6-9dbac15541da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Internal (only regional)","description":"<p>required</p>\n","type":"text"},{"key":"code","value":"A-01","type":"text"},{"key":"enable","value":"1","type":"text"},{"key":"parent[id]","value":"","type":"text"}]},"url":"https://api.precoro.com/suppliercustomfields/{id}/options/{option_id}","urlObject":{"protocol":"https","path":["suppliercustomfields","{id}","options","{option_id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"97fddaf9-e476-4ba9-9f02-d0071c6a41f9","name":"Update Supplier Custom Field Option","originalRequest":{"method":"PUT","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Internal (only regional)","description":"required","type":"text"},{"key":"code","value":"A-01","type":"text"},{"key":"enable","value":"1","type":"text"},{"key":"parent[id]","value":"","type":"text"}]},"url":"https://api.precoro.com/suppliercustomfields/{id}/options/{option_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 02 Aug 2024 11:20:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 02 Aug 2024 11:20:47 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=TgeEJmOFWYWPqz0vJ8N9itQ6vHO%2FXRAnUaQMai%2F05XZvInZi18k0q7m%2BuNh%2Fcq1iIdZvlFbtqm%2Fj5BfdIG4Cy1nOz8YLpdThvR7WwLrE9pyJJlUj4NamPMbu6QQv3x8i8Q%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8acdae414c8307b3-IAD"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 898,\n    \"name\": \"Internal (only regional)\",\n    \"code\": \"A-01\",\n    \"label\": \"Internal (only regional)\",\n    \"level\": 1,\n    \"parent\": {\n        \"id\": null\n    },\n    \"enable\": true\n}"}],"_postman_id":"0cbdb7d5-9b09-4422-b6f6-9dbac15541da"}],"id":"087ba838-cb93-4666-9e89-0b62b239dd5e","_postman_id":"087ba838-cb93-4666-9e89-0b62b239dd5e","description":""},{"name":"Get Contracts list","id":"2164a757-a9e0-4a2f-b5a4-ac0b0175de8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/contracts","urlObject":{"protocol":"https","path":["contracts"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"86c76853-ef24-49c7-9bd8-ab7da9162beb","name":"Get Contracts list","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/contracts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Date","value":"Tue, 28 Mar 2023 09:40:29 GMT"},{"key":"Expires","value":"Tue, 28 Mar 2023 09:40:29 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 10051,\n            \"number\": \"351\",\n            \"createDate\": \"2023-03-28T09:38:02+00:00\",\n            \"beginDate\": \"2023-03-29T00:00:00+00:00\",\n            \"endDate\": \"2023-03-31T00:00:00+00:00\",\n            \"prolongation\": false,\n            \"note\": \"Contract Note\",\n            \"enable\": true,\n            \"supplier\": {\n                \"id\": 281946,\n                \"uniqueCode\": \"011\",\n                \"name\": \"Furniture Supplier\",\n                \"createDate\": \"2022-03-14T11:49:20+00:00\",\n                \"updateDate\": \"2022-07-19T14:51:07+00:00\",\n                \"legalAddress\": \"143 Union Blvd, Lakewood, Colorado, USA\",\n                \"currency\": \"USD\",\n                \"currencies\": [\n                    \"USD\"\n                ],\n                \"autoSendPOSupplier\": false,\n                \"deliveryPeriod\": 3,\n                \"minimumSum\": 5,\n                \"businessRegistrationNumber\": \"111111\",\n                \"accountHolderName\": \"John Doe\",\n                \"bankName\": \"American Express\",\n                \"accountNumber\": \"340000555056547\",\n                \"bankAddress\": null,\n                \"swiftCode\": null,\n                \"permanentAccountNumber\": null,\n                \"internationalBankAccountNumber\": null,\n                \"americanBankersAssociationNumber\": null,\n                \"indianFinancialSystemCode\": null,\n                \"sortCode\": \"11-11-11\",\n                \"taxPayer\": false,\n                \"taxPayerType\": 0,\n                \"taxPayerLabel\": \"Tax Payer Number\",\n                \"taxPayerNumber\": null,\n                \"phone\": \"+1-111-555-1111\",\n                \"city\": null,\n                \"country\": null,\n                \"state\": null,\n                \"postalCode\": null,\n                \"note\": null,\n                \"conditions\": null,\n                \"enableToleranceRate\": false,\n                \"toleranceRatePercent\": 0,\n                \"enable\": true,\n                \"isMarketUpdatable\": false,\n                \"qboId\": null,\n                \"externalId\": 1234,\n                \"xeroId\": null,\n                \"marketSupplier\": {\n                    \"id\": null\n                },\n                \"enableMarketSupplier\": false,\n                \"creditBalanceSums\": {\n                    \"USD\": 0\n                },\n                \"afaxysSupplierId\": null,\n                \"status\": 2,\n                \"statusString\": \"status.approved\",\n                \"transStatusString\": \"Approved\",\n                \"creator\": {\n                    \"id\": null\n                },\n                \"enterInvoiceAsOneLine\": false,\n                \"paymentTerms\": {\n                    \"data\": [\n                        {\n                            \"id\": 35415,\n                            \"name\": \"Prepayment\",\n                            \"prepaymentPercent\": 100,\n                            \"postpaymentPercent\": 0,\n                            \"creditPeriodDays\": 0,\n                            \"paymentType\": 0,\n                            \"enable\": true\n                        }\n                    ]\n                },\n                \"approvalSteps\": {\n                    \"data\": []\n                },\n                \"approvingWay\": [],\n                \"supplierTaxDefaultOptions\": {\n                    \"data\": []\n                },\n                \"supplierICFDefaultOptions\": {\n                    \"data\": []\n                },\n                \"supplierDCFDefaultOptions\": {\n                    \"data\": []\n                }\n            },\n            \"legalEntity\": {\n                \"id\": 13021,\n                \"createDate\": \"2022-03-14T11:41:16+00:00\",\n                \"updateDate\": \"2022-03-14T11:41:16+00:00\",\n                \"name\": \"API Company\",\n                \"legalAddress\": null,\n                \"accountNumber\": null,\n                \"accountHolderName\": null,\n                \"bankName\": null,\n                \"bankAddress\": null,\n                \"sortCode\": null,\n                \"businessRegistrationNumber\": null,\n                \"taxPayerType\": 2,\n                \"taxPayerNumber\": null,\n                \"phone\": null,\n                \"keyExecutive\": null,\n                \"fullName\": null,\n                \"permanentAccountNumber\": null,\n                \"internationalBankAccountNumber\": null,\n                \"americanBankersAssociationNumber\": null,\n                \"swiftCode\": null,\n                \"indianFinancialSystemCode\": null\n            }\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 1,\n            \"count\": 1,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": {}\n        }\n    }\n}"}],"_postman_id":"2164a757-a9e0-4a2f-b5a4-ac0b0175de8b"},{"name":"Get Contract by ID","id":"810fa605-354e-47a7-b248-4b5d55667f3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/contracts/{id}","urlObject":{"protocol":"https","path":["contracts","{id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"2c473454-47dd-4df8-ac8b-80af27ad7b07","name":"Get Contracts by ID","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/contracts/{id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Date","value":"Tue, 28 Mar 2023 09:41:24 GMT"},{"key":"Expires","value":"Tue, 28 Mar 2023 09:41:24 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 10051,\n    \"number\": \"351\",\n    \"createDate\": \"2023-03-28T09:38:02+00:00\",\n    \"beginDate\": \"2023-03-29T00:00:00+00:00\",\n    \"endDate\": \"2023-03-31T00:00:00+00:00\",\n    \"prolongation\": false,\n    \"note\": \"Contract Note\",\n    \"enable\": true,\n    \"supplier\": {\n        \"id\": 281946,\n        \"uniqueCode\": \"011\",\n        \"name\": \"Furniture Supplier\",\n        \"createDate\": \"2022-03-14T11:49:20+00:00\",\n        \"updateDate\": \"2022-07-19T14:51:07+00:00\",\n        \"legalAddress\": \"143 Union Blvd, Lakewood, Colorado, USA\",\n        \"currency\": \"USD\",\n        \"currencies\": [\n            \"USD\"\n        ],\n        \"autoSendPOSupplier\": false,\n        \"deliveryPeriod\": 3,\n        \"minimumSum\": 5,\n        \"businessRegistrationNumber\": \"111111\",\n        \"accountHolderName\": \"John Doe\",\n        \"bankName\": \"American Express\",\n        \"accountNumber\": \"340000555056547\",\n        \"bankAddress\": null,\n        \"swiftCode\": null,\n        \"permanentAccountNumber\": null,\n        \"internationalBankAccountNumber\": null,\n        \"americanBankersAssociationNumber\": null,\n        \"indianFinancialSystemCode\": null,\n        \"sortCode\": \"11-11-11\",\n        \"taxPayer\": false,\n        \"taxPayerType\": 0,\n        \"taxPayerLabel\": \"Tax Payer Number\",\n        \"taxPayerNumber\": null,\n        \"phone\": \"+1-111-555-1111\",\n        \"city\": null,\n        \"country\": null,\n        \"state\": null,\n        \"postalCode\": null,\n        \"note\": null,\n        \"conditions\": null,\n        \"enableToleranceRate\": false,\n        \"toleranceRatePercent\": 0,\n        \"enable\": true,\n        \"isMarketUpdatable\": false,\n        \"qboId\": null,\n        \"externalId\": 1234,\n        \"xeroId\": null,\n        \"marketSupplier\": {\n            \"id\": null\n        },\n        \"enableMarketSupplier\": false,\n        \"creditBalanceSums\": {\n            \"USD\": 0\n        },\n        \"afaxysSupplierId\": null,\n        \"status\": 2,\n        \"statusString\": \"status.approved\",\n        \"transStatusString\": \"Approved\",\n        \"creator\": {\n            \"id\": null\n        },\n        \"enterInvoiceAsOneLine\": false,\n        \"paymentTerms\": {\n            \"data\": [\n                {\n                    \"id\": 35415,\n                    \"name\": \"Prepayment\",\n                    \"prepaymentPercent\": 100,\n                    \"postpaymentPercent\": 0,\n                    \"creditPeriodDays\": 0,\n                    \"paymentType\": 0,\n                    \"enable\": true\n                }\n            ]\n        },\n        \"approvalSteps\": {\n            \"data\": []\n        },\n        \"approvingWay\": [],\n        \"supplierTaxDefaultOptions\": {\n            \"data\": []\n        },\n        \"supplierICFDefaultOptions\": {\n            \"data\": []\n        },\n        \"supplierDCFDefaultOptions\": {\n            \"data\": []\n        }\n    },\n    \"legalEntity\": {\n        \"id\": 13021,\n        \"createDate\": \"2022-03-14T11:41:16+00:00\",\n        \"updateDate\": \"2022-03-14T11:41:16+00:00\",\n        \"name\": \"API Company\",\n        \"legalAddress\": null,\n        \"accountNumber\": null,\n        \"accountHolderName\": null,\n        \"bankName\": null,\n        \"bankAddress\": null,\n        \"sortCode\": null,\n        \"businessRegistrationNumber\": null,\n        \"taxPayerType\": 2,\n        \"taxPayerNumber\": null,\n        \"phone\": null,\n        \"keyExecutive\": null,\n        \"fullName\": null,\n        \"permanentAccountNumber\": null,\n        \"internationalBankAccountNumber\": null,\n        \"americanBankersAssociationNumber\": null,\n        \"swiftCode\": null,\n        \"indianFinancialSystemCode\": null\n    },\n    \"attachments\": {\n        \"data\": [\n            {\n                \"id\": 1584159,\n                \"name\": \"TEST.xlsx\",\n                \"uploadDate\": \"2023-03-28T09:38:02+00:00\",\n                \"user\": {\n                    \"id\": 45778,\n                    \"email\": \"examplestestprecoro@gmail.com\",\n                    \"company\": {\n                        \"id\": 12565\n                    }\n                },\n                \"supplier\": {\n                    \"supplierRegistrationEmail\": null,\n                    \"id\": null\n                },\n                \"type\": 0,\n                \"size\": \"34 KB\",\n                \"formatType\": \"xlsx\",\n                \"comment\": null\n            }\n        ]\n    }\n}"}],"_postman_id":"810fa605-354e-47a7-b248-4b5d55667f3b"}],"id":"862ff705-cf2e-4e2c-acc6-eaa0d7387da2","_postman_id":"862ff705-cf2e-4e2c-acc6-eaa0d7387da2","description":""},{"name":"Company Payment Terms","item":[{"name":"Get Company Payment Terms list","id":"1496c3ab-41cb-4f4e-82af-fa4fb1c77550","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/paymentterms","urlObject":{"protocol":"https","path":["paymentterms"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"772e52a3-7401-410f-ae8b-da82773a5f4e","name":"Get Company Payment Terms list","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/paymentterms"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 11 Sep 2024 08:32:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Wed, 11 Sep 2024 08:32:37 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=H5f0WvVvCiZc89YsfUx3byAxdBZ5xUb5jxnM%2F2AZ6%2FsBrm07%2F24fNOlvhtGzvDn%2FpzbAziOWGMnklmXvKVHeZ1LOu09Z3dJRIQ51mhNMhym%2BBOD3esNbFa8Z5pUpI%2BZmbg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8c164eeaefa11765-IAD"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 74148,\n            \"name\": \"Prepayment\",\n            \"prepaymentPercent\": 100,\n            \"postpaymentPercent\": 0,\n            \"creditPeriodDays\": 0,\n            \"termsDueDateAfterInvoicing\": 0,\n            \"paymentType\": 0,\n            \"enable\": true,\n            \"externalId\": null\n        },\n        {\n            \"id\": 74149,\n            \"name\": \"Postpayment\",\n            \"prepaymentPercent\": 0,\n            \"postpaymentPercent\": 100,\n            \"creditPeriodDays\": 0,\n            \"termsDueDateAfterInvoicing\": 0,\n            \"paymentType\": 1,\n            \"enable\": true,\n            \"externalId\": null\n        },\n        {\n            \"id\": 75195,\n            \"name\": \"Payment Term #2\",\n            \"prepaymentPercent\": 100,\n            \"postpaymentPercent\": 0,\n            \"creditPeriodDays\": 0,\n            \"termsDueDateAfterInvoicing\": 0,\n            \"paymentType\": 0,\n            \"enable\": false,\n            \"externalId\": null\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 3,\n            \"count\": 3,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": {}\n        }\n    }\n}"}],"_postman_id":"1496c3ab-41cb-4f4e-82af-fa4fb1c77550"},{"name":"Add Company Payment Term","id":"4c604e09-757f-4b32-92d3-43b79e2aba83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Payment Term #2","type":"text","description":"<p>required, string(255), unique </p>\n"},{"key":"enable","value":"0","type":"text","description":"<p>required, bool</p>\n"},{"key":"paymentType","value":"0","type":"text","description":"<p>required, int</p>\n"},{"key":"postpaymentPercent","value":"0","type":"text","description":"<p>required, int(0-100)</p>\n"},{"key":"prepaymentPercent","value":"100","type":"text","description":"<p>required, int(0-100)</p>\n"},{"key":"creditPeriodDays","value":"0","type":"text","description":"<p>int</p>\n"},{"key":"termsDueDateAfterInvoicing","value":"0","description":"<p>int</p>\n","type":"text"}]},"url":"https://api.precoro.com/paymentterms","urlObject":{"protocol":"https","path":["paymentterms"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"71669444-f364-4185-b054-c9fa63a23b2a","name":"Add Company Payment Term","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Payment Term #2","type":"text","description":"required, string(255), unique "},{"key":"enable","value":"0","type":"text","description":"required, bool"},{"key":"paymentType","value":"0","type":"text","description":"required, int"},{"key":"postpaymentPercent","value":"0","type":"text","description":"required, int(0-100)"},{"key":"prepaymentPercent","value":"100","type":"text","description":"required, int(0-100)"},{"key":"creditPeriodDays","value":"0","type":"text","description":"int"},{"key":"termsDueDateAfterInvoicing","value":"0","description":"int","type":"text"}]},"url":"https://api.precoro.com/paymentterms"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 11 Sep 2024 08:32:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Wed, 11 Sep 2024 08:32:20 GMT"},{"key":"set-cookie","value":"PHPSESSID=43j9rp2bjh3lejnj22gq7ipsri; path=/; secure; httponly"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=IMbMm4oUP8byPqz4%2B0bTpO5O%2BTWM%2FP7gHx%2BgP%2F%2FOVI3Qe%2Be6tbxrSFSyF00j4McD2d1cukTFHAJ7rNbaNG0WfDzmD8kyM%2Bzoi7abnQoqJJOg1NZa8or9lxWptqcY1ET4Sw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8c164e7e6ede9c4c-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 75195,\n    \"name\": \"Payment Term #2\",\n    \"prepaymentPercent\": 100,\n    \"postpaymentPercent\": 0,\n    \"creditPeriodDays\": 0,\n    \"termsDueDateAfterInvoicing\": 0,\n    \"paymentType\": 0,\n    \"enable\": false,\n    \"externalId\": null\n}"}],"_postman_id":"4c604e09-757f-4b32-92d3-43b79e2aba83"},{"name":"Update Company Payment Term by ID","id":"2b2848fb-d5f6-446f-a0fd-f2b3d4de47fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Updated Payment Term #2","description":"<p>required, string(255), unique </p>\n","type":"text"},{"key":"enable","value":"1","description":"<p>required, bool</p>\n","type":"text"},{"key":"paymentType","value":"1","description":"<p>required, int</p>\n","type":"text"},{"key":"postpaymentPercent","value":"20","description":"<p>required, int(0-100)</p>\n","type":"text"},{"key":"prepaymentPercent","value":"80","description":"<p>required, int(0-100)</p>\n","type":"text"},{"key":"creditPeriodDays","value":"0","description":"<p>int</p>\n","type":"text"},{"key":"termsDueDateAfterInvoicing","value":"1","type":"text"}]},"url":"https://api.precoro.com/paymentterms/{id}","urlObject":{"protocol":"https","path":["paymentterms","{id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"1769d868-5536-4be2-8234-12397171d004","name":"Update Company Payment Term by ID","originalRequest":{"method":"PUT","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Updated Payment Term #2","description":"required, string(255), unique ","type":"text"},{"key":"enable","value":"1","description":"required, bool","type":"text"},{"key":"paymentType","value":"1","description":"required, int","type":"text"},{"key":"postpaymentPercent","value":"20","description":"required, int(0-100)","type":"text"},{"key":"prepaymentPercent","value":"80","description":"required, int(0-100)","type":"text"},{"key":"creditPeriodDays","value":"0","description":"int","type":"text"},{"key":"termsDueDateAfterInvoicing","value":"1","type":"text"}]},"url":"https://api.precoro.com/paymentterms/{id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 11 Sep 2024 08:34:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Wed, 11 Sep 2024 08:34:29 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ggOXCRhgZYCS9j0F1rz6cIOrX4qS6THXLYscbsm6%2B5wXkCtmXuLOorpdxgtnlo9WLjCuSVETICkNr13K7vRh%2FjAE4cOEt8kMF43MSV2Zo2z186YISVx%2BprNeUpOX10pwlQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8c1651a1fcc48226-IAD"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 75195,\n    \"name\": \"Updated Payment Term #2\",\n    \"prepaymentPercent\": 80,\n    \"postpaymentPercent\": 20,\n    \"creditPeriodDays\": 0,\n    \"termsDueDateAfterInvoicing\": 1,\n    \"paymentType\": 1,\n    \"enable\": true,\n    \"externalId\": null\n}"}],"_postman_id":"2b2848fb-d5f6-446f-a0fd-f2b3d4de47fb"},{"name":"Set Company Payment Term ExternalId by ID","id":"2173c31f-0d70-4466-b16a-d7ef253f16c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token"},{"key":"email","value":"user@company.com"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"externalId","value":"20","description":"<p>string</p>\n","type":"text"}]},"url":"https://api.precoro.com/paymentterms/{id}","urlObject":{"protocol":"https","path":["paymentterms","{id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"01f7e654-fc9f-44d1-8b60-159b01ae8e08","name":"Set Company Payment Term ExternalId by ID","originalRequest":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token"},{"key":"email","value":"user@company.com"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"externalId","value":"20","type":"text"}]},"url":"https://api.precoro.com/paymentterms/{id}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jun 2024 14:56:50 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Thu, 06 Jun 2024 14:56:50 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=7RqqstItI0veIsuMZkgKCD%2Fp3a8bo1WQ%2FoTHeB0gvFo0c3UcRlkC8SR1rDkOV%2FmAmj6buzlKsmh5%2B6KQkiWWI0Ne%2BVp1BN%2B4OOVf0FZ9d4RvM1OlxiS%2BDXIsnWkwvqs3QA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"88f9405b6eba879a-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 47360,\n    \"name\": \"Net30\",\n    \"prepaymentPercent\": 0,\n    \"postpaymentPercent\": 100,\n    \"creditPeriodDays\": 30,\n    \"paymentType\": 1,\n    \"enable\": true,\n    \"externalId\": \"20\"\n}"}],"_postman_id":"2173c31f-0d70-4466-b16a-d7ef253f16c2"}],"id":"13710d45-6ba4-4637-985b-c894c54e789b","description":"<p>Payment type description:</p>\n<p><strong>Pre-payment</strong> = 0 - only if prepayment percent is 100%</p>\n<p><strong>Post-payment</strong> = 1</p>\n<p>Terms due date after invoicing types description:</p>\n<p><strong>Due in a fixed number of days</strong> = 0</p>\n<p><strong>Due by a certain date of this month</strong> = 1</p>\n<p><strong>Due by a certain date of the next month</strong> = 2</p>\n","_postman_id":"13710d45-6ba4-4637-985b-c894c54e789b"},{"name":"Configuration","item":[{"name":"Locations","item":[{"name":"Get Locations list","id":"bb6f5efd-1052-467b-885a-b1f9dd205bc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/locations","description":"<h2 id=\"external_id-filter\"><code>external_id[]</code> filter</h2>\n<p>Filter results by <code>externalId</code> — the identifier set on a Precoro record by your external system.</p>\n<p><strong>Rules:</strong></p>\n<ul>\n<li>Must be passed as an <strong>array</strong>: <code>external_id[]=101&amp;external_id[]=102</code></li>\n<li>Single value (<code>external_id=101</code>) is <strong>silently ignored</strong></li>\n<li>Values must be <strong>numeric</strong> — non-numeric values cause the filter to be silently skipped (full unfiltered list is returned)</li>\n<li>Maximum <strong>200</strong> values; exceeding this returns <code>400 Bad Request</code></li>\n</ul>\n<p><strong>Error response (&gt;200 values):</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"errors\": {\n        \"errors\": {\n            \"item_filter\": \"Too many external_id filter params. Maximum amount is 200\"\n        }\n    }\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["locations"],"host":["api","precoro","com"],"query":[{"disabled":true,"description":{"content":"<p>Filter by externalId. Must be a numeric string. Repeat this param to pass multiple values: external_id[]=101&amp;external_id[]=102</p>\n","type":"text/plain"},"key":"external_id[]","value":"1"},{"disabled":true,"description":{"content":"<p>Add another value. Maximum 200 values total. Non-numeric values silently disable the filter.</p>\n","type":"text/plain"},"key":"external_id[]","value":"2"}],"variable":[]}},"response":[{"id":"d8cc9821-a062-4761-b5d6-56b08fe9c953","name":"Get Locations list","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/locations"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Date","value":"Mon, 11 Feb 2019 15:09:00 GMT"},{"key":"Strict-Transport-Security","value":"max-age=15768000"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 5610,\n            \"uniqueCode\": \"002\",\n            \"name\": \"Backoffice\",\n            \"createDate\": \"2019-01-18T14:54:19+00:00\",\n            \"fullAddress\": \"1337 Pancake Street, New York, New York, USA\",\n            \"phone\": \"620-674-2288\",\n            \"allLocationsAccessLegalEntities\": true\n        },\n        {\n            \"id\": 5609,\n            \"uniqueCode\": \"001\",\n            \"name\": \"Head office demo\",\n            \"createDate\": \"2019-01-18T14:22:15+00:00\",\n            \"fullAddress\": \"4933  Preston Street, New York, New York, USA\",\n            \"phone\": \"620-874-1177\",\n            \"allLocationsAccessLegalEntities\": true\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 2,\n            \"count\": 2,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": []\n        }\n    }\n}"}],"_postman_id":"bb6f5efd-1052-467b-885a-b1f9dd205bc4"},{"name":"Add Location","id":"3266138e-b778-4f28-8f51-2b6ab6394187","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"uniqueCode","value":"011-A35","description":"<p>string(155), unique</p>\n","type":"text"},{"key":"name","value":"Main Office ","description":"<p>string(155), required, unique</p>\n","type":"text"},{"key":"fullAddress","value":"934 Java Lane, North Augusta, South Carolina, USA","description":"<p>string(255)</p>\n","type":"text"},{"key":"phone","value":"+1-222-555-4444","description":"<p>string(50)</p>\n","type":"text"},{"key":"allLocationsAccessLegalEntities","value":"1","description":"<p>bool, default(true)</p>\n","type":"text"},{"key":"enable","value":"1","description":"<p>bool, default(false)</p>\n","type":"text"}]},"url":"https://api.precoro.com/locations","urlObject":{"protocol":"https","path":["locations"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"cce64b7e-c374-41b4-ae43-03ce70151b39","name":"Add Location","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"uniqueCode","value":"011-A35","description":"string(155), unique","type":"text"},{"key":"name","value":"Main Office ","description":"string(155), required, unique","type":"text"},{"key":"fullAddress","value":"934 Java Lane, North Augusta, South Carolina, USA","description":"string(255)","type":"text"},{"key":"phone","value":"+1-222-555-4444","description":"string(50)","type":"text"},{"key":"allLocationsAccessLegalEntities","value":"1","description":"bool, default(true)","type":"text"},{"key":"enable","value":"1","description":"bool, default(false)","type":"text"}]},"url":"https://api.precoro.com/locations"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Date","value":"Thu, 07 Apr 2022 07:59:01 GMT"},{"key":"X-Debug-Token","value":"1e3907"},{"key":"Expires","value":"Thu, 07 Apr 2022 07:59:01 GMT"},{"key":"Set-Cookie","value":"sf_redirect=%7B%22token%22%3A%221e3907%22%2C%22route%22%3A%22api__location_rest_locationrest_postlocation%22%2C%22method%22%3A%22POST%22%2C%22controller%22%3A%7B%22class%22%3A%22Controller%5C%5CLocation%5C%5CRest%5C%5CLocationRestController%22%2C%22method%22%3A%22postLocationAction%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fwww%5C%2Fprecoro.com%5C%2Fhtml%5C%2Freleases%5C%2F217%5C%2Fsrc%5C%2FController%5C%2FLocation%5C%2FRest%5C%2FLocationRestController.php%22%2C%22line%22%3A157%7D%2C%22status_code%22%3A201%2C%22status_text%22%3A%22Created%22%7D; path=/; secure; httponly; samesite=lax"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 45070,\n    \"uniqueCode\": \"011-A35\",\n    \"name\": \"Main Office\",\n    \"createDate\": \"2022-04-07T07:59:01+00:00\",\n    \"fullAddress\": \"934 Java Lane, North Augusta, South Carolina, USA\",\n    \"phone\": \"+1-222-555-4444\",\n    \"allLocationsAccessLegalEntities\": true,\n    \"enable\": true,\n    \"locationAddress\": [],\n    \"legalEntities\": {\n        \"data\": []\n    }\n}"}],"_postman_id":"3266138e-b778-4f28-8f51-2b6ab6394187"},{"name":"Update Location by ID","id":"eefa69fb-56a8-48e4-a17a-186250e077ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"uniqueCode","value":"015-B33","description":"<p>string(155), unique</p>\n","type":"text"},{"key":"name","value":"Second Office ","description":"<p>string(155), required, unique</p>\n","type":"text"},{"key":"fullAddress","value":"20 Huckleberry Hill Road, New Canaan,ct, 6840  USA","description":"<p>string(255)</p>\n","type":"text"},{"key":"phone","value":"+1-333-444-9999","description":"<p>string(50)</p>\n","type":"text"},{"key":"allLocationsAccessLegalEntities","value":"1","description":"<p>bool, default(true)</p>\n","type":"text"},{"key":"enable","value":"1","description":"<p>bool, default(false)</p>\n","type":"text"}]},"url":"https://api.precoro.com/locations/{id}","urlObject":{"protocol":"https","path":["locations","{id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"6a313ebb-30b9-4dbc-9002-f3c816675046","name":"Update Location by ID","originalRequest":{"method":"PUT","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"uniqueCode","value":"015-B33","description":"string(155), unique","type":"text"},{"key":"name","value":"Second Office ","description":"string(155), required, unique","type":"text"},{"key":"fullAddress","value":"20 Huckleberry Hill Road, New Canaan,ct, 6840  USA","description":"string(255)","type":"text"},{"key":"phone","value":"+1-333-444-9999","description":"string(50)","type":"text"},{"key":"allLocationsAccessLegalEntities","value":"1","description":"bool, default(true)","type":"text"},{"key":"enable","value":"1","description":"bool, default(false)","type":"text"}]},"url":"https://api.precoro.com/locations/{id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Date","value":"Thu, 07 Apr 2022 08:32:41 GMT"},{"key":"X-Debug-Token","value":"1e75f9"},{"key":"Expires","value":"Thu, 07 Apr 2022 08:32:41 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 45069,\n    \"uniqueCode\": \"015-B33\",\n    \"name\": \"Second Office\",\n    \"createDate\": \"2022-04-07T07:49:25+00:00\",\n    \"fullAddress\": \"20 Huckleberry Hill Road, New Canaan,ct, 6840  USA\",\n    \"phone\": \"+1-333-444-9999\",\n    \"allLocationsAccessLegalEntities\": true,\n    \"enable\": true,\n    \"locationAddress\": [],\n    \"legalEntities\": {\n        \"data\": []\n    }\n}"}],"_postman_id":"eefa69fb-56a8-48e4-a17a-186250e077ea"},{"name":"Set Location ExternalId by ID","id":"43dd7e19-7860-4d31-9f04-d7a729c5dc34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token"},{"key":"email","value":"user@company.com"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"externalId","value":"20","description":"<p>string</p>\n","type":"text"}]},"url":"https://api.precoro.com/locations/{id}","urlObject":{"protocol":"https","path":["locations","{id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"41497f00-90b7-4ab2-9a08-4447bfa2dc95","name":"Set Location ExternalId by ID","originalRequest":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token"},{"key":"email","value":"user@company.com"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"externalId","value":"20","type":"text"}]},"url":"https://api.precoro.com/locations/{id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 07 Jun 2024 06:40:03 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 07 Jun 2024 06:40:03 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=3E7VERKDlWHnynsr8bIF6uPp0nGGrfspL6ute67nte%2B%2Fqi6%2B6ggsLfvKC9%2Bf%2BVYbZ6otBHP0IIgvTTujZk87CRFHuUyp6ERqAHZQ1xVyZD21wajOHUgztgbufQeVhSbRmA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"88fea6015ecb3b18-IAD"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 93055,\n    \"uniqueCode\": null,\n    \"name\": \"67 Albion\",\n    \"createDate\": \"2024-02-22T14:27:14+00:00\",\n    \"updateDate\": \"2024-06-07T06:40:03+00:00\",\n    \"fullAddress\": null,\n    \"afaxysLocationId\": null,\n    \"phone\": null,\n    \"allLocationsAccessLegalEntities\": true,\n    \"enable\": true,\n    \"locationAddress\": {\n        \"id\": 2924,\n        \"country\": \"United Kingdom\",\n        \"iso2\": \"GB\",\n        \"state\": \"England\",\n        \"city\": \"Leeds\",\n        \"address\": \"67 Albion St, Leeds LS1 5AA, UK\",\n        \"postal\": \"LS1 5AA\",\n        \"location\": {\n            \"id\": 93055\n        }\n    },\n    \"externalId\": \"20\",\n    \"legalEntities\": {\n        \"data\": []\n    }\n}"}],"_postman_id":"43dd7e19-7860-4d31-9f04-d7a729c5dc34"}],"id":"a1404399-80a3-4ac7-8ea6-d33315fa4453","_postman_id":"a1404399-80a3-4ac7-8ea6-d33315fa4453","description":""},{"name":"Users","item":[{"name":"Get Users list","id":"d24f3d2b-22b6-4a3f-ab85-156b60c2c202","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/users","urlObject":{"protocol":"https","path":["users"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"4ca9d66f-0853-4b2d-a54b-72e4703cc799","name":"Get Users list","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Date","value":"Mon, 11 Feb 2019 15:09:16 GMT"},{"key":"Strict-Transport-Security","value":"max-age=15768000"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 7378,\n            \"createDate\": \"2019-01-18T14:22:15+00:00\",\n            \"updateDate\": \"2019-02-11T15:09:16+00:00\",\n            \"email\": \"demo_template@email.com\",\n            \"locale\": \"en\",\n            \"phone\": \"+1 432 765 09 87\",\n            \"firstname\": \"Demo\",\n            \"lastname\": \"User\",\n            \"position\": \"-\",\n            \"location\": {\n                \"id\": 5609\n            },\n            \"allLocationsAccess\": true,\n            \"allUserDocumentCostcentersAccess\": true,\n            \"allProductGroupsAccess\": true,\n            \"roles\": [\n                \"ROLE_WAREHOUSE_REQUEST\",\n                \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n                \"ROLE_PURCHASE_REQUISITION\",\n                \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n                \"ROLE_REQUEST_FOR_PROPOSAL\",\n                \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n                \"ROLE_PURCHASE_ORDER\",\n                \"ROLE_PURCHASE_ORDER_APPROVAL\",\n                \"ROLE_RECEIPT\",\n                \"ROLE_RECEIPT_APPROVAL\",\n                \"ROLE_INVOICE\",\n                \"ROLE_INVOICE_APPROVAL\",\n                \"ROLE_PAYMENT\",\n                \"ROLE_REPORT\",\n                \"ROLE_BUDGET_HOLDER\",\n                \"ROLE_WAREHOUSE_MANAGER\",\n                \"ROLE_SUPPLIER_MANAGEMENT\",\n                \"ROLE_CONFIGURATION\"\n            ]\n        },\n        {\n            \"id\": 7379,\n            \"createDate\": \"2019-01-18T15:09:58+00:00\",\n            \"updateDate\": \"2019-01-18T15:12:45+00:00\",\n            \"email\": \"pr_initiator@testmail.com\",\n            \"locale\": \"en\",\n            \"phone\": \"+1 123 654 70 09\",\n            \"firstname\": \"Hannah\",\n            \"lastname\": \"Stone\",\n            \"position\": \"PR initiator\",\n            \"location\": {\n                \"id\": 5609\n            },\n            \"allLocationsAccess\": true,\n            \"allUserDocumentCostcentersAccess\": true,\n            \"allProductGroupsAccess\": true,\n            \"roles\": [\n                \"ROLE_PURCHASE_REQUISITION\",\n                \"ROLE_REQUEST_FOR_PROPOSAL\"\n            ]\n        },\n        {\n            \"id\": 7380,\n            \"createDate\": \"2019-01-18T15:12:09+00:00\",\n            \"updateDate\": \"2019-01-18T15:23:10+00:00\",\n            \"email\": \"po_initiator@testmail.com\",\n            \"locale\": \"en\",\n            \"phone\": \"+1 234 567 89 00\",\n            \"firstname\": \"James\",\n            \"lastname\": \"Page\",\n            \"position\": \"PO initiator\",\n            \"location\": {\n                \"id\": 5609\n            },\n            \"allLocationsAccess\": true,\n            \"allUserDocumentCostcentersAccess\": true,\n            \"allProductGroupsAccess\": true,\n            \"roles\": [\n                \"ROLE_PURCHASE_ORDER\",\n                \"ROLE_INVOICE\",\n                \"ROLE_RECEIPT\"\n            ]\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 3,\n            \"count\": 3,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": []\n        }\n    }\n}"}],"_postman_id":"d24f3d2b-22b6-4a3f-ab85-156b60c2c202"}],"id":"7f71ab2c-45cb-4387-ae60-53c0f00addaa","_postman_id":"7f71ab2c-45cb-4387-ae60-53c0f00addaa","description":""},{"name":"Item Сustom Fields","item":[{"name":"Get Item Сustom Fields list","id":"fc68da2c-c214-4293-897e-6934350aa74f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/itemcustomfields","description":"<p>Type values description:  </p>\n<p><strong>SELECT</strong> = 1<br /><strong>TEXT</strong> = 2<br /><strong>DATE</strong> = 3</p>\n","urlObject":{"protocol":"https","path":["itemcustomfields"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"c42e8bc6-d2df-4289-a92c-b4da8199073a","name":"Get Item Сustom Fields list","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","type":"text","value":"your_company_token"},{"key":"email","type":"text","value":"user@company.com"}],"url":"https://api.precoro.com/itemcustomfields"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Sun, 21 Mar 2021 09:14:54 GMT"},{"key":"Expires","value":"Sun, 21 Mar 2021 09:14:54 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly"},{"key":"Set-Cookie","value":"sf_redirect=deleted; expires=Sat, 21-Mar-2020 09:14:53 GMT; Max-Age=0; path=/; httponly"},{"key":"X-Debug-Token","value":"cb830f"},{"key":"X-Debug-Token-Link","value":"http://127.0.0.1:8000/_profiler/cb830f"},{"key":"X-Powered-By","value":"PHP/7.4.7"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 6490,\n            \"createDate\": \"2021-03-20T10:54:07+00:00\",\n            \"updateDate\": \"2021-03-21T19:29:13+00:00\",\n            \"name\": \"Cost centers\",\n            \"required\": true,\n            \"enable\": true,\n            \"type\": 1,\n            \"unload\": false,\n            \"position\": null,\n            \"useCodeInDocuments\": false,\n            \"enableWarehouseRequest\": false,\n            \"enablePurchaseRequisition\": false,\n            \"enablePurchaseOrder\": true,\n            \"enableReceipt\": false,\n            \"enableInvoice\": true,\n            \"enableProducts\": true,\n            \"availableInBudgets\": true,\n            \"typeString\": \"Select\",\n            \"options\": {\n                \"data\": [\n                    {\n                        \"id\": 75699,\n                        \"name\": \"Furniture and Equipment\",\n                        \"code\": \"15000\",\n                        \"label\": \"Furniture and Equipment\",\n                        \"level\": 1,\n                        \"parent\": {\n                            \"id\": null\n                        },\n                        \"externalId\": null,\n                        \"enable\": true\n                    },\n                    {\n                        \"id\": 75700,\n                        \"name\": \"Freight and Shipping Costs\",\n                        \"code\": \"51100\",\n                        \"label\": \"Freight and Shipping Costs\",\n                        \"level\": 1,\n                        \"parent\": {\n                            \"id\": null\n                        },\n                        \"externalId\": null,\n                        \"enable\": true\n                    },\n                    {\n                        \"id\": 75701,\n                        \"name\": \"Advertising and Promotion\",\n                        \"code\": \"60000\",\n                        \"label\": \"Advertising and Promotion\",\n                        \"level\": 1,\n                        \"parent\": {\n                            \"id\": null\n                        },\n                        \"externalId\": null,\n                        \"enable\": true\n                    },\n                    {\n                        \"id\": 75702,\n                        \"name\": \"Computer and Internet Expenses\",\n                        \"code\": \"61700\",\n                        \"label\": \"Computer and Internet Expenses\",\n                        \"level\": 1,\n                        \"parent\": {\n                            \"id\": null\n                        },\n                        \"externalId\": null,\n                        \"enable\": true\n                    },\n                    {\n                        \"id\": 75703,\n                        \"name\": \"Meals and Entertainment\",\n                        \"code\": \"64300\",\n                        \"label\": \"Meals and Entertainment\",\n                        \"level\": 1,\n                        \"parent\": {\n                            \"id\": null\n                        },\n                        \"externalId\": null,\n                        \"enable\": true\n                    },\n                    {\n                        \"id\": 75704,\n                        \"name\": \"Office Supplies\",\n                        \"code\": \"64900\",\n                        \"label\": \"Office Supplies\",\n                        \"level\": 1,\n                        \"parent\": {\n                            \"id\": null\n                        },\n                        \"externalId\": null,\n                        \"enable\": true\n                    },\n                    {\n                        \"id\": 75705,\n                        \"name\": \"Telephone Expense\",\n                        \"code\": \"68100\",\n                        \"label\": \"Telephone Expense\",\n                        \"level\": 1,\n                        \"parent\": {\n                            \"id\": null\n                        },\n                        \"externalId\": null,\n                        \"enable\": true\n                    },\n                    {\n                        \"id\": 75706,\n                        \"name\": \"Travel Expense\",\n                        \"code\": \"68400\",\n                        \"label\": \"Travel Expense\",\n                        \"level\": 1,\n                        \"parent\": {\n                            \"id\": null\n                        },\n                        \"externalId\": null,\n                        \"enable\": true\n                    },\n                    {\n                        \"id\": 75707,\n                        \"name\": \"Utilities\",\n                        \"code\": \"68600\",\n                        \"label\": \"Utilities\",\n                        \"level\": 1,\n                        \"parent\": {\n                            \"id\": null\n                        },\n                        \"externalId\": null,\n                        \"enable\": true\n                    },\n                    {\n                        \"id\": 75708,\n                        \"name\": \"Ask My Accountant\",\n                        \"code\": \"80000\",\n                        \"label\": \"Ask My Accountant\",\n                        \"level\": 1,\n                        \"parent\": {\n                            \"id\": null\n                        },\n                        \"externalId\": null,\n                        \"enable\": true\n                    },\n                    {\n                        \"id\": 75709,\n                        \"name\": \"Marketing Expense\",\n                        \"code\": \"64200\",\n                        \"label\": \"Marketing Expense\",\n                        \"level\": 1,\n                        \"parent\": {\n                            \"id\": null\n                        },\n                        \"externalId\": null,\n                        \"enable\": true\n                    },\n                    {\n                        \"id\": 75710,\n                        \"name\": \"Rent Expense\",\n                        \"code\": \"67100\",\n                        \"label\": \"Rent Expense\",\n                        \"level\": 1,\n                        \"parent\": {\n                            \"id\": null\n                        },\n                        \"externalId\": null,\n                        \"enable\": true\n                    },\n                    {\n                        \"id\": 75711,\n                        \"name\": \"Dues and Subscriptions\",\n                        \"code\": \"62500\",\n                        \"label\": \"Dues and Subscriptions\",\n                        \"level\": 1,\n                        \"parent\": {\n                            \"id\": null\n                        },\n                        \"externalId\": null,\n                        \"enable\": true\n                    },\n                    {\n                        \"id\": 75712,\n                        \"name\": \"Professional Fees\",\n                        \"code\": \"66700\",\n                        \"label\": \"Professional Fees\",\n                        \"level\": 1,\n                        \"parent\": {\n                            \"id\": null\n                        },\n                        \"externalId\": null,\n                        \"enable\": true\n                    },\n                    {\n                        \"id\": 75713,\n                        \"name\": \"Repairs and Maintenance\",\n                        \"code\": \"67200\",\n                        \"label\": \"Repairs and Maintenance\",\n                        \"level\": 1,\n                        \"parent\": {\n                            \"id\": null\n                        },\n                        \"externalId\": null,\n                        \"enable\": true\n                    },\n                    {\n                        \"id\": 75714,\n                        \"name\": \"Janitorial Expense\",\n                        \"code\": \"63500\",\n                        \"label\": \"Janitorial Expense\",\n                        \"level\": 1,\n                        \"parent\": {\n                            \"id\": null\n                        },\n                        \"externalId\": null,\n                        \"enable\": true\n                    },\n                    {\n                        \"id\": 75715,\n                        \"name\": \"Postage, Mailing Service\",\n                        \"code\": \"65020\",\n                        \"label\": \"Postage, Mailing Service\",\n                        \"level\": 1,\n                        \"parent\": {\n                            \"id\": null\n                        },\n                        \"externalId\": null,\n                        \"enable\": true\n                    },\n                    {\n                        \"id\": 75716,\n                        \"name\": \"updated Option\",\n                        \"code\": null,\n                        \"label\": \"updated Option\",\n                        \"level\": 1,\n                        \"parent\": {\n                            \"id\": null\n                        },\n                        \"externalId\": 123,\n                        \"enable\": true\n                    }\n                ]\n            }\n        },\n        {\n            \"id\": 6491,\n            \"createDate\": \"2021-03-21T09:03:26+00:00\",\n            \"updateDate\": \"2021-03-21T12:13:44+00:00\",\n            \"name\": \"Comment\",\n            \"required\": false,\n            \"enable\": true,\n            \"type\": 2,\n            \"unload\": false,\n            \"position\": null,\n            \"useCodeInDocuments\": false,\n            \"enableWarehouseRequest\": false,\n            \"enablePurchaseRequisition\": false,\n            \"enablePurchaseOrder\": true,\n            \"enableReceipt\": false,\n            \"enableInvoice\": false,\n            \"enableProducts\": false,\n            \"availableInBudgets\": false,\n            \"typeString\": \"Text\",\n            \"options\": {\n                \"data\": []\n            }\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 2,\n            \"count\": 2,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": {}\n        }\n    }\n}"}],"_postman_id":"fc68da2c-c214-4293-897e-6934350aa74f"},{"name":"Get Item Сustom Field by ID","id":"4b13aad3-a953-4eb6-89e5-4dfa669b6e1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/itemcustomfields/{id}","urlObject":{"protocol":"https","path":["itemcustomfields","{id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"6b5b8cdd-9f78-43d4-a72c-c360124bdd24","name":"Get Item Сustom Field by ID","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/itemcustomfields/{id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Sun, 21 Mar 2021 09:16:44 GMT"},{"key":"Expires","value":"Sun, 21 Mar 2021 09:16:44 GMT"},{"key":"X-Debug-Token","value":"0e34ab"},{"key":"X-Debug-Token-Link","value":"http://127.0.0.1:8000/_profiler/0e34ab"},{"key":"X-Powered-By","value":"PHP/7.4.7"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 6490,\n    \"createDate\": \"2021-03-20T10:54:07+00:00\",\n    \"updateDate\": \"2021-03-21T19:29:13+00:00\",\n    \"name\": \"Cost centers\",\n    \"required\": true,\n    \"enable\": true,\n    \"type\": 1,\n    \"unload\": false,\n    \"position\": null,\n    \"useCodeInDocuments\": false,\n    \"enableWarehouseRequest\": false,\n    \"enablePurchaseRequisition\": false,\n    \"enablePurchaseOrder\": true,\n    \"enableReceipt\": false,\n    \"enableInvoice\": true,\n    \"enableProducts\": true,\n    \"availableInBudgets\": true,\n    \"typeString\": \"Select\",\n    \"options\": {\n        \"data\": [\n            {\n                \"id\": 75699,\n                \"name\": \"Furniture and Equipment\",\n                \"code\": \"15000\",\n                \"label\": \"Furniture and Equipment\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"externalId\": null,\n                \"enable\": true\n            },\n            {\n                \"id\": 75700,\n                \"name\": \"Freight and Shipping Costs\",\n                \"code\": \"51100\",\n                \"label\": \"Freight and Shipping Costs\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"externalId\": null,\n                \"enable\": true\n            },\n            {\n                \"id\": 75701,\n                \"name\": \"Advertising and Promotion\",\n                \"code\": \"60000\",\n                \"label\": \"Advertising and Promotion\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"externalId\": null,\n                \"enable\": true\n            },\n            {\n                \"id\": 75702,\n                \"name\": \"Computer and Internet Expenses\",\n                \"code\": \"61700\",\n                \"label\": \"Computer and Internet Expenses\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"externalId\": null,\n                \"enable\": true\n            },\n            {\n                \"id\": 75703,\n                \"name\": \"Meals and Entertainment\",\n                \"code\": \"64300\",\n                \"label\": \"Meals and Entertainment\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"externalId\": null,\n                \"enable\": true\n            },\n            {\n                \"id\": 75704,\n                \"name\": \"Office Supplies\",\n                \"code\": \"64900\",\n                \"label\": \"Office Supplies\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"externalId\": null,\n                \"enable\": true\n            },\n            {\n                \"id\": 75705,\n                \"name\": \"Telephone Expense\",\n                \"code\": \"68100\",\n                \"label\": \"Telephone Expense\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"externalId\": null,\n                \"enable\": true\n            },\n            {\n                \"id\": 75706,\n                \"name\": \"Travel Expense\",\n                \"code\": \"68400\",\n                \"label\": \"Travel Expense\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"externalId\": null,\n                \"enable\": true\n            },\n            {\n                \"id\": 75707,\n                \"name\": \"Utilities\",\n                \"code\": \"68600\",\n                \"label\": \"Utilities\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"externalId\": null,\n                \"enable\": true\n            },\n            {\n                \"id\": 75708,\n                \"name\": \"Ask My Accountant\",\n                \"code\": \"80000\",\n                \"label\": \"Ask My Accountant\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"externalId\": null,\n                \"enable\": true\n            },\n            {\n                \"id\": 75709,\n                \"name\": \"Marketing Expense\",\n                \"code\": \"64200\",\n                \"label\": \"Marketing Expense\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"externalId\": null,\n                \"enable\": true\n            },\n            {\n                \"id\": 75710,\n                \"name\": \"Rent Expense\",\n                \"code\": \"67100\",\n                \"label\": \"Rent Expense\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"externalId\": null,\n                \"enable\": true\n            },\n            {\n                \"id\": 75711,\n                \"name\": \"Dues and Subscriptions\",\n                \"code\": \"62500\",\n                \"label\": \"Dues and Subscriptions\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"externalId\": null,\n                \"enable\": true\n            },\n            {\n                \"id\": 75712,\n                \"name\": \"Professional Fees\",\n                \"code\": \"66700\",\n                \"label\": \"Professional Fees\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"externalId\": null,\n                \"enable\": true\n            },\n            {\n                \"id\": 75713,\n                \"name\": \"Repairs and Maintenance\",\n                \"code\": \"67200\",\n                \"label\": \"Repairs and Maintenance\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"externalId\": null,\n                \"enable\": true\n            },\n            {\n                \"id\": 75714,\n                \"name\": \"Janitorial Expense\",\n                \"code\": \"63500\",\n                \"label\": \"Janitorial Expense\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"externalId\": null,\n                \"enable\": true\n            },\n            {\n                \"id\": 75715,\n                \"name\": \"Postage, Mailing Service\",\n                \"code\": \"65020\",\n                \"label\": \"Postage, Mailing Service\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"externalId\": null,\n                \"enable\": true\n            },\n            {\n                \"id\": 75716,\n                \"name\": \"updated Option\",\n                \"code\": null,\n                \"label\": \"updated Option\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"externalId\": 123,\n                \"enable\": true\n            }\n        ]\n    }\n}"}],"_postman_id":"4b13aad3-a953-4eb6-89e5-4dfa669b6e1a"},{"name":"Add Item Custom Field Option","id":"6719a703-8f93-4f86-896a-520476da19b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"New Option","description":"<p>required</p>\n","type":"text"},{"key":"code","value":"","type":"text"},{"key":"enable","value":"1","type":"text"},{"key":"externalId","value":"123","type":"text"}]},"url":"https://api.precoro.com/itemcustomfields/{id}/options","urlObject":{"protocol":"https","path":["itemcustomfields","{id}","options"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"be18fd03-83e4-466b-911d-6da3aeb8381b","name":"Add Item Custom Field Option","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"New Option","description":"required","type":"text"},{"key":"code","value":"","type":"text"},{"key":"enable","value":"1","type":"text"},{"key":"parent[id]","value":"","type":"text","disabled":true}]},"url":"https://api.precoro.com/itemcustomfields/{id}/options"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Sun, 21 Mar 2021 09:19:37 GMT"},{"key":"Expires","value":"Sun, 21 Mar 2021 09:19:37 GMT"},{"key":"Set-Cookie","value":"sf_redirect=%7B%22token%22%3A%22cbdd72%22%2C%22route%22%3A%22api_post_productcustomfield_option%22%2C%22method%22%3A%22POST%22%2C%22controller%22%3A%7B%22class%22%3A%22Precoro%5C%5CCostcenterBundle%5C%5CController%5C%5CProductCustomFieldOptionRestController%22%2C%22method%22%3A%22postProductcustomfieldOptionAction%22%2C%22file%22%3A%22%5C%2FUsers%5C%2Fmarkiianmahura%5C%2FPhpstormProjects%5C%2Fprecoro%5C%2Fsrc%5C%2FPrecoro%5C%2FCostcenterBundle%5C%2FController%5C%2FProductCustomFieldOptionRestController.php%22%2C%22line%22%3A32%7D%2C%22status_code%22%3A201%2C%22status_text%22%3A%22Created%22%7D; path=/; httponly; samesite=lax"},{"key":"X-Debug-Token","value":"cbdd72"},{"key":"X-Debug-Token-Link","value":"http://127.0.0.1:8000/_profiler/cbdd72"},{"key":"X-Powered-By","value":"PHP/7.4.7"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Content-Length","value":"110"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 75716,\n    \"name\": \"New Option\",\n    \"code\": null,\n    \"label\": \"New Option\",\n    \"level\": 1,\n    \"parent\": {\n        \"id\": null\n    },\n    \"externalId\": 123,\n    \"enable\": true\n}"}],"_postman_id":"6719a703-8f93-4f86-896a-520476da19b5"},{"name":"Update Item Custom Field Option","id":"c9ac912f-23a5-4f20-ad14-d09a6d224025","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"updated Option","description":"<p>required</p>\n","type":"text"},{"key":"code","value":"","type":"text"},{"key":"enable","value":"1","type":"text"},{"key":"externalId","value":"123","type":"text"}]},"url":"https://api.precoro.com/itemcustomfields/{id}/options/{option_id}","urlObject":{"protocol":"https","path":["itemcustomfields","{id}","options","{option_id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"7528707a-5bdc-4c73-93ad-feddddc55581","name":"Update Item Custom Field Option","originalRequest":{"method":"PUT","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"updated Option","description":"required","type":"text"},{"key":"code","value":"","type":"text"},{"key":"enable","value":"1","type":"text"},{"key":"parent[id]","value":"","type":"text"},{"key":"externalId","value":"123","type":"text"}]},"url":"https://api.precoro.com/itemcustomfields/{id}/options/{option_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Sun, 21 Mar 2021 20:54:08 GMT"},{"key":"Expires","value":"Sun, 21 Mar 2021 20:54:08 GMT"},{"key":"X-Debug-Token","value":"b68000"},{"key":"X-Debug-Token-Link","value":"http://127.0.0.1:8000/_profiler/b68000"},{"key":"X-Powered-By","value":"PHP/7.4.7"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Content-Length","value":"135"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 75716,\n    \"name\": \"updated Option\",\n    \"code\": null,\n    \"label\": \"updated Option\",\n    \"level\": 1,\n    \"parent\": {\n        \"id\": null\n    },\n    \"externalId\": 123,\n    \"enable\": true\n}"}],"_postman_id":"c9ac912f-23a5-4f20-ad14-d09a6d224025"},{"name":"Set Item Custom Field Option ExternalId by ID","id":"01056d6e-6b43-49b4-9084-cf010dad9a5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token"},{"key":"email","value":"user@company.com"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"externalId","value":"20","type":"text","description":"<p>string</p>\n"}]},"url":"https://api.precoro.com/itemcustomfields/{id}/options/{option_id}","urlObject":{"protocol":"https","path":["itemcustomfields","{id}","options","{option_id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"b69c2d0d-83cb-4c68-92e2-fcd176a2ad3e","name":"Set Item Custom Field Option ExternalId by ID","originalRequest":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token"},{"key":"email","value":"user@company.com"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"externalId","value":"20","type":"text"}]},"url":"https://api.precoro.com/itemcustomfields/{id}/options/{option_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jun 2024 15:01:23 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Thu, 06 Jun 2024 15:01:23 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=%2FPMzVQc9P5hLBnb4mkYSS6YaYm%2FIR6EUxn1kLV3XCfeocbDgSZusLFsssdBLEpuQymfgOYg5Ilby8G99WZvGU3kzOkEXiF9%2B8hCV56Tqa4pTuxaMYznNQAtK2JzOtjN8CA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"88f947035b5259f1-IAD"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 608455,\n    \"name\": \"Cost 1\",\n    \"code\": \"1\",\n    \"label\": \"1 - Cost 1\",\n    \"level\": 1,\n    \"parent\": {\n        \"id\": null\n    },\n    \"netSuiteId\": null,\n    \"externalId\": \"20\",\n    \"enable\": true\n}"}],"_postman_id":"01056d6e-6b43-49b4-9084-cf010dad9a5c"},{"name":"Add LE-ICF Depend","id":"666ae3fb-b1c3-4b02-b4c9-77183d13990a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"item_custom_field_option_id","value":"{option_id}","description":"<p>int, ID of an DCF option for depend</p>\n","type":"text","uuid":"dc6c9bbc-7912-4685-89d1-8ba220844c51"},{"key":"depend_type","value":"1","type":"text","uuid":"e043b27e-0209-4c0c-a46c-ddf8953602e6"},{"key":"entity_ids","value":"{legal_entity_id}","description":"<p>int/array, ID of the Legal Entity on which the DCF option will depend. To add multiple LEs, use the following structure: [id1, id2, id3]</p>\n","type":"text","uuid":"d6d951da-1b66-400c-8996-523fb1d1780b"}]},"url":"https://api.precoro.com/itemcustomfields/options/depend_add","description":"<p>This request is available only to those who use the “Set up access by legal entity” feature</p>\n","urlObject":{"protocol":"https","path":["itemcustomfields","options","depend_add"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"76a9dd47-e3b8-43a4-a5ec-dd2d08132b44","name":"Add LE-ICF Depend","originalRequest":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"item_custom_field_option_id","value":"{option_id}","description":"int, ID of an DCF option for depend","type":"text","uuid":"dc6c9bbc-7912-4685-89d1-8ba220844c51"},{"key":"depend_type","value":"1","type":"text","uuid":"e043b27e-0209-4c0c-a46c-ddf8953602e6"},{"key":"entity_ids","value":"{legal_entity_id}","description":"int/array, ID of the Legal Entity on which the DCF option will depend. To add multiple LEs, use the following structure: [id1, id2, id3]","type":"text","uuid":"d6d951da-1b66-400c-8996-523fb1d1780b"}]},"url":"https://api.precoro.com/itemcustomfields/options/depend_add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Jun 2025 12:45:59 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"br"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"X-Active-Company","value":"22359"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Tue, 24 Jun 2025 12:45:59 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Cf-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=9AG2LhOPFO%2FsIOnkJwbccsIYAWQVzvmauHNvI73vlfxhyu4WUqCiEFBZoKuyTG1eHpBxb2GT9tSiNUfGkLnSewZxuohW0TlWPWnLN6wWKVoqPjoIaDBAOcuAiszbLfugUQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"Nel","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"Cf-Ray","value":"954c534aaccf9a65-IAD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=2042&min_rtt=1908&rtt_var=811&sent=3&recv=5&lost=0&retrans=0&sent_bytes=219&recv_bytes=1285&delivery_rate=758909&cwnd=250&unsent_bytes=0&cid=435c222f739494f6&ts=340&x=0\""}],"cookie":[],"responseTime":null,"body":"\"Dependencies for this option were configured successfully.\""}],"_postman_id":"666ae3fb-b1c3-4b02-b4c9-77183d13990a"},{"name":"Remove LE-ICF Depend","id":"7e42299c-cfb3-4e24-ba5f-c1c17957bb2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"item_custom_field_option_id","value":"{option_id}","description":"<p>int, ID of an DCF option for depend</p>\n","type":"text","uuid":"dc6c9bbc-7912-4685-89d1-8ba220844c51"},{"key":"depend_type","value":"1","type":"text","uuid":"e043b27e-0209-4c0c-a46c-ddf8953602e6"},{"key":"entity_ids","value":"{legal_entity_id}","description":"<p>int/array, ID of the Legal Entity on which the DCF option will depend. To add multiple LEs, use the following structure: [id1, id2, id3]</p>\n","type":"text","uuid":"d6d951da-1b66-400c-8996-523fb1d1780b"}]},"url":"https://api.precoro.com/itemcustomfields/options/depend_remove","description":"<p>This request is available only to those who use the “Set up access by legal entity” feature</p>\n","urlObject":{"protocol":"https","path":["itemcustomfields","options","depend_remove"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"2e47e746-61a6-48a9-8397-9a917af0ab09","name":"Remove LE-ICF Depend","originalRequest":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"document_custom_field_option_id","value":"{option_id}","description":"int, ID of an DCF option for depend","type":"text","uuid":"dc6c9bbc-7912-4685-89d1-8ba220844c51"},{"key":"depend_type","value":"1","type":"text","uuid":"e043b27e-0209-4c0c-a46c-ddf8953602e6"},{"key":"entity_ids","value":"{legal_entity_id}","description":"int/array, ID of the Legal Entity on which the DCF option will depend. To add multiple LEs, use the following structure: [id1, id2, id3]","type":"text","uuid":"d6d951da-1b66-400c-8996-523fb1d1780b"}]},"url":"https://api.precoro.com/documentcustomfields/options/depend_remove"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Jun 2025 12:35:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"br"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"X-Active-Company","value":"22359"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Tue, 24 Jun 2025 12:35:32 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Cf-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=MaxkAGTdXOp3NpP9oh7X0n%2FZZynH2f%2B4%2FGMZqZEAW5wJAY40cfoTj5XCSpbDmjC2zQxcGCHqXff%2BKjMWn7CVx%2BjTSWP5CwBbFEExSBzsNQubqWJrLw4EYwJo28WBHteTzw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"Nel","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"Cf-Ray","value":"954c43ffabdf2094-IAD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=2117&min_rtt=1905&rtt_var=670&sent=9&recv=8&lost=0&retrans=0&sent_bytes=4557&recv_bytes=1460&delivery_rate=1984241&cwnd=181&unsent_bytes=0&cid=63e5773ee9593709&ts=13246&x=0\""}],"cookie":[],"responseTime":null,"body":"\"Dependencies for this option were configured successfully.\""}],"_postman_id":"7e42299c-cfb3-4e24-ba5f-c1c17957bb2c"},{"name":"Add DCF-ICF Depend","id":"1d91fd58-d8d5-4fe6-8b54-dc9c5831303d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"item_custom_field_option_id","value":"{icf_option_id}","description":"<p>int, ID of an DCF option for depend</p>\n","type":"text","uuid":"dc6c9bbc-7912-4685-89d1-8ba220844c51"},{"key":"depend_type","value":"2","type":"text","uuid":"e043b27e-0209-4c0c-a46c-ddf8953602e6"},{"key":"entity_ids","value":"{dcf_option_id}","description":"<p>int/array, ID of the DCF option on which the ICF option will depend. To add depend to multiple DCF options, use the following structure: [id1, id2, id3]\nAdding the ID of the parent option will add the dependency to all of its children.</p>\n","type":"text","uuid":"d6d951da-1b66-400c-8996-523fb1d1780b"}]},"url":"https://api.precoro.com/itemcustomfields/options/depend_add","urlObject":{"protocol":"https","path":["itemcustomfields","options","depend_add"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"029ee911-305b-4112-810b-357050fd4da4","name":"Add DCF-ICF Depend","originalRequest":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"item_custom_field_option_id","value":"{icf_option_id}","description":"int, ID of an DCF option for depend","type":"text","uuid":"dc6c9bbc-7912-4685-89d1-8ba220844c51"},{"key":"depend_type","value":"2","type":"text","uuid":"e043b27e-0209-4c0c-a46c-ddf8953602e6"},{"key":"entity_ids","value":"{dcf_option_id}","description":"int/array, ID of the DCF option on which the ICF option will depend. To add depend to multiple DCF options, use the following structure: [id1, id2, id3]\nAdding the ID of the parent option will add the dependency to all of its children.","type":"text","uuid":"d6d951da-1b66-400c-8996-523fb1d1780b"}]},"url":"https://api.precoro.com/itemcustomfields/options/depend_add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Jun 2025 13:05:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"br"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"X-Active-Company","value":"22359"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Tue, 24 Jun 2025 13:05:43 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Cf-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=HpkXPAiAfpywKhay7GYKwRgmtfQFgZ8ILP8C4tW7v%2FEX2Q%2F0XeqDPkFjvPK6Ubyp0vMlAaKx9pktdq5I9y1a7lzxTn0LELBTN2CUzjRHbSyaUtxElR2fjSD5glkYXLkZGA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"Nel","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"Cf-Ray","value":"954c7032bcea9c8e-IAD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=2094&min_rtt=1959&rtt_var=831&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2350&recv_bytes=1031&delivery_rate=1478305&cwnd=218&unsent_bytes=0&cid=80a1eaf19854b053&ts=391&x=0\""}],"cookie":[],"responseTime":null,"body":"\"Dependencies for this option were configured successfully.\""}],"_postman_id":"1d91fd58-d8d5-4fe6-8b54-dc9c5831303d"},{"name":"Remove DCF-ICF Depend","id":"4552d0d8-15f5-4e68-a5fc-52e895ff594b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"item_custom_field_option_id","value":"{icf_option_id}","description":"<p>int, ID of an DCF option for depend</p>\n","type":"text","uuid":"dc6c9bbc-7912-4685-89d1-8ba220844c51"},{"key":"depend_type","value":"2","type":"text","uuid":"e043b27e-0209-4c0c-a46c-ddf8953602e6"},{"key":"entity_ids","value":"{dcf_option_id}","description":"<p>int/array, ID of the DCF option on which the ICF option will depend. To add depend to multiple DCF options, use the following structure: [id1, id2, id3]\nAdding the ID of the parent option will add the dependency to all of its children.</p>\n","type":"text","uuid":"d6d951da-1b66-400c-8996-523fb1d1780b"}]},"url":"https://api.precoro.com/itemcustomfields/options/depend_remove","urlObject":{"protocol":"https","path":["itemcustomfields","options","depend_remove"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"9f93586e-160d-423f-a472-ae155969860b","name":"Remove DCF-ICF Depend","originalRequest":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"item_custom_field_option_id","value":"{icf_option_id}","description":"int, ID of an DCF option for depend","type":"text","uuid":"dc6c9bbc-7912-4685-89d1-8ba220844c51"},{"key":"depend_type","value":"2","type":"text","uuid":"e043b27e-0209-4c0c-a46c-ddf8953602e6"},{"key":"entity_ids","value":"{dcf_option_id}","description":"int/array, ID of the DCF option on which the ICF option will depend. To add depend to multiple DCF options, use the following structure: [id1, id2, id3]\nAdding the ID of the parent option will add the dependency to all of its children.","type":"text","uuid":"d6d951da-1b66-400c-8996-523fb1d1780b"}]},"url":"https://api.precoro.com/itemcustomfields/options/depend_remove"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Jun 2025 13:06:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"br"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"X-Active-Company","value":"22359"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Tue, 24 Jun 2025 13:06:47 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Cf-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Vuj1qZ5SmVS15vRhW3Rk0CyvRkaZN36Dv3QwMo9SA%2BP%2BesiSG0uX5Vpnm3VTjLIEv%2FPisuWYLf2WMBv3Z5B3ZVizMVOmWdpYyOg140VXLAsyFcFDvtM1ciKLLu%2Fw1TeunA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"Nel","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"Cf-Ray","value":"954c71c61820d6a5-IAD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=1667&min_rtt=1489&rtt_var=686&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2348&recv_bytes=1034&delivery_rate=1944929&cwnd=243&unsent_bytes=0&cid=a80c690a97d8e587&ts=342&x=0\""}],"cookie":[],"responseTime":null,"body":"\"Dependencies for this option were configured successfully.\""}],"_postman_id":"4552d0d8-15f5-4e68-a5fc-52e895ff594b"}],"id":"c2030427-c31e-453f-8303-300900c37d19","_postman_id":"c2030427-c31e-453f-8303-300900c37d19","description":""},{"name":"Document Сustom Fields","item":[{"name":"Get Document Сustom Fields list","id":"2a33f7d2-a00b-429b-9521-5591b05edd4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/documentcustomfields","description":"<p>Type values description:  </p>\n<p><strong>SELECT</strong> = 1<br /><strong>TEXT</strong> = 2<br /><strong>DATE</strong> = 3</p>\n","urlObject":{"protocol":"https","path":["documentcustomfields"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"bc5f3760-ace6-434c-8e82-c627007663e0","name":"Get Document Costcenters list","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","type":"text","value":"your_company_token"},{"key":"email","type":"text","value":"user@company.com"}],"url":"https://api.precoro.com/documentcostcenters"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 10:42:21 GMT"},{"key":"X-Debug-Token","value":"9633f7"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 4103,\n            \"createDate\": \"2020-02-20T09:35:44+00:00\",\n            \"updateDate\": \"2020-02-20T09:49:32+00:00\",\n            \"name\": \"Department\",\n            \"required\": true,\n            \"enable\": true,\n            \"type\": \"1\",\n            \"unload\": false,\n            \"position\": null,\n            \"availableInWarehouseRequests\": false,\n            \"availableInPurchaseRequisitions\": true,\n            \"availableInPurchaseOrders\": true,\n            \"availableInReceipts\": true,\n            \"availableInInvoices\": true,\n            \"availableInBudgets\": true,\n            \"availableInApprovalWorkflow\": true,\n            \"limitAccessToDocuments\": true,\n            \"options\": {\n                \"data\": {\n                    \"21853\": {\n                        \"id\": 21853,\n                        \"code\": null, \n                        \"name\": \"CSM\",\n                        \"level\": 1,\n                        \"parent\": {\n                            \"id\": null\n                        }\n                    },\n                    \"21854\": {\n                        \"id\": 21854,\n                        \"code\": null, \n                        \"name\": \"Product\",\n                        \"level\": 1,\n                        \"parent\": {\n                            \"id\": null\n                        }\n                    },\n                    \"21855\": {\n                        \"id\": 21855,\n                        \"code\": null, \n                        \"name\": \"Sales\",\n                        \"level\": 1,\n                        \"parent\": {\n                            \"id\": null\n                        }\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 1,\n            \"count\": 1,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": {}\n        }\n    }\n}"}],"_postman_id":"2a33f7d2-a00b-429b-9521-5591b05edd4b"},{"name":"Get Document Сustom Field by ID","id":"ea34fd4b-1cff-4ce2-9afd-d8959a8a8e46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/documentcustomfields/{id}","urlObject":{"protocol":"https","path":["documentcustomfields","{id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"0bf76ab9-8812-4ba0-a139-4190d4431bc3","name":"Create Document Сustom Field","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/documentcustomfields/{id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Sat, 20 Mar 2021 21:31:01 GMT"},{"key":"Expires","value":"Sat, 20 Mar 2021 21:31:01 GMT"},{"key":"X-Debug-Token","value":"3afc58"},{"key":"X-Debug-Token-Link","value":"http://127.0.0.1:8000/_profiler/3afc58"},{"key":"X-Powered-By","value":"PHP/7.4.7"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Content-Length","value":"1146"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 7091,\n    \"createDate\": \"2021-03-20T10:54:07+00:00\",\n    \"updateDate\": \"2021-03-20T21:23:33+00:00\",\n    \"name\": \"Departments\",\n    \"required\": true,\n    \"enable\": true,\n    \"type\": 1,\n    \"unload\": false,\n    \"position\": null,\n    \"useCodeInDocuments\": false,\n    \"enableWarehouseRequest\": false,\n    \"enablePurchaseRequisition\": true,\n    \"enablePurchaseOrder\": true,\n    \"enableReceipt\": false,\n    \"enableInvoice\": true,\n    \"availableInBudgets\": true,\n    \"availableInApprovalWorkflow\": true,\n    \"limitAccessToDocuments\": false,\n    \"typeString\": \"Select\",\n    \"options\": {\n        \"data\": [\n            {\n                \"id\": 41744,\n                \"name\": \"Administration\",\n                \"code\": \"001\",\n                \"label\": \"Administration\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"enable\": true\n            },\n            {\n                \"id\": 41745,\n                \"name\": \"Finance\",\n                \"code\": \"002\",\n                \"label\": \"Finance\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"enable\": true\n            },\n            {\n                \"id\": 41746,\n                \"name\": \"Management\",\n                \"code\": \"003\",\n                \"label\": \"Management\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"enable\": true\n            },\n            {\n                \"id\": 41747,\n                \"name\": \"Human Resources\",\n                \"code\": \"004\",\n                \"label\": \"Human Resources\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"enable\": true\n            },\n            {\n                \"id\": 41748,\n                \"name\": \"Marketing\",\n                \"code\": \"005\",\n                \"label\": \"Marketing\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"enable\": true\n            },\n            {\n                \"id\": 41750,\n                \"name\": \"IT\",\n                \"code\": \"006\",\n                \"label\": \"IT\",\n                \"level\": 1,\n                \"parent\": {\n                    \"id\": null\n                },\n                \"enable\": true\n            }\n        ]\n    }\n}"}],"_postman_id":"ea34fd4b-1cff-4ce2-9afd-d8959a8a8e46"},{"name":"Add Document Custom Field Option","id":"4c4593b2-9c61-4139-803d-6da7928b377b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"New Department","description":"<p>required</p>\n","type":"text"},{"key":"code","value":"009","type":"text"},{"key":"enable","value":"1","type":"text"},{"key":"externalId","value":"34","type":"text"}]},"url":"https://api.precoro.com/documentcustomfields/{id}/options","urlObject":{"protocol":"https","path":["documentcustomfields","{id}","options"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"4a122513-0d61-4012-8c78-98f75efedd2d","name":"Add Document Custom Field Option","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"New Department","description":"required","type":"text"},{"key":"code","value":"009","type":"text"},{"key":"enable","value":"1","type":"text"},{"key":"parent[id]","value":"","type":"text"},{"key":"externalId","value":"34","type":"text"}]},"url":"https://api.precoro.com/documentcustomfields/{id}/options"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Sat, 20 Mar 2021 21:51:45 GMT"},{"key":"Expires","value":"Sat, 20 Mar 2021 21:51:45 GMT"},{"key":"Set-Cookie","value":"sf_redirect=%7B%22token%22%3A%228ddc10%22%2C%22route%22%3A%22api_post_documentcustomfield_option%22%2C%22method%22%3A%22POST%22%2C%22controller%22%3A%7B%22class%22%3A%22Precoro%5C%5CDocumentCostcenterBundle%5C%5CController%5C%5CDocumentCustomFieldOptionRestController%22%2C%22method%22%3A%22postDocumentcustomfieldOptionAction%22%2C%22file%22%3A%22%5C%2FUsers%5C%2Fmarkiianmahura%5C%2FPhpstormProjects%5C%2Fprecoro%5C%2Fsrc%5C%2FPrecoro%5C%2FDocumentCostcenterBundle%5C%2FController%5C%2FDocumentCustomFieldOptionRestController.php%22%2C%22line%22%3A32%7D%2C%22status_code%22%3A201%2C%22status_text%22%3A%22Created%22%7D; path=/; httponly; samesite=lax"},{"key":"X-Debug-Token","value":"8ddc10"},{"key":"X-Debug-Token-Link","value":"http://127.0.0.1:8000/_profiler/8ddc10"},{"key":"X-Powered-By","value":"PHP/7.4.7"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Content-Length","value":"119"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 41757,\n    \"name\": \"New Department\",\n    \"code\": \"009\",\n    \"label\": \"New Department\",\n    \"level\": 1,\n    \"parent\": {\n        \"id\": null\n    },\n    \"externalId\": 34,\n    \"enable\": true\n}"}],"_postman_id":"4c4593b2-9c61-4139-803d-6da7928b377b"},{"name":"Update Document Custom Field Option","id":"b835aaa3-38f5-47b0-aa16-5d3968f05684","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"updated Option","description":"<p>required</p>\n","type":"text"},{"key":"code","value":"","type":"text"},{"key":"enable","value":"1","type":"text"},{"key":"externalId","value":"954","type":"text"}]},"url":"https://api.precoro.com/documentcustomfields/{id}/options/{option_id}","urlObject":{"protocol":"https","path":["documentcustomfields","{id}","options","{option_id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"eaa7d9bd-a585-4e94-9026-3e8aee37ed14","name":"Update Document Custom Field Option","originalRequest":{"method":"PUT","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"updated Option","description":"required","type":"text"},{"key":"code","value":"","type":"text"},{"key":"enable","value":"1","type":"text"},{"key":"parent[id]","value":"","type":"text"},{"key":"externalId","value":"954","type":"text"}]},"url":"https://api.precoro.com/documentcustomfields/{id}/options/{option_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Sun, 21 Mar 2021 20:54:08 GMT"},{"key":"Expires","value":"Sun, 21 Mar 2021 20:54:08 GMT"},{"key":"X-Debug-Token","value":"b68000"},{"key":"X-Debug-Token-Link","value":"http://127.0.0.1:8000/_profiler/b68000"},{"key":"X-Powered-By","value":"PHP/7.4.7"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Content-Length","value":"135"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 41757,\n    \"name\": \"updated Option\",\n    \"code\": null,\n    \"label\": \"updated Option\",\n    \"level\": 1,\n    \"parent\": {\n        \"id\": null\n    },\n    \"externalId\": 954,\n    \"enable\": true\n}"}],"_postman_id":"b835aaa3-38f5-47b0-aa16-5d3968f05684"},{"name":"Set Document Custom Field Option ExternalId by ID","id":"d750844d-b051-4250-af64-00072e2af586","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token"},{"key":"email","value":"user@company.com"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"externalId","value":"20","type":"text","description":"<p>string</p>\n"}]},"url":"https://api.precoro.com/documentcustomfields/{id}/options/{option_id}","urlObject":{"protocol":"https","path":["documentcustomfields","{id}","options","{option_id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"fb86cc2e-ddf0-49d2-a6c2-225eea77425f","name":"Set Document Custom Field Option ExternalId by ID","originalRequest":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token"},{"key":"email","value":"user@company.com"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"externalId","value":"20","type":"text","description":"string"}]},"url":"https://api.precoro.com/documentcustomfields/{id}/options/{option_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 07 Jun 2024 06:37:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 07 Jun 2024 06:37:11 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Tgj8Q87cxeq4u9fSJCQmjpiwrG7SU%2B7o8gFztLFqgiPuDnM153Gj0cUqli1cL1%2BmkeVgr1nl8AuxhvDhbTnvpENaPaPd3D34iA%2Fyrvx9%2FVhA5zzC%2B3ShskHLHxjn8W2JmQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"88fea1d08df9874e-IAD"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 175205,\n    \"name\": \"DuplicateValue\",\n    \"code\": \"111\",\n    \"label\": \"DuplicateValue\",\n    \"level\": 2,\n    \"parent\": {\n        \"id\": 175203\n    },\n    \"enable\": true,\n    \"externalId\": \"20\"\n}"}],"_postman_id":"d750844d-b051-4250-af64-00072e2af586"},{"name":"Add LE-DCF Depend","id":"77dfbee8-bce2-4a39-bcba-f57bf770ca6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"document_custom_field_option_id","value":"{option_id}","description":"<p>int, ID of an DCF option for depend</p>\n","type":"text","uuid":"dc6c9bbc-7912-4685-89d1-8ba220844c51"},{"key":"depend_type","value":"1","type":"text","uuid":"e043b27e-0209-4c0c-a46c-ddf8953602e6"},{"key":"entity_ids","value":"{legal_entity_id}","description":"<p>int/array, ID of the Legal Entity on which the DCF option will depend. To add multiple LEs, use the following structure: [id1, id2, id3]</p>\n","type":"text","uuid":"d6d951da-1b66-400c-8996-523fb1d1780b"}]},"url":"https://api.precoro.com/documentcustomfields/options/depend_add","description":"<p>This request is available only to those who use the “Set up access by legal entity” feature</p>\n","urlObject":{"protocol":"https","path":["documentcustomfields","options","depend_add"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"9dedc632-23f4-41c5-9e10-50d8d8d39658","name":"Add LE-DCF Depend","originalRequest":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"document_custom_field_option_id","value":"{option_id}","description":"int, ID of an DCF option for depend","type":"text","uuid":"dc6c9bbc-7912-4685-89d1-8ba220844c51"},{"key":"depend_type","value":"1","type":"text","uuid":"e043b27e-0209-4c0c-a46c-ddf8953602e6"},{"key":"entity_ids","value":"{legal_entity_id}","description":"int/array, ID of the Legal Entity on which the DCF option will depend. To add multiple LEs, use the following structure: [id1, id2, id3]","type":"text","uuid":"d6d951da-1b66-400c-8996-523fb1d1780b"}]},"url":"https://api.precoro.com/documentcustomfields/options/depend_add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Jun 2025 12:35:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"br"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"X-Active-Company","value":"22359"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Tue, 24 Jun 2025 12:35:32 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Cf-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=MaxkAGTdXOp3NpP9oh7X0n%2FZZynH2f%2B4%2FGMZqZEAW5wJAY40cfoTj5XCSpbDmjC2zQxcGCHqXff%2BKjMWn7CVx%2BjTSWP5CwBbFEExSBzsNQubqWJrLw4EYwJo28WBHteTzw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"Nel","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"Cf-Ray","value":"954c43ffabdf2094-IAD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=2117&min_rtt=1905&rtt_var=670&sent=9&recv=8&lost=0&retrans=0&sent_bytes=4557&recv_bytes=1460&delivery_rate=1984241&cwnd=181&unsent_bytes=0&cid=63e5773ee9593709&ts=13246&x=0\""}],"cookie":[],"responseTime":null,"body":"\"Dependencies for this option were configured successfully.\""}],"_postman_id":"77dfbee8-bce2-4a39-bcba-f57bf770ca6f"},{"name":"Remove LE-DCF Depend","id":"67401394-2906-495f-abd9-0ac8a54c008c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"document_custom_field_option_id","value":"{option_id}","description":"<p>int, ID of an DCF option for depend</p>\n","type":"text","uuid":"dc6c9bbc-7912-4685-89d1-8ba220844c51"},{"key":"depend_type","value":"1","type":"text","uuid":"e043b27e-0209-4c0c-a46c-ddf8953602e6"},{"key":"entity_ids","value":"{legal_entity_id}","description":"<p>int/array, ID of the Legal Entity on which the DCF option will depend. To remove multiple LEs, use the following structure: [id1, id2, id3]</p>\n","type":"text","uuid":"d6d951da-1b66-400c-8996-523fb1d1780b"}]},"url":"https://api.precoro.com/documentcustomfields/options/depend_remove","description":"<p>This request is available only to those who use the “Set up access by legal entity” feature</p>\n","urlObject":{"protocol":"https","path":["documentcustomfields","options","depend_remove"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"26e93551-5157-4e42-9059-7c2ec33618d6","name":"Remove LE-DCF Depend","originalRequest":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"document_custom_field_option_id","value":"{option_id}","description":"int, ID of an DCF option for depend","type":"text","uuid":"dc6c9bbc-7912-4685-89d1-8ba220844c51"},{"key":"depend_type","value":"1","type":"text","uuid":"e043b27e-0209-4c0c-a46c-ddf8953602e6"},{"key":"entity_ids","value":"{legal_entity_id}","description":"int/array, ID of the Legal Entity on which the DCF option will depend. To remove multiple LEs, use the following structure: [id1, id2, id3]","type":"text","uuid":"d6d951da-1b66-400c-8996-523fb1d1780b"}]},"url":"https://api.precoro.com/documentcustomfields/options/depend_remove"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Jun 2025 12:39:58 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"br"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"X-Active-Company","value":"22359"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Tue, 24 Jun 2025 12:39:58 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Cf-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=QVo015OzikTfikiQUdEHcp4XGGB65%2BXS1Qlai4QlGe7sybcTb5%2BRPlUqjG9olWoQ5Jx2lbASGeJBfo7MaGx6Ju0aqZ%2B6zQlPURRDHAsgf8eVbXK4z0kdDZMNhiXJr31AyA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"Nel","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"Cf-Ray","value":"954c4a7f2f3307bc-IAD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=2303&min_rtt=2103&rtt_var=931&sent=3&recv=5&lost=0&retrans=0&sent_bytes=219&recv_bytes=1296&delivery_rate=688540&cwnd=238&unsent_bytes=0&cid=8822bf702d87ba10&ts=386&x=0\""}],"cookie":[],"responseTime":null,"body":"\"Dependencies for this option were configured successfully.\""}],"_postman_id":"67401394-2906-495f-abd9-0ac8a54c008c"},{"name":"Add DCF-DCF Depend","id":"5a8c0b9a-c810-452a-be65-a944feb5f626","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"document_custom_field_option_id","value":"{option_id}","description":"<p>int, ID of an DCF option for depend</p>\n","type":"text","uuid":"dc6c9bbc-7912-4685-89d1-8ba220844c51"},{"key":"depend_type","value":"2","type":"text","uuid":"e043b27e-0209-4c0c-a46c-ddf8953602e6"},{"key":"entity_ids","value":"{option_id}","description":"<p>int/array, ID of the DCF option on which the DCF option will depend. To add depend to multiple DCF options, use the following structure: [id1, id2, id3]\nAdding the ID of the parent option will add the dependency to all of its children.</p>\n","type":"text","uuid":"d6d951da-1b66-400c-8996-523fb1d1780b"}]},"url":"https://api.precoro.com/documentcustomfields/options/depend_add","urlObject":{"protocol":"https","path":["documentcustomfields","options","depend_add"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"81925e7e-0482-430a-811f-2a11303575f5","name":"Add DCF-DCF Depend","originalRequest":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"document_custom_field_option_id","value":"{option_id}","description":"int, ID of an DCF option for depend","type":"text","uuid":"dc6c9bbc-7912-4685-89d1-8ba220844c51"},{"key":"depend_type","value":"2","type":"text","uuid":"e043b27e-0209-4c0c-a46c-ddf8953602e6"},{"key":"entity_ids","value":"{option_id}","description":"int/array, ID of the DCF option on which the DCF option will depend. To add depend to multiple DCF options, use the following structure: [id1, id2, id3]\nAdding the ID of the parent option will add the dependency to all of its children.","type":"text","uuid":"d6d951da-1b66-400c-8996-523fb1d1780b"}]},"url":"https://api.precoro.com/documentcustomfields/options/depend_remove"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Jun 2025 13:18:04 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"br"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"X-Active-Company","value":"22359"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Tue, 24 Jun 2025 13:18:04 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Cf-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=3u8Dhr%2BdrKeg1yDx2H9PWM68SpvNQmDLMACn75bj9HlKKhtUsM2Yhd8%2ByZ1wLFxX3pz5JRIYwxbFyABEi8M%2Faov6%2FRYbqrd8pz7vquAwqP6DPYNPCdyYrz5cXlcqZQoiag%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"Nel","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"Cf-Ray","value":"954c824df8dc082f-IAD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=1689&min_rtt=1515&rtt_var=450&sent=8&recv=8&lost=0&retrans=0&sent_bytes=3972&recv_bytes=1621&delivery_rate=2744156&cwnd=253&unsent_bytes=0&cid=5af101785b8b978c&ts=20675&x=0\""}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"\"Dependencies for this option were configured successfully.\""}],"_postman_id":"5a8c0b9a-c810-452a-be65-a944feb5f626"},{"name":"Remove DCF-DCF Depend","id":"8fadbbb8-91fb-444d-a7d5-3e1ec1dcbcc7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"document_custom_field_option_id","value":"{option_id}","description":"<p>int, ID of an DCF option for depend</p>\n","type":"text","uuid":"dc6c9bbc-7912-4685-89d1-8ba220844c51"},{"key":"depend_type","value":"2","type":"text","uuid":"e043b27e-0209-4c0c-a46c-ddf8953602e6"},{"key":"entity_ids","value":"{option_id}","description":"<p>int/array, ID of the DCF option on which the DCF option will depend. To add depend to multiple DCF options, use the following structure: [id1, id2, id3]\nAdding the ID of the parent option will add the dependency to all of its children.</p>\n","type":"text","uuid":"d6d951da-1b66-400c-8996-523fb1d1780b"}]},"url":"https://api.precoro.com/documentcustomfields/options/depend_remove","urlObject":{"protocol":"https","path":["documentcustomfields","options","depend_remove"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"fe6affe9-d8a3-4488-a6ac-d4bedca04385","name":"Add DCF-DCF Depend Copy","originalRequest":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"document_custom_field_option_id","value":"{option_id}","description":"int, ID of an DCF option for depend","type":"text","uuid":"dc6c9bbc-7912-4685-89d1-8ba220844c51"},{"key":"depend_type","value":"2","type":"text","uuid":"e043b27e-0209-4c0c-a46c-ddf8953602e6"},{"key":"entity_ids","value":"{option_id}","description":"int/array, ID of the DCF option on which the DCF option will depend. To add depend to multiple DCF options, use the following structure: [id1, id2, id3]\nAdding the ID of the parent option will add the dependency to all of its children.","type":"text","uuid":"d6d951da-1b66-400c-8996-523fb1d1780b"}]},"url":"https://api.precoro.com/documentcustomfields/options/depend_add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 24 Jun 2025 13:18:04 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"br"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"X-Active-Company","value":"22359"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"Tue, 24 Jun 2025 13:18:04 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Cf-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=3u8Dhr%2BdrKeg1yDx2H9PWM68SpvNQmDLMACn75bj9HlKKhtUsM2Yhd8%2ByZ1wLFxX3pz5JRIYwxbFyABEi8M%2Faov6%2FRYbqrd8pz7vquAwqP6DPYNPCdyYrz5cXlcqZQoiag%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"Nel","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"Cf-Ray","value":"954c824df8dc082f-IAD"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=1689&min_rtt=1515&rtt_var=450&sent=8&recv=8&lost=0&retrans=0&sent_bytes=3972&recv_bytes=1621&delivery_rate=2744156&cwnd=253&unsent_bytes=0&cid=5af101785b8b978c&ts=20675&x=0\""}],"cookie":[],"responseTime":null,"body":"\"Dependencies for this option were configured successfully.\""}],"_postman_id":"8fadbbb8-91fb-444d-a7d5-3e1ec1dcbcc7"}],"id":"328e6371-65b2-4147-aa71-bf3e0b47cafb","_postman_id":"328e6371-65b2-4147-aa71-bf3e0b47cafb","description":""},{"name":"Legal Entities","item":[{"name":"Get Legal Entities list","id":"0d4bbf1f-573f-4027-8519-8f1b77c02af6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/legalentities","description":"<h2 id=\"external_id-filter\"><code>external_id[]</code> filter</h2>\n<p>Filter results by <code>externalId</code> — the identifier set on a Precoro record by your external system.</p>\n<p><strong>Rules:</strong></p>\n<ul>\n<li>Must be passed as an <strong>array</strong>: <code>external_id[]=101&amp;external_id[]=102</code></li>\n<li>Single value (<code>external_id=101</code>) is <strong>silently ignored</strong></li>\n<li>Values must be <strong>numeric</strong> — non-numeric values cause the filter to be silently skipped (full unfiltered list is returned)</li>\n<li>Maximum <strong>200</strong> values; exceeding this returns <code>400 Bad Request</code></li>\n</ul>\n<p><strong>Error response (&gt;200 values):</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"errors\": {\n        \"errors\": {\n            \"item_filter\": \"Too many external_id filter params. Maximum amount is 200\"\n        }\n    }\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["legalentities"],"host":["api","precoro","com"],"query":[{"disabled":true,"description":{"content":"<p>Filter by externalId. Must be a numeric string. Repeat this param to pass multiple values: external_id[]=101&amp;external_id[]=102</p>\n","type":"text/plain"},"key":"external_id[]","value":"1"},{"disabled":true,"description":{"content":"<p>Add another value. Maximum 200 values total. Non-numeric values silently disable the filter.</p>\n","type":"text/plain"},"key":"external_id[]","value":"2"}],"variable":[]}},"response":[{"id":"48c2acc4-c97c-407b-a9d6-99a7cca8df76","name":"Get Legal Entities list","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/legalentities"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Date","value":"Mon, 11 Feb 2019 15:08:36 GMT"},{"key":"Strict-Transport-Security","value":"max-age=15768000"}],"cookie":[],"responseTime":null,"body":"{\n   \"data\":[\n      {\n         \"id\":4611,\n         \"createDate\":\"2020-02-20T12:28:14+00:00\",\n         \"name\":\"Precoro Inc\",\n         \"legalAddress\":\"442 Lorimer St.\\r\\nBrooklyn, NY 11206\",\n         \"accountNumber\":\"12343\",\n         \"accountHolderName\":\"Account Holder Name\",\n         \"bankName\":\"Bank Name\",\n         \"bankAddress\":\"Bank Address\",\n         \"sortCode\":\"Sort Code\",\n         \"businessRegistrationNumber\":\"Business registratio\",\n         \"taxPayerType\":5,\n         \"taxPayerNumber\":\"GST\",\n         \"phone\":\"+1 347 389 1524\",\n         \"keyExecutive\":\"Key Executive\",\n         \"fullName\":\"Full Name\",\n         \"permanentAccountNumber\":\"PAN\",\n         \"internationalBankAccountNumber\":\"IBAN\",\n         \"americanBankersAssociationNumber\":\"ABA Routing Number\",\n         \"swiftCode\":\"SWIFT\\/BIC Code\",\n         \"indianFinancialSystemCode\":\"IFSC Code\"\n      }\n   ],\n   \"meta\":{\n      \"pagination\":{\n         \"total\":1,\n         \"count\":1,\n         \"per_page\":100,\n         \"current_page\":1,\n         \"total_pages\":1,\n         \"links\":{\n\n         }\n      }\n   }\n}"}],"_postman_id":"0d4bbf1f-573f-4027-8519-8f1b77c02af6"},{"name":"Set Legal Entities ExternalId by ID","id":"b2ed9418-92d0-4200-b6dd-16c14dae821c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token"},{"key":"email","value":"user@company.com"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"externalId","value":"20","description":"<p>string</p>\n","type":"text"}]},"url":"https://api.precoro.com/legalentities/{id}","urlObject":{"protocol":"https","path":["legalentities","{id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"7e43fb34-a191-4deb-ac04-f1fe81b231b4","name":"Set Legal Entities ExternalId by ID","originalRequest":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token"},{"key":"email","value":"user@company.com"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"externalId","value":"20","description":"string","type":"text"}]},"url":"https://api.precoro.com/legalentities/{id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 07 Jun 2024 06:41:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Fri, 07 Jun 2024 06:41:55 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=pSEs4m8ukZtOkRFLaAANnNDrmvwI7rp%2BMelijVzxFsiQY4pPeXCKSqgIXlincp8OlvU14GpIg5eMVGNRVU5xN8%2FK%2Bc64U7bxRlWzDBXNJaRf%2B2tV9vOabXY%2BRB86YdthcA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"88fea8bd6b276f9b-IAD"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 7667,\n    \"createDate\": \"2021-02-02T08:32:10+00:00\",\n    \"updateDate\": \"2024-06-07T06:41:55+00:00\",\n    \"enable\": true,\n    \"name\": \"Precoro Bidle Avenue, 8 New York\",\n    \"legalAddress\": null,\n    \"accountNumber\": \"123456789098765432456789065432345678976543213456789087654323456789876543\",\n    \"accountHolderName\": null,\n    \"bankName\": null,\n    \"bankAddress\": null,\n    \"sortCode\": \"2132456789765432134565434565434567543234567654323456\",\n    \"businessRegistrationNumber\": \"21324567897654321345\",\n    \"taxPayerType\": 0,\n    \"taxPayerNumber\": \"2132456789765432134565434565434567543234\",\n    \"phone\": null,\n    \"keyExecutive\": \"r3t435y4657689lk8j7ut4r3\",\n    \"fullName\": null,\n    \"permanentAccountNumber\": \"2132456789\",\n    \"internationalBankAccountNumber\": \"2132456789765432134565434565434567\",\n    \"americanBankersAssociationNumber\": \"21324567897654321345\",\n    \"swiftCode\": \"21324567897654321345\",\n    \"indianFinancialSystemCode\": \"21324567897654321345\",\n    \"externalId\": \"20\",\n    \"propsVisibility\": {\n        \"showAccountHolderName\": true,\n        \"showLegalAddressLegalEntity\": true,\n        \"showPhoneNumberLegalEntity\": true,\n        \"showBusinessRegistrationNumberLegalEntity\": true,\n        \"showAccountNumberLegalEntity\": true,\n        \"showBankNameLegalEntity\": true,\n        \"showBankAddressLegalEntity\": true,\n        \"showSortCodeLegalEntity\": true,\n        \"showTaxPayerLegalEntity\": true,\n        \"showSwiftCodeLegalEntity\": true,\n        \"showPermanentAccountNumberLegalEntity\": true,\n        \"showInternationalBankAccountNumberLegalEntity\": true,\n        \"showAmericanBankersAssociationNumberLegalEntity\": true,\n        \"showIndianFinancialSystemCodeLegalEntity\": true\n    },\n    \"legalEntityAddress\": []\n}"}],"_postman_id":"b2ed9418-92d0-4200-b6dd-16c14dae821c"}],"id":"17df6b1e-dedb-4b69-be60-373a886eca31","_postman_id":"17df6b1e-dedb-4b69-be60-373a886eca31","description":""},{"name":" Inventory","item":[{"name":"Get Warehouses list","id":"c78a9b23-1281-4a28-82ed-bf3eee3e15c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/warehouses","urlObject":{"protocol":"https","path":["warehouses"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"817e9339-26a8-46ad-abae-376c29e2cc5d","name":"Get Warehouses list","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","type":"text","value":"your_company_token"},{"key":"email","type":"text","value":"user@company.com"}],"url":"https://api.precoro.com/warehouses"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Date","value":"Thu, 08 Dec 2022 12:53:14 GMT"},{"key":"Expires","value":"Thu, 08 Dec 2022 12:53:14 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=lgaq0kugroqt957tsmbmbpn304; expires=Thu, 15-Dec-2022 12:53:14 GMT; Max-Age=604800; path=/; secure; httponly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 12963,\n            \"createDate\": \"2022-04-12T14:04:24+00:00\",\n            \"name\": \"Warehouse 1\",\n            \"enable\": true,\n            \"integration\": false,\n            \"type\": 0,\n            \"uniqueCode\": null\n        },\n        {\n            \"id\": 14659,\n            \"createDate\": \"2022-07-19T14:42:22+00:00\",\n            \"name\": \"Warehouse 2\",\n            \"enable\": true,\n            \"integration\": false,\n            \"type\": 0,\n            \"uniqueCode\": null\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 2,\n            \"count\": 2,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": {}\n        }\n    }\n}"}],"_postman_id":"c78a9b23-1281-4a28-82ed-bf3eee3e15c8"},{"name":"Get Warehouse by ID","id":"58aaf021-5327-4ed0-8a19-fbca91caecfb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/warehouses/{id}","urlObject":{"protocol":"https","path":["warehouses","{id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"bd122fab-349c-4505-a64e-be2de7084ba8","name":"Get Warehouse by ID","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/warehouses/{id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 10 Apr 2025 12:47:40 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Thu, 10 Apr 2025 12:47:40 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=wDtyaOLiZadJrdWZu1icQrEjYQOOkegEsLFJGit%2BJ1O5h1LWhbQdL5yjAoqTFrI2LCMjJvottUYqUUSQ4cERpt6ML1DoWkRwX63vrDN0f3%2FM%2BwlGqyr1RT40f6rtEphx6w%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"92e25aa2aa4ce642-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=2326&min_rtt=2270&rtt_var=891&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2337&recv_bytes=875&delivery_rate=1275770&cwnd=251&unsent_bytes=0&cid=77a68e03b4e98dac&ts=288&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 33405,\n    \"createDate\": \"2024-11-07T12:10:44+00:00\",\n    \"name\": \"Warehouse 1\",\n    \"enable\": true,\n    \"integration\": false,\n    \"type\": 0,\n    \"uniqueCode\": null,\n    \"locations\": {\n        \"data\": [\n            {\n                \"id\": 97962,\n                \"uniqueCode\": null,\n                \"name\": \"Main location\",\n                \"createDate\": \"2024-06-11T14:23:08+00:00\",\n                \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n                \"fullAddress\": null,\n                \"afaxysLocationId\": null,\n                \"phone\": null,\n                \"allLocationsAccessLegalEntities\": true,\n                \"enable\": true,\n                \"locationAddress\": {\n                    \"id\": null\n                },\n                \"externalId\": null\n            }\n        ]\n    }\n}"}],"_postman_id":"58aaf021-5327-4ed0-8a19-fbca91caecfb"}],"id":"f22cb994-0296-455a-8a4d-85b9b3389a60","_postman_id":"f22cb994-0296-455a-8a4d-85b9b3389a60","description":""},{"name":"Taxes","item":[{"name":"Get Tax list","id":"e1008b1d-e2d9-4157-80e1-21291f108a13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/taxes","description":"<h2 id=\"external_id-filter\"><code>external_id[]</code> filter</h2>\n<p>Filter results by <code>externalId</code> — the identifier set on a Precoro record by your external system.</p>\n<p><strong>Rules:</strong></p>\n<ul>\n<li>Must be passed as an <strong>array</strong>: <code>external_id[]=101&amp;external_id[]=102</code></li>\n<li>Single value (<code>external_id=101</code>) is <strong>silently ignored</strong></li>\n<li>Values must be <strong>numeric</strong> — non-numeric values cause the filter to be silently skipped (full unfiltered list is returned)</li>\n<li>Maximum <strong>200</strong> values; exceeding this returns <code>400 Bad Request</code></li>\n</ul>\n<p><strong>Error response (&gt;200 values):</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"errors\": {\n        \"errors\": {\n            \"item_filter\": \"Too many external_id filter params. Maximum amount is 200\"\n        }\n    }\n}\n</code></pre>\n","urlObject":{"protocol":"https","path":["taxes"],"host":["api","precoro","com"],"query":[{"disabled":true,"description":{"content":"<p>Filter by externalId. Must be a numeric string. Repeat this param to pass multiple values: external_id[]=101&amp;external_id[]=102</p>\n","type":"text/plain"},"key":"external_id[]","value":"1"},{"disabled":true,"description":{"content":"<p>Add another value. Maximum 200 values total. Non-numeric values silently disable the filter.</p>\n","type":"text/plain"},"key":"external_id[]","value":"2"}],"variable":[]}},"response":[{"id":"c405c263-4280-49e2-a651-7a6aefe85177","name":"Get Tax list","originalRequest":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/taxes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Date","value":"Tue, 29 Mar 2022 07:43:18 GMT"},{"key":"X-Debug-Token","value":"5e7a62"},{"key":"Expires","value":"Tue, 29 Mar 2022 07:43:18 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 11586,\n            \"name\": \"Corporate Tax\",\n            \"percent\": 5,\n            \"value\": 5,\n            \"qboId\": null,\n            \"taxAmount\": 0,\n            \"externalId\": null,\n            \"isWithholdingTax\": false,\n            \"xeroId\": null\n        },\n        {\n            \"id\": 11571,\n            \"name\": \"Updated Tax\",\n            \"percent\": 7,\n            \"value\": 7,\n            \"qboId\": null,\n            \"taxAmount\": 0,\n            \"externalId\": null,\n            \"isWithholdingTax\": false,\n            \"xeroId\": null\n        },\n        {\n            \"id\": 11566,\n            \"name\": \"VAT\",\n            \"percent\": 20,\n            \"value\": 20,\n            \"qboId\": null,\n            \"taxAmount\": 0,\n            \"externalId\": null,\n            \"isWithholdingTax\": false,\n            \"xeroId\": null\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 3,\n            \"count\": 3,\n            \"per_page\": 100,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": {}\n        }\n    }\n}"}],"_postman_id":"e1008b1d-e2d9-4157-80e1-21291f108a13"},{"name":"Add Tax","id":"2c7ba140-9729-4e65-9916-402f8a1933b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"VAT Tax","description":"<p>required</p>\n","type":"text"},{"key":"value","value":"5","type":"text","description":"<p>required, int</p>\n"}]},"url":"https://api.precoro.com/taxes","urlObject":{"protocol":"https","path":["taxes"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"9341d577-d7af-4bed-a143-bb9a07e3fdab","name":"Add tax","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"VAT Tax","description":"required","type":"text"},{"key":"value","value":"5","type":"text"}]},"url":"https://api.precoro.com/taxes"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Date","value":"Tue, 29 Mar 2022 07:15:52 GMT"},{"key":"X-Debug-Token","value":"0f111c"},{"key":"Expires","value":"Tue, 29 Mar 2022 07:15:52 GMT"},{"key":"Set-Cookie","value":"sf_redirect=%7B%22token%22%3A%220f111c%22%2C%22route%22%3A%22api__company_rest_taxesrest_posttax%22%2C%22method%22%3A%22POST%22%2C%22controller%22%3A%7B%22class%22%3A%22Controller%5C%5CCompany%5C%5CRest%5C%5CTaxesRestController%22%2C%22method%22%3A%22postTaxAction%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fwww%5C%2Fprecoro.com%5C%2Fhtml%5C%2Freleases%5C%2F192%5C%2Fsrc%5C%2FController%5C%2FCompany%5C%2FRest%5C%2FTaxesRestController.php%22%2C%22line%22%3A83%7D%2C%22status_code%22%3A201%2C%22status_text%22%3A%22Created%22%7D; path=/; secure; httponly; samesite=lax"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 11586,\n    \"name\": \"VAT Tax\",\n    \"percent\": 5,\n    \"value\": 5,\n    \"qboId\": null,\n    \"taxAmount\": 0,\n    \"externalId\": null,\n    \"isWithholdingTax\": false,\n    \"xeroId\": null\n}"}],"_postman_id":"2c7ba140-9729-4e65-9916-402f8a1933b7"},{"name":"Update Tax by ID","id":"27cc6fcb-214b-42bf-a66d-b085f76b5166","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Updated Tax","description":"<p>required</p>\n","type":"text"},{"key":"value","value":"7","type":"text","description":"<p>required, int</p>\n"}]},"url":"https://api.precoro.com/taxes/{id}","urlObject":{"protocol":"https","path":["taxes","{id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"c074fc13-d809-4489-851e-48e1806080df","name":"Update tax by ID","originalRequest":{"method":"PUT","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Updated Tax","description":"required","type":"text"},{"key":"value","value":"7","type":"text"}]},"url":"https://api.precoro.com/taxes/{id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Date","value":"Tue, 29 Mar 2022 07:18:27 GMT"},{"key":"X-Debug-Token","value":"a5f345"},{"key":"Expires","value":"Tue, 29 Mar 2022 07:18:27 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 11571,\n    \"name\": \"Updated Tax\",\n    \"percent\": 7,\n    \"value\": 7,\n    \"qboId\": null,\n    \"taxAmount\": 0,\n    \"externalId\": null,\n    \"isWithholdingTax\": false,\n    \"xeroId\": null\n}"}],"_postman_id":"27cc6fcb-214b-42bf-a66d-b085f76b5166"},{"name":"Set Tax ExternalId by ID","id":"de06e837-4ff5-4aaf-985f-c8dee9471301","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token"},{"key":"email","value":"user@company.com"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"externalId","value":"20","description":"<p>string</p>\n","type":"text"}]},"url":"https://api.precoro.com/taxes/{id}","urlObject":{"protocol":"https","path":["taxes","{id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"db4e6d0c-8879-45cf-8a08-9dee7181a47f","name":"Set Tax ExternalId by ID","originalRequest":{"method":"PATCH","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token"},{"key":"email","value":"user@company.com"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"externalId","value":"20","type":"text"}]},"url":"https://api.precoro.com/taxes/{id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Jun 2024 14:54:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Thu, 06 Jun 2024 14:54:55 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=VpCjCS2dUD77kN%2FlJX1ccpAKI2sDFW2C7JbEEHCR5uaA9s6nP%2BFtSWUYplMJ5BIylbdiGtrdUEBs0%2FiknH7R3ygnUSeocBQRdAxetzUAmHS4W8fnzTpeGmcAd7r4hvbGLg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"88f93d8b7fad20b7-IAD"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 12895,\n    \"name\": \"Sales Tax on Imports\",\n    \"percent\": 0,\n    \"value\": 0,\n    \"qboId\": null,\n    \"taxAmount\": 0,\n    \"netSuiteId\": null,\n    \"externalId\": \"20\",\n    \"isWithholdingTax\": false,\n    \"xeroId\": \"GSTONIMPORTS\"\n}"}],"_postman_id":"de06e837-4ff5-4aaf-985f-c8dee9471301"}],"id":"909cd0ac-07ae-4f88-8e5b-97b3c293fd28","_postman_id":"909cd0ac-07ae-4f88-8e5b-97b3c293fd28","description":""}],"id":"11ec1a4f-8fc8-4be3-8c05-952be4e42837","_postman_id":"11ec1a4f-8fc8-4be3-8c05-952be4e42837","description":""},{"name":"Approval Process","item":[{"name":"Approve document by IDN","id":"3af81c9b-ea6a-4230-b262-28f5823cc770","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/{document_alias}/{idn}/approve","urlObject":{"protocol":"https","path":["{document_alias}","{idn}","approve"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"8acc27b5-8d21-4d92-8ab7-e5bbcb9167a3","name":"Approve document by IDN","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","type":"text","value":"your_company_token"},{"key":"email","type":"text","value":"user@company.com"}],"url":"https://api.precoro.com/{document_alias}/{idn}/approve"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Date","value":"Wed, 27 Apr 2022 13:54:50 GMT"},{"key":"X-Debug-Token","value":"21cb4f"},{"key":"Expires","value":"Wed, 27 Apr 2022 13:54:51 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 62621,\n    \"idn\": \"2\",\n    \"customName\": null,\n    \"createDate\": \"2022-04-27T13:50:46+00:00\",\n    \"updateDate\": \"2022-04-27T13:54:50+00:00\",\n    \"requiredDate\": \"2022-04-29T00:00:00+00:00\",\n    \"updateExchangeRateDate\": \"2022-04-27T13:50:46+00:00\",\n    \"statusTransferred\": 0,\n    \"statusTransferredString\": \"status.not_transferred\",\n    \"currency\": \"USD\",\n    \"calculationAccuracy\": 2,\n    \"note\": null,\n    \"exchangeRate\": [],\n    \"approvalStep\": [],\n    \"status\": 2,\n    \"statusString\": \"status.approved\",\n    \"sum\": 80,\n    \"approvingWay\": {\n        \"41464\": {\n            \"step\": \"1 Main Approver\",\n            \"approve_type\": 1,\n            \"approvers\": {\n                \"44016\": {\n                    \"email\": \"jackjohnson@precoro.com\",\n                    \"datetime\": {\n                        \"date\": \"2022-04-27 13:54:50.858753\",\n                        \"timezone_type\": 3,\n                        \"timezone\": \"UTC\"\n                    },\n                    \"user_approve\": true\n                }\n            }\n        }\n    },\n    \"location\": {\n        \"id\": 44559,\n        \"uniqueCode\": null,\n        \"name\": \"Main Location\",\n        \"createDate\": \"2022-03-27T10:44:46+00:00\",\n        \"updateDate\": \"2022-03-27T10:44:46+00:00\",\n        \"fullAddress\": \"452 Lorimer Street, Miami, FL, USA\",\n        \"phone\": null,\n        \"allLocationsAccessLegalEntities\": true,\n        \"enable\": true,\n        \"locationAddress\": {\n            \"id\": null\n        }\n    },\n    \"creator\": {\n        \"id\": 44581,\n        \"createDate\": \"2022-04-07T08:55:32+00:00\",\n        \"updateDate\": \"2022-04-07T08:55:32+00:00\",\n        \"email\": \"approver@acme.com\",\n        \"locale\": \"en\",\n        \"phone\": null,\n        \"firstname\": \"Approver\",\n        \"lastname\": \"Acme\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 44559\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allProductGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"unconfirmedEmail\": \"approver@acme.com\"\n    },\n    \"lastApprover\": {\n        \"id\": 44016,\n        \"createDate\": \"2022-03-27T10:44:46+00:00\",\n        \"updateDate\": \"2022-03-27T10:44:46+00:00\",\n        \"email\": \"jackjohnson@precoro.com\",\n        \"locale\": \"en\",\n        \"phone\": \"+123456789\",\n        \"firstname\": \"Jack Johnson\",\n        \"lastname\": \"-\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 44558\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allProductGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_EXPENSE\",\n            \"ROLE_EXPENSE_APPROVAL\",\n            \"ROLE_PAYMENT\",\n            \"ROLE_EXPENSE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"unconfirmedEmail\": \"jackjohnson@precoro.com\"\n    },\n    \"lastEditor\": [],\n    \"secondInCharge\": [],\n    \"dataDocumentCustomFields\": {\n        \"data\": []\n    },\n    \"purchaseRequisitions\": {\n        \"data\": []\n    },\n    \"canOpenDocument\": true,\n    \"approvalInfo\": {\n        \"canApproveDocument\": false,\n        \"canRejectDocument\": false\n    },\n    \"warehouse\": [],\n    \"meta\": {\n        \"notifications\": [\n            {\n                \"id\": \"footer.text3\",\n                \"message\": \"The document has been approved.\",\n                \"type\": \"success\"\n            }\n        ]\n    }\n}"}],"_postman_id":"3af81c9b-ea6a-4230-b262-28f5823cc770"},{"name":"Confirm document by IDN","id":"6fc77f24-fbbe-4240-8a47-6c93a5a6c76c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/{document_alias}/{idn}/confirm","urlObject":{"protocol":"https","path":["{document_alias}","{idn}","confirm"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"ec9723d0-0859-4e25-9c2d-8ec6ce66201e","name":"Confirm document by IDN","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/{document_alias}/{idn}/confirm"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Wed, 28 Jan 2026 14:59:19 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-user","value":"95888"},{"key":"x-active-company","value":"22359"},{"key":"x-active-company-user","value":"102979"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Wed, 28 Jan 2026 14:59:19 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=JUzX%2FJNkE5i855escEETDNuut42SZ1fEnqUHiz0hByrfSkogeyAoIZMn4TR4J0qhRVjxxCGj%2F1rfGpVJI9iMnXHDiiWipVy1OqqmiB0s\"}]}"},{"key":"Content-Encoding","value":"br"},{"key":"CF-RAY","value":"9c515a5aed8e1e81-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 302577,\n    \"idn\": \"5\",\n    \"customName\": null,\n    \"createDate\": \"2026-01-28T14:59:07+00:00\",\n    \"updateDate\": \"2026-01-28T14:59:19+00:00\",\n    \"requiredDate\": \"2026-01-31T00:00:00+00:00\",\n    \"approvalDate\": \"2026-01-28T14:59:19+00:00\",\n    \"statusTransferred\": 0,\n    \"currency\": \"USD\",\n    \"precisionData\": {\n        \"USD\": {\n            \"precision\": 2,\n            \"roundMode\": \"math\"\n        }\n    },\n    \"note\": null,\n    \"exchangeRate\": [],\n    \"status\": 2,\n    \"allDocumentCustomFieldOptionsIds\": \"267574\",\n    \"sum\": 49.9,\n    \"approvingWay\": {\n        \"85396\": {\n            \"step\": \"1 Approval Step 1\",\n            \"approvers\": {\n                \"95888\": {\n                    \"email\": \"apitesterfordocumentation@gmail.com\",\n                    \"datetime\": {\n                        \"date\": \"2026-01-28 14:59:19.228035\",\n                        \"timezone\": \"UTC\",\n                        \"timezone_type\": 3\n                    },\n                    \"fullName\": \"Api Tester\",\n                    \"user_approve\": true\n                }\n            },\n            \"is_overdue\": false,\n            \"approve_type\": 1,\n            \"expected_approval_date\": null\n        }\n    },\n    \"location\": {\n        \"id\": 97962,\n        \"uniqueCode\": null,\n        \"name\": \"Main location\",\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"fullAddress\": null,\n        \"phone\": null,\n        \"allLocationsAccessLegalEntities\": true,\n        \"enable\": true,\n        \"locationAddress\": {\n            \"id\": null\n        },\n        \"externalId\": null\n    },\n    \"creator\": {\n        \"id\": 95888,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2025-06-24T12:18:36+00:00\",\n        \"email\": \"apitesterfordocumentation@gmail.com\",\n        \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n        \"locale\": \"en\",\n        \"phone\": \"+13456789\",\n        \"firstname\": \"Api\",\n        \"lastname\": \"Tester\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 97962\n        },\n        \"legalEntity\": {\n            \"id\": 23152\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allItemGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_INVOICE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_SUPPLIER_APPROVAL\",\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_EXPENSE\",\n            \"ROLE_EXPENSE_APPROVAL\",\n            \"ROLE_EXPENSE_PAYMENT\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPER_USER\",\n            \"ROLE_OCR\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_ITEM_MANAGEMENT\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"isPower\": true,\n        \"hasConfirmationToken\": false\n    },\n    \"lastEditor\": {\n        \"id\": null\n    },\n    \"approvalSteps\": {\n        \"data\": []\n    },\n    \"warehouse\": {\n        \"id\": null\n    },\n    \"dataDocumentCustomFields\": {\n        \"data\": [\n            {\n                \"id\": 460248,\n                \"value\": \"267574\",\n                \"type\": 1,\n                \"documentCustomField\": {\n                    \"id\": 29942\n                }\n            }\n        ]\n    },\n    \"legalEntity\": {\n        \"id\": 23152,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"enable\": true,\n        \"name\": \"TEST Api Precoro\",\n        \"legalAddress\": null,\n        \"accountNumber\": null,\n        \"accountHolderName\": null,\n        \"bankName\": null,\n        \"bankAddress\": null,\n        \"sortCode\": null,\n        \"businessRegistrationNumber\": null,\n        \"taxPayerType\": 2,\n        \"taxPayerNumber\": null,\n        \"phone\": null,\n        \"keyExecutive\": null,\n        \"fullName\": null,\n        \"permanentAccountNumber\": null,\n        \"internationalBankAccountNumber\": null,\n        \"americanBankersAssociationNumber\": null,\n        \"swiftCode\": null,\n        \"indianFinancialSystemCode\": null,\n        \"externalId\": null,\n        \"uniqueCode\": null,\n        \"netSuiteId\": null\n    },\n    \"approvalInfo\": {\n        \"canApproveDocument\": false,\n        \"canRejectDocument\": false\n    },\n    \"relatedPurchaseRequisitions\": [],\n    \"relatedPurchaseRequisitionsCount\": 0,\n    \"meta\": {\n        \"notifications\": [\n            {\n                \"id\": null,\n                \"message\": \"Confirmed successfully.\",\n                \"type\": \"success\"\n            }\n        ]\n    }\n}"}],"_postman_id":"6fc77f24-fbbe-4240-8a47-6c93a5a6c76c"},{"name":"Confirm Revise document by IDN","id":"cf86070d-5114-4af4-81f4-08353e41058e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/{document_alias}/{idn}/confirm_revise","urlObject":{"protocol":"https","path":["{document_alias}","{idn}","confirm_revise"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"a508d3af-033c-442c-b12c-c3d729821af8","name":"Confirm Revise document by IDN","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/{document_alias}/{idn}/confirm_revise"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Wed, 28 Jan 2026 15:00:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-user","value":"95888"},{"key":"x-active-company","value":"22359"},{"key":"x-active-company-user","value":"102979"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Wed, 28 Jan 2026 15:00:32 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=i1uuIpLaQQsCzjO6Sp5%2F1GeGHUUSuW9Fmw1zEdf5rjcyURQKaVCg1WYWtzvoFOxN%2F%2BYUgE4va4Q8FBOVsNWkiLzoT8QyQmF7ds4TSgFQ\"}]}"},{"key":"Content-Encoding","value":"br"},{"key":"CF-RAY","value":"9c515c273bffc99f-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 302577,\n    \"idn\": \"5\",\n    \"customName\": null,\n    \"createDate\": \"2026-01-28T14:59:07+00:00\",\n    \"updateDate\": \"2026-01-28T15:00:32+00:00\",\n    \"requiredDate\": \"2026-01-31T00:00:00+00:00\",\n    \"approvalDate\": \"2026-01-28T15:00:32+00:00\",\n    \"statusTransferred\": 0,\n    \"currency\": \"USD\",\n    \"precisionData\": {\n        \"USD\": {\n            \"precision\": 2,\n            \"roundMode\": \"math\"\n        }\n    },\n    \"note\": null,\n    \"exchangeRate\": [],\n    \"status\": 2,\n    \"allDocumentCustomFieldOptionsIds\": \"267574\",\n    \"sum\": 49.9,\n    \"approvingWay\": {\n        \"85396\": {\n            \"step\": \"1 Approval Step 1\",\n            \"approvers\": {\n                \"95888\": {\n                    \"email\": \"apitesterfordocumentation@gmail.com\",\n                    \"datetime\": {\n                        \"date\": \"2026-01-28 14:59:19.228035\",\n                        \"timezone\": \"UTC\",\n                        \"timezone_type\": 3\n                    },\n                    \"fullName\": \"Api Tester\",\n                    \"user_approve\": true\n                }\n            },\n            \"is_overdue\": false,\n            \"approve_type\": 1,\n            \"expected_approval_date\": null\n        }\n    },\n    \"location\": {\n        \"id\": 97962,\n        \"uniqueCode\": null,\n        \"name\": \"Main location\",\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"fullAddress\": null,\n        \"phone\": null,\n        \"allLocationsAccessLegalEntities\": true,\n        \"enable\": true,\n        \"locationAddress\": {\n            \"id\": null\n        },\n        \"externalId\": null\n    },\n    \"creator\": {\n        \"id\": 95888,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2025-06-24T12:18:36+00:00\",\n        \"email\": \"apitesterfordocumentation@gmail.com\",\n        \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n        \"locale\": \"en\",\n        \"phone\": \"+13456789\",\n        \"firstname\": \"Api\",\n        \"lastname\": \"Tester\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 97962\n        },\n        \"legalEntity\": {\n            \"id\": 23152\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allItemGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_INVOICE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_SUPPLIER_APPROVAL\",\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_EXPENSE\",\n            \"ROLE_EXPENSE_APPROVAL\",\n            \"ROLE_EXPENSE_PAYMENT\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPER_USER\",\n            \"ROLE_OCR\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_ITEM_MANAGEMENT\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"isPower\": true,\n        \"hasConfirmationToken\": false\n    },\n    \"lastEditor\": {\n        \"id\": 95888,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2025-06-24T12:18:36+00:00\",\n        \"email\": \"apitesterfordocumentation@gmail.com\",\n        \"unconfirmedEmail\": \"apitesterfordocumentation@gmail.com\",\n        \"locale\": \"en\",\n        \"phone\": \"+13456789\",\n        \"firstname\": \"Api\",\n        \"lastname\": \"Tester\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 97962\n        },\n        \"legalEntity\": {\n            \"id\": 23152\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allItemGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_INVOICE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_SUPPLIER_APPROVAL\",\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_EXPENSE\",\n            \"ROLE_EXPENSE_APPROVAL\",\n            \"ROLE_EXPENSE_PAYMENT\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPER_USER\",\n            \"ROLE_OCR\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_ITEM_MANAGEMENT\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"isPower\": true,\n        \"hasConfirmationToken\": false\n    },\n    \"approvalSteps\": {\n        \"data\": []\n    },\n    \"warehouse\": {\n        \"id\": null\n    },\n    \"dataDocumentCustomFields\": {\n        \"data\": [\n            {\n                \"id\": 460248,\n                \"value\": \"267574\",\n                \"type\": 1,\n                \"documentCustomField\": {\n                    \"id\": 29942\n                }\n            }\n        ]\n    },\n    \"legalEntity\": {\n        \"id\": 23152,\n        \"createDate\": \"2024-06-11T14:23:08+00:00\",\n        \"updateDate\": \"2024-06-11T14:23:08+00:00\",\n        \"enable\": true,\n        \"name\": \"TEST Api Precoro\",\n        \"legalAddress\": null,\n        \"accountNumber\": null,\n        \"accountHolderName\": null,\n        \"bankName\": null,\n        \"bankAddress\": null,\n        \"sortCode\": null,\n        \"businessRegistrationNumber\": null,\n        \"taxPayerType\": 2,\n        \"taxPayerNumber\": null,\n        \"phone\": null,\n        \"keyExecutive\": null,\n        \"fullName\": null,\n        \"permanentAccountNumber\": null,\n        \"internationalBankAccountNumber\": null,\n        \"americanBankersAssociationNumber\": null,\n        \"swiftCode\": null,\n        \"indianFinancialSystemCode\": null,\n        \"externalId\": null,\n        \"uniqueCode\": null,\n        \"netSuiteId\": null\n    },\n    \"approvalInfo\": {\n        \"canApproveDocument\": false,\n        \"canRejectDocument\": false\n    },\n    \"relatedPurchaseRequisitions\": [],\n    \"relatedPurchaseRequisitionsCount\": 0,\n    \"meta\": {\n        \"notifications\": [\n            {\n                \"id\": null,\n                \"message\": \"Confirmed successfully.\",\n                \"type\": \"success\"\n            }\n        ]\n    }\n}"}],"_postman_id":"cf86070d-5114-4af4-81f4-08353e41058e"},{"name":"Reject document by IDN","id":"6b1396b0-34b2-45f5-b4a1-a67277c1ffae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"comment","value":"Required Comment","description":"<p>string(800), required</p>\n","type":"text"}]},"url":"https://api.precoro.com/{document_alias}/{idn}/reject","urlObject":{"protocol":"https","path":["{document_alias}","{idn}","reject"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"452a7b4e-0c1e-4426-9cc4-0fa80c1c859e","name":"Reject document by IDN","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","type":"text","value":"your_company_token"},{"key":"email","type":"text","value":"user@company.com"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"comment","value":"Required Comment","description":"string(800), required","type":"text"}]},"url":"https://api.precoro.com/warehouserequests/{idn}/reject"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Date","value":"Wed, 27 Apr 2022 13:55:54 GMT"},{"key":"X-Debug-Token","value":"1903d3"},{"key":"Expires","value":"Wed, 27 Apr 2022 13:55:54 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 62622,\n    \"idn\": \"3\",\n    \"customName\": null,\n    \"createDate\": \"2022-04-27T13:51:15+00:00\",\n    \"updateDate\": \"2022-04-27T13:55:54+00:00\",\n    \"requiredDate\": \"2022-04-28T00:00:00+00:00\",\n    \"updateExchangeRateDate\": \"2022-04-27T13:51:15+00:00\",\n    \"statusTransferred\": 0,\n    \"statusTransferredString\": \"status.not_transferred\",\n    \"currency\": \"USD\",\n    \"calculationAccuracy\": 2,\n    \"note\": null,\n    \"exchangeRate\": [],\n    \"approvalStep\": [],\n    \"status\": 3,\n    \"statusString\": \"status.denied\",\n    \"sum\": 0,\n    \"approvingWay\": {\n        \"41464\": {\n            \"step\": \"1 Main Approver\",\n            \"approve_type\": 0,\n            \"approvers\": {\n                \"44016\": {\n                    \"email\": \"jackjohnson@precoro.com\",\n                    \"datetime\": {\n                        \"date\": \"2022-04-27 13:55:54.798229\",\n                        \"timezone_type\": 3,\n                        \"timezone\": \"UTC\"\n                    },\n                    \"user_approve\": true\n                }\n            }\n        }\n    },\n    \"location\": {\n        \"id\": 44559,\n        \"uniqueCode\": null,\n        \"name\": \"Main Location\",\n        \"createDate\": \"2022-03-27T10:44:46+00:00\",\n        \"updateDate\": \"2022-03-27T10:44:46+00:00\",\n        \"fullAddress\": \"452 Lorimer Street, Miami, FL, USA\",\n        \"phone\": null,\n        \"allLocationsAccessLegalEntities\": true,\n        \"enable\": true,\n        \"locationAddress\": {\n            \"id\": null\n        }\n    },\n    \"creator\": {\n        \"id\": 44581,\n        \"createDate\": \"2022-04-07T08:55:32+00:00\",\n        \"updateDate\": \"2022-04-07T08:55:32+00:00\",\n        \"email\": \"approver@acme.com\",\n        \"locale\": \"en\",\n        \"phone\": null,\n        \"firstname\": \"Approver\",\n        \"lastname\": \"Acme\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 44559\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allProductGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"unconfirmedEmail\": \"approver@acme.com\"\n    },\n    \"lastApprover\": {\n        \"id\": 44016,\n        \"createDate\": \"2022-03-27T10:44:46+00:00\",\n        \"updateDate\": \"2022-03-27T10:44:46+00:00\",\n        \"email\": \"jackjohnson@precoro.com\",\n        \"locale\": \"en\",\n        \"phone\": \"+123456789\",\n        \"firstname\": \"Jack Johnson\",\n        \"lastname\": \"-\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 44558\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allProductGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_EXPENSE\",\n            \"ROLE_EXPENSE_APPROVAL\",\n            \"ROLE_PAYMENT\",\n            \"ROLE_EXPENSE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"unconfirmedEmail\": \"jackjohnson@precoro.com\"\n    },\n    \"lastEditor\": [],\n    \"secondInCharge\": [],\n    \"dataDocumentCustomFields\": {\n        \"data\": []\n    },\n    \"purchaseRequisitions\": {\n        \"data\": []\n    },\n    \"canOpenDocument\": true,\n    \"approvalInfo\": {\n        \"canApproveDocument\": false,\n        \"canRejectDocument\": false\n    },\n    \"warehouse\": [],\n    \"meta\": {\n        \"notifications\": [\n            {\n                \"id\": \"document_flash.reject_msg\",\n                \"message\": \"The document has been rejected.\",\n                \"type\": \"success\"\n            }\n        ]\n    }\n}"}],"_postman_id":"6b1396b0-34b2-45f5-b4a1-a67277c1ffae"},{"name":"Send document for revision by IDN","id":"798977b5-d638-405a-afa7-1a3d765324af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"comment","value":"Required Comment","description":"<p>string(800), required</p>\n","type":"text"}]},"url":"https://api.precoro.com/{document_alias}/{idn}/revision","urlObject":{"protocol":"https","path":["{document_alias}","{idn}","revision"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"35a50835-19af-4ea7-a51c-18353404a3f7","name":"Send document for revision by IDN","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"comment","value":"Required Comment","description":"string(800), required","type":"text"}]},"url":"https://api.precoro.com/{document_alias}/{idn}/revision"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, private"},{"key":"Date","value":"Wed, 27 Apr 2022 13:57:06 GMT"},{"key":"X-Debug-Token","value":"1b520b"},{"key":"Expires","value":"Wed, 27 Apr 2022 13:57:06 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 62623,\n    \"idn\": \"4\",\n    \"customName\": null,\n    \"createDate\": \"2022-04-27T13:51:27+00:00\",\n    \"updateDate\": \"2022-04-27T13:57:05+00:00\",\n    \"requiredDate\": \"2022-04-28T00:00:00+00:00\",\n    \"updateExchangeRateDate\": \"2022-04-27T13:51:27+00:00\",\n    \"statusTransferred\": 0,\n    \"statusTransferredString\": \"status.not_transferred\",\n    \"currency\": \"USD\",\n    \"calculationAccuracy\": 2,\n    \"note\": null,\n    \"exchangeRate\": [],\n    \"approvalStep\": {\n        \"id\": 41464,\n        \"step_number\": 1,\n        \"type\": 1,\n        \"name\": \"Main Approver\"\n    },\n    \"status\": 7,\n    \"statusString\": \"status.on_revise\",\n    \"sum\": 80,\n    \"approvingWay\": [],\n    \"location\": {\n        \"id\": 44559,\n        \"uniqueCode\": null,\n        \"name\": \"Main Location\",\n        \"createDate\": \"2022-03-27T10:44:46+00:00\",\n        \"updateDate\": \"2022-03-27T10:44:46+00:00\",\n        \"fullAddress\": \"452 Lorimer Street, Miami, FL, USA\",\n        \"phone\": null,\n        \"allLocationsAccessLegalEntities\": true,\n        \"enable\": true,\n        \"locationAddress\": {\n            \"id\": null\n        }\n    },\n    \"creator\": {\n        \"id\": 44581,\n        \"createDate\": \"2022-04-07T08:55:32+00:00\",\n        \"updateDate\": \"2022-04-07T08:55:32+00:00\",\n        \"email\": \"approver@acme.com\",\n        \"locale\": \"en\",\n        \"phone\": null,\n        \"firstname\": \"Approver\",\n        \"lastname\": \"Acme\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 44559\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allProductGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"unconfirmedEmail\": \"approver@acme.com\"\n    },\n    \"lastApprover\": [],\n    \"lastEditor\": {\n        \"id\": 44581,\n        \"createDate\": \"2022-04-07T08:55:32+00:00\",\n        \"updateDate\": \"2022-04-07T08:55:32+00:00\",\n        \"email\": \"approver@acme.com\",\n        \"locale\": \"en\",\n        \"phone\": null,\n        \"firstname\": \"Approver\",\n        \"lastname\": \"Acme\",\n        \"position\": null,\n        \"location\": {\n            \"id\": 44559\n        },\n        \"allLocationsAccess\": true,\n        \"allUserDocumentCustomFieldsAccess\": true,\n        \"allProductGroupsAccess\": true,\n        \"roles\": [\n            \"ROLE_WAREHOUSE_REQUEST\",\n            \"ROLE_WAREHOUSE_REQUEST_APPROVAL\",\n            \"ROLE_PURCHASE_REQUISITION\",\n            \"ROLE_PURCHASE_REQUISITION_APPROVAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL\",\n            \"ROLE_REQUEST_FOR_PROPOSAL_APPROVAL\",\n            \"ROLE_PURCHASE_ORDER\",\n            \"ROLE_PURCHASE_ORDER_APPROVAL\",\n            \"ROLE_RECEIPT\",\n            \"ROLE_RECEIPT_APPROVAL\",\n            \"ROLE_INVOICE\",\n            \"ROLE_INVOICE_APPROVAL\",\n            \"ROLE_PAYMENT\",\n            \"ROLE_REPORT\",\n            \"ROLE_BUDGET_HOLDER\",\n            \"ROLE_WAREHOUSE_MANAGER\",\n            \"ROLE_SUPPLIER_MANAGEMENT\",\n            \"ROLE_CONFIGURATION\",\n            \"ROLE_USER\"\n        ],\n        \"enable\": true,\n        \"isMarketSupplier\": false,\n        \"isAvailableVacationMode\": false,\n        \"enableVacationMode\": false,\n        \"startVacationMode\": null,\n        \"endVacationMode\": null,\n        \"unconfirmedEmail\": \"approver@acme.com\"\n    },\n    \"secondInCharge\": [],\n    \"dataDocumentCustomFields\": {\n        \"data\": []\n    },\n    \"purchaseRequisitions\": {\n        \"data\": []\n    },\n    \"canOpenDocument\": true,\n    \"approvalInfo\": {\n        \"canApproveDocument\": false,\n        \"canRejectDocument\": false\n    },\n    \"warehouse\": [],\n    \"meta\": {\n        \"notifications\": [\n            {\n                \"id\": \"document_flash.revise_msg\",\n                \"message\": \"The document has been sent for revision.\",\n                \"type\": \"success\"\n            }\n        ]\n    }\n}"}],"_postman_id":"798977b5-d638-405a-afa7-1a3d765324af"},{"name":"Approve supplier by ID","id":"c6bce676-a517-47e7-8d13-8c6eb1195cf8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token"},{"key":"email","value":"user@company.com"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://api.precoro.com/suppliers/{id}/approve","urlObject":{"protocol":"https","path":["suppliers","{id}","approve"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c6bce676-a517-47e7-8d13-8c6eb1195cf8"},{"name":"Reject supplier by ID","id":"ea87e1d4-8139-414c-bc8a-fcc061892162","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token"},{"key":"email","value":"user@company.com"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://api.precoro.com/suppliers/{id}/reject","urlObject":{"protocol":"https","path":["suppliers","{id}","reject"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea87e1d4-8139-414c-bc8a-fcc061892162"}],"id":"a2c04fb4-ba11-4ec1-bed4-4d35f3c25707","description":"<p>Available documents aliases (used for document_alias):<br /><strong>warehouserequests</strong>, <strong>purchaserequisitions</strong>, <strong>purchaseorders</strong>, <strong>receipts</strong>, <strong>invoices, expenses</strong></p>\n","_postman_id":"a2c04fb4-ba11-4ec1-bed4-4d35f3c25707"},{"name":"Download document attachment by ID","id":"ec48419a-f461-425f-b4cc-2bb320221898","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"url":"https://api.precoro.com/attachments/{id}","urlObject":{"protocol":"https","path":["attachments","{id}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ec48419a-f461-425f-b4cc-2bb320221898"},{"name":"Add attachment by ID","id":"d2212376-acd4-4f49-a6db-6918c4f902c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"files","type":"file","src":"V36QeZ3nY/PrecoroUpdatePurchaseRequisitionItems.xlsx"}]},"url":"https://api.precoro.com/attachments/{object_id}/{type}","description":"<p>Type values description:<br /><strong>Purchase Order</strong> = 1</p>\n<p><strong>Purchase Requisition</strong> = 2</p>\n<p><strong>Warehouse Request</strong> = 3</p>\n<p><strong>Budget</strong> = 4</p>\n<p><strong>Request for Proposal</strong> = 5</p>\n<p><strong>Receipt</strong> = 6</p>\n<p><strong>Invoice</strong> = 7</p>\n<p><strong>Expense</strong> = 10</p>\n<p><strong>Contract</strong> = 11</p>\n<hr />\n<p><strong>object_id</strong>: The ID of the specific document (corresponds to the selected <strong>type</strong>) where the attachment will be added.</p>\n","urlObject":{"protocol":"https","path":["attachments","{object_id}","{type}"],"host":["api","precoro","com"],"query":[],"variable":[]}},"response":[{"id":"58d39426-f6cf-4ae3-92a1-6166718b16cf","name":"Add attachment by ID","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-TOKEN","value":"your_company_token","type":"text"},{"key":"email","value":"user@company.com","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"files","type":"file","src":["V36QeZ3nY/PrecoroUpdatePurchaseRequisitionItems.xlsx"]}]},"url":"https://api.precoro.com/attachments/{object_id}/{type}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Nov 2024 08:40:27 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, must-revalidate, no-cache, no-store, private"},{"key":"x-active-company","value":"22359"},{"key":"x-content-type-options","value":"nosniff"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"Thu, 21 Nov 2024 08:40:27 GMT"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=faBNuv6Q1jOAP%2Fd7DRhKgmOakS61o7zNy5Ekj1taY6jRcIpsUzMqCU%2FR%2BwGxYGSFl7VE%2FVY0RAmus4IPfBl49rZA66QTE6iCkpXFEj5WHYtFQkTNUpotsqjMzGbPG%2BaZxA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8e5f5fff6afa5800-IAD"},{"key":"Content-Encoding","value":"br"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=1666&sent=9&recv=20&lost=0&retrans=0&sent_bytes=2333&recv_bytes=20368&delivery_rate=2019525&cwnd=247&unsent_bytes=0&cid=8c0f9a6e83f1eb83&ts=553&x=0\""}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 4085796,\n            \"name\": \"PrecoroUpdatePurchaseRequisitionItems.xlsx\",\n            \"uploadDate\": \"2024-11-21T08:40:27+00:00\",\n            \"user\": {\n                \"id\": 95888,\n                \"email\": \"apitesterfordocumentation@gmail.com\",\n                \"company\": {\n                    \"id\": 22359\n                }\n            },\n            \"type\": 0,\n            \"size\": \"19 KB\",\n            \"formatType\": \"xlsx\",\n            \"comment\": null\n        }\n    ]\n}"}],"_postman_id":"d2212376-acd4-4f49-a6db-6918c4f902c6"}],"event":[{"listen":"prerequest","script":{"id":"c770f0be-89ac-4ce6-92e4-1fcfebd15294","type":"text/javascript","requests":{},"exec":[""]}},{"listen":"test","script":{"id":"c1b57939-6eaf-4d08-9fe7-2cd2cdebf2e4","type":"text/javascript","requests":{},"exec":[""]}}],"variable":[{"key":"your_company_token","value":"your_company_token"},{"key":"your_email","value":"user@company.com"},{"key":"baseUrl","value":""}]}