{"info":{"_postman_id":"37acd4ed-0058-4657-90c7-2d871bcfa076","name":"V.Alexander & Co. Rest API","description":"<html><head></head><body><hr>\n<p>The V. Alexander API enables customers to create secure data integrations to optimize existing paper-driven supply-chain processes such as document transfer, accounting, commercial invoice creation, and shipping transaction updates.</p>\n<p>V. Alexander supports the following key use cases, and we are continually adding new features:</p>\n<ul>\n<li>Shipping document retrieval</li>\n<li>Shipping document upload</li>\n<li>AR invoice data and PDF backup</li>\n<li>Customs commercial invoice creation</li>\n</ul>\n<p>If you have a question about the API or a request for functionality, please don't hesitate to contact your V. Alexander account team.</p>\n<h1 id=\"getting-started\">Getting started</h1>\n<p>To get started, contact your V. Alexander account team to obtain credentials and an API key. You will need the following information:</p>\n<ol>\n<li>The email address for the technical contact at your company.</li>\n<li>The IP address (or IP addresses) you will use to send requests to the API.</li>\n<li>A list of the documented API resources you would like to use, and a description of your use case.</li>\n</ol>\n<blockquote>\n<p><strong>Note</strong>: Access to the V. Alexander API is restricted to a list of allowed IP addresses. Please remember to make a note of the originating IP address so we can allow the new traffic.</p>\n</blockquote>\n<h2 id=\"authentication-and-authorization\">Authentication and Authorization</h2>\n<p>The V. Alexander API uses OAuth 2.0 along with an API key for authentication and authorization. All applications follow a basic pattern when accessing a V.Alexander API using OAuth 2.0. At a high level, you follow these steps:</p>\n<ol>\n<li>Contact the V.Alexander IT team to obtain your access credentials if you don't have them before continuing.</li>\n<li><strong>Note:</strong> Access tokens expire after 1 hour. Client credentials do not use refresh tokens, and you will need to re-authenticate when your token expires.</li>\n<li>Include the access token and API key with your request.<br> After your application obtains an access token, it should send the token and API Key to the V. Alexander API in the HTTP request header.<ul>\n<li>Set an <code>\"x-api-key\"</code> header with the value set to your API key.</li>\n<li>Set an <code>\"Authorization\"</code> header with the value set to your access token.</li>\n</ul>\n</li>\n</ol>\n<h2 id=\"scopes\">Scopes</h2>\n<p>V. Alexander API controls authenticated access to resources and methods with scopes. V. Alexander configures these scopes for each customer and app client based on their needs. Please reach out to your V. Alexander team if you have any questions.</p>\n<h3 id=\"all-supported-scopes\">All supported scopes</h3>\n<ul>\n<li><em>arinvoice.read:</em> Use this scope to read AR Invoice data or download AR Invoice PDF documents.</li>\n<li><em>document.read:</em> Use this scope to download shipping documents.</li>\n<li><em>event.customsdeclaration.z90.write:</em> Use this scope to update or add documents to Customs transactions.</li>\n<li><em>event.forwardingshipment.z90.write:</em> Use this scope to update or add documents to Forwarding transactions.</li>\n<li><em>request.read:</em> Use this scope to read Request status for asynchronous creation requests such as POST &amp; PUT.</li>\n<li><em>customsciv.write:</em> Use this scope to create US Customs commercial invoices.</li>\n</ul>\n<blockquote>\n<p><strong>NOTE</strong> To protect your data in our system, V. Alexander requires a consultation with your team before granting permission to use <code>event.\\*</code> scopes. Please contact your V. Alexander account team for more information.</p>\n</blockquote>\n<h2 id=\"import-and-test-api-collection-locally-in-postman\">Import and Test API Collection Locally in Postman</h2>\n<p>V. Alexander API Collection can be imported into your local Postman app for testing. You will need the Postman application to use this feature.</p>\n<ol>\n<li>From this documentation, click <code>Run in Postman</code> and select the workspace to import the collection into.</li>\n<li>Click on the <code>edit</code> option on the imported collection.</li>\n<li>Add the following script into the <code>Pre-request script</code> section and update the <code>clientId</code>, <code>clientSecret</code>, <code>apiKey</code>, and <code>tokenUrl</code> constants. You will have received these data points from V. Alexander as part of the setup process.</li>\n</ol>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-js\">// update this section\nconst clientId = 'your_client_id';\nconst clientSecret = 'your_client_secret';\nconst apiKey = \"your_api_key\";\nconst tokenUrl = 'token_url';\nconst domain = 'cw.valexanderapis.com';\nconst getTokenRequest = {\n  method: \"POST\",\n  url: tokenUrl,\n  body: {\n    mode: \"urlencoded\",\n    urlencoded: [\n      { key: \"client_id\", value: clientId },\n      { key: \"client_secret\", value: clientSecret },\n      { key: \"grant_type\", value: \"client_credentials\" },\n    ],\n  },\n};\npm.sendRequest(getTokenRequest, (err, response) =&gt; {\n  if (err) {\n    console.log(err);\n  }\n  const jsonResponse = response.json();\n  const newAccessToken = jsonResponse.access_token;\n  pm.environment.set(\"domain\", domain);\n  pm.environment.set(\"api_key\", apiKey);\n  pm.environment.set(\"access_token\", newAccessToken);\n});\n\n</code></pre>\n<p>After you save the script, Postman will automatically authenticate to the API, and you will able to make request to our API.</p>\n<h2 id=\"postman-settings\">Postman Settings</h2>\n<p>To help exploring the API, you may want to turn on some Postman settings:</p>\n<ul>\n<li>Enable `Retain headers when clicking on links`. This setting allows the user to directly send a request using a link from the collection response by automatically carrying over existing auth headers to a new window. eg., invoke /v1/invoice/:transaction-number from /v1/invoices/:debtor-code response directly.</li>\n</ul>\n<img src=\"https://externalapi-postman-screenshots.s3.amazonaws.com/postman-setting.png\" alt=\"\">\n\n<h1 id=\"support\">Support</h1>\n<p>For help regarding accessing the V. Alexander API, please contact your V. Alexander technical contact. To help us address your request efficiently, please include the following:</p>\n<ul>\n<li>A detailed description of the issue</li>\n<li>The request you made, including the HTTP headers</li>\n<li>The response you received from the API</li>\n</ul>\n<h3 id=\"troubleshooting\">Troubleshooting</h3>\n<h4 id=\"403-forbidden\"><code>403 Forbidden</code></h4>\n<p>If you receive a 403 response, check your IP address to ensure it is the same IP address we allowed during setup. Testing from behind a web VPN will change your IP address, and the API will block your request.</p>\n<p>If receive a <code>5XX</code> error, it implies that we have hit an unexpected errors internally. Please let us know.</p>\n<h1 id=\"api-reference\">API Reference</h1>\n<hr>\n<h3 id=\"error-responses\">Error responses</h3>\n<p>The V. Alexander API uses a single schema for all errors. Please refer to the schema and example below.</p>\n<h4 id=\"error-response-json-schema-4xx-and-5xx\">Error Response JSON Schema (4XX and 5XX)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n  \"type\": \"object\",\n  \"properties\": {\n    \"message\": { \"type\": \"string\" },\n    \"debugId\": { \"type\": \"string\" },\n    \"links\": {\n      \"type\": \"array\",\n      \"minItems\": 1,\n      \"items\": { \"$ref\": \"#/definitions/link\" }\n    }\n  },\n  \"definitions\": {\n    \"link\": {\n      \"properties\": {\n        \"href\": { \"type\": \"string\" },\n        \"rel\": {\n          \"type\": \"string\",\n          \"const\": \"documentation\"\n        },\n        \"method\": {\n          \"type\": \"string\",\n          \"const\": \"GET\"\n        }\n      },\n      \"type\": \"object\",\n      \"required\": [\"href\", \"rel\", \"property\", \"method\"]\n    }\n  },\n  \"required\": [\"message\", \"links\", \"debugId\"]\n}\n\n</code></pre>\n<h4 id=\"example\">Example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"message\": \"message\",\n  \"debugId\": \"debugId\",\n  \"links\": [\n    {\n      \"href\": \"href\",\n      \"rel\": \"documentation\",\n      \"method\": \"GET\"\n    }\n  ]\n}\n\n</code></pre></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Getting started","slug":"getting-started"},{"content":"Support","slug":"support"},{"content":"API Reference","slug":"api-reference"}],"owner":"12752850","collectionId":"37acd4ed-0058-4657-90c7-2d871bcfa076","publishedId":"UzQxMPVP","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-07-18T20:47:29.000Z"},"item":[{"name":"Document","item":[{"name":"Document","id":"b9745640-5ec6-4603-a3bd-656ea9825a65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"url":"https://{{domain}}/v1/document/:document_id","description":"<p>Use this resource to access a single document for download.</p>\n<h2 id=\"response-json-schema\">Response JSON Schema</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n  \"type\": \"object\",\n  \"properties\": {\n    \"id\": { \"type\": \"string\" },\n    \"parent_key\": { \"type\": \"string\" },\n    \"save_date\": { \"type\": \"string\" },\n    \"document_type\": {\n      \"$comment\": \"The following reference defines each standard document type we support. However, your V. Alexander account team may have defined custom document codes for you. When you implement your document integration, be sure to clarify whether or not this is the case.\",\n      \"oneOf\": [\n        {\n          \"const\": \"COM\",\n          \"description\": \"Compliance Tax Report\"\n        },\n        {\n          \"const\": \"MSD\",\n          \"description\": \"Miscellaneous Sales Manager Document\"\n        },\n        {\n          \"const\": \"EXD\",\n          \"description\": \"Exporter Documents\"\n        },\n        {\n          \"const\": \"MCD\",\n          \"description\": \"Miscellaneous Customs Document\"\n        },\n        {\n          \"const\": \"RBK\",\n          \"description\": \"REVISED BOOKING CONFIRMATION\"\n        },\n        {\n          \"const\": \"COT\",\n          \"description\": \"Cotton Certificate\"\n        },\n        {\n          \"const\": \"NAF\",\n          \"description\": \"NAFTA Certificate\"\n        },\n        {\n          \"const\": \"POA\",\n          \"description\": \"Power of Attorney\"\n        },\n        {\n          \"const\": \"QUO\",\n          \"description\": \"Quotation\"\n        },\n        {\n          \"const\": \"INS\",\n          \"description\": \"Insurance Certificate\"\n        },\n        {\n          \"const\": \"TIC\",\n          \"description\": \"Trucker Insurance Certificate\"\n        },\n        {\n          \"const\": \"2RM\",\n          \"description\": \"2nd Request For Immediate Payment\"\n        },\n        {\n          \"const\": \"1RM\",\n          \"description\": \"Request for Immediate Payment\"\n        },\n        {\n          \"const\": \"COL\",\n          \"description\": \"Collection Letter\"\n        },\n        {\n          \"const\": \"DEM\",\n          \"description\": \"Letter of Demand\"\n        },\n        {\n          \"const\": \"IMO\",\n          \"description\": \"Final IMO DEC\"\n        },\n        {\n          \"const\": \"DOC\",\n          \"description\": \"DOCUMENTS OUT COVER LETTER\"\n        },\n        {\n          \"const\": \"ABB\",\n          \"description\": \"Additional Billing Back up\"\n        },\n        {\n          \"const\": \"CIX\",\n          \"description\": \"Invoice Excel\"\n        },\n        {\n          \"const\": \"EDE\",\n          \"description\": \"Email Delivery Change\"\n        },\n        {\n          \"const\": \"FIV\",\n          \"description\": \"Final Invoice\"\n        },\n        {\n          \"const\": \"DDD\",\n          \"description\": \"Duty Drawback 7552\"\n        },\n        {\n          \"const\": \"C28\",\n          \"description\": \"CF28 - Customs Form 28\"\n        },\n        {\n          \"const\": \"C29\",\n          \"description\": \"CF29 - Customs Form 29\"\n        },\n        {\n          \"const\": \"ACE\",\n          \"description\": \"ACE notes\"\n        },\n        {\n          \"const\": \"POR\",\n          \"description\": \"Proof of Release\"\n        },\n        {\n          \"const\": \"ISF\",\n          \"description\": \"ISF Template\"\n        },\n        {\n          \"const\": \"IEB\",\n          \"description\": \"ISF Single Entry Bond\"\n        },\n        {\n          \"const\": \"SEB\",\n          \"description\": \"Single Entry Bond\"\n        },\n        {\n          \"const\": \"PGA\",\n          \"description\": \"PGA Document\"\n        },\n        {\n          \"const\": \"OBB\",\n          \"description\": \"Billing Back up\"\n        },\n        {\n          \"const\": \"T&amp;C\",\n          \"description\": \"Terms and Conditions\"\n        },\n        {\n          \"const\": \"CRR\",\n          \"description\": \"Credit Report\"\n        },\n        {\n          \"const\": \"CME\",\n          \"description\": \"Compliance Managemnt Exception\"\n        },\n        {\n          \"const\": \"102\",\n          \"description\": \"ISFSummary\"\n        },\n        {\n          \"const\": \"UMC\",\n          \"description\": \"USMCA Certificate\"\n        },\n        {\n          \"const\": \"CPO\",\n          \"description\": \"Customer Purchase Order\"\n        },\n        {\n          \"const\": \"RSB\",\n          \"description\": \"PTRS Reportable Small Business\"\n        },\n        {\n          \"const\": \"TPA\",\n          \"description\": \"Trucker Pre-Alert\"\n        },\n        {\n          \"const\": \"QPP\",\n          \"description\": \"Quarantine Print Preview\"\n        },\n        {\n          \"const\": \"CED\",\n          \"description\": \"Canadian Entry Documents\"\n        },\n        {\n          \"const\": \"DBC\",\n          \"description\": \"Direct Booking Confirmation\"\n        },\n        {\n          \"const\": \"DBL\",\n          \"description\": \"Draft Bill of Lading\"\n        },\n        {\n          \"const\": \"FDA\",\n          \"description\": \"FDA Documents and Forms\"\n        },\n        {\n          \"const\": \"EPA\",\n          \"description\": \"EPA Documents, Forms and TSCA + or - Certification\"\n        },\n        {\n          \"const\": \"DOT\",\n          \"description\": \"DOT Documents and Forms\"\n        },\n        {\n          \"const\": \"TST\",\n          \"description\": \"Testing Results\"\n        },\n        {\n          \"const\": \"FCR\",\n          \"description\": \"Forwarders Cargo Receipt\"\n        },\n        {\n          \"const\": \"SOC\",\n          \"description\": \"Shipper Owned Container Empty Instructions\"\n        },\n        {\n          \"const\": \"QUO\",\n          \"description\": \"Quotation\"\n        },\n        {\n          \"const\": \"DSO\",\n          \"description\": \"Documents Sent Out to Consignee/Bank/Agent\"\n        },\n        {\n          \"const\": \"7LI\",\n          \"description\": \"7501 &amp; Line Report\"\n        },\n        {\n          \"const\": \"TBA\",\n          \"description\": \"POA to be Approved\"\n        },\n        {\n          \"const\": \"ARN\",\n          \"description\": \"Arrival Notice\"\n        },\n        {\n          \"const\": \"HBL\",\n          \"description\": \"House Waybill/Bill of Lading\"\n        },\n        {\n          \"const\": \"BKC\",\n          \"description\": \"Booking Confirmation\"\n        },\n        {\n          \"const\": \"OBL\",\n          \"description\": \"Original Bill Of Lading\"\n        },\n        {\n          \"const\": \"POA\",\n          \"description\": \"Power of Attorney\"\n        },\n        {\n          \"const\": \"SLI\",\n          \"description\": \"Shippers Letter of Instruction\"\n        },\n        {\n          \"const\": \"PKL\",\n          \"description\": \"Packing List\"\n        },\n        {\n          \"const\": \"INS\",\n          \"description\": \"Insurance Certificate\"\n        },\n        {\n          \"const\": \"CIV\",\n          \"description\": \"Commercial Invoice\"\n        },\n        {\n          \"const\": \"COO\",\n          \"description\": \"Certificate of Origin\"\n        },\n        {\n          \"const\": \"EPR\",\n          \"description\": \"Entry Print\"\n        },\n        {\n          \"const\": \"DOR\",\n          \"description\": \"Delivery Order\"\n        },\n        {\n          \"const\": \"LDL\",\n          \"description\": \"Load List\"\n        },\n        {\n          \"const\": \"MFD\",\n          \"description\": \"Miscellaneous Freight Document\"\n        },\n        {\n          \"const\": \"WBL\",\n          \"description\": \"Warehouse Bill of Lading\"\n        },\n        {\n          \"const\": \"ILR\",\n          \"description\": \"Invoice Lines Report\"\n        },\n        {\n          \"const\": \"PPW\",\n          \"description\": \"Paperwork\"\n        },\n        {\n          \"const\": \"DSS\",\n          \"description\": \"Documents Sent to Shipper\"\n        },\n        {\n          \"const\": \"CDO\",\n          \"description\": \"Commercial Documents\"\n        },\n        {\n          \"const\": \"RFB\",\n          \"description\": \"Request for Booking\"\n        },\n        {\n          \"const\": \"RAT\",\n          \"description\": \"Rate Acceptance\"\n        },\n        {\n          \"const\": \"RPW\",\n          \"description\": \"REVISED PAPERWORK\"\n        },\n        {\n          \"const\": \"PAN\",\n          \"description\": \"PRE - ADVICE NOTICE\"\n        },\n        {\n          \"const\": \"POD\",\n          \"description\": \"Proof Of Delivery\"\n        },\n        {\n          \"const\": \"CST\",\n          \"description\": \"Customs Status Advice\"\n        },\n        {\n          \"const\": \"TLX\",\n          \"description\": \"Telex Release HBL Copy\"\n        }\n      ]\n    },\n    \"document_name\": { \"type\": \"string\" },\n    \"reference_numbers\": {\n      \"items\": { \"type\": \"string\" },\n      \"type\": \"array\"\n    },\n    \"entry_numbers\": {\n      \"items\": { \"type\": \"string\" },\n      \"type\": \"array\"\n    },\n    \"links\": {\n      \"type\": \"array\",\n      \"maxItems\": 2,\n      \"items\": [\n        { \"$ref\": \"#/definitions/selfLink\" },\n        { \"$ref\": \"#/definitions/locationLink\" }\n      ],\n      \"minItems\": 1\n    }\n  },\n  \"definitions\": {\n    \"selfLink\": {\n      \"properties\": {\n        \"method\": {\n          \"type\": \"string\",\n          \"const\": \"GET\"\n        },\n        \"rel\": {\n          \"type\": \"string\",\n          \"const\": \"self\"\n        },\n        \"href\": { \"type\": \"string\" }\n      },\n      \"type\": \"object\",\n      \"required\": [\"method\", \"rel\", \"href\"]\n    },\n    \"locationLink\": {\n      \"properties\": {\n        \"method\": {\n          \"type\": \"string\",\n          \"const\": \"GET\"\n        },\n        \"rel\": {\n          \"type\": \"string\",\n          \"const\": \"location\"\n        },\n        \"href\": { \"type\": \"string\" }\n      },\n      \"type\": \"object\",\n      \"required\": [\"method\", \"rel\", \"href\"]\n    }\n  },\n  \"required\": [\n    \"links\",\n    \"id\",\n    \"parent_key\",\n    \"document_type\",\n    \"document_name\",\n    \"reference_number\",\n    \"entry_numbers\",\n    \"reference_numbers\",\n    \"save_date\"\n  ]\n}\n\n</code></pre><h2 id=\"path-parameters\">Path Parameters</h2>\n<ul>\n<li>document_id<br />A unique id for the document descriptor.</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"accessTokenUrl","value":"{{access_token_url}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"tokenType","value":"<token-type>"},{"key":"headerPrefix","value":"<header-prefix>"}]},"isInherited":true,"source":{"_postman_id":"37acd4ed-0058-4657-90c7-2d871bcfa076","id":"37acd4ed-0058-4657-90c7-2d871bcfa076","name":"V.Alexander & Co. Rest API","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","document",":document_id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"d47a63e502314cda92692f95b6340b2f","key":"document_id"}]}},"response":[{"id":"a909d7a1-1dae-4933-8c27-1cd7b7994337","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"url":{"raw":"https://cw.valexanderapis.com/v1/documents/:document_id","protocol":"https","host":["cw","valexanderapis","com"],"path":["v1","documents",":document_id"],"variable":[{"key":"document_id","value":"d47a63e502314cda92692f95b6340b2f","description":"unique id for the document"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1355"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 23 Mar 2021 20:00:38 GMT"},{"key":"x-amzn-RequestId","value":"3ea7f464-38ce-4d9b-98c7-d902de4220a2"},{"key":"x-amz-apigw-id","value":"cqBT8FE4oAMFc2A="},{"key":"X-Amzn-Trace-Id","value":"Root=1-605a48e5-6234eeec153d7c6e65a22d52"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 ea6d44855948fa16c9e8fb87911af869.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"ATL56-C4"},{"key":"X-Amz-Cf-Id","value":"AFgqZGdJ6obeeinuEiMuuGMutmmKj28lzpVldO5o2pAbEO7nJ9RiTg=="}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"id\",\n  \"parent_key\": \"parent_key\",\n  \"save_date\": \"save_date\",\n  \"document_type\": \"document_type\",\n  \"document_name\": \"document_name\",\n  \"reference_numbers\": [\"reference_numbers0\"],\n  \"entry_numbers\": [\"entry_numbers0\"],\n  \"links\": [\n    {\n      \"method\": \"GET\",\n      \"rel\": \"self\",\n      \"href\": \"href\"\n    },\n    {\n      \"method\": \"GET\",\n      \"rel\": \"location\",\n      \"href\": \"href\"\n    }\n  ]\n}\n"}],"_postman_id":"b9745640-5ec6-4603-a3bd-656ea9825a65"},{"name":"Documents","event":[{"listen":"test","script":{"exec":["pm.test(\"Status test\", function () {","    pm.response.to.have.status(200);","});",""],"type":"text/javascript","id":"624d5bb1-ad53-4c22-ada4-f59385617ecb"}}],"id":"222a2738-c3a7-4145-89b5-cd6a1865122b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"url":"https://{{domain}}/v1/documents/:organization_code","description":"<p>Use this resource to retrieve a collection of shipping documents.</p>\n<h2 id=\"response-json-schema\">Response JSON Schema</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n  \"type\": \"object\",\n  \"properties\": {\n    \"items\": {\n      \"type\": \"array\",\n      \"items\": { \"$ref\": \"#/definitions/item\" }\n    },\n    \"links\": {\n      \"type\": \"array\",\n      \"maxItems\": 2,\n      \"items\": [\n        { \"$ref\": \"#/definitions/selfLink\" },\n        { \"$ref\": \"#/definitions/nextLink\" }\n      ],\n      \"minItems\": 1\n    }\n  },\n  \"definitions\": {\n    \"item\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"id\": { \"type\": \"string\" },\n        \"save_date\": { \"type\": \"string\" },\n        \"document_type\": {\n          \"$comment\": \"The following reference defines each standard document type we support. However, your V. Alexander account team may have defined custom document codes for you. When you implement your document integration, be sure to clarify whether or not this is the case.\",\n          \"oneOf\": [\n            {\n              \"const\": \"COM\",\n              \"description\": \"Compliance Tax Report\"\n            },\n            {\n              \"const\": \"MSD\",\n              \"description\": \"Miscellaneous Sales Manager Document\"\n            },\n            {\n              \"const\": \"EXD\",\n              \"description\": \"Exporter Documents\"\n            },\n            {\n              \"const\": \"MCD\",\n              \"description\": \"Miscellaneous Customs Document\"\n            },\n            {\n              \"const\": \"RBK\",\n              \"description\": \"REVISED BOOKING CONFIRMATION\"\n            },\n            {\n              \"const\": \"COT\",\n              \"description\": \"Cotton Certificate\"\n            },\n            {\n              \"const\": \"NAF\",\n              \"description\": \"NAFTA Certificate\"\n            },\n            {\n              \"const\": \"POA\",\n              \"description\": \"Power of Attorney\"\n            },\n            {\n              \"const\": \"QUO\",\n              \"description\": \"Quotation\"\n            },\n            {\n              \"const\": \"INS\",\n              \"description\": \"Insurance Certificate\"\n            },\n            {\n              \"const\": \"TIC\",\n              \"description\": \"Trucker Insurance Certificate\"\n            },\n            {\n              \"const\": \"2RM\",\n              \"description\": \"2nd Request For Immediate Payment\"\n            },\n            {\n              \"const\": \"1RM\",\n              \"description\": \"Request for Immediate Payment\"\n            },\n            {\n              \"const\": \"COL\",\n              \"description\": \"Collection Letter\"\n            },\n            {\n              \"const\": \"DEM\",\n              \"description\": \"Letter of Demand\"\n            },\n            {\n              \"const\": \"IMO\",\n              \"description\": \"Final IMO DEC\"\n            },\n            {\n              \"const\": \"DOC\",\n              \"description\": \"DOCUMENTS OUT COVER LETTER\"\n            },\n            {\n              \"const\": \"ABB\",\n              \"description\": \"Additional Billing Back up\"\n            },\n            {\n              \"const\": \"CIX\",\n              \"description\": \"Invoice Excel\"\n            },\n            {\n              \"const\": \"EDE\",\n              \"description\": \"Email Delivery Change\"\n            },\n            {\n              \"const\": \"FIV\",\n              \"description\": \"Final Invoice\"\n            },\n            {\n              \"const\": \"DDD\",\n              \"description\": \"Duty Drawback 7552\"\n            },\n            {\n              \"const\": \"C28\",\n              \"description\": \"CF28 - Customs Form 28\"\n            },\n            {\n              \"const\": \"C29\",\n              \"description\": \"CF29 - Customs Form 29\"\n            },\n            {\n              \"const\": \"ACE\",\n              \"description\": \"ACE notes\"\n            },\n            {\n              \"const\": \"POR\",\n              \"description\": \"Proof of Release\"\n            },\n            {\n              \"const\": \"ISF\",\n              \"description\": \"ISF Template\"\n            },\n            {\n              \"const\": \"IEB\",\n              \"description\": \"ISF Single Entry Bond\"\n            },\n            {\n              \"const\": \"SEB\",\n              \"description\": \"Single Entry Bond\"\n            },\n            {\n              \"const\": \"PGA\",\n              \"description\": \"PGA Document\"\n            },\n            {\n              \"const\": \"OBB\",\n              \"description\": \"Billing Back up\"\n            },\n            {\n              \"const\": \"T&amp;C\",\n              \"description\": \"Terms and Conditions\"\n            },\n            {\n              \"const\": \"CRR\",\n              \"description\": \"Credit Report\"\n            },\n            {\n              \"const\": \"CME\",\n              \"description\": \"Compliance Managemnt Exception\"\n            },\n            {\n              \"const\": \"102\",\n              \"description\": \"ISFSummary\"\n            },\n            {\n              \"const\": \"UMC\",\n              \"description\": \"USMCA Certificate\"\n            },\n            {\n              \"const\": \"CPO\",\n              \"description\": \"Customer Purchase Order\"\n            },\n            {\n              \"const\": \"RSB\",\n              \"description\": \"PTRS Reportable Small Business\"\n            },\n            {\n              \"const\": \"TPA\",\n              \"description\": \"Trucker Pre-Alert\"\n            },\n            {\n              \"const\": \"QPP\",\n              \"description\": \"Quarantine Print Preview\"\n            },\n            {\n              \"const\": \"CED\",\n              \"description\": \"Canadian Entry Documents\"\n            },\n            {\n              \"const\": \"DBC\",\n              \"description\": \"Direct Booking Confirmation\"\n            },\n            {\n              \"const\": \"DBL\",\n              \"description\": \"Draft Bill of Lading\"\n            },\n            {\n              \"const\": \"FDA\",\n              \"description\": \"FDA Documents and Forms\"\n            },\n            {\n              \"const\": \"EPA\",\n              \"description\": \"EPA Documents, Forms and TSCA + or - Certification\"\n            },\n            {\n              \"const\": \"DOT\",\n              \"description\": \"DOT Documents and Forms\"\n            },\n            {\n              \"const\": \"TST\",\n              \"description\": \"Testing Results\"\n            },\n            {\n              \"const\": \"FCR\",\n              \"description\": \"Forwarders Cargo Receipt\"\n            },\n            {\n              \"const\": \"SOC\",\n              \"description\": \"Shipper Owned Container Empty Instructions\"\n            },\n            {\n              \"const\": \"QUO\",\n              \"description\": \"Quotation\"\n            },\n            {\n              \"const\": \"DSO\",\n              \"description\": \"Documents Sent Out to Consignee/Bank/Agent\"\n            },\n            {\n              \"const\": \"7LI\",\n              \"description\": \"7501 &amp; Line Report\"\n            },\n            {\n              \"const\": \"TBA\",\n              \"description\": \"POA to be Approved\"\n            },\n            {\n              \"const\": \"ARN\",\n              \"description\": \"Arrival Notice\"\n            },\n            {\n              \"const\": \"HBL\",\n              \"description\": \"House Waybill/Bill of Lading\"\n            },\n            {\n              \"const\": \"BKC\",\n              \"description\": \"Booking Confirmation\"\n            },\n            {\n              \"const\": \"OBL\",\n              \"description\": \"Original Bill Of Lading\"\n            },\n            {\n              \"const\": \"POA\",\n              \"description\": \"Power of Attorney\"\n            },\n            {\n              \"const\": \"SLI\",\n              \"description\": \"Shippers Letter of Instruction\"\n            },\n            {\n              \"const\": \"PKL\",\n              \"description\": \"Packing List\"\n            },\n            {\n              \"const\": \"INS\",\n              \"description\": \"Insurance Certificate\"\n            },\n            {\n              \"const\": \"CIV\",\n              \"description\": \"Commercial Invoice\"\n            },\n            {\n              \"const\": \"COO\",\n              \"description\": \"Certificate of Origin\"\n            },\n            {\n              \"const\": \"EPR\",\n              \"description\": \"Entry Print\"\n            },\n            {\n              \"const\": \"DOR\",\n              \"description\": \"Delivery Order\"\n            },\n            {\n              \"const\": \"LDL\",\n              \"description\": \"Load List\"\n            },\n            {\n              \"const\": \"MFD\",\n              \"description\": \"Miscellaneous Freight Document\"\n            },\n            {\n              \"const\": \"WBL\",\n              \"description\": \"Warehouse Bill of Lading\"\n            },\n            {\n              \"const\": \"ILR\",\n              \"description\": \"Invoice Lines Report\"\n            },\n            {\n              \"const\": \"PPW\",\n              \"description\": \"Paperwork\"\n            },\n            {\n              \"const\": \"DSS\",\n              \"description\": \"Documents Sent to Shipper\"\n            },\n            {\n              \"const\": \"CDO\",\n              \"description\": \"Commercial Documents\"\n            },\n            {\n              \"const\": \"RFB\",\n              \"description\": \"Request for Booking\"\n            },\n            {\n              \"const\": \"RAT\",\n              \"description\": \"Rate Acceptance\"\n            },\n            {\n              \"const\": \"RPW\",\n              \"description\": \"REVISED PAPERWORK\"\n            },\n            {\n              \"const\": \"PAN\",\n              \"description\": \"PRE - ADVICE NOTICE\"\n            },\n            {\n              \"const\": \"POD\",\n              \"description\": \"Proof Of Delivery\"\n            },\n            {\n              \"const\": \"CST\",\n              \"description\": \"Customs Status Advice\"\n            },\n            {\n              \"const\": \"TLX\",\n              \"description\": \"Telex Release HBL Copy\"\n            }\n          ]\n        },\n        \"document_name\": { \"type\": \"string\" },\n        \"parent_key\": { \"type\": \"string\" },\n        \"links\": {\n          \"type\": \"array\",\n          \"items\": { \"$ref\": \"#/definitions/itemLink\" }\n        }\n      },\n      \"required\": [\n        \"id\",\n        \"document_type\",\n        \"document_name\",\n        \"parent_key\",\n        \"links\",\n        \"save_date\"\n      ]\n    },\n    \"selfLink\": {\n      \"properties\": {\n        \"method\": {\n          \"type\": \"string\",\n          \"const\": \"GET\"\n        },\n        \"rel\": {\n          \"type\": \"string\",\n          \"const\": \"self\"\n        },\n        \"href\": { \"type\": \"string\" }\n      },\n      \"type\": \"object\",\n      \"required\": [\"method\", \"rel\", \"href\"]\n    },\n    \"nextLink\": {\n      \"properties\": {\n        \"method\": {\n          \"type\": \"string\",\n          \"const\": \"GET\"\n        },\n        \"rel\": {\n          \"type\": \"string\",\n          \"const\": \"next\"\n        },\n        \"href\": { \"type\": \"string\" }\n      },\n      \"type\": \"object\",\n      \"required\": [\"method\", \"rel\", \"href\"]\n    },\n    \"itemLink\": {\n      \"properties\": {\n        \"method\": {\n          \"type\": \"string\",\n          \"const\": \"GET\"\n        },\n        \"rel\": {\n          \"type\": \"string\",\n          \"const\": \"item\"\n        },\n        \"href\": { \"type\": \"string\" }\n      },\n      \"type\": \"object\",\n      \"required\": [\"method\", \"rel\", \"href\"]\n    }\n  },\n  \"required\": [\"items\", \"links\"]\n}\n\n</code></pre><h2 id=\"path-parameters\">Path Parameters</h2>\n<ul>\n<li>organization_code<br />Alphanumeric code representing the company or business division which owns the document. Example: VACBNA0001.</li>\n</ul>\n<h2 id=\"query-parameters\">Query Parameters</h2>\n<ul>\n<li>parent_key<br />An alphanumeric code representing the parent job in V. Alexander's system. Example: B7081234.</li>\n<li>entry_number<br />The customs entry number of the shipment.</li>\n<li>reference_number<br />The reference number you provide to V. Alexander to identify the shipping transaction. For example, a purchase order number or internal system id.</li>\n<li>save_date_before<br />Use this to select documents saved in our system before a specific date (YYYY-MM-DD). This may be used in combination with any other query parameter. Example: 2020-01-31.</li>\n<li>save_date_after<br />Use this to select documents saved in our system before a specific date (YYYY-MM-DD). This may be used in combination with any other query parameter. Example: 2020-01-31.</li>\n<li>next_page_token<br />Use this token to get the next page of results.</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"accessTokenUrl","value":"{{access_token_url}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"tokenType","value":"<token-type>"},{"key":"headerPrefix","value":"<header-prefix>"}]},"isInherited":true,"source":{"_postman_id":"37acd4ed-0058-4657-90c7-2d871bcfa076","id":"37acd4ed-0058-4657-90c7-2d871bcfa076","name":"V.Alexander & Co. Rest API","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","documents",":organization_code"],"host":["{{domain}}"],"query":[],"variable":[{"id":"4747c63e-c9c8-4c57-8376-57637f052dd8","type":"any","value":"VACBNA0001","key":"organization_code"}]}},"response":[{"id":"be4845c6-4755-4dc7-a77b-4d72daa91868","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"url":{"raw":"https://cw.valexanderapis.com/v1/shipments/:shipment_id/documents","protocol":"https","host":["cw","valexanderapis","com"],"path":["v1","shipments",":shipment_id","documents"],"variable":[{"key":"shipment_id","value":"B0000001"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"411"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 23 Mar 2021 20:14:10 GMT"},{"key":"x-amzn-RequestId","value":"1868608f-54b0-4d6b-a397-52cd4a2c913c"},{"key":"x-amz-apigw-id","value":"cqDS2HFIoAMFrEw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-605a4c12-55342ac70918a78c69ccdae7"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 35e961d92b53b44ff9151f7d99d4f4c8.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"ATL56-C4"},{"key":"X-Amz-Cf-Id","value":"1sIvu0QlVwasDOqbS1fKAj492gOKk9LUklBA118MWkmBUfeLnBMKUA=="}],"cookie":[],"responseTime":null,"body":"{\n  \"items\": [\n    {\n      \"id\": \"id\",\n      \"save_date\": \"save_date\",\n      \"document_type\": \"document_type\",\n      \"document_name\": \"document_name\",\n      \"parent_key\": \"parent_key\",\n      \"links\": [\n        {\n          \"method\": \"GET\",\n          \"rel\": \"item\",\n          \"href\": \"href\"\n        }\n      ]\n    }\n  ],\n  \"links\": [\n    {\n      \"method\": \"GET\",\n      \"rel\": \"self\",\n      \"href\": \"href\"\n    },\n    {\n      \"method\": \"GET\",\n      \"rel\": \"next\",\n      \"href\": \"href\"\n    }\n  ]\n}\n"}],"_postman_id":"222a2738-c3a7-4145-89b5-cd6a1865122b"}],"id":"20577be8-2c07-4ec7-a513-8f8446ce302f","_postman_id":"20577be8-2c07-4ec7-a513-8f8446ce302f","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"accessTokenUrl","value":"{{access_token_url}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"tokenType","value":"<token-type>"},{"key":"headerPrefix","value":"<header-prefix>"}]},"isInherited":true,"source":{"_postman_id":"37acd4ed-0058-4657-90c7-2d871bcfa076","id":"37acd4ed-0058-4657-90c7-2d871bcfa076","name":"V.Alexander & Co. Rest API","type":"collection"}}},{"name":"ARInvoice","item":[{"name":"Invoice","id":"34e6390e-f599-498a-af2d-189ce4c02ac1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"url":"https://{{domain}}/v1/invoice/:transaction_number","description":"<p>Use this resource to access details for a specific AR invoice, including a link to download the PDF invoice.</p>\n<h2 id=\"response-json-schema\">Response JSON Schema</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n  \"type\": \"object\",\n  \"properties\": {\n    \"id\": { \"type\": \"string\" },\n    \"debtor\": { \"type\": \"string\" },\n    \"parent_key\": { \"type\": \"string\" },\n    \"transaction_type\": {\n      \"type\": \"string\",\n      \"enum\": [\"INV\", \"CRD\"]\n    },\n    \"invoice\": { \"$ref\": \"#/definitions/invoice\" },\n    \"links\": {\n      \"type\": \"array\",\n      \"maxItems\": 2,\n      \"items\": [\n        { \"$ref\": \"#/definitions/selfLink\" },\n        { \"$ref\": \"#/definitions/locationLink\" }\n      ],\n      \"minItems\": 1\n    }\n  },\n  \"definitions\": {\n    \"invoice\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"header\": {\n          \"properties\": {\n            \"customerID\": { \"type\": \"string\" },\n            \"debtorAddress\": {\n              \"type\": \"object\",\n              \"properties\": {\n                \"address1\": { \"type\": \"string\" },\n                \"address2\": {\n                  \"type\": [\"string\", \"null\"]\n                },\n                \"city\": { \"type\": \"string\" },\n                \"companyName\": { \"type\": \"string\" },\n                \"postCode\": { \"type\": \"string\" },\n                \"state\": {\n                  \"type\": [\"string\", \"null\"]\n                }\n              },\n              \"required\": [\n                \"address1\",\n                \"address2\",\n                \"city\",\n                \"companyName\",\n                \"postCode\",\n                \"state\"\n              ]\n            },\n            \"invoiceDates\": {\n              \"properties\": {\n                \"dueDate\": {\n                  \"type\": [\"string\", \"null\"]\n                },\n                \"postDate\": { \"type\": \"string\" }\n              },\n              \"required\": [\"dueDate\", \"postDate\"]\n            },\n            \"invoiceNumber\": { \"type\": \"string\" },\n            \"invoiceTerm\": {\n              \"properties\": {\n                \"code\": {\n                  \"type\": \"string\",\n                  \"enum\": [\"INV\", \"CRD\"]\n                },\n                \"days\": { \"type\": \"string\" }\n              },\n              \"required\": [\"code\", \"days\"]\n            },\n            \"invoiceTypeReferenceNumber\": { \"type\": \"string\" },\n            \"transactionNumber\": { \"type\": \"string\" },\n            \"transactionType\": {\n              \"type\": \"string\",\n              \"enum\": [\"INV\", \"CRD\"]\n            }\n          },\n          \"type\": \"object\",\n          \"required\": [\n            \"customerID\",\n            \"debtorAddress\",\n            \"invoiceDates\",\n            \"invoiceNumber\",\n            \"invoiceTerm\",\n            \"invoiceTypeReferenceNumber\",\n            \"transactionNumber\",\n            \"transactionType\"\n          ]\n        },\n        \"summary\": {\n          \"type\": \"array\",\n          \"items\": {\n            \"properties\": {\n              \"consignor\": {\n                \"type\": \"object\",\n                \"properties\": {\n                  \"companyName\": { \"type\": \"string\" }\n                },\n                \"required\": [\"companyName\"]\n              },\n              \"consignee\": {\n                \"type\": \"object\",\n                \"properties\": {\n                  \"companyName\": { \"type\": \"string\" }\n                },\n                \"required\": [\"companyName\"]\n              },\n              \"goodDescription\": {\n                \"type\": [\"string\", \"null\"]\n              },\n              \"supplierInvoiceNumbers\": {\n                \"type\": \"array\",\n                \"items\": { \"type\": \"string\" }\n              },\n              \"references\": {\n                \"properties\": {\n                  \"orderNumbers\": {\n                    \"type\": \"array\",\n                    \"items\": {\n                      \"properties\": {\n                        \"orderReference\": { \"type\": \"string\" },\n                        \"sequence\": { \"type\": \"string\" }\n                      },\n                      \"type\": \"object\",\n                      \"required\": [\"orderReference\", \"sequence\"]\n                    }\n                  },\n                  \"bookingReference\": {\n                    \"type\": [\"string\", \"null\"]\n                  },\n                  \"ownersReference\": {\n                    \"type\": [\"string\", \"null\"]\n                  }\n                },\n                \"type\": \"object\",\n                \"required\": [\n                  \"orderNumbers\",\n                  \"bookingReference\",\n                  \"ownersReference\"\n                ]\n              },\n              \"totalWeight\": {\n                \"properties\": {\n                  \"weight\": { \"type\": \"string\" },\n                  \"unit\": { \"$ref\": \"#/definitions/weightUnit\" }\n                },\n                \"type\": \"object\",\n                \"required\": [\"weight\", \"unit\"]\n              },\n              \"totalVolume\": {\n                \"properties\": {\n                  \"volume\": { \"type\": \"string\" },\n                  \"unit\": { \"$ref\": \"#/definitions/volumeUnit\" }\n                },\n                \"type\": \"object\",\n                \"required\": [\"volume\", \"unit\"]\n              },\n              \"totalPacks\": {\n                \"properties\": {\n                  \"packs\": { \"type\": \"string\" },\n                  \"unit\": { \"$ref\": \"#/definitions/packUnit\" }\n                },\n                \"type\": \"object\",\n                \"required\": [\"packs\", \"unit\"]\n              },\n              \"masterWayBill\": {\n                \"properties\": {\n                  \"billNumber\": {\n                    \"type\": [\"string\", \"null\"]\n                  },\n                  \"scac\": {\n                    \"type\": [\"string\", \"null\"]\n                  }\n                },\n                \"type\": \"object\",\n                \"required\": [\"billNumber\", \"scac\"]\n              },\n              \"houseBill\": {\n                \"properties\": {\n                  \"billNumber\": {\n                    \"type\": [\"string\", \"null\"]\n                  },\n                  \"scac\": {\n                    \"type\": [\"string\", \"null\"]\n                  }\n                },\n                \"type\": \"object\",\n                \"required\": [\"billNumber\", \"scac\"]\n              },\n              \"origin\": {\n                \"properties\": {\n                  \"code\": { \"type\": \"string\" },\n                  \"name\": { \"type\": \"string\" }\n                },\n                \"type\": \"object\",\n                \"required\": [\"code\", \"name\"]\n              },\n              \"destination\": {\n                \"properties\": {\n                  \"code\": { \"type\": \"string\" },\n                  \"name\": { \"type\": \"string\" }\n                },\n                \"type\": \"object\",\n                \"required\": [\"code\", \"name\"]\n              },\n              \"estimatedDepartureDate\": { \"type\": \"string\" },\n              \"estimatedArrivalDate\": { \"type\": \"string\" },\n              \"entryNumber\": {\n                \"properties\": {\n                  \"filerCode\": { \"type\": \"string\" },\n                  \"number\": { \"type\": \"string\" }\n                },\n                \"type\": \"object\",\n                \"required\": [\"filerCode\", \"number\"]\n              },\n              \"containers\": {\n                \"items\": {\n                  \"type\": \"object\",\n                  \"properties\": {\n                    \"number\": { \"type\": \"string\" },\n                    \"type\": { \"type\": \"string\" }\n                  },\n                  \"required\": [\"number\", \"type\"]\n                },\n                \"type\": \"array\"\n              },\n              \"transportInfo\": {\n                \"items\": {\n                  \"properties\": {\n                    \"legType\": { \"type\": \"string\" },\n                    \"transportMode\": { \"type\": \"string\" },\n                    \"railReference\": {\n                      \"type\": [\"string\", \"null\"]\n                    },\n                    \"vessel\": {\n                      \"type\": [\"string\", \"null\"]\n                    },\n                    \"voyageFlightNo\": {\n                      \"type\": [\"string\", \"null\"]\n                    },\n                    \"imo\": {\n                      \"type\": [\"string\", \"null\"]\n                    }\n                  },\n                  \"type\": \"object\",\n                  \"required\": [\n                    \"legType\",\n                    \"transportMode\",\n                    \"railReference\",\n                    \"vessel\",\n                    \"voyageFlightNo\",\n                    \"imo\"\n                  ]\n                },\n                \"type\": \"array\"\n              }\n            },\n            \"type\": \"object\",\n            \"required\": [\n              \"consignor\",\n              \"consignee\",\n              \"goodDescription\",\n              \"supplierInvoiceNumbers\",\n              \"references\",\n              \"totalWeight\",\n              \"totalVolume\",\n              \"totalPacks\",\n              \"masterWayBill\",\n              \"houseBill\",\n              \"origin\",\n              \"destination\",\n              \"estimatedDepartureDate\",\n              \"estimatedArrivalDate\",\n              \"entryNumber\",\n              \"containers\",\n              \"transportInfo\"\n            ]\n          }\n        },\n        \"charges\": {\n          \"type\": \"array\",\n          \"items\": {\n            \"properties\": {\n              \"chargeCode\": { \"$ref\": \"#/definitions/chargeCode\" },\n              \"description\": { \"type\": \"string\" },\n              \"chargeTotal\": { \"type\": \"string\" },\n              \"chargeCurrency\": { \"$ref\": \"#/definitions/currency\" }\n            },\n            \"type\": \"object\",\n            \"required\": [\n              \"chargeCode\",\n              \"description\",\n              \"chargeTotal\",\n              \"chargeCurrency\"\n            ]\n          }\n        },\n        \"totals\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"total\": { \"type\": \"string\" }\n          },\n          \"required\": [\"total\"]\n        }\n      },\n      \"required\": [\"header\", \"summary\", \"charges\", \"totals\", \"links\"]\n    },\n    \"selfLink\": {\n      \"properties\": {\n        \"method\": {\n          \"type\": \"string\",\n          \"const\": \"GET\"\n        },\n        \"rel\": {\n          \"type\": \"string\",\n          \"const\": \"self\"\n        },\n        \"href\": { \"type\": \"string\" }\n      },\n      \"type\": \"object\",\n      \"required\": [\"method\", \"rel\", \"href\"]\n    },\n    \"locationLink\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"method\": {\n          \"type\": \"string\",\n          \"const\": \"GET\"\n        },\n        \"rel\": {\n          \"type\": \"string\",\n          \"const\": \"location\"\n        },\n        \"href\": { \"type\": \"string\" }\n      },\n      \"required\": [\"method\", \"rel\", \"href\"]\n    },\n    \"currency\": {\n      \"type\": \"string\",\n      \"enum\": [\n        \"ZWL\",\n        \"ZMW\",\n        \"ZAR\",\n        \"YER\",\n        \"XPF\",\n        \"XOF\",\n        \"XDR\",\n        \"XCD\",\n        \"XAF\",\n        \"WST\",\n        \"VUV\",\n        \"VND\",\n        \"VES\",\n        \"VEF\",\n        \"UZS\",\n        \"UYU\",\n        \"USD\",\n        \"UGX\",\n        \"UAH\",\n        \"TZS\",\n        \"TWD\",\n        \"TTD\",\n        \"TRY\",\n        \"TOP\",\n        \"TND\",\n        \"TMT\",\n        \"TJS\",\n        \"THB\",\n        \"SZL\",\n        \"SYP\",\n        \"SVC\",\n        \"STN\",\n        \"STD\",\n        \"SSP\",\n        \"SRD\",\n        \"SOS\",\n        \"SLL\",\n        \"SLE\",\n        \"SHP\",\n        \"SGD\",\n        \"SEK\",\n        \"SDG\",\n        \"SCR\",\n        \"SBD\",\n        \"SAR\",\n        \"RWF\",\n        \"RUB\",\n        \"RSD\",\n        \"RON\",\n        \"QAR\",\n        \"PYG\",\n        \"PTE\",\n        \"PLN\",\n        \"PKR\",\n        \"PHP\",\n        \"PGK\",\n        \"PEN\",\n        \"PAB\",\n        \"OMR\",\n        \"NZD\",\n        \"NPR\",\n        \"NOK\",\n        \"NLG\",\n        \"NIO\",\n        \"NGN\",\n        \"NAD\",\n        \"MZN\",\n        \"MYR\",\n        \"MXN\",\n        \"MWK\",\n        \"MVR\",\n        \"MUR\",\n        \"MRU\",\n        \"MRO\",\n        \"MOP\",\n        \"MNT\",\n        \"MMK\",\n        \"MKD\",\n        \"MGA\",\n        \"MDL\",\n        \"MAD\",\n        \"LYD\",\n        \"LUF\",\n        \"LSL\",\n        \"LRD\",\n        \"LKR\",\n        \"LBP\",\n        \"LAK\",\n        \"KZT\",\n        \"KYD\",\n        \"KWD\",\n        \"KRW\",\n        \"KPW\",\n        \"KMF\",\n        \"KHR\",\n        \"KGS\",\n        \"KES\",\n        \"JPY\",\n        \"JOD\",\n        \"JMD\",\n        \"ITL\",\n        \"ISK\",\n        \"IRR\",\n        \"IQD\",\n        \"INR\",\n        \"ILS\",\n        \"IEP\",\n        \"IDR\",\n        \"HUF\",\n        \"HTG\",\n        \"HRK\",\n        \"HNL\",\n        \"HKD\",\n        \"GYD\",\n        \"GTQ\",\n        \"GRD\",\n        \"GNF\",\n        \"GMD\",\n        \"GIP\",\n        \"GHS\",\n        \"GEL\",\n        \"GBP\",\n        \"FRF\",\n        \"FKP\",\n        \"FJD\",\n        \"FIM\",\n        \"EUR\",\n        \"ETB\",\n        \"ESP\",\n        \"ERN\",\n        \"EGP\",\n        \"DZD\",\n        \"DOP\",\n        \"DKK\",\n        \"DJF\",\n        \"DEM\",\n        \"CZK\",\n        \"CVE\",\n        \"CUP\",\n        \"CRC\",\n        \"COP\",\n        \"CNY\",\n        \"CLP\",\n        \"CHF\",\n        \"CDF\",\n        \"CAD\",\n        \"BZD\",\n        \"BYR\",\n        \"BYN\",\n        \"BWP\",\n        \"BTN\",\n        \"BSD\",\n        \"BRL\",\n        \"BOB\",\n        \"BND\",\n        \"BMD\",\n        \"BIF\",\n        \"BHD\",\n        \"BGN\",\n        \"BEF\",\n        \"BDT\",\n        \"BBD\",\n        \"BAM\",\n        \"AZN\",\n        \"AWG\",\n        \"AUD\",\n        \"ATS\",\n        \"ARS\",\n        \"AOA\",\n        \"ANG\",\n        \"AMD\",\n        \"ALL\",\n        \"AFN\",\n        \"AED\"\n      ]\n    },\n    \"weightUnit\": {\n      \"type\": \"string\",\n      \"enum\": [\n        \"DT\",\n        \"G\",\n        \"HG\",\n        \"KG\",\n        \"KT\",\n        \"LB\",\n        \"LT\",\n        \"MC\",\n        \"MG\",\n        \"OT\",\n        \"OZ\",\n        \"T\",\n        \"TL\",\n        \"TN\"\n      ]\n    },\n    \"volumeUnit\": {\n      \"type\": \"string\",\n      \"enum\": [\"CC\", \"CF\", \"CI\", \"CY\", \"D3\", \"GA\", \"GI\", \"L\", \"M3\", \"ML\", \"TE\"]\n    },\n    \"packUnit\": {\n      \"type\": \"string\",\n      \"enum\": [\n        \"AE\",\n        \"AM\",\n        \"AP\",\n        \"AT\",\n        \"BG\",\n        \"BL\",\n        \"BN\",\n        \"BF\",\n        \"BP\",\n        \"BR\",\n        \"BA\",\n        \"BZ\",\n        \"BK\",\n        \"CB\",\n        \"BI\",\n        \"BD\",\n        \"BY\",\n        \"BB\",\n        \"BT\",\n        \"BC\",\n        \"BS\",\n        \"BO\",\n        \"BV\",\n        \"BQ\",\n        \"BX\",\n        \"BJ\",\n        \"VG\",\n        \"VL\",\n        \"VQ\",\n        \"VY\",\n        \"VR\",\n        \"VO\",\n        \"BH\",\n        \"BE\",\n        \"BU\",\n        \"CG\",\n        \"CX\",\n        \"CI\",\n        \"CA\",\n        \"CZ\",\n        \"CO\",\n        \"CP\",\n        \"CAR\",\n        \"CT\",\n        \"CS\",\n        \"CK\",\n        \"CH\",\n        \"CC\",\n        \"CF\",\n        \"CJ\",\n        \"CL\",\n        \"COM\",\n        \"CON\",\n        \"CV\",\n        \"CR\",\n        \"CE\",\n        \"CU\",\n        \"CY\",\n        \"DJ\",\n        \"DP\",\n        \"DR\",\n        \"EN\",\n        \"FP\",\n        \"FI\",\n        \"FL\",\n        \"FO\",\n        \"FD\",\n        \"FC\",\n        \"GB\",\n        \"GI\",\n        \"GZ\",\n        \"HR\",\n        \"HG\",\n        \"IN\",\n        \"IZ\",\n        \"JR\",\n        \"JY\",\n        \"JC\",\n        \"JG\",\n        \"JT\",\n        \"KG\",\n        \"LG\",\n        \"LZ\",\n        \"MT\",\n        \"MX\",\n        \"MC\",\n        \"MB\",\n        \"MS\",\n        \"NS\",\n        \"NT\",\n        \"PK\",\n        \"PA\",\n        \"PL\",\n        \"PAL\",\n        \"PC\",\n        \"PI\",\n        \"PH\",\n        \"PN\",\n        \"PZ\",\n        \"PG\",\n        \"PY\",\n        \"PT\",\n        \"PO\",\n        \"RT\",\n        \"RL\",\n        \"RG\",\n        \"RD\",\n        \"RZ\",\n        \"RO\",\n        \"SH\",\n        \"SA\",\n        \"SE\",\n        \"SC\",\n        \"ST\",\n        \"SM\",\n        \"SZ\",\n        \"SW\",\n        \"SK\",\n        \"SL\",\n        \"SD\",\n        \"SU\",\n        \"SY\",\n        \"TY\",\n        \"TK\",\n        \"TC\",\n        \"TN\",\n        \"PU\",\n        \"TR\",\n        \"TS\",\n        \"TB\",\n        \"TU\",\n        \"TD\",\n        \"TZ\",\n        \"TO\",\n        \"NE\",\n        \"VP\",\n        \"VA\",\n        \"VI\",\n        \"WB\"\n      ]\n    },\n    \"chargeCode\": {\n      \"oneOf\": [\n        {\n          \"const\": \"ABR\",\n          \"description\": \"ABI Cargo Release Fee\"\n        },\n        {\n          \"const\": \"ACC\",\n          \"description\": \"Airport Accessorial Fee\"\n        },\n        {\n          \"const\": \"ACF\",\n          \"description\": \"Additional Class Fee\"\n        },\n        {\n          \"const\": \"ACSF\",\n          \"description\": \"Accessorial Fee\"\n        },\n        {\n          \"const\": \"AD\",\n          \"description\": \"Additional Documentation Fee\"\n        },\n        {\n          \"const\": \"AED\",\n          \"description\": \"Air Express Docs/Postage Fee\"\n        },\n        {\n          \"const\": \"AEFL\",\n          \"description\": \"Additional Class Fee\"\n        },\n        {\n          \"const\": \"AES\",\n          \"description\": \"AES/EEI Filing\"\n        },\n        {\n          \"const\": \"AESR\",\n          \"description\": \"AES/EEI Filing Revision\"\n        },\n        {\n          \"const\": \"AF\",\n          \"description\": \"Air Freight Charges\"\n        },\n        {\n          \"const\": \"AGF\",\n          \"description\": \"Agent Fees\"\n        },\n        {\n          \"const\": \"AIF\",\n          \"description\": \"Additional Invoice Fee\"\n        },\n        {\n          \"const\": \"AIL\",\n          \"description\": \"Additional Invoice Lines Fee\"\n        },\n        {\n          \"const\": \"ALF\",\n          \"description\": \"Aluminum License Fee\"\n        },\n        {\n          \"const\": \"AMS\",\n          \"description\": \"AMS Security Surcharge\"\n        },\n        {\n          \"const\": \"APF\",\n          \"description\": \"AES Preliminary Filing Fee\"\n        },\n        {\n          \"const\": \"AT\",\n          \"description\": \"Airport Transfer\"\n        },\n        {\n          \"const\": \"ATC\",\n          \"description\": \"Air Transportation Charges\"\n        },\n        {\n          \"const\": \"AVF\",\n          \"description\": \"AMS Verification Fee\"\n        },\n        {\n          \"const\": \"AWAR\",\n          \"description\": \"War Risk Surcharge\"\n        },\n        {\n          \"const\": \"BAF\",\n          \"description\": \"BAF Charges\"\n        },\n        {\n          \"const\": \"BATF\",\n          \"description\": \"ATF Transmit Fee\"\n        },\n        {\n          \"const\": \"BCF\",\n          \"description\": \"Booking Cancellation Fee\"\n        },\n        {\n          \"const\": \"BKG\",\n          \"description\": \"Booking Fee\"\n        },\n        {\n          \"const\": \"BP\",\n          \"description\": \"Bond Premium\"\n        },\n        {\n          \"const\": \"BPF\",\n          \"description\": \"Bond Placement Fee\"\n        },\n        {\n          \"const\": \"BPO\",\n          \"description\": \"BPO Fees\"\n        },\n        {\n          \"const\": \"BUF\",\n          \"description\": \"Bond Usage Fee\"\n        },\n        {\n          \"const\": \"CBCC\",\n          \"description\": \"Canadian Border Clearance Charge\"\n        },\n        {\n          \"const\": \"CBCF\",\n          \"description\": \"Canadian Border Clearance Fee\"\n        },\n        {\n          \"const\": \"CC\",\n          \"description\": \"Customs Clearance Overseas\"\n        },\n        {\n          \"const\": \"CC/EO\",\n          \"description\": \"Client Consideration\"\n        },\n        {\n          \"const\": \"CCD\",\n          \"description\": \"Canadian Customs Duty\"\n        },\n        {\n          \"const\": \"CDEL\",\n          \"description\": \"Consolidated/LTL Delivery\"\n        },\n        {\n          \"const\": \"CDF\",\n          \"description\": \"Scan / CD Fee\"\n        },\n        {\n          \"const\": \"CDRF\",\n          \"description\": \"Container Del &amp; Return Fee\"\n        },\n        {\n          \"const\": \"CEC\",\n          \"description\": \"Customs Entry Charge\"\n        },\n        {\n          \"const\": \"CEF\",\n          \"description\": \"Customs Entry Fee\"\n        },\n        {\n          \"const\": \"CF\",\n          \"description\": \"Airline Collection\"\n        },\n        {\n          \"const\": \"CFS\",\n          \"description\": \"CFS Handling Charge\"\n        },\n        {\n          \"const\": \"CHF\",\n          \"description\": \"Chassis Usage Charge\"\n        },\n        {\n          \"const\": \"CMF\",\n          \"description\": \"Container Management Fee\"\n        },\n        {\n          \"const\": \"CMFE\",\n          \"description\": \"Container Management Fee\"\n        },\n        {\n          \"const\": \"CO\",\n          \"description\": \"Issue Cert. of Orgin\"\n        },\n        {\n          \"const\": \"COD\",\n          \"description\": \"Change of Destination Fee\"\n        },\n        {\n          \"const\": \"COMI\",\n          \"description\": \"Issue Commercial Invoice Fee\"\n        },\n        {\n          \"const\": \"CPF\",\n          \"description\": \"Carnet Preperation\"\n        },\n        {\n          \"const\": \"CPS\",\n          \"description\": \"Consumer Product Safety Commission Fee\"\n        },\n        {\n          \"const\": \"CSF\",\n          \"description\": \"Consulation Service Fee\"\n        },\n        {\n          \"const\": \"CSPC\",\n          \"description\": \"Chassis Split Charge\"\n        },\n        {\n          \"const\": \"CSS\",\n          \"description\": \"Chassis Split Fee\"\n        },\n        {\n          \"const\": \"CTF\",\n          \"description\": \"Clean Truck Fee\"\n        },\n        {\n          \"const\": \"CTHC\",\n          \"description\": \"Carrier Service/THC Charge\"\n        },\n        {\n          \"const\": \"CTSC\",\n          \"description\": \"Carrier Service/THC Charge\"\n        },\n        {\n          \"const\": \"CUC\",\n          \"description\": \"Chassis Usage Charge\"\n        },\n        {\n          \"const\": \"CUSDEF\",\n          \"description\": \"CBP duties, taxes and fees on importer's statement\"\n        },\n        {\n          \"const\": \"DCTF\",\n          \"description\": \"Document Transfer Charge\"\n        },\n        {\n          \"const\": \"DDC\",\n          \"description\": \"Destination Devanning Charge\"\n        },\n        {\n          \"const\": \"DDEL\",\n          \"description\": \"Dedicated Truck Delivery\"\n        },\n        {\n          \"const\": \"DDW\",\n          \"description\": \"Driver detention-wait time\"\n        },\n        {\n          \"const\": \"DDW\",\n          \"description\": \"Driver Detention-Wait Time Charge\"\n        },\n        {\n          \"const\": \"DEL\",\n          \"description\": \"Delivery\"\n        },\n        {\n          \"const\": \"DEM\",\n          \"description\": \"Detention/Demurrage\"\n        },\n        {\n          \"const\": \"DEPE\",\n          \"description\": \"Detention/Per Diem\"\n        },\n        {\n          \"const\": \"DF\",\n          \"description\": \"Domestic Freight &amp; Services\"\n        },\n        {\n          \"const\": \"DG\",\n          \"description\": \"Airline DG Fee\"\n        },\n        {\n          \"const\": \"DIF\",\n          \"description\": \"Disbursement Fee\"\n        },\n        {\n          \"const\": \"DISB\",\n          \"description\": \"Disbursement Fee\"\n        },\n        {\n          \"const\": \"DISF\",\n          \"description\": \"Disbursement Fee\"\n        },\n        {\n          \"const\": \"DIV\",\n          \"description\": \"Container Diversion Fee\"\n        },\n        {\n          \"const\": \"DO3\",\n          \"description\": \"Delivery Order - 3rd Party Fee\"\n        },\n        {\n          \"const\": \"DOC\",\n          \"description\": \"Documentation Fee\"\n        },\n        {\n          \"const\": \"DOCAF\",\n          \"description\": \"Documentation &amp; AWB Fee\"\n        },\n        {\n          \"const\": \"DOCF\",\n          \"description\": \"Documentation Fee\"\n        },\n        {\n          \"const\": \"DOCR\",\n          \"description\": \"BOL Revision\"\n        },\n        {\n          \"const\": \"DOCX\",\n          \"description\": \"Document Transfer Fee\"\n        },\n        {\n          \"const\": \"DOM\",\n          \"description\": \"DOMESTIC TRANSPORTATION CHARGE\"\n        },\n        {\n          \"const\": \"DPS\",\n          \"description\": \"Domestic Profit Split\"\n        },\n        {\n          \"const\": \"DPV\",\n          \"description\": \"Delivery Provided By VACO\"\n        },\n        {\n          \"const\": \"DST\",\n          \"description\": \"Destination Charges\"\n        },\n        {\n          \"const\": \"DTC\",\n          \"description\": \"DOMESTIC TRANSPORTATION CHARGE\"\n        },\n        {\n          \"const\": \"DTD\",\n          \"description\": \"Dray/Transload/Delivery\"\n        },\n        {\n          \"const\": \"DTES\",\n          \"description\": \"Dray To Exam Site\"\n        },\n        {\n          \"const\": \"DTF\",\n          \"description\": \"Dispatch Trucker Fee\"\n        },\n        {\n          \"const\": \"DTHC/CSC\",\n          \"description\": \"DTHC/CSC\"\n        },\n        {\n          \"const\": \"DTOF\",\n          \"description\": \"Document Turnover Fee\"\n        },\n        {\n          \"const\": \"DTY\",\n          \"description\": \"Dray to Yard\"\n        },\n        {\n          \"const\": \"DUTY\",\n          \"description\": \"Duty\"\n        },\n        {\n          \"const\": \"DYTX\",\n          \"description\": \"Duty &amp; Taxes\"\n        },\n        {\n          \"const\": \"ECH\",\n          \"description\": \"Exam Coordination/Handling Fee\"\n        },\n        {\n          \"const\": \"EDI\",\n          \"description\": \"EDI Service Fee\"\n        },\n        {\n          \"const\": \"EEL\",\n          \"description\": \"Entry Lines In Excess Of 998\"\n        },\n        {\n          \"const\": \"EMF\",\n          \"description\": \"Invoice Mailing Fee\"\n        },\n        {\n          \"const\": \"EO\",\n          \"description\": \"E/O\"\n        },\n        {\n          \"const\": \"EPA\",\n          \"description\": \"EPA Clearance Fee\"\n        },\n        {\n          \"const\": \"EREF\",\n          \"description\": \"Entry Reconstruction Fee\"\n        },\n        {\n          \"const\": \"ERF\",\n          \"description\": \"Entry Rework Fee\"\n        },\n        {\n          \"const\": \"ETS\",\n          \"description\": \"Enhanced Tracking Services Fee\"\n        },\n        {\n          \"const\": \"EXCAF\",\n          \"description\": \"Export Clearance &amp; AES Fee\"\n        },\n        {\n          \"const\": \"EXCF\",\n          \"description\": \"Express Courier Fee\"\n        },\n        {\n          \"const\": \"EXF\",\n          \"description\": \"Customs/OGA Examination Fee\"\n        },\n        {\n          \"const\": \"FA\",\n          \"description\": \"Forwarders Advance\"\n        },\n        {\n          \"const\": \"FAA\",\n          \"description\": \"Security Surcharge\"\n        },\n        {\n          \"const\": \"FCA\",\n          \"description\": \"Freight Charges Advanced\"\n        },\n        {\n          \"const\": \"FCC\",\n          \"description\": \"FCC Clearance Fee\"\n        },\n        {\n          \"const\": \"FDA\",\n          \"description\": \"FDA Prior Notice Fee\"\n        },\n        {\n          \"const\": \"FDCF\",\n          \"description\": \"Food &amp; Drug Clearance Fee\"\n        },\n        {\n          \"const\": \"FDF\",\n          \"description\": \"Freight Disbursement Fee\"\n        },\n        {\n          \"const\": \"FDUTY\",\n          \"description\": \"FOREIGN DUTY\"\n        },\n        {\n          \"const\": \"FF\",\n          \"description\": \"Forwarding/Handling Fee\"\n        },\n        {\n          \"const\": \"FFLC\",\n          \"description\": \"L/C or Draft Handling Fee\"\n        },\n        {\n          \"const\": \"FI\",\n          \"description\": \"Insurance Cost\"\n        },\n        {\n          \"const\": \"FIF\",\n          \"description\": \"Inland Freight Cost\"\n        },\n        {\n          \"const\": \"FRT\",\n          \"description\": \"Transportation Charges\"\n        },\n        {\n          \"const\": \"FSC\",\n          \"description\": \"Fuel Surcharge\"\n        },\n        {\n          \"const\": \"FSD\",\n          \"description\": \"Fuel Surcharge Domestic\"\n        },\n        {\n          \"const\": \"FWCF\",\n          \"description\": \"Fish &amp; Wildlife Charges Advanced\"\n        },\n        {\n          \"const\": \"FWF\",\n          \"description\": \"Fish &amp; Wildlife Fee\"\n        },\n        {\n          \"const\": \"FWL\",\n          \"description\": \"Fish &amp; Wildlife Fee\"\n        },\n        {\n          \"const\": \"GST\",\n          \"description\": \"GST - General Service Tax\"\n        },\n        {\n          \"const\": \"GSTB\",\n          \"description\": \"GST (Brokerage Fee)\"\n        },\n        {\n          \"const\": \"GSTD\",\n          \"description\": \"GST (Duty)\"\n        },\n        {\n          \"const\": \"HAN\",\n          \"description\": \"Handling Fee\"\n        },\n        {\n          \"const\": \"HAZ\",\n          \"description\": \"Hazardous Surcharge\"\n        },\n        {\n          \"const\": \"HC\",\n          \"description\": \"Handling Charge\"\n        },\n        {\n          \"const\": \"HF\",\n          \"description\": \"Handling Fee\"\n        },\n        {\n          \"const\": \"HZHF\",\n          \"description\": \"Hazardous Goods Handling Fee\"\n        },\n        {\n          \"const\": \"IAF\",\n          \"description\": \"Invoice Amendment Fee\"\n        },\n        {\n          \"const\": \"IBFF\",\n          \"description\": \"In Bond Forwarding Fee\"\n        },\n        {\n          \"const\": \"IF\",\n          \"description\": \"Inland Freight &amp; Service\"\n        },\n        {\n          \"const\": \"IMF\",\n          \"description\": \"Invoice Mailing Fee\"\n        },\n        {\n          \"const\": \"INDC\",\n          \"description\": \"Issue Insurance Declaration Fee\"\n        },\n        {\n          \"const\": \"INS\",\n          \"description\": \"Cargo Insurance\"\n        },\n        {\n          \"const\": \"INS\",\n          \"description\": \"Cargo Insurance &amp; Service\"\n        },\n        {\n          \"const\": \"IOWF\",\n          \"description\": \"In/Out Whse. Handling Fee\"\n        },\n        {\n          \"const\": \"IOWH\",\n          \"description\": \"In/Out Whse. Handling Chg.\"\n        },\n        {\n          \"const\": \"IPCC\",\n          \"description\": \"Industrial Products Cross Fee\"\n        },\n        {\n          \"const\": \"ISC\",\n          \"description\": \"Import Service Charge\"\n        },\n        {\n          \"const\": \"ISEB\",\n          \"description\": \"ISF Single Entry Bond Premium Charge\"\n        },\n        {\n          \"const\": \"ISEF\",\n          \"description\": \"ISF Single Entry Bond Placement Fee\"\n        },\n        {\n          \"const\": \"ISF\",\n          \"description\": \"ISF (10+2) FEE\"\n        },\n        {\n          \"const\": \"ISP\",\n          \"description\": \"Insurance Premium\"\n        },\n        {\n          \"const\": \"ITF\",\n          \"description\": \"IT Fee / 7512\"\n        },\n        {\n          \"const\": \"LAF\",\n          \"description\": \"Lacey Act Transmit Fee\"\n        },\n        {\n          \"const\": \"LDF\",\n          \"description\": \"Late Documents Fee\"\n        },\n        {\n          \"const\": \"LEG\",\n          \"description\": \"Consular Legalization Fee\"\n        },\n        {\n          \"const\": \"LH\",\n          \"description\": \"Line Haul to Departure Airport\"\n        },\n        {\n          \"const\": \"LSS\",\n          \"description\": \"Low Sulfur Surcharge\"\n        },\n        {\n          \"const\": \"MAS\",\n          \"description\": \"Accounting\"\n        },\n        {\n          \"const\": \"MBC\",\n          \"description\": \"Mexican Broker Charge\"\n        },\n        {\n          \"const\": \"MISC\",\n          \"description\": \"Miscellaneous\"\n        },\n        {\n          \"const\": \"MISF\",\n          \"description\": \"Misc. Fee (See Notes)\"\n        },\n        {\n          \"const\": \"MON\",\n          \"description\": \"Transportation Monitoring Fee\"\n        },\n        {\n          \"const\": \"MSCO\",\n          \"description\": \"Misc. Cost (See Notes)\"\n        },\n        {\n          \"const\": \"MSEX\",\n          \"description\": \"Misc. Exp.(See Notes)\"\n        },\n        {\n          \"const\": \"MSF\",\n          \"description\": \"Messenger Fee\"\n        },\n        {\n          \"const\": \"MXBC\",\n          \"description\": \"Mexican Border Clearance Charge\"\n        },\n        {\n          \"const\": \"MXBF\",\n          \"description\": \"Mexican Border Clearance Fee\"\n        },\n        {\n          \"const\": \"NHT\",\n          \"description\": \"NHTSA Clearance Fee\"\n        },\n        {\n          \"const\": \"NPF\",\n          \"description\": \"Nairobi Protocol Fee\"\n        },\n        {\n          \"const\": \"OC\",\n          \"description\": \"On-Carriage Charges\"\n        },\n        {\n          \"const\": \"OCHG\",\n          \"description\": \"Origin Charges\"\n        },\n        {\n          \"const\": \"OCI\",\n          \"description\": \"Commercial Invoice Fee\"\n        },\n        {\n          \"const\": \"OCOF\",\n          \"description\": \"Certificate of Origin Fee\"\n        },\n        {\n          \"const\": \"OCRT\",\n          \"description\": \"Origin Cartage\"\n        },\n        {\n          \"const\": \"ODE\",\n          \"description\": \"Detention/Demurrage\"\n        },\n        {\n          \"const\": \"ODF\",\n          \"description\": \"Other Export Document Fee\"\n        },\n        {\n          \"const\": \"OEP\",\n          \"description\": \"Air Exp Docs / Postage\"\n        },\n        {\n          \"const\": \"OEP\",\n          \"description\": \"Domestic Courier\"\n        },\n        {\n          \"const\": \"OEX\",\n          \"description\": \"Transportation Charges\"\n        },\n        {\n          \"const\": \"OF\",\n          \"description\": \"Ocean Freight\"\n        },\n        {\n          \"const\": \"OFC\",\n          \"description\": \"Ocean Freight Compensation\"\n        },\n        {\n          \"const\": \"OFF\",\n          \"description\": \"Export Formalities\"\n        },\n        {\n          \"const\": \"OFF\",\n          \"description\": \"Export Forwarding Fee\"\n        },\n        {\n          \"const\": \"OH\",\n          \"description\": \"Ocean Handling\"\n        },\n        {\n          \"const\": \"OHAN\",\n          \"description\": \"Origin Handling Charge\"\n        },\n        {\n          \"const\": \"OIN\",\n          \"description\": \"Cargo Insurance Charge\"\n        },\n        {\n          \"const\": \"OINF\",\n          \"description\": \"Issue Insurance Declaration Certificate Fee\"\n        },\n        {\n          \"const\": \"OINS\",\n          \"description\": \"Insurance Premium Charge\"\n        },\n        {\n          \"const\": \"OLC\",\n          \"description\": \"L/C Processing Charge\"\n        },\n        {\n          \"const\": \"OLEG\",\n          \"description\": \"Consular Legalization Charge\"\n        },\n        {\n          \"const\": \"OOA\",\n          \"description\": \"Inland Freight Charge\"\n        },\n        {\n          \"const\": \"OPL\",\n          \"description\": \"Packing List Fee\"\n        },\n        {\n          \"const\": \"OREC\",\n          \"description\": \"Origin Receiving Charges\"\n        },\n        {\n          \"const\": \"OSF\",\n          \"description\": \"Special Handling Fee\"\n        },\n        {\n          \"const\": \"OT\",\n          \"description\": \"Overtime Services Fee\"\n        },\n        {\n          \"const\": \"OTC\",\n          \"description\": \"Ocean Transportation Charges\"\n        },\n        {\n          \"const\": \"OTEL\",\n          \"description\": \"Telephone / Telex Charge\"\n        },\n        {\n          \"const\": \"OTRM\",\n          \"description\": \"Origin Terminal Handling Charge\"\n        },\n        {\n          \"const\": \"OTS\",\n          \"description\": \"Ocean Transportation Services Charge\"\n        },\n        {\n          \"const\": \"OUFC\",\n          \"description\": \"Outport Filing Charge\"\n        },\n        {\n          \"const\": \"OWAR\",\n          \"description\": \"War Risk Surcharge\"\n        },\n        {\n          \"const\": \"OXC\",\n          \"description\": \"Courier Charge\"\n        },\n        {\n          \"const\": \"PDIC\",\n          \"description\": \"Per Diem Charge\"\n        },\n        {\n          \"const\": \"PGAF\",\n          \"description\": \"PGA Disclaim Fee\"\n        },\n        {\n          \"const\": \"PICK\",\n          \"description\": \"Pick up Charge\"\n        },\n        {\n          \"const\": \"PIER\",\n          \"description\": \"Pierpass TMF Charge/Handling Charge\"\n        },\n        {\n          \"const\": \"PKG\",\n          \"description\": \"Packing/Crating Charge\"\n        },\n        {\n          \"const\": \"PLEC\",\n          \"description\": \"Pallet Exchange Charge\"\n        },\n        {\n          \"const\": \"PPF\",\n          \"description\": \"Port Protection Fee\"\n        },\n        {\n          \"const\": \"PRCS\",\n          \"description\": \"Port/Rail Congestion Surcharge\"\n        },\n        {\n          \"const\": \"PSCF\",\n          \"description\": \"Post Summary Correction Fee\"\n        },\n        {\n          \"const\": \"PSF\",\n          \"description\": \"Premium Service Fee\"\n        },\n        {\n          \"const\": \"PSI\",\n          \"description\": \"Preliminary Shipping Instructions Fee\"\n        },\n        {\n          \"const\": \"PSS\",\n          \"description\": \"Peak Season Surcharge\"\n        },\n        {\n          \"const\": \"RECE\",\n          \"description\": \"Reconciliation Entry Fee\"\n        },\n        {\n          \"const\": \"RLFF\",\n          \"description\": \"Remote Location Filing Fee\"\n        },\n        {\n          \"const\": \"ROW\",\n          \"description\": \"Risk of War\"\n        },\n        {\n          \"const\": \"SCC\",\n          \"description\": \"Screening Surcharge\"\n        },\n        {\n          \"const\": \"SCR\",\n          \"description\": \"Denied Party Screening\"\n        },\n        {\n          \"const\": \"SEBF\",\n          \"description\": \"Single Entry Bond Placement Fee\"\n        },\n        {\n          \"const\": \"SEBP\",\n          \"description\": \"Single Entry Bond Premium Charge\"\n        },\n        {\n          \"const\": \"SHF\",\n          \"description\": \"Special Handling Fee\"\n        },\n        {\n          \"const\": \"SLF\",\n          \"description\": \"201 Steel License Appl. Fee\"\n        },\n        {\n          \"const\": \"STDE\",\n          \"description\": \"Storage/Demurrage\"\n        },\n        {\n          \"const\": \"STO\",\n          \"description\": \"Storage - Other Charge\"\n        },\n        {\n          \"const\": \"STR\",\n          \"description\": \"Storage - Rail Charge\"\n        },\n        {\n          \"const\": \"STW\",\n          \"description\": \"Storage - Warehouse Charge\"\n        },\n        {\n          \"const\": \"TARP\",\n          \"description\": \"Tarps and Supplies Charge\"\n        },\n        {\n          \"const\": \"TCF\",\n          \"description\": \"Transport Control Fee\"\n        },\n        {\n          \"const\": \"TFC\",\n          \"description\": \"Telephone / Fax / Scanning Fee\"\n        },\n        {\n          \"const\": \"THF\",\n          \"description\": \"Transportation Handling Fee\"\n        },\n        {\n          \"const\": \"TISF\",\n          \"description\": \"TRADE INSIGHTS SERVICES\"\n        },\n        {\n          \"const\": \"TMF\",\n          \"description\": \"Pier Pass Charge\"\n        },\n        {\n          \"const\": \"TPS\",\n          \"description\": \"Transportation Services\"\n        },\n        {\n          \"const\": \"TRL\",\n          \"description\": \"Transload Charge\"\n        },\n        {\n          \"const\": \"TSF\",\n          \"description\": \"Terminal Service Fee\"\n        },\n        {\n          \"const\": \"USDAEC\",\n          \"description\": \"U.S.D.A. Examination Charge\"\n        },\n        {\n          \"const\": \"VACS\",\n          \"description\": \"VACIS/APHIS Exam Charge\"\n        },\n        {\n          \"const\": \"VDG\",\n          \"description\": \"V. Alexander DG Fee\"\n        },\n        {\n          \"const\": \"VGMF\",\n          \"description\": \"Verified Gross Mass Fee\"\n        },\n        {\n          \"const\": \"VGMF\",\n          \"description\": \"Verified Gross Mass Fee ($10 per additional container)\"\n        },\n        {\n          \"const\": \"VLEG\",\n          \"description\": \"Consular Document Preperation Fee\"\n        },\n        {\n          \"const\": \"WAF\",\n          \"description\": \"Wharfage\"\n        },\n        {\n          \"const\": \"WBMI\",\n          \"description\": \"WB Marine Insurance\"\n        },\n        {\n          \"const\": \"WDF\",\n          \"description\": \"Weekend Disptach Fee\"\n        },\n        {\n          \"const\": \"WHF\",\n          \"description\": \"Warehouse Handling Charge\"\n        },\n        {\n          \"const\": \"WHSE\",\n          \"description\": \"In / Out Whse Handling Charge\"\n        },\n        {\n          \"const\": \"WPP\",\n          \"description\": \"Pierpass TMF Charge/Handling Charge\"\n        }\n      ],\n      \"type\": \"string\"\n    }\n  },\n  \"required\": [\n    \"items\",\n    \"links\",\n    \"id\",\n    \"debtor\",\n    \"parent_key\",\n    \"transaction_type\",\n    \"invoice\"\n  ]\n}\n\n</code></pre><h2 id=\"path-parameters\">Path Parameters</h2>\n<ul>\n<li>transaction_number\n  A unique id representing the AR transaction.</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"accessTokenUrl","value":"{{access_token_url}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"tokenType","value":"<token-type>"},{"key":"headerPrefix","value":"<header-prefix>"}]},"isInherited":true,"source":{"_postman_id":"37acd4ed-0058-4657-90c7-2d871bcfa076","id":"37acd4ed-0058-4657-90c7-2d871bcfa076","name":"V.Alexander & Co. Rest API","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","invoice",":transaction_number"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"00000001","key":"transaction_number"}]}},"response":[{"id":"61674df3-e1fe-4322-904b-137d96e80256","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"url":{"raw":"https://{{domain}}/v1/invoice/:transaction_number","protocol":"https","host":["{{domain}}"],"path":["v1","invoice",":transaction_number"],"query":[{"key":"","value":null,"disabled":true}],"variable":[{"key":"transaction_number","value":"00000001"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"3397"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 23 Mar 2021 20:33:36 GMT"},{"key":"x-amzn-RequestId","value":"29af5eb7-c40e-4647-bbbb-01148364e46d"},{"key":"x-amz-apigw-id","value":"cqGIxH5PIAMFUTA="},{"key":"X-Amzn-Trace-Id","value":"Root=1-605a509e-5f5735a634b3c66066564dc8"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 1dfdf45ae884acb0d4928486dd7e37e5.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"ATL56-C4"},{"key":"X-Amz-Cf-Id","value":"Lxd30wJ6PS2MaHsQqx_WNOu7L4jhuBqFEM-n6RStifRZ0xxkGoLpfg=="}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"id\",\n  \"debtor\": \"debtor\",\n  \"parent_key\": \"parent_key\",\n  \"transaction_type\": \"INV\",\n  \"invoice\": {\n    \"header\": {\n      \"customerID\": \"customerID\",\n      \"debtorAddress\": {\n        \"address1\": \"address1\",\n        \"address2\": \"address2\",\n        \"city\": \"city\",\n        \"companyName\": \"companyName\",\n        \"postCode\": \"postCode\",\n        \"state\": \"state\"\n      },\n      \"invoiceDates\": {\n        \"dueDate\": \"dueDate\",\n        \"postDate\": \"postDate\"\n      },\n      \"invoiceNumber\": \"invoiceNumber\",\n      \"invoiceTerm\": {\n        \"code\": \"INV\",\n        \"days\": \"days\"\n      },\n      \"invoiceTypeReferenceNumber\": \"invoiceTypeReferenceNumber\",\n      \"transactionNumber\": \"transactionNumber\",\n      \"transactionType\": \"INV\"\n    },\n    \"summary\": [\n      {\n        \"consignor\": { \"companyName\": \"companyName\" },\n        \"consignee\": { \"companyName\": \"companyName\" },\n        \"goodDescription\": \"goodDescription\",\n        \"supplierInvoiceNumbers\": [\"supplierInvoiceNumbers0\"],\n        \"references\": {\n          \"orderNumbers\": [\n            {\n              \"orderReference\": \"orderReference\",\n              \"sequence\": \"sequence\"\n            }\n          ],\n          \"bookingReference\": \"bookingReference\",\n          \"ownersReference\": \"ownersReference\"\n        },\n        \"totalWeight\": {\n          \"weight\": \"weight\",\n          \"unit\": \"DT\"\n        },\n        \"totalVolume\": {\n          \"volume\": \"volume\",\n          \"unit\": \"CC\"\n        },\n        \"totalPacks\": {\n          \"packs\": \"packs\",\n          \"unit\": \"AE\"\n        },\n        \"masterWayBill\": {\n          \"billNumber\": \"billNumber\",\n          \"scac\": \"scac\"\n        },\n        \"houseBill\": {\n          \"billNumber\": \"billNumber\",\n          \"scac\": \"scac\"\n        },\n        \"origin\": {\n          \"code\": \"code\",\n          \"name\": \"name\"\n        },\n        \"destination\": {\n          \"code\": \"code\",\n          \"name\": \"name\"\n        },\n        \"estimatedDepartureDate\": \"estimatedDepartureDate\",\n        \"estimatedArrivalDate\": \"estimatedArrivalDate\",\n        \"entryNumber\": {\n          \"filerCode\": \"filerCode\",\n          \"number\": \"number\"\n        },\n        \"containers\": [\n          {\n            \"number\": \"number\",\n            \"type\": \"type\"\n          }\n        ],\n        \"transportInfo\": [\n          {\n            \"legType\": \"legType\",\n            \"transportMode\": \"transportMode\",\n            \"railReference\": \"railReference\",\n            \"vessel\": \"vessel\",\n            \"voyageFlightNo\": \"voyageFlightNo\",\n            \"imo\": \"imo\"\n          }\n        ]\n      }\n    ],\n    \"charges\": [\n      {\n        \"chargeCode\": \"chargeCode\",\n        \"description\": \"description\",\n        \"chargeTotal\": \"chargeTotal\",\n        \"chargeCurrency\": \"ZWL\"\n      }\n    ],\n    \"totals\": { \"total\": \"total\" }\n  },\n  \"links\": [\n    {\n      \"method\": \"GET\",\n      \"rel\": \"self\",\n      \"href\": \"href\"\n    },\n    {\n      \"method\": \"GET\",\n      \"rel\": \"location\",\n      \"href\": \"href\"\n    }\n  ]\n}\n"}],"_postman_id":"34e6390e-f599-498a-af2d-189ce4c02ac1"},{"name":"Invoices","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"a3afdbe8-f641-41d8-9203-08a123fb7041"}},{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"5f943821-6d76-48b5-9c1d-898e7912d9e7"}}],"id":"bd77d626-40bf-431c-9fe0-245df3c5af22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"url":"https://{{domain}}/v1/invoices/:debtor_code","description":"<p>Use this resource to get a collection of AR invoice data.</p>\n<h2 id=\"response-json-schema\">Response JSON Schema</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n  \"type\": \"object\",\n  \"properties\": {\n    \"items\": {\n      \"type\": \"array\",\n      \"items\": { \"$ref\": \"#/definitions/item\" }\n    },\n    \"links\": {\n      \"type\": \"array\",\n      \"maxItems\": 2,\n      \"items\": [\n        { \"$ref\": \"#/definitions/selfLink\" },\n        { \"$ref\": \"#/definitions/nextLink\" }\n      ],\n      \"minItems\": 1\n    }\n  },\n  \"definitions\": {\n    \"item\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"header\": {\n          \"properties\": {\n            \"customerID\": { \"type\": \"string\" },\n            \"debtorAddress\": {\n              \"type\": \"object\",\n              \"properties\": {\n                \"address1\": { \"type\": \"string\" },\n                \"address2\": {\n                  \"type\": [\"string\", \"null\"]\n                },\n                \"city\": { \"type\": \"string\" },\n                \"companyName\": { \"type\": \"string\" },\n                \"postCode\": { \"type\": \"string\" },\n                \"state\": {\n                  \"type\": [\"string\", \"null\"]\n                }\n              },\n              \"required\": [\n                \"address1\",\n                \"address2\",\n                \"city\",\n                \"companyName\",\n                \"postCode\",\n                \"state\"\n              ]\n            },\n            \"invoiceDates\": {\n              \"properties\": {\n                \"dueDate\": {\n                  \"type\": [\"string\", \"null\"]\n                },\n                \"postDate\": { \"type\": \"string\" }\n              },\n              \"required\": [\"dueDate\", \"postDate\"]\n            },\n            \"invoiceNumber\": { \"type\": \"string\" },\n            \"invoiceTerm\": {\n              \"properties\": {\n                \"code\": {\n                  \"type\": \"string\",\n                  \"enum\": [\"INV\", \"CRD\"]\n                },\n                \"days\": { \"type\": \"string\" }\n              },\n              \"required\": [\"code\", \"days\"]\n            },\n            \"invoiceTypeReferenceNumber\": { \"type\": \"string\" },\n            \"transactionNumber\": { \"type\": \"string\" },\n            \"transactionType\": {\n              \"type\": \"string\",\n              \"enum\": [\"INV\", \"CRD\"]\n            }\n          },\n          \"type\": \"object\",\n          \"required\": [\n            \"customerID\",\n            \"debtorAddress\",\n            \"invoiceDates\",\n            \"invoiceNumber\",\n            \"invoiceTerm\",\n            \"invoiceTypeReferenceNumber\",\n            \"transactionNumber\",\n            \"transactionType\"\n          ]\n        },\n        \"summary\": {\n          \"type\": \"array\",\n          \"items\": {\n            \"properties\": {\n              \"consignor\": {\n                \"type\": \"object\",\n                \"properties\": {\n                  \"companyName\": { \"type\": \"string\" }\n                },\n                \"required\": [\"companyName\"]\n              },\n              \"consignee\": {\n                \"type\": \"object\",\n                \"properties\": {\n                  \"companyName\": { \"type\": \"string\" }\n                },\n                \"required\": [\"companyName\"]\n              },\n              \"goodDescription\": {\n                \"type\": [\"string\", \"null\"]\n              },\n              \"supplierInvoiceNumbers\": {\n                \"type\": \"array\",\n                \"items\": { \"type\": \"string\" }\n              },\n              \"references\": {\n                \"properties\": {\n                  \"orderNumbers\": {\n                    \"type\": \"array\",\n                    \"items\": {\n                      \"properties\": {\n                        \"orderReference\": { \"type\": \"string\" },\n                        \"sequence\": { \"type\": \"string\" }\n                      },\n                      \"type\": \"object\",\n                      \"required\": [\"orderReference\", \"sequence\"]\n                    }\n                  },\n                  \"bookingReference\": {\n                    \"type\": [\"string\", \"null\"]\n                  },\n                  \"ownersReference\": {\n                    \"type\": [\"string\", \"null\"]\n                  }\n                },\n                \"type\": \"object\",\n                \"required\": [\n                  \"orderNumbers\",\n                  \"bookingReference\",\n                  \"ownersReference\"\n                ]\n              },\n              \"totalWeight\": {\n                \"properties\": {\n                  \"weight\": { \"type\": \"string\" },\n                  \"unit\": { \"$ref\": \"#/definitions/weightUnit\" }\n                },\n                \"type\": \"object\",\n                \"required\": [\"weight\", \"unit\"]\n              },\n              \"totalVolume\": {\n                \"properties\": {\n                  \"volume\": { \"type\": \"string\" },\n                  \"unit\": { \"$ref\": \"#/definitions/volumeUnit\" }\n                },\n                \"type\": \"object\",\n                \"required\": [\"volume\", \"unit\"]\n              },\n              \"totalPacks\": {\n                \"properties\": {\n                  \"packs\": { \"type\": \"string\" },\n                  \"unit\": { \"$ref\": \"#/definitions/packUnit\" }\n                },\n                \"type\": \"object\",\n                \"required\": [\"packs\", \"unit\"]\n              },\n              \"masterWayBill\": {\n                \"properties\": {\n                  \"billNumber\": {\n                    \"type\": [\"string\", \"null\"]\n                  },\n                  \"scac\": {\n                    \"type\": [\"string\", \"null\"]\n                  }\n                },\n                \"type\": \"object\",\n                \"required\": [\"billNumber\", \"scac\"]\n              },\n              \"houseBill\": {\n                \"properties\": {\n                  \"billNumber\": {\n                    \"type\": [\"string\", \"null\"]\n                  },\n                  \"scac\": {\n                    \"type\": [\"string\", \"null\"]\n                  }\n                },\n                \"type\": \"object\",\n                \"required\": [\"billNumber\", \"scac\"]\n              },\n              \"origin\": {\n                \"properties\": {\n                  \"code\": { \"type\": \"string\" },\n                  \"name\": { \"type\": \"string\" }\n                },\n                \"type\": \"object\",\n                \"required\": [\"code\", \"name\"]\n              },\n              \"destination\": {\n                \"properties\": {\n                  \"code\": { \"type\": \"string\" },\n                  \"name\": { \"type\": \"string\" }\n                },\n                \"type\": \"object\",\n                \"required\": [\"code\", \"name\"]\n              },\n              \"estimatedDepartureDate\": { \"type\": \"string\" },\n              \"estimatedArrivalDate\": { \"type\": \"string\" },\n              \"entryNumber\": {\n                \"properties\": {\n                  \"filerCode\": { \"type\": \"string\" },\n                  \"number\": { \"type\": \"string\" }\n                },\n                \"type\": \"object\",\n                \"required\": [\"filerCode\", \"number\"]\n              },\n              \"containers\": {\n                \"items\": {\n                  \"type\": \"object\",\n                  \"properties\": {\n                    \"number\": { \"type\": \"string\" },\n                    \"type\": { \"type\": \"string\" }\n                  },\n                  \"required\": [\"number\", \"type\"]\n                },\n                \"type\": \"array\"\n              },\n              \"transportInfo\": {\n                \"items\": {\n                  \"properties\": {\n                    \"legType\": { \"type\": \"string\" },\n                    \"transportMode\": { \"type\": \"string\" },\n                    \"railReference\": {\n                      \"type\": [\"string\", \"null\"]\n                    },\n                    \"vessel\": {\n                      \"type\": [\"string\", \"null\"]\n                    },\n                    \"voyageFlightNo\": {\n                      \"type\": [\"string\", \"null\"]\n                    },\n                    \"imo\": {\n                      \"type\": [\"string\", \"null\"]\n                    }\n                  },\n                  \"type\": \"object\",\n                  \"required\": [\n                    \"legType\",\n                    \"transportMode\",\n                    \"railReference\",\n                    \"vessel\",\n                    \"voyageFlightNo\",\n                    \"imo\"\n                  ]\n                },\n                \"type\": \"array\"\n              }\n            },\n            \"type\": \"object\",\n            \"required\": [\n              \"consignor\",\n              \"consignee\",\n              \"goodDescription\",\n              \"supplierInvoiceNumbers\",\n              \"references\",\n              \"totalWeight\",\n              \"totalVolume\",\n              \"totalPacks\",\n              \"masterWayBill\",\n              \"houseBill\",\n              \"origin\",\n              \"destination\",\n              \"estimatedDepartureDate\",\n              \"estimatedArrivalDate\",\n              \"entryNumber\",\n              \"containers\",\n              \"transportInfo\"\n            ]\n          }\n        },\n        \"charges\": {\n          \"type\": \"array\",\n          \"items\": {\n            \"properties\": {\n              \"chargeCode\": { \"$ref\": \"#/definitions/chargeCode\" },\n              \"description\": { \"type\": \"string\" },\n              \"chargeTotal\": { \"type\": \"string\" },\n              \"chargeCurrency\": { \"$ref\": \"#/definitions/currency\" }\n            },\n            \"type\": \"object\",\n            \"required\": [\n              \"chargeCode\",\n              \"description\",\n              \"chargeTotal\",\n              \"chargeCurrency\"\n            ]\n          }\n        },\n        \"totals\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"total\": { \"type\": \"string\" }\n          },\n          \"required\": [\"total\"]\n        },\n        \"links\": {\n          \"type\": \"array\",\n          \"items\": { \"$ref\": \"#/definitions/itemLink\" }\n        }\n      },\n      \"required\": [\"header\", \"summary\", \"charges\", \"totals\", \"links\"]\n    },\n    \"selfLink\": {\n      \"properties\": {\n        \"method\": {\n          \"type\": \"string\",\n          \"const\": \"GET\"\n        },\n        \"rel\": {\n          \"type\": \"string\",\n          \"const\": \"self\"\n        },\n        \"href\": { \"type\": \"string\" }\n      },\n      \"type\": \"object\",\n      \"required\": [\"method\", \"rel\", \"href\"]\n    },\n    \"nextLink\": {\n      \"properties\": {\n        \"method\": {\n          \"type\": \"string\",\n          \"const\": \"GET\"\n        },\n        \"rel\": {\n          \"type\": \"string\",\n          \"const\": \"next\"\n        },\n        \"href\": { \"type\": \"string\" }\n      },\n      \"type\": \"object\",\n      \"required\": [\"method\", \"rel\", \"href\"]\n    },\n    \"itemLink\": {\n      \"properties\": {\n        \"method\": {\n          \"type\": \"string\",\n          \"const\": \"GET\"\n        },\n        \"rel\": {\n          \"type\": \"string\",\n          \"const\": \"item\"\n        },\n        \"href\": { \"type\": \"string\" }\n      },\n      \"type\": \"object\",\n      \"required\": [\"method\", \"rel\", \"href\"]\n    },\n    \"currency\": {\n      \"type\": \"string\",\n      \"enum\": [\n        \"ZWL\",\n        \"ZMW\",\n        \"ZAR\",\n        \"YER\",\n        \"XPF\",\n        \"XOF\",\n        \"XDR\",\n        \"XCD\",\n        \"XAF\",\n        \"WST\",\n        \"VUV\",\n        \"VND\",\n        \"VES\",\n        \"VEF\",\n        \"UZS\",\n        \"UYU\",\n        \"USD\",\n        \"UGX\",\n        \"UAH\",\n        \"TZS\",\n        \"TWD\",\n        \"TTD\",\n        \"TRY\",\n        \"TOP\",\n        \"TND\",\n        \"TMT\",\n        \"TJS\",\n        \"THB\",\n        \"SZL\",\n        \"SYP\",\n        \"SVC\",\n        \"STN\",\n        \"STD\",\n        \"SSP\",\n        \"SRD\",\n        \"SOS\",\n        \"SLL\",\n        \"SLE\",\n        \"SHP\",\n        \"SGD\",\n        \"SEK\",\n        \"SDG\",\n        \"SCR\",\n        \"SBD\",\n        \"SAR\",\n        \"RWF\",\n        \"RUB\",\n        \"RSD\",\n        \"RON\",\n        \"QAR\",\n        \"PYG\",\n        \"PTE\",\n        \"PLN\",\n        \"PKR\",\n        \"PHP\",\n        \"PGK\",\n        \"PEN\",\n        \"PAB\",\n        \"OMR\",\n        \"NZD\",\n        \"NPR\",\n        \"NOK\",\n        \"NLG\",\n        \"NIO\",\n        \"NGN\",\n        \"NAD\",\n        \"MZN\",\n        \"MYR\",\n        \"MXN\",\n        \"MWK\",\n        \"MVR\",\n        \"MUR\",\n        \"MRU\",\n        \"MRO\",\n        \"MOP\",\n        \"MNT\",\n        \"MMK\",\n        \"MKD\",\n        \"MGA\",\n        \"MDL\",\n        \"MAD\",\n        \"LYD\",\n        \"LUF\",\n        \"LSL\",\n        \"LRD\",\n        \"LKR\",\n        \"LBP\",\n        \"LAK\",\n        \"KZT\",\n        \"KYD\",\n        \"KWD\",\n        \"KRW\",\n        \"KPW\",\n        \"KMF\",\n        \"KHR\",\n        \"KGS\",\n        \"KES\",\n        \"JPY\",\n        \"JOD\",\n        \"JMD\",\n        \"ITL\",\n        \"ISK\",\n        \"IRR\",\n        \"IQD\",\n        \"INR\",\n        \"ILS\",\n        \"IEP\",\n        \"IDR\",\n        \"HUF\",\n        \"HTG\",\n        \"HRK\",\n        \"HNL\",\n        \"HKD\",\n        \"GYD\",\n        \"GTQ\",\n        \"GRD\",\n        \"GNF\",\n        \"GMD\",\n        \"GIP\",\n        \"GHS\",\n        \"GEL\",\n        \"GBP\",\n        \"FRF\",\n        \"FKP\",\n        \"FJD\",\n        \"FIM\",\n        \"EUR\",\n        \"ETB\",\n        \"ESP\",\n        \"ERN\",\n        \"EGP\",\n        \"DZD\",\n        \"DOP\",\n        \"DKK\",\n        \"DJF\",\n        \"DEM\",\n        \"CZK\",\n        \"CVE\",\n        \"CUP\",\n        \"CRC\",\n        \"COP\",\n        \"CNY\",\n        \"CLP\",\n        \"CHF\",\n        \"CDF\",\n        \"CAD\",\n        \"BZD\",\n        \"BYR\",\n        \"BYN\",\n        \"BWP\",\n        \"BTN\",\n        \"BSD\",\n        \"BRL\",\n        \"BOB\",\n        \"BND\",\n        \"BMD\",\n        \"BIF\",\n        \"BHD\",\n        \"BGN\",\n        \"BEF\",\n        \"BDT\",\n        \"BBD\",\n        \"BAM\",\n        \"AZN\",\n        \"AWG\",\n        \"AUD\",\n        \"ATS\",\n        \"ARS\",\n        \"AOA\",\n        \"ANG\",\n        \"AMD\",\n        \"ALL\",\n        \"AFN\",\n        \"AED\"\n      ]\n    },\n    \"weightUnit\": {\n      \"type\": \"string\",\n      \"enum\": [\n        \"DT\",\n        \"G\",\n        \"HG\",\n        \"KG\",\n        \"KT\",\n        \"LB\",\n        \"LT\",\n        \"MC\",\n        \"MG\",\n        \"OT\",\n        \"OZ\",\n        \"T\",\n        \"TL\",\n        \"TN\"\n      ]\n    },\n    \"volumeUnit\": {\n      \"type\": \"string\",\n      \"enum\": [\"CC\", \"CF\", \"CI\", \"CY\", \"D3\", \"GA\", \"GI\", \"L\", \"M3\", \"ML\", \"TE\"]\n    },\n    \"packUnit\": {\n      \"type\": \"string\",\n      \"enum\": [\n        \"AE\",\n        \"AM\",\n        \"AP\",\n        \"AT\",\n        \"BG\",\n        \"BL\",\n        \"BN\",\n        \"BF\",\n        \"BP\",\n        \"BR\",\n        \"BA\",\n        \"BZ\",\n        \"BK\",\n        \"CB\",\n        \"BI\",\n        \"BD\",\n        \"BY\",\n        \"BB\",\n        \"BT\",\n        \"BC\",\n        \"BS\",\n        \"BO\",\n        \"BV\",\n        \"BQ\",\n        \"BX\",\n        \"BJ\",\n        \"VG\",\n        \"VL\",\n        \"VQ\",\n        \"VY\",\n        \"VR\",\n        \"VO\",\n        \"BH\",\n        \"BE\",\n        \"BU\",\n        \"CG\",\n        \"CX\",\n        \"CI\",\n        \"CA\",\n        \"CZ\",\n        \"CO\",\n        \"CP\",\n        \"CAR\",\n        \"CT\",\n        \"CS\",\n        \"CK\",\n        \"CH\",\n        \"CC\",\n        \"CF\",\n        \"CJ\",\n        \"CL\",\n        \"COM\",\n        \"CON\",\n        \"CV\",\n        \"CR\",\n        \"CE\",\n        \"CU\",\n        \"CY\",\n        \"DJ\",\n        \"DP\",\n        \"DR\",\n        \"EN\",\n        \"FP\",\n        \"FI\",\n        \"FL\",\n        \"FO\",\n        \"FD\",\n        \"FC\",\n        \"GB\",\n        \"GI\",\n        \"GZ\",\n        \"HR\",\n        \"HG\",\n        \"IN\",\n        \"IZ\",\n        \"JR\",\n        \"JY\",\n        \"JC\",\n        \"JG\",\n        \"JT\",\n        \"KG\",\n        \"LG\",\n        \"LZ\",\n        \"MT\",\n        \"MX\",\n        \"MC\",\n        \"MB\",\n        \"MS\",\n        \"NS\",\n        \"NT\",\n        \"PK\",\n        \"PA\",\n        \"PL\",\n        \"PAL\",\n        \"PC\",\n        \"PI\",\n        \"PH\",\n        \"PN\",\n        \"PZ\",\n        \"PG\",\n        \"PY\",\n        \"PT\",\n        \"PO\",\n        \"RT\",\n        \"RL\",\n        \"RG\",\n        \"RD\",\n        \"RZ\",\n        \"RO\",\n        \"SH\",\n        \"SA\",\n        \"SE\",\n        \"SC\",\n        \"ST\",\n        \"SM\",\n        \"SZ\",\n        \"SW\",\n        \"SK\",\n        \"SL\",\n        \"SD\",\n        \"SU\",\n        \"SY\",\n        \"TY\",\n        \"TK\",\n        \"TC\",\n        \"TN\",\n        \"PU\",\n        \"TR\",\n        \"TS\",\n        \"TB\",\n        \"TU\",\n        \"TD\",\n        \"TZ\",\n        \"TO\",\n        \"NE\",\n        \"VP\",\n        \"VA\",\n        \"VI\",\n        \"WB\"\n      ]\n    },\n    \"chargeCode\": {\n      \"type\": \"string\",\n      \"oneOf\": [\n        {\n          \"const\": \"ABR\",\n          \"description\": \"ABI Cargo Release Fee\"\n        },\n        {\n          \"const\": \"ACC\",\n          \"description\": \"Airport Accessorial Fee\"\n        },\n        {\n          \"const\": \"ACF\",\n          \"description\": \"Additional Class Fee\"\n        },\n        {\n          \"const\": \"ACSF\",\n          \"description\": \"Accessorial Fee\"\n        },\n        {\n          \"const\": \"AD\",\n          \"description\": \"Additional Documentation Fee\"\n        },\n        {\n          \"const\": \"AED\",\n          \"description\": \"Air Express Docs/Postage Fee\"\n        },\n        {\n          \"const\": \"AEFL\",\n          \"description\": \"Additional Class Fee\"\n        },\n        {\n          \"const\": \"AES\",\n          \"description\": \"AES/EEI Filing\"\n        },\n        {\n          \"const\": \"AESR\",\n          \"description\": \"AES/EEI Filing Revision\"\n        },\n        {\n          \"const\": \"AF\",\n          \"description\": \"Air Freight Charges\"\n        },\n        {\n          \"const\": \"AGF\",\n          \"description\": \"Agent Fees\"\n        },\n        {\n          \"const\": \"AIF\",\n          \"description\": \"Additional Invoice Fee\"\n        },\n        {\n          \"const\": \"AIL\",\n          \"description\": \"Additional Invoice Lines Fee\"\n        },\n        {\n          \"const\": \"ALF\",\n          \"description\": \"Aluminum License Fee\"\n        },\n        {\n          \"const\": \"AMS\",\n          \"description\": \"AMS Security Surcharge\"\n        },\n        {\n          \"const\": \"APF\",\n          \"description\": \"AES Preliminary Filing Fee\"\n        },\n        {\n          \"const\": \"AT\",\n          \"description\": \"Airport Transfer\"\n        },\n        {\n          \"const\": \"ATC\",\n          \"description\": \"Air Transportation Charges\"\n        },\n        {\n          \"const\": \"AVF\",\n          \"description\": \"AMS Verification Fee\"\n        },\n        {\n          \"const\": \"AWAR\",\n          \"description\": \"War Risk Surcharge\"\n        },\n        {\n          \"const\": \"BAF\",\n          \"description\": \"BAF Charges\"\n        },\n        {\n          \"const\": \"BATF\",\n          \"description\": \"ATF Transmit Fee\"\n        },\n        {\n          \"const\": \"BCF\",\n          \"description\": \"Booking Cancellation Fee\"\n        },\n        {\n          \"const\": \"BKG\",\n          \"description\": \"Booking Fee\"\n        },\n        {\n          \"const\": \"BP\",\n          \"description\": \"Bond Premium\"\n        },\n        {\n          \"const\": \"BPF\",\n          \"description\": \"Bond Placement Fee\"\n        },\n        {\n          \"const\": \"BPO\",\n          \"description\": \"BPO Fees\"\n        },\n        {\n          \"const\": \"BUF\",\n          \"description\": \"Bond Usage Fee\"\n        },\n        {\n          \"const\": \"CBCC\",\n          \"description\": \"Canadian Border Clearance Charge\"\n        },\n        {\n          \"const\": \"CBCF\",\n          \"description\": \"Canadian Border Clearance Fee\"\n        },\n        {\n          \"const\": \"CC\",\n          \"description\": \"Customs Clearance Overseas\"\n        },\n        {\n          \"const\": \"CC/EO\",\n          \"description\": \"Client Consideration\"\n        },\n        {\n          \"const\": \"CCD\",\n          \"description\": \"Canadian Customs Duty\"\n        },\n        {\n          \"const\": \"CDEL\",\n          \"description\": \"Consolidated/LTL Delivery\"\n        },\n        {\n          \"const\": \"CDF\",\n          \"description\": \"Scan / CD Fee\"\n        },\n        {\n          \"const\": \"CDRF\",\n          \"description\": \"Container Del &amp; Return Fee\"\n        },\n        {\n          \"const\": \"CEC\",\n          \"description\": \"Customs Entry Charge\"\n        },\n        {\n          \"const\": \"CEF\",\n          \"description\": \"Customs Entry Fee\"\n        },\n        {\n          \"const\": \"CF\",\n          \"description\": \"Airline Collection\"\n        },\n        {\n          \"const\": \"CFS\",\n          \"description\": \"CFS Handling Charge\"\n        },\n        {\n          \"const\": \"CHF\",\n          \"description\": \"Chassis Usage Charge\"\n        },\n        {\n          \"const\": \"CMF\",\n          \"description\": \"Container Management Fee\"\n        },\n        {\n          \"const\": \"CMFE\",\n          \"description\": \"Container Management Fee\"\n        },\n        {\n          \"const\": \"CO\",\n          \"description\": \"Issue Cert. of Orgin\"\n        },\n        {\n          \"const\": \"COD\",\n          \"description\": \"Change of Destination Fee\"\n        },\n        {\n          \"const\": \"COMI\",\n          \"description\": \"Issue Commercial Invoice Fee\"\n        },\n        {\n          \"const\": \"CPF\",\n          \"description\": \"Carnet Preperation\"\n        },\n        {\n          \"const\": \"CPS\",\n          \"description\": \"Consumer Product Safety Commission Fee\"\n        },\n        {\n          \"const\": \"CSF\",\n          \"description\": \"Consulation Service Fee\"\n        },\n        {\n          \"const\": \"CSPC\",\n          \"description\": \"Chassis Split Charge\"\n        },\n        {\n          \"const\": \"CSS\",\n          \"description\": \"Chassis Split Fee\"\n        },\n        {\n          \"const\": \"CTF\",\n          \"description\": \"Clean Truck Fee\"\n        },\n        {\n          \"const\": \"CTHC\",\n          \"description\": \"Carrier Service/THC Charge\"\n        },\n        {\n          \"const\": \"CTSC\",\n          \"description\": \"Carrier Service/THC Charge\"\n        },\n        {\n          \"const\": \"CUC\",\n          \"description\": \"Chassis Usage Charge\"\n        },\n        {\n          \"const\": \"CUSDEF\",\n          \"description\": \"CBP duties, taxes and fees on importer's statement\"\n        },\n        {\n          \"const\": \"DCTF\",\n          \"description\": \"Document Transfer Charge\"\n        },\n        {\n          \"const\": \"DDC\",\n          \"description\": \"Destination Devanning Charge\"\n        },\n        {\n          \"const\": \"DDEL\",\n          \"description\": \"Dedicated Truck Delivery\"\n        },\n        {\n          \"const\": \"DDW\",\n          \"description\": \"Driver detention-wait time\"\n        },\n        {\n          \"const\": \"DDW\",\n          \"description\": \"Driver Detention-Wait Time Charge\"\n        },\n        {\n          \"const\": \"DEL\",\n          \"description\": \"Delivery\"\n        },\n        {\n          \"const\": \"DEM\",\n          \"description\": \"Detention/Demurrage\"\n        },\n        {\n          \"const\": \"DEPE\",\n          \"description\": \"Detention/Per Diem\"\n        },\n        {\n          \"const\": \"DF\",\n          \"description\": \"Domestic Freight &amp; Services\"\n        },\n        {\n          \"const\": \"DG\",\n          \"description\": \"Airline DG Fee\"\n        },\n        {\n          \"const\": \"DIF\",\n          \"description\": \"Disbursement Fee\"\n        },\n        {\n          \"const\": \"DISB\",\n          \"description\": \"Disbursement Fee\"\n        },\n        {\n          \"const\": \"DISF\",\n          \"description\": \"Disbursement Fee\"\n        },\n        {\n          \"const\": \"DIV\",\n          \"description\": \"Container Diversion Fee\"\n        },\n        {\n          \"const\": \"DO3\",\n          \"description\": \"Delivery Order - 3rd Party Fee\"\n        },\n        {\n          \"const\": \"DOC\",\n          \"description\": \"Documentation Fee\"\n        },\n        {\n          \"const\": \"DOCAF\",\n          \"description\": \"Documentation &amp; AWB Fee\"\n        },\n        {\n          \"const\": \"DOCF\",\n          \"description\": \"Documentation Fee\"\n        },\n        {\n          \"const\": \"DOCR\",\n          \"description\": \"BOL Revision\"\n        },\n        {\n          \"const\": \"DOCX\",\n          \"description\": \"Document Transfer Fee\"\n        },\n        {\n          \"const\": \"DOM\",\n          \"description\": \"DOMESTIC TRANSPORTATION CHARGE\"\n        },\n        {\n          \"const\": \"DPS\",\n          \"description\": \"Domestic Profit Split\"\n        },\n        {\n          \"const\": \"DPV\",\n          \"description\": \"Delivery Provided By VACO\"\n        },\n        {\n          \"const\": \"DST\",\n          \"description\": \"Destination Charges\"\n        },\n        {\n          \"const\": \"DTC\",\n          \"description\": \"DOMESTIC TRANSPORTATION CHARGE\"\n        },\n        {\n          \"const\": \"DTD\",\n          \"description\": \"Dray/Transload/Delivery\"\n        },\n        {\n          \"const\": \"DTES\",\n          \"description\": \"Dray To Exam Site\"\n        },\n        {\n          \"const\": \"DTF\",\n          \"description\": \"Dispatch Trucker Fee\"\n        },\n        {\n          \"const\": \"DTHC/CSC\",\n          \"description\": \"DTHC/CSC\"\n        },\n        {\n          \"const\": \"DTOF\",\n          \"description\": \"Document Turnover Fee\"\n        },\n        {\n          \"const\": \"DTY\",\n          \"description\": \"Dray to Yard\"\n        },\n        {\n          \"const\": \"DUTY\",\n          \"description\": \"Duty\"\n        },\n        {\n          \"const\": \"DYTX\",\n          \"description\": \"Duty &amp; Taxes\"\n        },\n        {\n          \"const\": \"ECH\",\n          \"description\": \"Exam Coordination/Handling Fee\"\n        },\n        {\n          \"const\": \"EDI\",\n          \"description\": \"EDI Service Fee\"\n        },\n        {\n          \"const\": \"EEL\",\n          \"description\": \"Entry Lines In Excess Of 998\"\n        },\n        {\n          \"const\": \"EMF\",\n          \"description\": \"Invoice Mailing Fee\"\n        },\n        {\n          \"const\": \"EO\",\n          \"description\": \"E/O\"\n        },\n        {\n          \"const\": \"EPA\",\n          \"description\": \"EPA Clearance Fee\"\n        },\n        {\n          \"const\": \"EREF\",\n          \"description\": \"Entry Reconstruction Fee\"\n        },\n        {\n          \"const\": \"ERF\",\n          \"description\": \"Entry Rework Fee\"\n        },\n        {\n          \"const\": \"ETS\",\n          \"description\": \"Enhanced Tracking Services Fee\"\n        },\n        {\n          \"const\": \"EXCAF\",\n          \"description\": \"Export Clearance &amp; AES Fee\"\n        },\n        {\n          \"const\": \"EXCF\",\n          \"description\": \"Express Courier Fee\"\n        },\n        {\n          \"const\": \"EXF\",\n          \"description\": \"Customs/OGA Examination Fee\"\n        },\n        {\n          \"const\": \"FA\",\n          \"description\": \"Forwarders Advance\"\n        },\n        {\n          \"const\": \"FAA\",\n          \"description\": \"Security Surcharge\"\n        },\n        {\n          \"const\": \"FCA\",\n          \"description\": \"Freight Charges Advanced\"\n        },\n        {\n          \"const\": \"FCC\",\n          \"description\": \"FCC Clearance Fee\"\n        },\n        {\n          \"const\": \"FDA\",\n          \"description\": \"FDA Prior Notice Fee\"\n        },\n        {\n          \"const\": \"FDCF\",\n          \"description\": \"Food &amp; Drug Clearance Fee\"\n        },\n        {\n          \"const\": \"FDF\",\n          \"description\": \"Freight Disbursement Fee\"\n        },\n        {\n          \"const\": \"FDUTY\",\n          \"description\": \"FOREIGN DUTY\"\n        },\n        {\n          \"const\": \"FF\",\n          \"description\": \"Forwarding/Handling Fee\"\n        },\n        {\n          \"const\": \"FFLC\",\n          \"description\": \"L/C or Draft Handling Fee\"\n        },\n        {\n          \"const\": \"FI\",\n          \"description\": \"Insurance Cost\"\n        },\n        {\n          \"const\": \"FIF\",\n          \"description\": \"Inland Freight Cost\"\n        },\n        {\n          \"const\": \"FRT\",\n          \"description\": \"Transportation Charges\"\n        },\n        {\n          \"const\": \"FSC\",\n          \"description\": \"Fuel Surcharge\"\n        },\n        {\n          \"const\": \"FSD\",\n          \"description\": \"Fuel Surcharge Domestic\"\n        },\n        {\n          \"const\": \"FWCF\",\n          \"description\": \"Fish &amp; Wildlife Charges Advanced\"\n        },\n        {\n          \"const\": \"FWF\",\n          \"description\": \"Fish &amp; Wildlife Fee\"\n        },\n        {\n          \"const\": \"FWL\",\n          \"description\": \"Fish &amp; Wildlife Fee\"\n        },\n        {\n          \"const\": \"GST\",\n          \"description\": \"GST - General Service Tax\"\n        },\n        {\n          \"const\": \"GSTB\",\n          \"description\": \"GST (Brokerage Fee)\"\n        },\n        {\n          \"const\": \"GSTD\",\n          \"description\": \"GST (Duty)\"\n        },\n        {\n          \"const\": \"HAN\",\n          \"description\": \"Handling Fee\"\n        },\n        {\n          \"const\": \"HAZ\",\n          \"description\": \"Hazardous Surcharge\"\n        },\n        {\n          \"const\": \"HC\",\n          \"description\": \"Handling Charge\"\n        },\n        {\n          \"const\": \"HF\",\n          \"description\": \"Handling Fee\"\n        },\n        {\n          \"const\": \"HZHF\",\n          \"description\": \"Hazardous Goods Handling Fee\"\n        },\n        {\n          \"const\": \"IAF\",\n          \"description\": \"Invoice Amendment Fee\"\n        },\n        {\n          \"const\": \"IBFF\",\n          \"description\": \"In Bond Forwarding Fee\"\n        },\n        {\n          \"const\": \"IF\",\n          \"description\": \"Inland Freight &amp; Service\"\n        },\n        {\n          \"const\": \"IMF\",\n          \"description\": \"Invoice Mailing Fee\"\n        },\n        {\n          \"const\": \"INDC\",\n          \"description\": \"Issue Insurance Declaration Fee\"\n        },\n        {\n          \"const\": \"INS\",\n          \"description\": \"Cargo Insurance\"\n        },\n        {\n          \"const\": \"INS\",\n          \"description\": \"Cargo Insurance &amp; Service\"\n        },\n        {\n          \"const\": \"IOWF\",\n          \"description\": \"In/Out Whse. Handling Fee\"\n        },\n        {\n          \"const\": \"IOWH\",\n          \"description\": \"In/Out Whse. Handling Chg.\"\n        },\n        {\n          \"const\": \"IPCC\",\n          \"description\": \"Industrial Products Cross Fee\"\n        },\n        {\n          \"const\": \"ISC\",\n          \"description\": \"Import Service Charge\"\n        },\n        {\n          \"const\": \"ISEB\",\n          \"description\": \"ISF Single Entry Bond Premium Charge\"\n        },\n        {\n          \"const\": \"ISEF\",\n          \"description\": \"ISF Single Entry Bond Placement Fee\"\n        },\n        {\n          \"const\": \"ISF\",\n          \"description\": \"ISF (10+2) FEE\"\n        },\n        {\n          \"const\": \"ISP\",\n          \"description\": \"Insurance Premium\"\n        },\n        {\n          \"const\": \"ITF\",\n          \"description\": \"IT Fee / 7512\"\n        },\n        {\n          \"const\": \"LAF\",\n          \"description\": \"Lacey Act Transmit Fee\"\n        },\n        {\n          \"const\": \"LDF\",\n          \"description\": \"Late Documents Fee\"\n        },\n        {\n          \"const\": \"LEG\",\n          \"description\": \"Consular Legalization Fee\"\n        },\n        {\n          \"const\": \"LH\",\n          \"description\": \"Line Haul to Departure Airport\"\n        },\n        {\n          \"const\": \"LSS\",\n          \"description\": \"Low Sulfur Surcharge\"\n        },\n        {\n          \"const\": \"MAS\",\n          \"description\": \"Accounting\"\n        },\n        {\n          \"const\": \"MBC\",\n          \"description\": \"Mexican Broker Charge\"\n        },\n        {\n          \"const\": \"MISC\",\n          \"description\": \"Miscellaneous\"\n        },\n        {\n          \"const\": \"MISF\",\n          \"description\": \"Misc. Fee (See Notes)\"\n        },\n        {\n          \"const\": \"MON\",\n          \"description\": \"Transportation Monitoring Fee\"\n        },\n        {\n          \"const\": \"MSCO\",\n          \"description\": \"Misc. Cost (See Notes)\"\n        },\n        {\n          \"const\": \"MSEX\",\n          \"description\": \"Misc. Exp.(See Notes)\"\n        },\n        {\n          \"const\": \"MSF\",\n          \"description\": \"Messenger Fee\"\n        },\n        {\n          \"const\": \"MXBC\",\n          \"description\": \"Mexican Border Clearance Charge\"\n        },\n        {\n          \"const\": \"MXBF\",\n          \"description\": \"Mexican Border Clearance Fee\"\n        },\n        {\n          \"const\": \"NHT\",\n          \"description\": \"NHTSA Clearance Fee\"\n        },\n        {\n          \"const\": \"NPF\",\n          \"description\": \"Nairobi Protocol Fee\"\n        },\n        {\n          \"const\": \"OC\",\n          \"description\": \"On-Carriage Charges\"\n        },\n        {\n          \"const\": \"OCHG\",\n          \"description\": \"Origin Charges\"\n        },\n        {\n          \"const\": \"OCI\",\n          \"description\": \"Commercial Invoice Fee\"\n        },\n        {\n          \"const\": \"OCOF\",\n          \"description\": \"Certificate of Origin Fee\"\n        },\n        {\n          \"const\": \"OCRT\",\n          \"description\": \"Origin Cartage\"\n        },\n        {\n          \"const\": \"ODE\",\n          \"description\": \"Detention/Demurrage\"\n        },\n        {\n          \"const\": \"ODF\",\n          \"description\": \"Other Export Document Fee\"\n        },\n        {\n          \"const\": \"OEP\",\n          \"description\": \"Air Exp Docs / Postage\"\n        },\n        {\n          \"const\": \"OEP\",\n          \"description\": \"Domestic Courier\"\n        },\n        {\n          \"const\": \"OEX\",\n          \"description\": \"Transportation Charges\"\n        },\n        {\n          \"const\": \"OF\",\n          \"description\": \"Ocean Freight\"\n        },\n        {\n          \"const\": \"OFC\",\n          \"description\": \"Ocean Freight Compensation\"\n        },\n        {\n          \"const\": \"OFF\",\n          \"description\": \"Export Formalities\"\n        },\n        {\n          \"const\": \"OFF\",\n          \"description\": \"Export Forwarding Fee\"\n        },\n        {\n          \"const\": \"OH\",\n          \"description\": \"Ocean Handling\"\n        },\n        {\n          \"const\": \"OHAN\",\n          \"description\": \"Origin Handling Charge\"\n        },\n        {\n          \"const\": \"OIN\",\n          \"description\": \"Cargo Insurance Charge\"\n        },\n        {\n          \"const\": \"OINF\",\n          \"description\": \"Issue Insurance Declaration Certificate Fee\"\n        },\n        {\n          \"const\": \"OINS\",\n          \"description\": \"Insurance Premium Charge\"\n        },\n        {\n          \"const\": \"OLC\",\n          \"description\": \"L/C Processing Charge\"\n        },\n        {\n          \"const\": \"OLEG\",\n          \"description\": \"Consular Legalization Charge\"\n        },\n        {\n          \"const\": \"OOA\",\n          \"description\": \"Inland Freight Charge\"\n        },\n        {\n          \"const\": \"OPL\",\n          \"description\": \"Packing List Fee\"\n        },\n        {\n          \"const\": \"OREC\",\n          \"description\": \"Origin Receiving Charges\"\n        },\n        {\n          \"const\": \"OSF\",\n          \"description\": \"Special Handling Fee\"\n        },\n        {\n          \"const\": \"OT\",\n          \"description\": \"Overtime Services Fee\"\n        },\n        {\n          \"const\": \"OTC\",\n          \"description\": \"Ocean Transportation Charges\"\n        },\n        {\n          \"const\": \"OTEL\",\n          \"description\": \"Telephone / Telex Charge\"\n        },\n        {\n          \"const\": \"OTRM\",\n          \"description\": \"Origin Terminal Handling Charge\"\n        },\n        {\n          \"const\": \"OTS\",\n          \"description\": \"Ocean Transportation Services Charge\"\n        },\n        {\n          \"const\": \"OUFC\",\n          \"description\": \"Outport Filing Charge\"\n        },\n        {\n          \"const\": \"OWAR\",\n          \"description\": \"War Risk Surcharge\"\n        },\n        {\n          \"const\": \"OXC\",\n          \"description\": \"Courier Charge\"\n        },\n        {\n          \"const\": \"PDIC\",\n          \"description\": \"Per Diem Charge\"\n        },\n        {\n          \"const\": \"PGAF\",\n          \"description\": \"PGA Disclaim Fee\"\n        },\n        {\n          \"const\": \"PICK\",\n          \"description\": \"Pick up Charge\"\n        },\n        {\n          \"const\": \"PIER\",\n          \"description\": \"Pierpass TMF Charge/Handling Charge\"\n        },\n        {\n          \"const\": \"PKG\",\n          \"description\": \"Packing/Crating Charge\"\n        },\n        {\n          \"const\": \"PLEC\",\n          \"description\": \"Pallet Exchange Charge\"\n        },\n        {\n          \"const\": \"PPF\",\n          \"description\": \"Port Protection Fee\"\n        },\n        {\n          \"const\": \"PRCS\",\n          \"description\": \"Port/Rail Congestion Surcharge\"\n        },\n        {\n          \"const\": \"PSCF\",\n          \"description\": \"Post Summary Correction Fee\"\n        },\n        {\n          \"const\": \"PSF\",\n          \"description\": \"Premium Service Fee\"\n        },\n        {\n          \"const\": \"PSI\",\n          \"description\": \"Preliminary Shipping Instructions Fee\"\n        },\n        {\n          \"const\": \"PSS\",\n          \"description\": \"Peak Season Surcharge\"\n        },\n        {\n          \"const\": \"RECE\",\n          \"description\": \"Reconciliation Entry Fee\"\n        },\n        {\n          \"const\": \"RLFF\",\n          \"description\": \"Remote Location Filing Fee\"\n        },\n        {\n          \"const\": \"ROW\",\n          \"description\": \"Risk of War\"\n        },\n        {\n          \"const\": \"SCC\",\n          \"description\": \"Screening Surcharge\"\n        },\n        {\n          \"const\": \"SCR\",\n          \"description\": \"Denied Party Screening\"\n        },\n        {\n          \"const\": \"SEBF\",\n          \"description\": \"Single Entry Bond Placement Fee\"\n        },\n        {\n          \"const\": \"SEBP\",\n          \"description\": \"Single Entry Bond Premium Charge\"\n        },\n        {\n          \"const\": \"SHF\",\n          \"description\": \"Special Handling Fee\"\n        },\n        {\n          \"const\": \"SLF\",\n          \"description\": \"201 Steel License Appl. Fee\"\n        },\n        {\n          \"const\": \"STDE\",\n          \"description\": \"Storage/Demurrage\"\n        },\n        {\n          \"const\": \"STO\",\n          \"description\": \"Storage - Other Charge\"\n        },\n        {\n          \"const\": \"STR\",\n          \"description\": \"Storage - Rail Charge\"\n        },\n        {\n          \"const\": \"STW\",\n          \"description\": \"Storage - Warehouse Charge\"\n        },\n        {\n          \"const\": \"TARP\",\n          \"description\": \"Tarps and Supplies Charge\"\n        },\n        {\n          \"const\": \"TCF\",\n          \"description\": \"Transport Control Fee\"\n        },\n        {\n          \"const\": \"TFC\",\n          \"description\": \"Telephone / Fax / Scanning Fee\"\n        },\n        {\n          \"const\": \"THF\",\n          \"description\": \"Transportation Handling Fee\"\n        },\n        {\n          \"const\": \"TISF\",\n          \"description\": \"TRADE INSIGHTS SERVICES\"\n        },\n        {\n          \"const\": \"TMF\",\n          \"description\": \"Pier Pass Charge\"\n        },\n        {\n          \"const\": \"TPS\",\n          \"description\": \"Transportation Services\"\n        },\n        {\n          \"const\": \"TRL\",\n          \"description\": \"Transload Charge\"\n        },\n        {\n          \"const\": \"TSF\",\n          \"description\": \"Terminal Service Fee\"\n        },\n        {\n          \"const\": \"USDAEC\",\n          \"description\": \"U.S.D.A. Examination Charge\"\n        },\n        {\n          \"const\": \"VACS\",\n          \"description\": \"VACIS/APHIS Exam Charge\"\n        },\n        {\n          \"const\": \"VDG\",\n          \"description\": \"V. Alexander DG Fee\"\n        },\n        {\n          \"const\": \"VGMF\",\n          \"description\": \"Verified Gross Mass Fee\"\n        },\n        {\n          \"const\": \"VGMF\",\n          \"description\": \"Verified Gross Mass Fee ($10 per additional container)\"\n        },\n        {\n          \"const\": \"VLEG\",\n          \"description\": \"Consular Document Preperation Fee\"\n        },\n        {\n          \"const\": \"WAF\",\n          \"description\": \"Wharfage\"\n        },\n        {\n          \"const\": \"WBMI\",\n          \"description\": \"WB Marine Insurance\"\n        },\n        {\n          \"const\": \"WDF\",\n          \"description\": \"Weekend Disptach Fee\"\n        },\n        {\n          \"const\": \"WHF\",\n          \"description\": \"Warehouse Handling Charge\"\n        },\n        {\n          \"const\": \"WHSE\",\n          \"description\": \"In / Out Whse Handling Charge\"\n        },\n        {\n          \"const\": \"WPP\",\n          \"description\": \"Pierpass TMF Charge/Handling Charge\"\n        }\n      ]\n    }\n  },\n  \"required\": [\"items\", \"links\"]\n}\n\n</code></pre><h2 id=\"path-parameters\">Path Parameters</h2>\n<ul>\n<li>debtor_code<br />  Alphanumeric code representing the company or business division which is the invoice debtor. Example: VACBNA0001.</li>\n</ul>\n<h2 id=\"query-parameters\">Query Parameters</h2>\n<ul>\n<li>container_number<br />  The shipping container number. Example: CMDU000238342.</li>\n<li>entry_number<br />  The customs entry number of the shipment. You may use this in combination with a <code>filer_code</code>. Example: 12345678.</li>\n<li>filer_code<br />  The customs entry filer code. V. Alexander's filer code is 600. You may use this in combination with <code>entry_number</code>.</li>\n<li>master_bill<br />  The master bill of lading number without scac. You may use this in combination with <code>scac</code>.</li>\n<li>house_bill<br />  The house bill of lading number without scac. You may use this in combination with <code>scac</code>.</li>\n<li>scac<br />  The SCAC code associated with a house or master bill of lading.</li>\n<li>invoice_number<br />  An alphanumeric invoice number. Example: B712346, B712346/A.</li>\n<li>parent_key<br />  The alphanumeric code representing the company or business division which owns the document. Example: VACBNA0001.</li>\n<li>transaction_type<br />  INV, CRD (Invoice or credit note).</li>\n<li>reference_number<br />  The reference number you provide to V. Alexander to identify the shipping transaction. For example, a purchase order number or internal system id.</li>\n<li>due_date_before<br />  Use this to select invoices due before the specified date (YYYY-MM-DD). You may use this in combination <code>due_date_after</code> or any non-date query parameter. Example: 2020-01-31.</li>\n<li>due_date_after<br />  Use this to select invoices due after the specified date (YYYY-MM-DD). You may use this in combination with <code>due_date_before</code> or any non-date query parameter. Example: 2020-01-31.</li>\n<li>post_date_before<br />  Use this to select invoices created before the specified date (YYYY-MM-DD). You may use this in combination with <code>post_date_after</code> or any non-date query parameter. Example: 2020-01-31.</li>\n<li>post_date_after<br />  Use this to select invoices created after the specified date (YYYY-MM-DD). You may use this in combination with <code>post_date_before</code> or with any non-date query parameter. Example: 2020-01-31.</li>\n<li>next_page_token<br />  Use this token to get the next page of results.</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"accessTokenUrl","value":"{{access_token_url}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"tokenType","value":"<token-type>"},{"key":"headerPrefix","value":"<header-prefix>"}]},"isInherited":true,"source":{"_postman_id":"37acd4ed-0058-4657-90c7-2d871bcfa076","id":"37acd4ed-0058-4657-90c7-2d871bcfa076","name":"V.Alexander & Co. Rest API","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","invoices",":debtor_code"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"VACBNA0001","key":"debtor_code"}]}},"response":[{"id":"6ba8d168-aaeb-4622-9e8c-6c5f576e4362","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"url":{"raw":"https://{{domain}}/v1/invoices/:debtor_code","protocol":"https","host":["{{domain}}"],"path":["v1","invoices",":debtor_code"],"variable":[{"key":"debtor_code","value":"VACBNA0001"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 09 Feb 2022 14:43:50 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"11723"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"cd6cfc46-2d32-4fef-af60-b2561d9babf2"},{"key":"x-amz-apigw-id","value":"NR3tcFI8oAMF5Dw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-6203d322-1e0bb6d43f17dd6817b0f6a2"}],"cookie":[],"responseTime":null,"body":"{\n  \"items\": [\n    {\n      \"header\": {\n        \"customerID\": \"customerID\",\n        \"debtorAddress\": {\n          \"address1\": \"address1\",\n          \"address2\": \"address2\",\n          \"city\": \"city\",\n          \"companyName\": \"companyName\",\n          \"postCode\": \"postCode\",\n          \"state\": \"state\"\n        },\n        \"invoiceDates\": {\n          \"dueDate\": \"dueDate\",\n          \"postDate\": \"postDate\"\n        },\n        \"invoiceNumber\": \"invoiceNumber\",\n        \"invoiceTerm\": {\n          \"code\": \"INV\",\n          \"days\": \"days\"\n        },\n        \"invoiceTypeReferenceNumber\": \"invoiceTypeReferenceNumber\",\n        \"transactionNumber\": \"transactionNumber\",\n        \"transactionType\": \"INV\"\n      },\n      \"summary\": [\n        {\n          \"consignor\": { \"companyName\": \"companyName\" },\n          \"consignee\": { \"companyName\": \"companyName\" },\n          \"goodDescription\": \"goodDescription\",\n          \"supplierInvoiceNumbers\": [\"supplierInvoiceNumbers0\"],\n          \"references\": {\n            \"orderNumbers\": [\n              {\n                \"orderReference\": \"orderReference\",\n                \"sequence\": \"sequence\"\n              }\n            ],\n            \"bookingReference\": \"bookingReference\",\n            \"ownersReference\": \"ownersReference\"\n          },\n          \"totalWeight\": {\n            \"weight\": \"weight\",\n            \"unit\": \"DT\"\n          },\n          \"totalVolume\": {\n            \"volume\": \"volume\",\n            \"unit\": \"CC\"\n          },\n          \"totalPacks\": {\n            \"packs\": \"packs\",\n            \"unit\": \"AE\"\n          },\n          \"masterWayBill\": {\n            \"billNumber\": \"billNumber\",\n            \"scac\": \"scac\"\n          },\n          \"houseBill\": {\n            \"billNumber\": \"billNumber\",\n            \"scac\": \"scac\"\n          },\n          \"origin\": {\n            \"code\": \"code\",\n            \"name\": \"name\"\n          },\n          \"destination\": {\n            \"code\": \"code\",\n            \"name\": \"name\"\n          },\n          \"estimatedDepartureDate\": \"estimatedDepartureDate\",\n          \"estimatedArrivalDate\": \"estimatedArrivalDate\",\n          \"entryNumber\": {\n            \"filerCode\": \"filerCode\",\n            \"number\": \"number\"\n          },\n          \"containers\": [\n            {\n              \"number\": \"number\",\n              \"type\": \"type\"\n            }\n          ],\n          \"transportInfo\": [\n            {\n              \"legType\": \"legType\",\n              \"transportMode\": \"transportMode\",\n              \"railReference\": \"railReference\",\n              \"vessel\": \"vessel\",\n              \"voyageFlightNo\": \"voyageFlightNo\",\n              \"imo\": \"imo\"\n            }\n          ]\n        }\n      ],\n      \"charges\": [\n        {\n          \"chargeCode\": \"chargeCode\",\n          \"description\": \"description\",\n          \"chargeTotal\": \"chargeTotal\",\n          \"chargeCurrency\": \"ZWL\"\n        }\n      ],\n      \"totals\": { \"total\": \"total\" },\n      \"links\": [\n        {\n          \"method\": \"GET\",\n          \"rel\": \"item\",\n          \"href\": \"href\"\n        }\n      ]\n    }\n  ],\n  \"links\": [\n    {\n      \"method\": \"GET\",\n      \"rel\": \"self\",\n      \"href\": \"href\"\n    },\n    {\n      \"method\": \"GET\",\n      \"rel\": \"next\",\n      \"href\": \"href\"\n    }\n  ]\n}\n"}],"_postman_id":"bd77d626-40bf-431c-9fe0-245df3c5af22"}],"id":"8cbe94a2-ee44-4803-9c6c-e4d6d566d3e7","_postman_id":"8cbe94a2-ee44-4803-9c6c-e4d6d566d3e7","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"accessTokenUrl","value":"{{access_token_url}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"tokenType","value":"<token-type>"},{"key":"headerPrefix","value":"<header-prefix>"}]},"isInherited":true,"source":{"_postman_id":"37acd4ed-0058-4657-90c7-2d871bcfa076","id":"37acd4ed-0058-4657-90c7-2d871bcfa076","name":"V.Alexander & Co. Rest API","type":"collection"}}},{"name":"Event","item":[{"name":"Events/customs-declaration/z90","id":"e28e84bc-44fb-4239-be61-9840d2500710","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"parentKey\": \"parentKey\",\n  \"idempotencyKey\": \"idempotencyKey\",\n  \"eventTime\": \"2000-01-01T01:01:01Z\",\n  \"eventReference\": \"eventReference\",\n  \"attachments\": [\n    {\n      \"fileName\": \"fileName\",\n      \"data\": \"data\"\n    }\n  ]\n}\n","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/v1/event/:organization_code/customs-declaration/z90","description":"<p>Use this resource to create Customs Declaration Event.</p>\n<h2 id=\"request-json-schema\">Request JSON Schema</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n  \"type\": \"object\",\n  \"properties\": {\n    \"parentKey\": { \"type\": \"string\" },\n    \"idempotencyKey\": {\n      \"type\": \"string\",\n      \"format\": \"uuid\"\n    },\n    \"eventTime\": {\n      \"type\": \"string\",\n      \"format\": \"date-time\"\n    },\n    \"eventReference\": { \"type\": \"string\" },\n    \"attachments\": {\n      \"type\": \"array\",\n      \"items\": { \"$ref\": \"#/definitions/attachment\" }\n    }\n  },\n  \"definitions\": {\n    \"attachment\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"fileName\": { \"type\": \"string\" },\n        \"data\": { \"type\": \"string\" }\n      },\n      \"required\": [\"fileName\", \"data\"]\n    },\n    \"selfLink\": {\n      \"properties\": {\n        \"method\": {\n          \"type\": \"string\",\n          \"const\": \"GET\"\n        },\n        \"rel\": {\n          \"type\": \"string\",\n          \"const\": \"self\"\n        },\n        \"href\": { \"type\": \"string\" }\n      },\n      \"type\": \"object\",\n      \"required\": [\"method\", \"rel\", \"href\"]\n    },\n    \"status\": {\n      \"type\": \"string\",\n      \"enum\": [\"PENDING\", \"COMPLETE\", \"FAILED\"]\n    }\n  },\n  \"required\": [\"parentKey\", \"idempotencyKey\", \"eventTime\", \"eventReference\"]\n}\n</code></pre><h2 id=\"response-json-schema-202-accepted\">Response JSON Schema (202 Accepted)</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n  \"type\": \"object\",\n  \"properties\": {\n    \"status\": {\n      \"type\": \"string\",\n      \"const\": \"PENDING\"\n    },\n    \"message\": { \"type\": \"string\" },\n    \"links\": {\n      \"type\": \"array\",\n      \"items\": { \"$ref\": \"#/definitions/link\" },\n      \"minItems\": 1\n    }\n  },\n  \"definitions\": {\n    \"link\": {\n      \"properties\": {\n        \"href\": { \"type\": \"string\" },\n        \"rel\": {\n          \"type\": \"string\",\n          \"const\": \"status\"\n        },\n        \"method\": {\n          \"type\": \"string\",\n          \"const\": \"GET\"\n        }\n      },\n      \"type\": \"object\",\n      \"required\": [\"href\", \"rel\", \"property\"]\n    }\n  },\n  \"required\": [\"status\", \"message\", \"links\"]\n}\n</code></pre>\n<h2 id=\"path-parameters\">Path Parameters</h2>\n<ul>\n<li><p>organization_code</p>\n<p>Alphanumeric code representing the company or business division which owns the document. Example: VACBNA0001.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"accessTokenUrl","value":"{{access_token_url}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"tokenType","value":"<token-type>"},{"key":"headerPrefix","value":"<header-prefix>"}]},"isInherited":true,"source":{"_postman_id":"37acd4ed-0058-4657-90c7-2d871bcfa076","id":"37acd4ed-0058-4657-90c7-2d871bcfa076","name":"V.Alexander & Co. Rest API","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","event",":organization_code","customs-declaration","z90"],"host":["{{domain}}"],"query":[],"variable":[{"id":"2720c3f2-d5de-4852-a430-7f1543fc1523","type":"any","value":"VACBNA0001","key":"organization_code"}]}},"response":[{"id":"4a8fbdca-e03c-44dc-abf4-3753ee987687","name":"202 Accepted","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"formdata","formdata":[],"options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{domain}}/v1/event/:organization_code/customs-declaration/z90","protocol":"https","host":["{{domain}}"],"path":["v1","event",":organization_code","customs-declaration","z90"],"variable":[{"key":"organization_code","value":"VACBNA0001"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 29 Apr 2022 14:01:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"219"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a282beb6-315f-4d4b-9e73-19fe1150284f"},{"key":"x-amz-apigw-id","value":"RWJgeHp5oAMFvqQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-626bef9c-0e1990763a2515b501015bad"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"PENDING\",\n  \"message\": \"message\",\n  \"links\": [\n    {\n      \"href\": \"href\",\n      \"rel\": \"status\",\n      \"method\": \"GET\"\n    }\n  ]\n}\n"}],"_postman_id":"e28e84bc-44fb-4239-be61-9840d2500710"},{"name":"Events/forwarding-shipment/z90","id":"ca779f42-b162-446a-b2ed-17490818494c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"parentKey\": \"parentKey\",\n  \"idempotencyKey\": \"idempotencyKey\",\n  \"eventTime\": \"2000-01-01T01:01:01Z\",\n  \"eventReference\": \"eventReference\",\n  \"attachments\": [\n    {\n      \"fileName\": \"fileName\",\n      \"data\": \"data\"\n    }\n  ]\n}\n","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/v1/event/:organization_code/forwarding-shipment/z90","description":"<p>Use this resource to create Forwarding Shipment Event.</p>\n<h2 id=\"request-json-schema\">Request JSON Schema</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n  \"type\": \"object\",\n  \"properties\": {\n    \"parentKey\": { \"type\": \"string\" },\n    \"idempotencyKey\": {\n      \"type\": \"string\",\n      \"format\": \"uuid\"\n    },\n    \"eventTime\": {\n      \"type\": \"string\",\n      \"format\": \"date-time\"\n    },\n    \"eventReference\": { \"type\": \"string\" },\n    \"attachments\": {\n      \"type\": \"array\",\n      \"items\": { \"$ref\": \"#/definitions/attachment\" }\n    }\n  },\n  \"definitions\": {\n    \"attachment\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"fileName\": { \"type\": \"string\" },\n        \"data\": { \"type\": \"string\" }\n      },\n      \"required\": [\"fileName\", \"data\"]\n    },\n    \"selfLink\": {\n      \"properties\": {\n        \"method\": {\n          \"type\": \"string\",\n          \"const\": \"GET\"\n        },\n        \"rel\": {\n          \"type\": \"string\",\n          \"const\": \"self\"\n        },\n        \"href\": { \"type\": \"string\" }\n      },\n      \"type\": \"object\",\n      \"required\": [\"method\", \"rel\", \"href\"]\n    },\n    \"status\": {\n      \"type\": \"string\",\n      \"enum\": [\"PENDING\", \"COMPLETE\", \"FAILED\"]\n    }\n  },\n  \"required\": [\"parentKey\", \"idempotencyKey\", \"eventTime\", \"eventReference\"]\n}\n</code></pre><h2 id=\"response-json-schema-202-accepted\">Response JSON Schema (202 Accepted)</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n  \"type\": \"object\",\n  \"properties\": {\n    \"status\": {\n      \"type\": \"string\",\n      \"const\": \"PENDING\"\n    },\n    \"message\": { \"type\": \"string\" },\n    \"links\": {\n      \"type\": \"array\",\n      \"items\": { \"$ref\": \"#/definitions/link\" },\n      \"minItems\": 1\n    }\n  },\n  \"definitions\": {\n    \"link\": {\n      \"properties\": {\n        \"href\": { \"type\": \"string\" },\n        \"rel\": {\n          \"type\": \"string\",\n          \"const\": \"status\"\n        },\n        \"method\": {\n          \"type\": \"string\",\n          \"const\": \"GET\"\n        }\n      },\n      \"type\": \"object\",\n      \"required\": [\"href\", \"rel\", \"property\"]\n    }\n  },\n  \"required\": [\"status\", \"message\", \"links\"]\n}\n</code></pre>\n<h2 id=\"path-parameters\">Path Parameters</h2>\n<ul>\n<li><p>organization_code</p>\n<p>Alphanumeric code representing the company or business division which owns the document. Example: VACBNA0001.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"accessTokenUrl","value":"{{access_token_url}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"tokenType","value":"<token-type>"},{"key":"headerPrefix","value":"<header-prefix>"}]},"isInherited":true,"source":{"_postman_id":"37acd4ed-0058-4657-90c7-2d871bcfa076","id":"37acd4ed-0058-4657-90c7-2d871bcfa076","name":"V.Alexander & Co. Rest API","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","event",":organization_code","forwarding-shipment","z90"],"host":["{{domain}}"],"query":[],"variable":[{"id":"9c0aa38f-9c37-4081-a1c9-3ef122013e57","type":"any","value":"VACBNA0001","key":"organization_code"}]}},"response":[{"id":"94b53c57-3543-455b-91b1-59826a57473e","name":"202 Accepted","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"parentKey\": \"B7061131\",\n  \"idempotencyKey\": \"30a3217b-2304-491b-9553-e07e94d2e804\",\n  \"eventTime\": \"2022-04-26T19:22:17.331Z\",\n  \"eventReference\": \"partial reference\",\n  \"attachments\": [{ \"fileName\": \"TEST-1\", \"data\": \"dGVzdC0x\" }]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{domain}}/v1/event/:organization_code/customs-declaration/z90","protocol":"https","host":["{{domain}}"],"path":["v1","event",":organization_code","customs-declaration","z90"],"variable":[{"key":"organization_code","value":"VACBNA0001"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 29 Apr 2022 14:01:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"219"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a282beb6-315f-4d4b-9e73-19fe1150284f"},{"key":"x-amz-apigw-id","value":"RWJgeHp5oAMFvqQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-626bef9c-0e1990763a2515b501015bad"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"PENDING\",\n  \"message\": \"message\",\n  \"links\": [\n    {\n      \"href\": \"href\",\n      \"rel\": \"status\",\n      \"method\": \"GET\"\n    }\n  ]\n}\n"}],"_postman_id":"ca779f42-b162-446a-b2ed-17490818494c"}],"id":"17241e88-8d0d-4ed3-bcd0-e2d5d1aae8a4","_postman_id":"17241e88-8d0d-4ed3-bcd0-e2d5d1aae8a4","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"accessTokenUrl","value":"{{access_token_url}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"tokenType","value":"<token-type>"},{"key":"headerPrefix","value":"<header-prefix>"}]},"isInherited":true,"source":{"_postman_id":"37acd4ed-0058-4657-90c7-2d871bcfa076","id":"37acd4ed-0058-4657-90c7-2d871bcfa076","name":"V.Alexander & Co. Rest API","type":"collection"}}},{"name":"Request","item":[{"name":"Request","id":"2a0f1d4a-83c5-4571-88ee-4a1005545544","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"url":"https://{{domain}}/v1/request/:request_id","description":"<p>Use this resource to access status of resource creation.</p>\n<h2 id=\"response-json-schema\">Response JSON Schema</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n  \"type\": \"object\",\n  \"properties\": {\n    \"idempotencyKey\": {\n      \"type\": \"string\",\n      \"format\": \"uuid\"\n    },\n    \"status\": { \"$ref\": \"#/definitions/status\" },\n    \"message\": { \"type\": \"string\" },\n    \"links\": {\n      \"items\": { \"$ref\": \"#/definitions/selfLink\" },\n      \"type\": \"array\",\n      \"maxItems\": 1,\n      \"minItems\": 1\n    }\n  },\n  \"definitions\": {\n    \"selfLink\": {\n      \"properties\": {\n        \"method\": {\n          \"type\": \"string\",\n          \"const\": \"GET\"\n        },\n        \"rel\": {\n          \"type\": \"string\",\n          \"const\": \"self\"\n        },\n        \"href\": { \"type\": \"string\" }\n      },\n      \"type\": \"object\",\n      \"required\": [\"method\", \"rel\", \"href\"]\n    },\n    \"status\": {\n      \"type\": \"string\",\n      \"enum\": [\"PENDING\", \"COMPLETE\", \"FAILED\", \"COMPLETE_WITH_WARNINGS\"]\n    }\n  },\n  \"required\": [\"idempotencyKey\", \"status\", \"links\", \"message\"]\n}\n\n</code></pre><h2 id=\"path-parameters\">Path Parameters</h2>\n<ul>\n<li>request_id<br />A unique id representing the created (POST/PUT) resource.</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"accessTokenUrl","value":"{{access_token_url}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"tokenType","value":"<token-type>"},{"key":"headerPrefix","value":"<header-prefix>"}]},"isInherited":true,"source":{"_postman_id":"37acd4ed-0058-4657-90c7-2d871bcfa076","id":"37acd4ed-0058-4657-90c7-2d871bcfa076","name":"V.Alexander & Co. Rest API","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","request",":request_id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"30a3217b-2304-491b-9553-e07e94d2e123","key":"request_id"}]}},"response":[{"id":"1c525a9e-4d51-4341-a3ce-ed1872cdffbf","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"url":{"raw":"https://cw.valexanderapis.com/v1/request/:request_id","protocol":"https","host":["cw","valexanderapis","com"],"path":["v1","request",":request_id"],"variable":[{"key":"request_id","value":"30a3217b-2304-491b-9553-e07e94d2e123"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 29 Apr 2022 14:55:38 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"229"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"1436e502-2d88-47a5-862c-7fe83b5063d2"},{"key":"x-amz-apigw-id","value":"RWRgXFihoAMFhXg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-626bfc68-60be7cd14336f636358efb1e"}],"cookie":[],"responseTime":null,"body":"{\n  \"idempotencyKey\": \"idempotencyKey\",\n  \"status\": \"PENDING\",\n  \"message\": \"message\",\n  \"links\": [\n    {\n      \"method\": \"GET\",\n      \"rel\": \"self\",\n      \"href\": \"href\"\n    }\n  ]\n}\n"}],"_postman_id":"2a0f1d4a-83c5-4571-88ee-4a1005545544"}],"id":"deb1ca07-f919-4992-b78e-3db0364c946a","_postman_id":"deb1ca07-f919-4992-b78e-3db0364c946a","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"accessTokenUrl","value":"{{access_token_url}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"tokenType","value":"<token-type>"},{"key":"headerPrefix","value":"<header-prefix>"}]},"isInherited":true,"source":{"_postman_id":"37acd4ed-0058-4657-90c7-2d871bcfa076","id":"37acd4ed-0058-4657-90c7-2d871bcfa076","name":"V.Alexander & Co. Rest API","type":"collection"}}},{"name":"CommercialInvoice","item":[{"name":"customs-commercial-invoices","id":"e7eb5c86-1842-4e93-bcd5-24584233f509","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"idempotencyKey\": \"idempotencyKey\",\n    \"invoiceNumber\": \"invoiceNumber\",\n    \"invoiceDate\": \"2000-01-01T01:01:01Z\",\n    \"invoiceCurrency\": {\"code\": \"ZWL\"},\n    \"incoTerm\": {\n        \"code\": \"CAF\",\n        \"namedPlace\": \"namedPlace\"\n    },\n    \"invoiceAmount\": 0,\n    \"netWeight\": 0,\n    \"netWeightUQ\": {\"code\": \"DT\"},\n    \"weight\": 0,\n    \"weightUnit\": {\"code\": \"DT\"},\n    \"supplier\": {\n        \"addressType\": \"Supplier\",\n        \"organizationCode\": \"organizationCode\"\n    },\n    \"commercialInvoiceLineCollection\": [\n        {\n            \"harmonisedCode\": \"harmonisedCode\",\n            \"invoiceQuantity\": 0,\n            \"invoiceQuantityUnit\": {\"code\": \"AC\"},\n            \"linePrice\": 0,\n            \"netWeight\": 0,\n            \"netWeightUnit\": {\"code\": \"DT\"},\n            \"partNo\": \"partNo\",\n            \"description\": \"description\",\n            \"volume\": 0,\n            \"volumeUnit\": {\"code\": \"CC\"},\n            \"weight\": 0,\n            \"weightUnit\": {\"code\": \"DT\"},\n            \"addInfoCollection\": [\n                {\n                    \"value\": \"value\",\n                    \"key\": \"CountryOfOrigin\"\n                }\n            ],\n            \"organizationAddressCollection\": [\n                {\n                    \"addressType\": \"Manufacturer\",\n                    \"organizationCode\": \"organizationCode\"\n                }\n            ]\n        }\n    ],\n    \"commercialChargeCollection\": [\n        {\n            \"chargeType\": {\"code\": \"ADD\"},\n            \"amount\": 0,\n            \"currency\": {\"code\": \"ZWL\"}\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/v1/customs-commercial-invoices/:importer_code","description":"<p>Use this resource to create a customs commercial invoice, or overwrite it if the given <code>invoiceNumber</code> already exists.</p>\n<h2 id=\"request-json-schema\">Request JSON Schema</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n    \"type\": \"object\",\n    \"properties\": {\n        \"idempotencyKey\": {\n            \"type\": \"string\",\n            \"format\": \"uuid\"\n        },\n        \"invoiceNumber\": {\"type\": \"string\"},\n        \"invoiceDate\": {\n            \"type\": \"string\",\n            \"format\": \"date-time\"\n        },\n        \"invoiceCurrency\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"code\": {\"$ref\": \"#/definitions/currency\"}\n            },\n            \"required\": [\"code\"]\n        },\n        \"incoTerm\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"code\": {\"$ref\": \"#/definitions/incoTerm\"},\n                \"namedPlace\": {\"type\": \"string\"}\n            },\n            \"required\": [\n                \"code\",\n                \"namedPlace\"\n            ]\n        },\n        \"invoiceAmount\": {\"type\": \"number\"},\n        \"netWeight\": {\"type\": \"number\"},\n        \"netWeightUQ\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"code\": {\"$ref\": \"#/definitions/weightUnit\"}\n            },\n            \"required\": [\"code\"]\n        },\n        \"weight\": {\n            \"type\": \"number\",\n            \"minimum\": 0,\n            \"maximum\": 999999\n        },\n        \"weightUnit\": {\n            \"properties\": {\n                \"code\": {\"$ref\": \"#/definitions/weightUnit\"}\n            },\n            \"type\": \"object\",\n            \"required\": [\"code\"]\n        },\n        \"supplier\": {\"$ref\": \"#/definitions/supplierAddress\"},\n        \"commercialInvoiceLineCollection\": {\n            \"type\": \"array\",\n            \"minItems\": 1,\n            \"items\": {\"$ref\": \"#/definitions/commercialInvoiceLine\"}\n        },\n        \"commercialChargeCollection\": {\n            \"items\": {\"$ref\": \"#/definitions/commercialCharge\"},\n            \"type\": \"array\"\n        }\n    },\n    \"definitions\": {\n        \"currency\": {\n            \"enum\": [\n                \"ZWL\",\n                \"ZMW\",\n                \"ZAR\",\n                \"YER\",\n                \"XPF\",\n                \"XOF\",\n                \"XDR\",\n                \"XCD\",\n                \"XAF\",\n                \"WST\",\n                \"VUV\",\n                \"VND\",\n                \"VES\",\n                \"VEF\",\n                \"UZS\",\n                \"UYU\",\n                \"USD\",\n                \"UGX\",\n                \"UAH\",\n                \"TZS\",\n                \"TWD\",\n                \"TTD\",\n                \"TRY\",\n                \"TOP\",\n                \"TND\",\n                \"TMT\",\n                \"TJS\",\n                \"THB\",\n                \"SZL\",\n                \"SYP\",\n                \"SVC\",\n                \"STN\",\n                \"STD\",\n                \"SSP\",\n                \"SRD\",\n                \"SOS\",\n                \"SLL\",\n                \"SLE\",\n                \"SHP\",\n                \"SGD\",\n                \"SEK\",\n                \"SDG\",\n                \"SCR\",\n                \"SBD\",\n                \"SAR\",\n                \"RWF\",\n                \"RUB\",\n                \"RSD\",\n                \"RON\",\n                \"QAR\",\n                \"PYG\",\n                \"PTE\",\n                \"PLN\",\n                \"PKR\",\n                \"PHP\",\n                \"PGK\",\n                \"PEN\",\n                \"PAB\",\n                \"OMR\",\n                \"NZD\",\n                \"NPR\",\n                \"NOK\",\n                \"NLG\",\n                \"NIO\",\n                \"NGN\",\n                \"NAD\",\n                \"MZN\",\n                \"MYR\",\n                \"MXN\",\n                \"MWK\",\n                \"MVR\",\n                \"MUR\",\n                \"MRU\",\n                \"MRO\",\n                \"MOP\",\n                \"MNT\",\n                \"MMK\",\n                \"MKD\",\n                \"MGA\",\n                \"MDL\",\n                \"MAD\",\n                \"LYD\",\n                \"LUF\",\n                \"LSL\",\n                \"LRD\",\n                \"LKR\",\n                \"LBP\",\n                \"LAK\",\n                \"KZT\",\n                \"KYD\",\n                \"KWD\",\n                \"KRW\",\n                \"KPW\",\n                \"KMF\",\n                \"KHR\",\n                \"KGS\",\n                \"KES\",\n                \"JPY\",\n                \"JOD\",\n                \"JMD\",\n                \"ITL\",\n                \"ISK\",\n                \"IRR\",\n                \"IQD\",\n                \"INR\",\n                \"ILS\",\n                \"IEP\",\n                \"IDR\",\n                \"HUF\",\n                \"HTG\",\n                \"HRK\",\n                \"HNL\",\n                \"HKD\",\n                \"GYD\",\n                \"GTQ\",\n                \"GRD\",\n                \"GNF\",\n                \"GMD\",\n                \"GIP\",\n                \"GHS\",\n                \"GEL\",\n                \"GBP\",\n                \"FRF\",\n                \"FKP\",\n                \"FJD\",\n                \"FIM\",\n                \"EUR\",\n                \"ETB\",\n                \"ESP\",\n                \"ERN\",\n                \"EGP\",\n                \"DZD\",\n                \"DOP\",\n                \"DKK\",\n                \"DJF\",\n                \"DEM\",\n                \"CZK\",\n                \"CVE\",\n                \"CUP\",\n                \"CRC\",\n                \"COP\",\n                \"CNY\",\n                \"CLP\",\n                \"CHF\",\n                \"CDF\",\n                \"CAD\",\n                \"BZD\",\n                \"BYR\",\n                \"BYN\",\n                \"BWP\",\n                \"BTN\",\n                \"BSD\",\n                \"BRL\",\n                \"BOB\",\n                \"BND\",\n                \"BMD\",\n                \"BIF\",\n                \"BHD\",\n                \"BGN\",\n                \"BEF\",\n                \"BDT\",\n                \"BBD\",\n                \"BAM\",\n                \"AZN\",\n                \"AWG\",\n                \"AUD\",\n                \"ATS\",\n                \"ARS\",\n                \"AOA\",\n                \"ANG\",\n                \"AMD\",\n                \"ALL\",\n                \"AFN\",\n                \"AED\"\n            ],\n            \"type\": \"string\"\n        },\n        \"weightUnit\": {\n            \"type\": \"string\",\n            \"enum\": [\n                \"DT\",\n                \"G\",\n                \"HG\",\n                \"KG\",\n                \"KT\",\n                \"LB\",\n                \"LT\",\n                \"MC\",\n                \"MG\",\n                \"OT\",\n                \"OZ\",\n                \"T\",\n                \"TL\",\n                \"TN\"\n            ]\n        },\n        \"quantityUnit\": {\n            \"enum\": [\n                \"AC\",\n                \"BBL\",\n                \"BOL\",\n                \"CAP\",\n                \"CAR\",\n                \"CS\",\n                \"C\",\n                \"CG\",\n                \"CM\",\n                \"CY\",\n                \"CYG\",\n                \"CYK\",\n                \"CGM\",\n                \"CKG\",\n                \"CTN\",\n                \"CU\",\n                \"CC\",\n                \"CM3\",\n                \"CFT\",\n                \"M3\",\n                \"CYD\",\n                \"CUR\",\n                \"DEG\",\n                \"D\",\n                \"DC\",\n                \"DOZ\",\n                \"DPR\",\n                \"DPC\",\n                \"FT\",\n                \"FBM\",\n                \"FIB\",\n                \"GBQ\",\n                \"G\",\n                \"GR\",\n                \"GRL\",\n                \"GVW\",\n                \"HZ\",\n                \"HUN\",\n                \"IRC\",\n                \"KG\",\n                \"KHZ\",\n                \"KN\",\n                \"KPA\",\n                \"KVA\",\n                \"KWH\",\n                \"KW\",\n                \"LIN\",\n                \"LNM\",\n                \"L\",\n                \"TON\",\n                \"MBQ\",\n                \"MHZ\",\n                \"MPA\",\n                \"M\",\n                \"T\",\n                \"MC\",\n                \"MG\",\n                \"ML\",\n                \"MM\",\n                \"X\",\n                \"NO\",\n                \"JWL\",\n                \"FOZ\",\n                \"TOZ\",\n                \"OZ\",\n                \"ODE\",\n                \"PK\",\n                \"PRS\",\n                \"PCS\",\n                \"PTL\",\n                \"LB\",\n                \"PF\",\n                \"PFG\",\n                \"PFL\",\n                \"QTL\",\n                \"RPM\",\n                \"STN\",\n                \"SFT\",\n                \"SQI\",\n                \"SQ\",\n                \"CM2\",\n                \"M2\",\n                \"SYD\",\n                \"SBE\",\n                \"SUP\",\n                \"TAB\",\n                \"K\",\n                \"KM3\",\n                \"KM\",\n                \"KM2\",\n                \"KSB\",\n                \"GAL\",\n                \"V\",\n                \"W\",\n                \"WT\",\n                \"WG\",\n                \"WL\",\n                \"YD\"\n            ],\n            \"type\": \"string\"\n        },\n        \"volumeUnit\": {\n            \"type\": \"string\",\n            \"enum\": [\n                \"CC\",\n                \"CF\",\n                \"CI\",\n                \"CY\",\n                \"D3\",\n                \"GA\",\n                \"GI\",\n                \"L\",\n                \"M3\",\n                \"ML\",\n                \"TE\"\n            ]\n        },\n        \"incoTerm\": {\n            \"type\": \"string\",\n            \"enum\": [\n                \"CAF\",\n                \"CAI\",\n                \"CFR\",\n                \"CIF\",\n                \"CIP\",\n                \"CPT\",\n                \"DAP\",\n                \"DAT\",\n                \"DDP\",\n                \"EXQ\",\n                \"EXW\",\n                \"FAS\",\n                \"FCA\",\n                \"FOA\",\n                \"FOB\",\n                \"FOR\",\n                \"FOT\",\n                \"FPC\"\n            ]\n        },\n        \"chargeType\": {\n            \"type\": \"string\",\n            \"enum\": [\n                \"ADD\",\n                \"COM\",\n                \"DDD\",\n                \"DED\",\n                \"DIS\",\n                \"FIF\",\n                \"LCH\",\n                \"OFT\",\n                \"ONS\",\n                \"OTH\",\n                \"PAC\"\n            ]\n        },\n        \"supplierAddress\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"addressType\": {\n                    \"type\": \"string\",\n                    \"const\": \"Supplier\"\n                },\n                \"organizationCode\": {\"type\": \"string\"}\n            },\n            \"required\": [\n                \"addressType\",\n                \"organizationCode\"\n            ]\n        },\n        \"manufacturerAddress\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"addressType\": {\n                    \"type\": \"string\",\n                    \"const\": \"Manufacturer\"\n                },\n                \"organizationCode\": {\"type\": \"string\"}\n            },\n            \"required\": [\n                \"addressType\",\n                \"organizationCode\"\n            ]\n        },\n        \"organizationAddress\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"addressType\": {\n                    \"type\": \"string\",\n                    \"enum\": [\n                        \"Importer\",\n                        \"Supplier\"\n                    ]\n                },\n                \"organizationCode\": {\"type\": \"string\"}\n            },\n            \"required\": [\n                \"addressType\",\n                \"organizationCode\"\n            ]\n        },\n        \"commercialInvoiceLine\": {\n            \"properties\": {\n                \"harmonisedCode\": {\"type\": \"string\"},\n                \"invoiceQuantity\": {\"type\": \"number\"},\n                \"invoiceQuantityUnit\": {\n                    \"type\": \"object\",\n                    \"properties\": {\n                        \"code\": {\"$ref\": \"#/definitions/quantityUnit\"}\n                    },\n                    \"required\": [\"code\"]\n                },\n                \"linePrice\": {\"type\": \"number\"},\n                \"netWeight\": {\n                    \"type\": \"number\",\n                    \"maximum\": 999999,\n                    \"minimum\": 0\n                },\n                \"netWeightUnit\": {\n                    \"type\": \"object\",\n                    \"properties\": {\n                        \"code\": {\"$ref\": \"#/definitions/weightUnit\"}\n                    },\n                    \"required\": [\"code\"]\n                },\n                \"partNo\": {\"type\": \"string\"},\n                \"description\": {\"type\": \"string\"},\n                \"volume\": {\n                    \"type\": \"number\",\n                    \"maximum\": 999999,\n                    \"minimum\": 0\n                },\n                \"volumeUnit\": {\n                    \"type\": \"object\",\n                    \"properties\": {\n                        \"code\": {\"$ref\": \"#/definitions/volumeUnit\"}\n                    },\n                    \"required\": [\"code\"]\n                },\n                \"weight\": {\n                    \"type\": \"number\",\n                    \"maximum\": 999999,\n                    \"minimum\": 0\n                },\n                \"weightUnit\": {\n                    \"type\": \"object\",\n                    \"properties\": {\n                        \"code\": {\"$ref\": \"#/definitions/weightUnit\"}\n                    },\n                    \"required\": [\"code\"]\n                },\n                \"addInfoCollection\": {\n                    \"type\": \"array\",\n                    \"contains\": {\"$ref\": \"#/definitions/countryOfOrigin\"},\n                    \"minItems\": 1,\n                    \"items\": [\n                        {\"$ref\": \"#/definitions/countryOfOrigin\"}\n                    ],\n                    \"maxItems\": 1\n                },\n                \"organizationAddressCollection\": {\n                    \"items\": {\"$ref\": \"#/definitions/manufacturerAddress\"},\n                    \"type\": \"array\",\n                    \"minItems\": 1,\n                    \"maxItems\": 1,\n                    \"contains\": {\"$ref\": \"#/definitions/manufacturerAddress\"}\n                }\n            },\n            \"required\": [\n                \"harmonisedCode\",\n                \"invoiceQuantity\",\n                \"invoiceQuantityUnit\",\n                \"linePrice\",\n                \"partNo\",\n                \"description\",\n                \"addInfoCollection\"\n            ],\n            \"type\": \"object\",\n            \"dependencies\": {\n                \"netWeight\": [\"netWeightUnit\"],\n                \"netWeightUnit\": [\"netWeight\"],\n                \"volume\": [\"volumeUnit\"],\n                \"volumeUnit\": [\"volume\"],\n                \"weight\": [\"weightUnit\"],\n                \"weightUnit\": [\"weight\"]\n            }\n        },\n        \"countryOfOrigin\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"value\": {\"type\": \"string\"},\n                \"key\": {\n                    \"type\": \"string\",\n                    \"const\": \"CountryOfOrigin\"\n                }\n            },\n            \"required\": [\n                \"key\",\n                \"value\"\n            ]\n        },\n        \"commercialCharge\": {\n            \"properties\": {\n                \"chargeType\": {\n                    \"type\": \"object\",\n                    \"properties\": {\n                        \"code\": {\"$ref\": \"#/definitions/chargeType\"}\n                    },\n                    \"required\": [\"code\"]\n                },\n                \"amount\": {\n                    \"type\": \"number\",\n                    \"minimum\": 0\n                },\n                \"currency\": {\n                    \"type\": \"object\",\n                    \"properties\": {\n                        \"code\": {\"$ref\": \"#/definitions/currency\"}\n                    },\n                    \"required\": [\"code\"]\n                }\n            },\n            \"required\": [\n                \"chargeType\",\n                \"amount\",\n                \"currency\"\n            ],\n            \"type\": \"object\"\n        }\n    },\n    \"dependencies\": {\n        \"weight\": [\"weightUnit\"],\n        \"weightUnit\": [\"weight\"],\n        \"netWeight\": [\"netWeightUQ\"],\n        \"netWeightUQ\": [\"netWeight\"]\n    },\n    \"required\": [\n        \"idempotencyKey\",\n        \"invoiceCurrency\",\n        \"invoiceDate\",\n        \"invoiceNumber\",\n        \"incoTerm\",\n        \"supplier\",\n        \"commercialInvoiceLineCollection\"\n    ]\n}\n</code></pre>\n<h2 id=\"response-json-schema-202-accepted\">Response JSON Schema (202 Accepted)</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n  \"type\": \"object\",\n  \"properties\": {\n    \"status\": {\n      \"type\": \"string\",\n      \"const\": \"PENDING\"\n    },\n    \"message\": { \"type\": \"string\" },\n    \"links\": {\n      \"type\": \"array\",\n      \"items\": { \"$ref\": \"#/definitions/link\" },\n      \"minItems\": 1\n    }\n  },\n  \"definitions\": {\n    \"link\": {\n      \"properties\": {\n        \"href\": { \"type\": \"string\" },\n        \"rel\": {\n          \"type\": \"string\",\n          \"const\": \"status\"\n        },\n        \"method\": {\n          \"type\": \"string\",\n          \"const\": \"GET\"\n        }\n      },\n      \"type\": \"object\",\n      \"required\": [\"href\", \"rel\", \"property\"]\n    }\n  },\n  \"required\": [\"status\", \"message\", \"links\"]\n}\n</code></pre>\n<h2 id=\"path-parameters\">Path Parameters</h2>\n<ul>\n<li><p>importer_code</p>\n<p>Alphanumeric code representing the company or business division which is the invoice debtor. Example: VACBNA0001.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"accessTokenUrl","value":"{{access_token_url}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"tokenType","value":"<token-type>"},{"key":"headerPrefix","value":"<header-prefix>"}]},"isInherited":true,"source":{"_postman_id":"37acd4ed-0058-4657-90c7-2d871bcfa076","id":"37acd4ed-0058-4657-90c7-2d871bcfa076","name":"V.Alexander & Co. Rest API","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","customs-commercial-invoices",":importer_code"],"host":["{{domain}}"],"query":[],"variable":[{"id":"6acda967-4216-4fc3-a264-4f9281f87a59","type":"any","value":"VACBNA0001","key":"importer_code"}]}},"response":[{"id":"2febb252-b239-4759-a695-9ccb2cd7933c","name":"202 Accepted","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"{{access_token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"idempotencyKey\": \"idempotencyKey\",\n    \"invoiceNumber\": \"invoiceNumber\",\n    \"invoiceDate\": \"2000-01-01T01:01:01Z\",\n    \"invoiceCurrency\": {\"code\": \"ZWL\"},\n    \"incoTerm\": {\n        \"code\": \"CAF\",\n        \"namedPlace\": \"namedPlace\"\n    },\n    \"invoiceAmount\": 0,\n    \"netWeight\": 0,\n    \"netWeightUQ\": {\"code\": \"DT\"},\n    \"weight\": 0,\n    \"weightUnit\": {\"code\": \"DT\"},\n    \"supplier\": {\n        \"addressType\": \"Supplier\",\n        \"organizationCode\": \"organizationCode\"\n    },\n    \"commercialInvoiceLineCollection\": [\n        {\n            \"harmonisedCode\": \"harmonisedCode\",\n            \"invoiceQuantity\": 0,\n            \"invoiceQuantityUnit\": {\"code\": \"AC\"},\n            \"linePrice\": 0,\n            \"netWeight\": 0,\n            \"netWeightUnit\": {\"code\": \"DT\"},\n            \"partNo\": \"partNo\",\n            \"description\": \"description\",\n            \"volume\": 0,\n            \"volumeUnit\": {\"code\": \"CC\"},\n            \"weight\": 0,\n            \"weightUnit\": {\"code\": \"DT\"},\n            \"addInfoCollection\": [\n                {\n                    \"value\": \"value\",\n                    \"key\": \"CountryOfOrigin\"\n                }\n            ],\n            \"organizationAddressCollection\": [\n                {\n                    \"addressType\": \"Manufacturer\",\n                    \"organizationCode\": \"organizationCode\"\n                }\n            ]\n        }\n    ],\n    \"commercialChargeCollection\": [\n        {\n            \"chargeType\": {\"code\": \"ADD\"},\n            \"amount\": 0,\n            \"currency\": {\"code\": \"ZWL\"}\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{domain}}/v1/customs-commercial-invoices/:importer_code","protocol":"https","host":["{{domain}}"],"path":["v1","customs-commercial-invoices",":importer_code"],"variable":[{"key":"importer_code","value":"VACBNA0001"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 17 Jun 2022 16:02:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"223"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"aa2a7901-f652-4803-a1d5-5a0af924a39e"},{"key":"x-amz-apigw-id","value":"T37OwEyQoAMF6dQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-62aca591-4edcc6bd13f83d4f3b261555"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"PENDING\",\n  \"message\": \"message\",\n  \"links\": [\n    {\n      \"href\": \"href\",\n      \"rel\": \"status\",\n      \"method\": \"GET\"\n    }\n  ]\n}\n"}],"_postman_id":"e7eb5c86-1842-4e93-bcd5-24584233f509"}],"id":"a5e4666e-9044-4254-9e15-5c0e950ecf43","_postman_id":"a5e4666e-9044-4254-9e15-5c0e950ecf43","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"accessTokenUrl","value":"{{access_token_url}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"tokenType","value":"<token-type>"},{"key":"headerPrefix","value":"<header-prefix>"}]},"isInherited":true,"source":{"_postman_id":"37acd4ed-0058-4657-90c7-2d871bcfa076","id":"37acd4ed-0058-4657-90c7-2d871bcfa076","name":"V.Alexander & Co. Rest API","type":"collection"}}}],"auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"accessTokenUrl","value":"{{access_token_url}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"tokenName","value":"<token-name>"},{"key":"challengeAlgorithm","value":"<challenge-algorithm>"},{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"tokenType","value":"<token-type>"},{"key":"headerPrefix","value":"<header-prefix>"}]}},"event":[{"listen":"prerequest","script":{"id":"a1afcb61-916f-4528-88e1-60d62a281be5","type":"text/javascript","exec":["// update this section","const clientId = 'your_client_id';","const clientSecret = 'your_client_secret';","const apiKey = \"your_api_key\";","const tokenUrl = 'token_url';","const domain = 'cw.valexanderapis.com';","","const getTokenRequest = {","  method: \"POST\",","  url: tokenUrl,","  body: {","    mode: \"urlencoded\",","    urlencoded: [","      { key: \"client_id\", value: clientId },","      { key: \"client_secret\", value: clientSecret },","      { key: \"grant_type\", value: \"client_credentials\" },","    ],","  },","};","","pm.sendRequest(getTokenRequest, (err, response) => {","  if (err) {","    console.log(err);","  }","","  const jsonResponse = response.json();","  const newAccessToken = jsonResponse.access_token;","","  pm.environment.set(\"domain\", domain);","  pm.environment.set(\"api_key\", apiKey);","  pm.environment.set(\"access_token\", newAccessToken);","});"]}},{"listen":"test","script":{"id":"64532831-2a90-4e97-a87f-f92bf7849eb5","type":"text/javascript","exec":[""]}}]}