{"info":{"_postman_id":"595ed4e1-9a21-481a-9243-49a63b028eb7","name":"GRA E-VAT API - VER 8.1","description":"<html><head></head><body><p>GRA E-VAT API Documentation, API for E-VAT INTEGRATION DOCUMENTATION VCIS/VSDC</p>\n<p>This document describes the API specification to integrate with Electronic Invoicing Systems (E-VAT)</p>\n<p>Overview<br>The following specific requirements are for the systems to communicate with E-VAT VCIS, the Certified Invoicing System to be used together with a Virtual Sales Data Controller (VSDC).</p>\n<p><a href=\"https://gra.evatgra.com/DataFlow.php\">Data Flow Diagram</a></p>\n<p>This Api have an Authentication</p>\n<p>In the Request Header<br>\"SECURITY_KEY\": \"1234567890987UIEGRTEIIIWOWPPWOOW\"</p>\n<p>E-VAT API Receive data in two ways</p>\n<p>2.JSON FORMAT.</p>\n<p>LEVIES Mapping:</p>\n<p>* <strong>LEVY_A : NHIL 2.5 %</strong><br>* <strong>LEVY_B : GETFL 2.5 %</strong><br>* <strong>LEVY_C : COVID 1 %</strong><br>* <strong>LEVY_D : CST 5%</strong><br>* <strong>LEVY_E : TOURISM 1%</strong></p>\n<p>TAX RATE Mapping:</p>\n<p>* <strong>TAX_A : 0 % [Exempted]</strong><br>* <strong>TAX_B : 15 % [Vaxable]</strong><br>* <strong>TAX_C : 0 % [Export]</strong><br>* <strong>TAX_D : 0 % [Non Taxable]</strong></p>\n<p><strong>EXCEL TEMPLATE OF TAXE CALCULATION</strong>:<br><a href=\"https://docs.google.com/spreadsheets/d/1DAcDUBVdoHD7A_yOqMcrzuX4rNc4VGLC/edit?usp=drive_link&amp;ouid=114670877025048538475&amp;rtpof=true&amp;sd=true\">https://docs.google.com/spreadsheets/d/1DAcDUBVdoHD7A_yOqMcrzuX4rNc4VGLC/edit?usp=drive_link&amp;ouid=114670877025048538475&amp;rtpof=true&amp;sd=true</a></p>\n<p><strong>SAMPLE INVOICE</strong></p>\n<img src=\"https://content.pstmn.io/62e2217a-b4a9-4128-8892-eb634a42999e/aW1hZ2UucG5n\" alt=\"Invoice%20sample\" width=\"538\" height=\"680\">\n\n<p><strong>TAG DESCRIPTIONS</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>TAG NAME</th>\n<th>TAG VALUE EXAMPLE</th>\n<th>TAG DESCRIPTION</th>\n<th>LENGTH AND TYPE</th>\n<th>MANDATORY</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>\"currency\"</td>\n<td>\"GHS\"</td>\n<td>CURRENCY</td>\n<td>VARCHAR(20)</td>\n<td>YES</td>\n</tr>\n<tr>\n<td>\"exchangeRate\"</td>\n<td>1</td>\n<td>CURRENT EXCHANGE RATE: DEFAULT 1 FOR GHS</td>\n<td>10</td>\n<td>YES</td>\n</tr>\n<tr>\n<td>\"businessPartnerName\"</td>\n<td>\"James Kofi\"</td>\n<td>CLIENT NAME</td>\n<td>VARCHAR(100)</td>\n<td>YES</td>\n</tr>\n<tr>\n<td>\"invoiceNumber\"</td>\n<td>\"2306219003\"</td>\n<td>SOFTWARE UNIQUE TRANSACTION IDENTIFIER</td>\n<td>VARCHAR(100)</td>\n<td>YES</td>\n</tr>\n<tr>\n<td>\"totalLevy\"</td>\n<td>30</td>\n<td>TOTAL LEVY AMOUNT</td>\n<td>NUMERIC</td>\n<td>YES</td>\n</tr>\n<tr>\n<td>\"userName\"</td>\n<td>\"happy\"</td>\n<td>USER NAME</td>\n<td>VARCHAR(100)</td>\n<td>YES</td>\n</tr>\n<tr>\n<td>\"flag\"</td>\n<td>\"INVOICE\"</td>\n<td>TRANSACTON TYPE :\"INVOICE\",\"PURCHASE\",\"REFUND\" IF FULL CANCELING THE ORIGINAL, \"PARTIAL_REFUND \" IF PARTIAL CANCELING THE ORIGINAL,\"PURCHASE_RETURN\",\"REFUND_CANCELLATION\"</td>\n<td>VARCHAR(20)</td>\n<td>YES</td>\n</tr>\n<tr>\n<td>\"totalVat\"</td>\n<td>13.04</td>\n<td>TOTAL VAT OF THE INVOICE</td>\n<td>NUMERIC</td>\n<td>YES</td>\n</tr>\n<tr>\n<td>\"groupReferenceId\"</td>\n<td>\"\"</td>\n<td>REFERENCE ID TO A GROUP OF INVOICES</td>\n<td>VARCHAR(50)</td>\n<td>NO</td>\n</tr>\n<tr>\n<td>\"transactionDate\"</td>\n<td>\"2023-06-14\"</td>\n<td>INVOICE DATE (POSTED DATE IS THE ONE USED)</td>\n<td>VARCHAR(50)</td>\n<td>YES</td>\n</tr>\n<tr>\n<td>\"businessPartnerTin\"</td>\n<td>\"VC00000009055\"</td>\n<td>CLIENT TIN NUMBER</td>\n<td>VARCHAR(15)</td>\n<td>YES B2B, NO B2C</td>\n</tr>\n<tr>\n<td>\"totalAmount\"</td>\n<td>100.0</td>\n<td>TOTAL AMOUNT ON THE INVOICE</td>\n<td>NUMERIC</td>\n<td>YES</td>\n</tr>\n<tr>\n<td>\"voucherAmount\"</td>\n<td>0.0</td>\n<td>VOUCHER AMOUNT</td>\n<td>NUMERIC</td>\n<td>NO</td>\n</tr>\n<tr>\n<td>\"saleType\"</td>\n<td>\"NORMAL\"</td>\n<td>NORMAL(For General case),EXEMPTED(for exempted client) &amp; EXPORT(for Export)</td>\n<td>VARCHAR(20)</td>\n<td>YES</td>\n</tr>\n<tr>\n<td>\"discountType\"</td>\n<td>\"GENERAL\"</td>\n<td>\"SELECTIVE\" if discount on whole Invoice total amount  <br>\"GENERAL\" if  <br>discount on each line of item</td>\n<td>VARCHAR(300)</td>\n<td>NO</td>\n</tr>\n<tr>\n<td>\"discountAmount\"</td>\n<td>0.0</td>\n<td>TOTAL DISCOUNTED AMOUNT ON INVOICE</td>\n<td>NUMERIC</td>\n<td>NO</td>\n</tr>\n<tr>\n<td>\"reference\"</td>\n<td>\"39083a038d2940f78eca7931106d3c40\"</td>\n<td>REFUND_ID TO USE FOR PARTIAL_CANCELING</td>\n<td>VARCHAR(50)</td>\n<td>YES</td>\n</tr>\n<tr>\n<td>\"itemCode\"</td>\n<td>\"TXC005918138\"</td>\n<td>ITEM CODE UNIQUE</td>\n<td>VARCHAR(50)</td>\n<td>YES</td>\n</tr>\n<tr>\n<td>\"expire\"</td>\n<td>\"\"</td>\n<td>EXPIREDATE OF ITEM IF EXIST</td>\n<td>VARCHAR(45)</td>\n<td>NO</td>\n</tr>\n<tr>\n<td>\"description\"</td>\n<td>\"Bowl\"</td>\n<td>ITEM NAME</td>\n<td>VARCHAR(100)</td>\n<td>YES</td>\n</tr>\n<tr>\n<td>\"quantity\"</td>\n<td>10.0</td>\n<td>ITEM QUANTITY</td>\n<td>NUMERIC</td>\n<td>YES</td>\n</tr>\n<tr>\n<td>\"levyAmountA\"</td>\n<td>2.05</td>\n<td>LEVY_AMOUNT ON NHIL</td>\n<td>NUMERIC</td>\n<td>YES</td>\n</tr>\n<tr>\n<td>\"levyAmountB\"</td>\n<td>2.05</td>\n<td>LEVY_AMOUNT ON GETFUND</td>\n<td>NUMERIC</td>\n<td>YES</td>\n</tr>\n<tr>\n<td>\"levyAmountC\"</td>\n<td>0.82</td>\n<td>LEVY_AMOUNT ON COVID</td>\n<td>NUMERIC</td>\n<td>YES</td>\n</tr>\n<tr>\n<td>\"levyAmountD\"</td>\n<td>0.0</td>\n<td>LEVY_AMOUNT ON CST</td>\n<td>NUMERIC</td>\n<td>YES</td>\n</tr>\n<tr>\n<td>\"levyAmountE\"</td>\n<td>0.0</td>\n<td>LEVY_AMOUNT ON TOURISM</td>\n<td>NUMERIC</td>\n<td>YES</td>\n</tr>\n<tr>\n<td>\"discount\"</td>\n<td>0.0</td>\n<td>DISCOUNT ON ITEM</td>\n<td>NUMERIC</td>\n<td>NO</td>\n</tr>\n<tr>\n<td>\"batch\"</td>\n<td>\"5MAKD1\"</td>\n<td>BATCH NUMBER OPTIONAL</td>\n<td>VARCHAR(100)</td>\n<td>NO</td>\n</tr>\n<tr>\n<td>\"itemCategory\"</td>\n<td>\"\"</td>\n<td>ITEM CATEGORY (\"CST\"-CST ITEM, \"TRSM\"-TOURISM ITEM, \"EXM\"-EXEMPTED/NON TAXABLE ITEM). \"\"-FOR STANDARD ITEMS</td>\n<td>VARCHAR(50)</td>\n<td>NO</td>\n</tr>\n<tr>\n<td>\"unitPrice\"</td>\n<td>10.0</td>\n<td>UNITY PRICE VAT INCLUSIVE</td>\n<td>NUMERIC</td>\n<td>YES</td>\n</tr>\n<tr>\n<td>\"purchaseOrderReference\"</td>\n<td>\"PO-230822-00001\"</td>\n<td>PURCHASE ORDER NUMBER</td>\n<td>VARCHAR(50)</td>\n<td>NO</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>INVOICE RESPONSE</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>FIELD</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>\"distributor_tin\"</td>\n<td>TIN of Taxpayer issuing the invoice</td>\n</tr>\n<tr>\n<td>\"num\"</td>\n<td>Invoice Number sent to the VSDC</td>\n</tr>\n<tr>\n<td>\"ysdcid\"</td>\n<td>The ID of the SDC (Sales Data Controller)</td>\n</tr>\n<tr>\n<td>\"ysdcrecnum\"</td>\n<td>Show the number of transactions stamped by the SDC</td>\n</tr>\n<tr>\n<td>\"ysdcintdata\"</td>\n<td>References the Internal Data of the Invoice</td>\n</tr>\n<tr>\n<td>\"ysdcregsig\"</td>\n<td>Invoice Signature</td>\n</tr>\n<tr>\n<td>\"ysdcmrctim</td>\n<td>Date/Time invoice is received at the backend</td>\n</tr>\n<tr>\n<td>\"ysdctime\"</td>\n<td>Date/Time invoice is stamped</td>\n</tr>\n<tr>\n<td>\"flag\"</td>\n<td>Type of Invoice</td>\n</tr>\n<tr>\n<td>\"ysdcitems\"</td>\n<td>Number of Items on the invoice</td>\n</tr>\n<tr>\n<td>\"qr_code\":</td>\n<td>URL link to be converted to QR CODE</td>\n</tr>\n<tr>\n<td>\"status\":</td>\n<td>Status of invoice request</td>\n</tr>\n</tbody>\n</table>\n</div></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"10845416","collectionId":"595ed4e1-9a21-481a-9243-49a63b028eb7","publishedId":"2s946mbqRQ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-09-06T16:26:48.000Z"},"item":[{"name":"REFUND CANCELLATION","item":[{"name":"JSON","id":"6d73bcc7-a604-4811-ab60-f4c8db5437cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"security_key","value":"sWJl8Xl7lXKBK5VIHnGxdG0IooBOSK1AZ9Q3iO/1XzOBgSNExxVcfESJttvwApL7","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"invoiceNumber\": \"NS230724-X000002\",\r\n  \"reference\": \"RF230724-X00002\",\r\n  \"userName\": \"kofi ghana\",\r\n  \"flag\": \"REFUND_CANCELATION\",\r\n  \"transactionDate\": \"2023-08-22T11:25:19.121Z\",\r\n  \"totalAmount\": 609.50\r\n}","options":{"raw":{"language":"json"}}},"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/cancellation","urlObject":{"path":["C0003314324-007","cancellation"],"host":["https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer"],"query":[],"variable":[]}},"response":[],"_postman_id":"6d73bcc7-a604-4811-ab60-f4c8db5437cb"},{"name":"XML","id":"bb29b202-ae3a-4b08-b46b-37693b6b8bfd","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"POST","header":[{"key":"Accept","value":"application/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\r\n<refundcancellation>\r\n\t<invoiceNumber>NS230724-X000002</invoiceNumber>\r\n\t<reference>RF230724-X00002</reference>\r\n\t<userName>kofi ghana</userName>\r\n\t<flag>REFUND_CANCELATION</flag>\r\n\t<transactionDate>2023-08-22T11:25:19.121Z</transactionDate>\r\n\t<totalAmount>609.5</totalAmount>\r\n</refundcancellation>","options":{"raw":{"language":"xml"}}},"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/cancellation","urlObject":{"path":["C0003314324-007","cancellation"],"host":["https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer"],"query":[],"variable":[]}},"response":[],"_postman_id":"bb29b202-ae3a-4b08-b46b-37693b6b8bfd"}],"id":"1686079c-c3ec-4e01-ad82-59483352578f","_postman_id":"1686079c-c3ec-4e01-ad82-59483352578f","description":""},{"name":"PURCHASE RETURN CANCELLATION","item":[{"name":"JSON","id":"8d4bba45-1b54-478f-ae45-20405c51bbce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Security_Key","value":"sWJl8Xl7lXKBK5VIHnGxdG0IooBOSK1AZ9Q3iO/1XzOBgSNExxVcfESJttvwApL7","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"invoiceNumber\": \"NS230818-9X060001\",\r\n  \"reference\": \"PR-0003\",\r\n  \"userName\": \"kofi ghana\",\r\n  \"flag\": \"PURCHASE_RETURN_CANCELATION\",\r\n  \"transactionDate\": \"2023-08-22T11:25:19.121Z\",\r\n  \"totalAmount\": 1300.0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/cancellation","urlObject":{"path":["C0003314324-007","cancellation"],"host":["https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer"],"query":[],"variable":[]}},"response":[],"_postman_id":"8d4bba45-1b54-478f-ae45-20405c51bbce"},{"name":"XML","id":"0286c7b6-1e29-4587-bfa4-bb3a37f22057","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"method":"POST","header":[{"key":"Accept","value":"application/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\r\n<root>\r\n\t<invoiceNumber>NS230818-9X00001</invoiceNumber>\r\n\t<reference>RF230724-X00002</reference>\r\n\t<userName>kofi ghana</userName>\r\n\t<flag>PURCHASE_RETURN_CANCELATION</flag>\r\n\t<transactionDate>2023-08-22T11:25:19.121Z</transactionDate>\r\n\t<totalAmount>609.5</totalAmount>\r\n</root>","options":{"raw":{"language":"xml"}}},"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/cancellation","urlObject":{"path":["C0003314324-007","cancellation"],"host":["https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer"],"query":[],"variable":[]}},"response":[],"_postman_id":"0286c7b6-1e29-4587-bfa4-bb3a37f22057"}],"id":"436f7771-147d-47e8-9111-e528f0d4c9cf","_postman_id":"436f7771-147d-47e8-9111-e528f0d4c9cf","description":""},{"name":"ERRORS","item":[{"name":"FORBIDDEN","id":"a881b7c0-ddeb-4d65-8847-dee61e6014cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Security_Key","value":"8888888888888","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"currency\": \"GHS\",\r\n    \"exchangeRate\": 1.0,\r\n    \"invoiceNumber\": \"NS230818-9X00001\",\r\n    \"totalLevy\": 63.99,\r\n    \"userName\": \"Kofi Ghana\",\r\n    \"flag\": \"INVOICE\",\r\n    \"calculationType\": \"INCLUSIVE\",\r\n    \"totalVat\": 169.57,\r\n    \"transactionDate\": \"2023-07-24T08:43:28Z\",\r\n    \"totalAmount\": 1300.0,\r\n    \"voucherAmount\": 0.0,\r\n    \"businessPartnerName\": \"fred(cash customer)\",\r\n    \"businessPartnerTin\": \"C0000000000\",\r\n    \"saleType\": \"NORMAL\",\r\n    \"discountType\": \"GENERAL\",\r\n    \"discountAmount\": 0.0,\r\n    \"reference\": \"\",\r\n    \"groupReferenceId\": \"\",\r\n    \"purchaseOrderReference\": \"\",\r\n    \"items\": [\r\n        {\r\n            \"itemCode\": \"TXC00389165855\",\r\n            \"itemCategory\": \"\",\r\n            \"expireDate\": \"2025-01-01\",\r\n            \"description\": \"1SFA611130R1101\",\r\n            \"quantity\": 10.0,\r\n            \"levyAmountA\": 26.66,\r\n            \"levyAmountB\": 26.66,\r\n            \"levyAmountC\": 10.66,\r\n            \"levyAmountD\": 0.0,\r\n            \"levyAmountE\": 0.0,\r\n            \"discountAmount\": 0.0,           \r\n            \"batchCode\": \"\",\r\n            \"unitPrice\": 130.0\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/invoice","urlObject":{"path":["C0003314324-007","invoice"],"host":["https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer"],"query":[],"variable":[]}},"response":[{"id":"a3f6c06b-6ffe-49d9-bc0f-008d0e9064bb","name":"JSON","originalRequest":{"method":"POST","header":[{"key":"Security_Key","value":"8888888888888","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"currency\": \"GHS\",\r\n    \"exchangeRate\": 1.0,\r\n    \"invoiceNumber\": \"NS230818-9X00001\",\r\n    \"totalLevy\": 63.99,\r\n    \"userName\": \"Kofi Ghana\",\r\n    \"flag\": \"INVOICE\",\r\n    \"calculationType\": \"INCLUSIVE\",\r\n    \"totalVat\": 169.57,\r\n    \"transactionDate\": \"2023-07-24T08:43:28Z\",\r\n    \"totalAmount\": 1300.0,\r\n    \"voucherAmount\": 0.0,\r\n    \"businessPartnerName\": \"fred(cash customer)\",\r\n    \"businessPartnerTin\": \"C0000000000\",\r\n    \"saleType\": \"NORMAL\",\r\n    \"discountType\": \"GENERAL\",\r\n    \"discountAmount\": 0.0,\r\n    \"reference\": \"\",\r\n    \"groupReferenceId\": \"\",\r\n    \"purchaseOrderReference\": \"\",\r\n    \"items\": [\r\n        {\r\n            \"itemCode\": \"TXC00389165855\",\r\n            \"itemCategory\": \"\",\r\n            \"expireDate\": \"2025-01-01\",\r\n            \"description\": \"1SFA611130R1101\",\r\n            \"quantity\": 10.0,\r\n            \"levyAmountA\": 26.66,\r\n            \"levyAmountB\": 26.66,\r\n            \"levyAmountC\": 10.66,\r\n            \"levyAmountD\": 0.0,\r\n            \"levyAmountE\": 0.0,\r\n            \"discountAmount\": 0.0,           \r\n            \"batchCode\": \"\",\r\n            \"unitPrice\": 130.0\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/invoice"},"status":" ","code":403,"_postman_previewlanguage":"json","header":[{"key":"Keep-Alive","value":"timeout=20"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"X-Powered-By","value":"ARR/3.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 25 Aug 2023 13:20:04 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": \"2023-08-25 01:20:04\",\n    \"status\": 901,\n    \"error\": \"forbidden\"\n}"}],"_postman_id":"a881b7c0-ddeb-4d65-8847-dee61e6014cc"},{"name":"INVOICE_NUMBER_EXIST ERROR","id":"3005c071-e607-4a46-b780-501febeda3a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Security_Key","value":"8888888888888","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"currency\": \"GHS\",\r\n    \"exchangeRate\": 1.0,\r\n    \"invoiceNumber\": \"NS230818-9X00001\",\r\n    \"totalLevy\": 63.99,\r\n    \"userName\": \"Kofi Ghana\",\r\n    \"flag\": \"INVOICE\",\r\n    \"calculationType\": \"INCLUSIVE\",\r\n    \"totalVat\": 169.57,\r\n    \"transactionDate\": \"2023-07-24T08:43:28Z\",\r\n    \"totalAmount\": 1300.0,\r\n    \"voucherAmount\": 0.0,\r\n    \"businessPartnerName\": \"fred(cash customer)\",\r\n    \"businessPartnerTin\": \"C0000000000\",\r\n    \"saleType\": \"NORMAL\",\r\n    \"discountType\": \"GENERAL\",\r\n    \"discountAmount\": 0.0,\r\n    \"reference\": \"\",\r\n    \"groupReferenceId\": \"\",\r\n    \"purchaseOrderReference\": \"\",\r\n    \"items\": [\r\n        {\r\n            \"itemCode\": \"TXC00389165855\",\r\n            \"itemCategory\": \"\",\r\n            \"expireDate\": \"2025-01-01\",\r\n            \"description\": \"1SFA611130R1101\",\r\n            \"quantity\": 10.0,\r\n            \"levyAmountA\": 26.66,\r\n            \"levyAmountB\": 26.66,\r\n            \"levyAmountC\": 10.66,\r\n            \"levyAmountD\": 0.0,\r\n            \"levyAmountE\": 0.0,\r\n            \"discountAmount\": 0.0,           \r\n            \"batchCode\": \"\",\r\n            \"unitPrice\": 130.0\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/invoice","urlObject":{"path":["C0003314324-007","invoice"],"host":["https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer"],"query":[],"variable":[]}},"response":[{"id":"c9816eb3-28f1-48e1-bf05-d761baef6464","name":"JSON","originalRequest":{"method":"POST","header":[{"key":"Security_Key","value":"sWJl8Xl7lXKBK5VIHnGxdG0IooBOSK1AZ9Q3iO/1XzOBgSNExxVcfESJttvwApL7","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"currency\": \"GHS\",\r\n    \"exchangeRate\": 1.0,\r\n    \"invoiceNumber\": \"NS230818-9X00001\",\r\n    \"totalLevy\": 63.99,\r\n    \"userName\": \"Kofi Ghana\",\r\n    \"flag\": \"INVOICE\",\r\n    \"calculationType\": \"INCLUSIVE\",\r\n    \"totalVat\": 169.57,\r\n    \"transactionDate\": \"2023-07-24T08:43:28Z\",\r\n    \"totalAmount\": 1300.0,\r\n    \"voucherAmount\": 0.0,\r\n    \"businessPartnerName\": \"fred(cash customer)\",\r\n    \"businessPartnerTin\": \"C0000000000\",\r\n    \"saleType\": \"NORMAL\",\r\n    \"discountType\": \"GENERAL\",\r\n    \"discountAmount\": 0.0,\r\n    \"reference\": \"\",\r\n    \"groupReferenceId\": \"\",\r\n    \"purchaseOrderReference\": \"\",\r\n    \"items\": [\r\n        {\r\n            \"itemCode\": \"TXC00389165855\",\r\n            \"itemCategory\": \"\",\r\n            \"expireDate\": \"2025-01-01\",\r\n            \"description\": \"1SFA611130R1101\",\r\n            \"quantity\": 10.0,\r\n            \"levyAmountA\": 26.66,\r\n            \"levyAmountB\": 26.66,\r\n            \"levyAmountC\": 10.66,\r\n            \"levyAmountD\": 0.0,\r\n            \"levyAmountE\": 0.0,\r\n            \"discountAmount\": 0.0,           \r\n            \"batchCode\": \"\",\r\n            \"unitPrice\": 130.0\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/invoice"},"status":" ","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-Powered-By","value":"ARR/3.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 25 Aug 2023 13:35:07 GMT"},{"key":"Content-Length","value":"98"}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": \"2023-08-25 01:35:07\",\n    \"status\": 400,\n    \"error\": \"Invoice_NS230818-9X00001_already_signed\"\n}"}],"_postman_id":"3005c071-e607-4a46-b780-501febeda3a3"}],"id":"b444fac7-b267-4992-9f88-c79b757689ec","description":"<p>Documentation for Errors</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>CODE</strong></th>\n<th><strong>ERROR</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>403</td>\n<td>FORBIDDEN</td>\n<td>When <strong>Company Reference</strong> in the URL does not match the Security_Key in the Header</td>\n</tr>\n<tr>\n<td>400</td>\n<td>BAD REQUEST</td>\n<td>Invoice Number Already Signed</td>\n</tr>\n</tbody>\n</table>\n</div><p>:</p>\n","_postman_id":"b444fac7-b267-4992-9f88-c79b757689ec"},{"name":"INVOICE","id":"c9129c73-c25b-4cae-b863-bf2be3047d41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"security_key","value":"sWJl8Xl7lXKBK5VIHnGxdG0IooBOSK1AZ9Q3iO/1XzOBgSNExxVcfESJttvwApL7","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"currency\": \"GHS\",\r\n    \"exchangeRate\": 1.0,\r\n    \"invoiceNumber\": \"NS230818-9X00001\",\r\n    \"totalLevy\": 63.99,\r\n    \"userName\": \"Kofi Ghana\",\r\n    \"flag\": \"INVOICE\",\r\n    \"calculationType\": \"INCLUSIVE\",\r\n    \"totalVat\": 169.57,\r\n    \"transactionDate\": \"2023-07-24T08:43:28Z\",\r\n    \"totalAmount\": 1300.0,\r\n    \"voucherAmount\": 0.0,\r\n    \"businessPartnerName\": \"fred(cash customer)\",\r\n    \"businessPartnerTin\": \"C0000000000\",\r\n    \"saleType\": \"NORMAL\",\r\n    \"discountType\": \"GENERAL\",\r\n    \"discountAmount\": 0.0,\r\n    \"reference\": \"\",\r\n    \"groupReferenceId\": \"\",\r\n    \"purchaseOrderReference\": \"\",\r\n    \"items\": [\r\n        {\r\n            \"itemCode\": \"TXC00389165855\",\r\n            \"itemCategory\": \"\",\r\n            \"expireDate\": \"2025-01-01\",\r\n            \"description\": \"1SFA611130R1101\",\r\n            \"quantity\": 10.0,\r\n            \"levyAmountA\": 26.66,\r\n            \"levyAmountB\": 26.66,\r\n            \"levyAmountC\": 10.66,\r\n            \"levyAmountD\": 0.0,\r\n            \"levyAmountE\": 0.0,\r\n            \"discountAmount\": 0.0,           \r\n            \"batchCode\": \"\",\r\n            \"unitPrice\": 130.0\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/invoice","description":"<p>Invoice Invoce (Normal Sale) refers to a receipt that shall be produced and offered to the client. It is any receipt produced while the Electronic Billing Machine is in its normal registration mode, used to register sales of goods and/or services, including corrections and discounts.</p>\n","urlObject":{"path":["C0003314324-007","invoice"],"host":["https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer"],"query":[],"variable":[]}},"response":[{"id":"f36c1c87-c9ee-4738-8105-c79a5a96e80a","name":"JSON_SUCCESS","originalRequest":{"method":"POST","header":[{"key":"security_key","value":"Z60gftKe9sei3xOZhvvDa0StkVILKR3j5MBM9ygi1zg=","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"currency\": \"GHS\",\r\n    \"exchangeRate\": 1.0,\r\n    \"invoiceNumber\": \"NS230818-9X00001\",\r\n    \"totalLevy\": 63.99,\r\n    \"userName\": \"Kofi Ghana\",\r\n    \"flag\": \"INVOICE\",\r\n    \"calculationType\": \"INCLUSIVE\",\r\n    \"totalVat\": 169.57,\r\n    \"transactionDate\": \"2023-07-24T08:43:28Z\",\r\n    \"totalAmount\": 1300.0,\r\n    \"voucherAmount\": 0.0,\r\n    \"businessPartnerName\": \"fred(cash customer)\",\r\n    \"businessPartnerTin\": \"C0000000000\",\r\n    \"saleType\": \"NORMAL\",\r\n    \"discountType\": \"GENERAL\",\r\n    \"discountAmount\": 0.0,\r\n    \"reference\": \"\",\r\n    \"groupReferenceId\": \"\",\r\n    \"purchaseOrderReference\": \"\",\r\n    \"items\": [\r\n        {\r\n            \"itemCode\": \"TXC00389165855\",\r\n            \"itemCategory\": \"\",\r\n            \"expireDate\": \"2025-01-01\",\r\n            \"description\": \"1SFA611130R1101\",\r\n            \"quantity\": 10.0,\r\n            \"levyAmountA\": 26.66,\r\n            \"levyAmountB\": 26.66,\r\n            \"levyAmountC\": 10.66,\r\n            \"levyAmountD\": 0.0,\r\n            \"levyAmountE\": 0.0,\r\n            \"discountAmount\": 0.0,           \r\n            \"batchCode\": \"\",\r\n            \"unitPrice\": 130.0\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/invoice"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Keep-Alive","value":"timeout=20"},{"key":"Content-Type","value":"application/json"},{"key":"X-Powered-By","value":"ARR/3.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Mon, 24 Jul 2023 09:09:36 GMT"},{"key":"Content-Length","value":"622"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"distributor_tin\": \"C0034186913\",\n        \"mesaage\": {\n            \"num\": \"NS230724-9000001\",\n            \"ysdcid\": \"EV-260623-001\",\n            \"ysdcrecnum\": \"83NS\",\n            \"ysdcintdata\": \"NUGABIDWABF5MRRN2EXDUSJ7M4\",\n            \"ysdcregsig\": \"E4OFBGZX2MT6YBTQ\",\n            \"ysdcmrc\": \"2b60f37f175c7c\",\n            \"ysdcmrctim\": \"2023/07/24 09:09:36\",\n            \"ysdctime\": \"2023/07/24 09:09:36\",\n            \"flag\": \"INVOICE\",\n            \"ysdcitems\": \"1\"\n        },\n        \"qr_code\": \"https://verification.vat-gh.com?data=udwCsHNJ1LsF6ljeIIdEdQ1V4srsHpIKgqfS/yD/2/dnhRdAUrVqY5Vjl/0aILYHU9C7vn3HcQqeNiixqXiB1BfxjtBuhZf8UYZwsSWivERBBOSU16BozjS4eTQ/hyXyG/hVInFFTAOODGWa0/6fYS3X+6x/nfShwKe2lRMPV5qgCmRMGx0gsR8w0esCwUO5Wwdjybuu504mY/Av9DLczg==&v=1.0\",\n        \"status\": \"SUCCESS\"\n    }\n}"},{"id":"e32d8f38-a2c8-4149-a2ce-3bb51058721c","name":"XML_SUCCESS","originalRequest":{"method":"POST","header":[{"key":"security_key","value":"sWJl8Xl7lXKBK5VIHnGxdG0IooBOSK1AZ9Q3iO/1XzOBgSNExxVcfESJttvwApL7","type":"text"},{"key":"Accept","name":"Content-Type","value":"application/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\r\n<invoice>\r\n\t<currency>GHS</currency>\r\n\t<exchangeRate>1</exchangeRate>\r\n\t<invoiceNumber>NS230818-9X00001</invoiceNumber>\r\n\t<totalLevy>63.99</totalLevy>\r\n\t<userName>Kofi Ghana</userName>\r\n\t<flag>INVOICE</flag>\r\n\t<calculationType>INCLUSIVE</calculationType>\r\n\t<totalVat>169.57</totalVat>\r\n\t<transactionDate>2023-07-24T08:43:28Z</transactionDate>\r\n\t<totalAmount>1300</totalAmount>\r\n\t<voucherAmount>0</voucherAmount>\r\n\t<businessPartnerName>fred(cash customer)</businessPartnerName>\r\n\t<businessPartnerTin>C0000000000</businessPartnerTin>\r\n\t<saleType>NORMAL</saleType>\r\n\t<discountType>GENERAL</discountType>\r\n\t<discountAmount>0</discountAmount>\r\n\t<reference></reference>\r\n\t<groupReferenceId></groupReferenceId>\r\n\t<purchaseOrderReference></purchaseOrderReference>\r\n\t<items>\r\n\t\t<itemCode>TXC00389165855</itemCode>\r\n\t\t<itemCategory></itemCategory>\r\n\t\t<expireDate>2025-01-01</expireDate>\r\n\t\t<description>1SFA611130R1101</description>\r\n\t\t<quantity>10</quantity>\r\n\t\t<levyAmountA>26.66</levyAmountA>\r\n\t\t<levyAmountB>26.66</levyAmountB>\r\n\t\t<levyAmountC>10.66</levyAmountC>\r\n\t\t<levyAmountD>0</levyAmountD>\r\n\t\t<levyAmountE>0</levyAmountE>\r\n\t\t<discountAmount>0</discountAmount>\r\n\t\t<batchCode></batchCode>\r\n\t\t<unitPrice>130</unitPrice>\r\n\t</items>\r\n</invoice>","options":{"raw":{"language":"xml"}}},"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/invoice"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Keep-Alive","value":"timeout=20"},{"key":"Content-Type","value":"application/xml"},{"key":"X-Powered-By","value":"ARR/3.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Mon, 24 Jul 2023 09:22:27 GMT"},{"key":"Content-Length","value":"760"}],"cookie":[],"responseTime":null,"body":"<ResponseDto>\n    <response>\n        <distributor_tin>C0034186913</distributor_tin>\n        <mesaage>\n            <num>NS230724-6000001</num>\n            <ysdcid>EV-260623-001</ysdcid>\n            <ysdcrecnum>86NS</ysdcrecnum>\n            <ysdcintdata>6SRDDNTTNL4VEUJ3MBRGQXES6I</ysdcintdata>\n            <ysdcregsig>X3ZACZ2ZB436USMH</ysdcregsig>\n            <ysdcmrc>2b60f37f175c7c</ysdcmrc>\n            <ysdcmrctim>2023/07/24 09:22:26</ysdcmrctim>\n            <ysdctime>2023/07/24 09:22:26</ysdctime>\n            <flag>INVOICE</flag>\n            <ysdcitems>1</ysdcitems>\n        </mesaage>\n        <qr_code>https://verification.vat-gh.com?data=udwCsHNJ1LsF6ljeIIdEdQ1V4srsHpIKgqfS/yD/2/dnhRdAUrVqY5Vjl/0aILYHhInrdV8UgPEBfsejr+beh/l9YlE/1v4d1J4r8k73NpamuM3rTuqyHH78WFgMR5Qe1yThqqcFZn3+7lsEdk2Xt82hGwXU+PyjxVS2RwtlZAmWK4q/aK0E95RPHULfaAzDdXMs1UM0FRxqG37kzTwLAA==&amp;v=1.0</qr_code>\n        <status>SUCCESS</status>\n    </response>\n</ResponseDto>"}],"_postman_id":"c9129c73-c25b-4cae-b863-bf2be3047d41"},{"name":"PURCHASE","id":"4a23b6bb-2c58-42b4-8b24-921d1df38e7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"security_key","value":"sWJl8Xl7lXKBK5VIHnGxdG0IooBOSK1AZ9Q3iO/1XzOBgSNExxVcfESJttvwApL7","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"currency\": \"GHS\",\r\n    \"exchangeRate\": 1.0,\r\n    \"invoiceNumber\": \"NS230818-9X00001\",\r\n    \"totalLevy\": 63.99,\r\n    \"userName\": \"Kofi Ghana\",\r\n    \"flag\": \"PURCHASE\",\r\n    \"calculationType\": \"INCLUSIVE\",\r\n    \"totalVat\": 169.57,\r\n    \"transactionDate\": \"2023-07-24T08:43:28Z\",\r\n    \"totalAmount\": 1300.0,\r\n    \"voucherAmount\": 0.0,\r\n    \"businessPartnerName\": \"fred(cash customer)\",\r\n    \"businessPartnerTin\": \"C0000000000\",\r\n    \"saleType\": \"NORMAL\",\r\n    \"discountType\": \"GENERAL\",\r\n    \"discountAmount\": 0.0,\r\n    \"reference\": \"\",\r\n    \"groupReferenceId\": \"\",\r\n    \"items\": [\r\n        {\r\n            \"itemCode\": \"TXC00389165855\",\r\n            \"itemCategory\": \"\",\r\n            \"expireDate\": \"2025-01-01\",\r\n            \"description\": \"1SFA611130R1101\",\r\n            \"quantity\": 10.0,\r\n            \"levyAmountA\": 26.66,\r\n            \"levyAmountB\": 26.66,\r\n            \"levyAmountC\": 10.66,\r\n            \"levyAmountD\": 0.0,\r\n            \"levyAmountE\": 0.0,\r\n            \"discountAmount\": 0.0,           \r\n            \"batchCode\": \"\",\r\n            \"unitPrice\": 130.0\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/invoice","urlObject":{"path":["C0003314324-007","invoice"],"host":["https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer"],"query":[],"variable":[]}},"response":[{"id":"4157da4b-e363-46d3-8248-bb57d4f16567","name":"JSON_SUCCESS","originalRequest":{"method":"POST","header":[{"key":"security_key","value":"sWJl8Xl7lXKBK5VIHnGxdG0IooBOSK1AZ9Q3iO/1XzOBgSNExxVcfESJttvwApL7","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"currency\": \"GHS\",\r\n    \"exchangeRate\": 1.0,\r\n    \"invoiceNumber\": \"NS230818-9X00001\",\r\n    \"totalLevy\": 63.99,\r\n    \"userName\": \"Kofi Ghana\",\r\n    \"flag\": \"PURCHASE\",\r\n    \"calculationType\": \"INCLUSIVE\",\r\n    \"totalVat\": 169.57,\r\n    \"transactionDate\": \"2023-07-24T08:43:28Z\",\r\n    \"totalAmount\": 1300.0,\r\n    \"voucherAmount\": 0.0,\r\n    \"businessPartnerName\": \"fred(cash customer)\",\r\n    \"businessPartnerTin\": \"C0000000000\",\r\n    \"saleType\": \"NORMAL\",\r\n    \"discountType\": \"GENERAL\",\r\n    \"discountAmount\": 0.0,\r\n    \"reference\": \"\",\r\n    \"groupReferenceId\": \"\",\r\n    \"purchaseOrderReference\": \"\",\r\n    \"items\": [\r\n        {\r\n            \"itemCode\": \"TXC00389165855\",\r\n            \"itemCategory\": \"\",\r\n            \"expireDate\": \"2025-01-01\",\r\n            \"description\": \"1SFA611130R1101\",\r\n            \"quantity\": 10.0,\r\n            \"levyAmountA\": 26.66,\r\n            \"levyAmountB\": 26.66,\r\n            \"levyAmountC\": 10.66,\r\n            \"levyAmountD\": 0.0,\r\n            \"levyAmountE\": 0.0,\r\n            \"discountAmount\": 0.0,           \r\n            \"batchCode\": \"\",\r\n            \"unitPrice\": 130.0\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/invoice"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Keep-Alive","value":"timeout=20"},{"key":"Content-Type","value":"application/json"},{"key":"X-Powered-By","value":"ARR/3.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Mon, 24 Jul 2023 09:55:18 GMT"},{"key":"Content-Length","value":"311"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"distributor_tin\": \"C0034186913\",\n        \"mesaage\": {\n            \"num\": \"1225299\",\n            \"ysdcid\": \"EV-260623-001\",\n            \"ysdcrecnum\": \"27\",\n            \"ysdcintdata\": \"\",\n            \"ysdcregsig\": \"\",\n            \"ysdcmrc\": \"2b60f37f175c7c\",\n            \"ysdcmrctim\": \"2023/07/24 09:55:18\",\n            \"ysdctime\": \"2023/07/24 09:55:18\",\n            \"flag\": \"PURCHASE\",\n            \"ysdcitems\": \"1\"\n        },\n        \"qr_code\": \"\",\n        \"status\": \"SUCCESS\"\n    }\n}"},{"id":"6f3c6aaf-bb90-4eac-8354-08a6803b8c5a","name":"XML_SUCCESS","originalRequest":{"method":"POST","header":[{"key":"security_key","value":"sWJl8Xl7lXKBK5VIHnGxdG0IooBOSK1AZ9Q3iO/1XzOBgSNExxVcfESJttvwApL7","type":"text"},{"key":"Accept","value":"application/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\r\n<root>\r\n  <currency>GHS</currency>\r\n  <exchangeRate>1</exchangeRate>\r\n  <invoiceNumber>991225299</invoiceNumber>\r\n  <totalLevy>60</totalLevy>\r\n  <userName>Kofi Ghana</userName>\r\n  <flag>PURCHASE</flag>\r\n  <totalVat>159</totalVat>\r\n  <transactionDate>2023-07-17T00:00:00Z</transactionDate>\r\n  <totalAmount>1219</totalAmount>\r\n  <voucherAmount>0</voucherAmount>\r\n  <businessPartnerName>China Mall</businessPartnerName>\r\n  <businessPartnerTin>C0007222092</businessPartnerTin>\r\n  <saleType>NORMAL</saleType>\r\n  <discountType/>\r\n  <discountAmount>0</discountAmount>\r\n  <reference></reference>\r\n  <groupReferenceId></groupReferenceId>\r\n  <items>\r\n    <itemCode>TXC00974016948</itemCode>\r\n    <itemCategory></itemCategory>\r\n    <expireDate/>\r\n    <description>ROD-CONN, STAB RH</description>\r\n    <quantity>10</quantity>\r\n    <levyAmountA>25</levyAmountA>\r\n    <levyAmountB>25</levyAmountB>\r\n    <levyAmountC>10</levyAmountC>\r\n    <levyAmountD>0</levyAmountD>\r\n    <levyAmountE>0</levyAmountE>\r\n    <discountAmount>0</discountAmount>\r\n    <taxCode>B</taxCode>\r\n    <batchCode></batchCode>\r\n    <unitPrice>121.9</unitPrice>\r\n    <taxRate>15</taxRate>\r\n  </items>\r\n</root>","options":{"raw":{"language":"xml"}}},"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/invoice"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Keep-Alive","value":"timeout=20"},{"key":"Content-Type","value":"application/xml"},{"key":"X-Powered-By","value":"ARR/3.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Mon, 24 Jul 2023 09:57:36 GMT"},{"key":"Content-Length","value":"447"}],"cookie":[],"responseTime":null,"body":"<ResponseDto>\n    <response>\n        <distributor_tin>C0034186913</distributor_tin>\n        <mesaage>\n            <num>991225299</num>\n            <ysdcid>EV-260623-001</ysdcid>\n            <ysdcrecnum>28</ysdcrecnum>\n            <ysdcintdata></ysdcintdata>\n            <ysdcregsig></ysdcregsig>\n            <ysdcmrc>2b60f37f175c7c</ysdcmrc>\n            <ysdcmrctim>2023/07/24 09:57:36</ysdcmrctim>\n            <ysdctime>2023/07/24 09:57:36</ysdctime>\n            <flag>PURCHASE</flag>\n            <ysdcitems>1</ysdcitems>\n        </mesaage>\n        <qr_code></qr_code>\n        <status>SUCCESS</status>\n    </response>\n</ResponseDto>"}],"_postman_id":"4a23b6bb-2c58-42b4-8b24-921d1df38e7c"},{"name":"PURCHASE RETURN","id":"8ffe9db7-5ea2-4b47-a586-d2b172ce85c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"security_key","value":"sWJl8Xl7lXKBK5VIHnGxdG0IooBOSK1AZ9Q3iO/1XzOBgSNExxVcfESJttvwApL7","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"currency\": \"GHS\",\r\n    \"exchangeRate\": 1.0,\r\n    \"invoiceNumber\": \"NS230818-9X00001\",\r\n    \"totalLevy\": 63.99,\r\n    \"userName\": \"Kofi Ghana\",\r\n    \"flag\": \"PURCHASE_RETURN\",\r\n    \"calculationType\": \"INCLUSIVE\",\r\n    \"totalVat\": 169.57,\r\n    \"transactionDate\": \"2023-07-24T08:43:28Z\",\r\n    \"totalAmount\": 1300.0,\r\n    \"voucherAmount\": 0.0,\r\n    \"businessPartnerName\": \"fred(cash customer)\",\r\n    \"businessPartnerTin\": \"C0000000000\",\r\n    \"saleType\": \"NORMAL\",\r\n    \"discountType\": \"GENERAL\",\r\n    \"discountAmount\": 0.0,\r\n    \"reference\": \"PR230724-X00002\",\r\n    \"groupReferenceId\": \"\",\r\n    \"items\": [\r\n        {\r\n            \"itemCode\": \"TXC00389165855\",\r\n            \"itemCategory\": \"\",\r\n            \"expireDate\": \"2025-01-01\",\r\n            \"description\": \"1SFA611130R1101\",\r\n            \"quantity\": 10.0,\r\n            \"levyAmountA\": 26.66,\r\n            \"levyAmountB\": 26.66,\r\n            \"levyAmountC\": 10.66,\r\n            \"levyAmountD\": 0.0,\r\n            \"levyAmountE\": 0.0,\r\n            \"discountAmount\": 0.0,           \r\n            \"batchCode\": \"\",\r\n            \"unitPrice\": 130.0\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/invoice","urlObject":{"path":["C0003314324-007","invoice"],"host":["https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer"],"query":[],"variable":[]}},"response":[{"id":"44e5bdb9-7c71-44b5-bdc0-bcee6610dec9","name":"JSON_SUCCESS","originalRequest":{"method":"POST","header":[{"key":"security_key","value":"sWJl8Xl7lXKBK5VIHnGxdG0IooBOSK1AZ9Q3iO/1XzOBgSNExxVcfESJttvwApL7","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"currency\": \"GHS\",\r\n    \"exchangeRate\": 1.0,\r\n    \"invoiceNumber\": \"NS230818-9X00001\",\r\n    \"totalLevy\": 63.99,\r\n    \"userName\": \"Kofi Ghana\",\r\n    \"flag\": \"PURCHASE_RETURN\",\r\n    \"calculationType\": \"INCLUSIVE\",\r\n    \"totalVat\": 169.57,\r\n    \"transactionDate\": \"2023-07-24T08:43:28Z\",\r\n    \"totalAmount\": 1300.0,\r\n    \"voucherAmount\": 0.0,\r\n    \"businessPartnerName\": \"fred(cash customer)\",\r\n    \"businessPartnerTin\": \"C0000000000\",\r\n    \"saleType\": \"NORMAL\",\r\n    \"discountType\": \"GENERAL\",\r\n    \"discountAmount\": 0.0,\r\n    \"reference\": \"PR230724-X00002\",\r\n    \"groupReferenceId\": \"\",\r\n    \"items\": [\r\n        {\r\n            \"itemCode\": \"TXC00389165855\",\r\n            \"itemCategory\": \"\",\r\n            \"expireDate\": \"2025-01-01\",\r\n            \"description\": \"1SFA611130R1101\",\r\n            \"quantity\": 10.0,\r\n            \"levyAmountA\": 26.66,\r\n            \"levyAmountB\": 26.66,\r\n            \"levyAmountC\": 10.66,\r\n            \"levyAmountD\": 0.0,\r\n            \"levyAmountE\": 0.0,\r\n            \"discountAmount\": 0.0,           \r\n            \"batchCode\": \"\",\r\n            \"unitPrice\": 130.0\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/invoice"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Keep-Alive","value":"timeout=20"},{"key":"Content-Type","value":"application/json"},{"key":"X-Powered-By","value":"ARR/3.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Mon, 24 Jul 2023 09:55:18 GMT"},{"key":"Content-Length","value":"311"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"distributor_tin\": \"C0034186913\",\n        \"mesaage\": {\n            \"num\": \"1225299\",\n            \"ysdcid\": \"EV-260623-001\",\n            \"ysdcrecnum\": \"27\",\n            \"ysdcintdata\": \"\",\n            \"ysdcregsig\": \"\",\n            \"ysdcmrc\": \"2b60f37f175c7c\",\n            \"ysdcmrctim\": \"2023/07/24 09:55:18\",\n            \"ysdctime\": \"2023/07/24 09:55:18\",\n            \"flag\": \"PURCHASE\",\n            \"ysdcitems\": \"1\"\n        },\n        \"qr_code\": \"\",\n        \"status\": \"SUCCESS\"\n    }\n}"},{"id":"f99128a2-a0ca-4364-895a-85b856a60fc1","name":"XML_SUCCESS","originalRequest":{"method":"POST","header":[{"key":"security_key","value":"sWJl8Xl7lXKBK5VIHnGxdG0IooBOSK1AZ9Q3iO/1XzOBgSNExxVcfESJttvwApL7","type":"text"},{"key":"Accept","value":"application/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\r\n<root>\r\n\t<currency>GHS</currency>\r\n\t<exchangeRate>1</exchangeRate>\r\n\t<invoiceNumber>NS230818-9X00001</invoiceNumber>\r\n\t<totalLevy>63.99</totalLevy>\r\n\t<userName>Kofi Ghana</userName>\r\n\t<flag>PURCHASE_RETURN</flag>\r\n\t<calculationType>INCLUSIVE</calculationType>\r\n\t<totalVat>169.57</totalVat>\r\n\t<transactionDate>2023-07-24T08:43:28Z</transactionDate>\r\n\t<totalAmount>1300</totalAmount>\r\n\t<voucherAmount>0</voucherAmount>\r\n\t<businessPartnerName>fred(cash customer)</businessPartnerName>\r\n\t<businessPartnerTin>C0000000000</businessPartnerTin>\r\n\t<saleType>NORMAL</saleType>\r\n\t<discountType>GENERAL</discountType>\r\n\t<discountAmount>0</discountAmount>\r\n\t<reference>PR230724-X00002</reference>\r\n\t<groupReferenceId></groupReferenceId>\r\n\t<items>\r\n\t\t<itemCode>TXC00389165855</itemCode>\r\n\t\t<itemCategory></itemCategory>\r\n\t\t<expireDate>2025-01-01</expireDate>\r\n\t\t<description>1SFA611130R1101</description>\r\n\t\t<quantity>10</quantity>\r\n\t\t<levyAmountA>26.66</levyAmountA>\r\n\t\t<levyAmountB>26.66</levyAmountB>\r\n\t\t<levyAmountC>10.66</levyAmountC>\r\n\t\t<levyAmountD>0</levyAmountD>\r\n\t\t<levyAmountE>0</levyAmountE>\r\n\t\t<discountAmount>0</discountAmount>\r\n\t\t<batchCode></batchCode>\r\n\t\t<unitPrice>130</unitPrice>\r\n\t</items>\r\n</root>","options":{"raw":{"language":"xml"}}},"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/invoice"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Keep-Alive","value":"timeout=20"},{"key":"Content-Type","value":"application/xml"},{"key":"X-Powered-By","value":"ARR/3.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Mon, 24 Jul 2023 09:57:36 GMT"},{"key":"Content-Length","value":"447"}],"cookie":[],"responseTime":null,"body":"<ResponseDto>\n    <response>\n        <distributor_tin>C0034186913</distributor_tin>\n        <mesaage>\n            <num>991225299</num>\n            <ysdcid>EV-260623-001</ysdcid>\n            <ysdcrecnum>28</ysdcrecnum>\n            <ysdcintdata></ysdcintdata>\n            <ysdcregsig></ysdcregsig>\n            <ysdcmrc>2b60f37f175c7c</ysdcmrc>\n            <ysdcmrctim>2023/07/24 09:57:36</ysdcmrctim>\n            <ysdctime>2023/07/24 09:57:36</ysdctime>\n            <flag>PURCHASE</flag>\n            <ysdcitems>1</ysdcitems>\n        </mesaage>\n        <qr_code></qr_code>\n        <status>SUCCESS</status>\n    </response>\n</ResponseDto>"}],"_postman_id":"8ffe9db7-5ea2-4b47-a586-d2b172ce85c5"},{"name":"REFUND","id":"27d53b2f-4287-43ad-ba92-fd2a87ed97e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"security_key","value":"sWJl8Xl7lXKBK5VIHnGxdG0IooBOSK1AZ9Q3iO/1XzOBgSNExxVcfESJttvwApL7","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"currency\": \"GHS\",\r\n    \"exchangeRate\": 1.0,\r\n    \"invoiceNumber\": \"NS230724-X000002\",\r\n    \"totalLevy\": 30.00,\r\n    \"userName\": \"Kofi Ghana\",\r\n    \"flag\": \"REFUND\",\r\n    \"calculationType\": \"INCLUSIVE\",\r\n    \"totalVat\": 79.50,\r\n    \"transactionDate\": \"2023-07-24T09:43:22\",\r\n    \"totalAmount\": 609.50,\r\n    \"voucherAmount\": 0.0,\r\n    \"businessPartnerName\": \"ohene Akwasi\",\r\n    \"businessPartnerTin\": \"GHA-009977890-0\",\r\n    \"saleType\": \"NORMAL\",\r\n    \"discountType\": \"GENERAL\",\r\n    \"discountAmount\": 0.00,\r\n    \"reference\": \"RF230724-X00002\",\r\n    \"groupReferenceId\": \"\",\r\n    \"items\": [\r\n        {\r\n            \"itemCode\": \"TXC00271018229\",\r\n            \"itemCategory\": \"\",\r\n            \"expireDate\": null,\r\n            \"description\": \"A27040652-WHEEL CYLINDER MAJOR\",\r\n            \"quantity\": 1.00000,\r\n            \"levyAmountA\": 12.50,\r\n            \"levyAmountB\": 12.50,\r\n            \"levyAmountC\": 5.00,\r\n            \"levyAmountD\": 0.00,\r\n            \"levyAmountE\": 0.00,\r\n            \"discountAmount\": 0.00,\r\n            \"batchCode\": \"\",\r\n            \"unitPrice\": 609.5\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/invoice","urlObject":{"path":["C0003314324-007","invoice"],"host":["https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer"],"query":[],"variable":[]}},"response":[{"id":"bf649279-a982-406a-ae1a-cdb0b907dafa","name":"JSON_SUCCESS","originalRequest":{"method":"POST","header":[{"key":"security_key","value":"sWJl8Xl7lXKBK5VIHnGxdG0IooBOSK1AZ9Q3iO/1XzOBgSNExxVcfESJttvwApL7","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"currency\": \"GHS\",\r\n    \"exchangeRate\": 1.0,\r\n    \"invoiceNumber\": \"NS230724-X000002\",\r\n    \"totalLevy\": 30.00,\r\n    \"userName\": \"Kofi Ghana\",\r\n    \"flag\": \"REFUND\",\r\n    \"totalVat\": 79.50,\r\n    \"transactionDate\": \"2023-07-24T09:43:22\",\r\n    \"totalAmount\": 609.50,\r\n    \"voucherAmount\": 0.0,\r\n    \"businessPartnerName\": \"ohene Akwasi\",\r\n    \"businessPartnerTin\": \"GHA-009977890-0\",\r\n    \"saleType\": \"NORMAL\",\r\n    \"discountType\": \"GENERAL\",\r\n    \"discountAmount\": 0.00,\r\n    \"reference\": \"RF230724-X00002\",\r\n    \"groupReferenceId\": \"\",\r\n    \"items\": [\r\n        {\r\n            \"itemCode\": \"TXC00271018229\",\r\n            \"itemCategory\": \"\",\r\n            \"expireDate\": null,\r\n            \"description\": \"A27040652-WHEEL CYLINDER MAJOR\",\r\n            \"quantity\": 1.00000,\r\n            \"levyAmountA\": 12.50,\r\n            \"levyAmountB\": 12.50,\r\n            \"levyAmountC\": 5.00,\r\n            \"levyAmountD\": 0.00,\r\n            \"levyAmountE\": 0.00,\r\n            \"discountAmount\": 0.00,\r\n            \"taxCode\": \"B\",\r\n            \"batchCode\": \"\",\r\n            \"unitPrice\": 609.5,\r\n            \"taxRate\": 15.00\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/invoice"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Keep-Alive","value":"timeout=20"},{"key":"Content-Type","value":"application/json"},{"key":"X-Powered-By","value":"ARR/3.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Mon, 24 Jul 2023 10:11:21 GMT"},{"key":"Content-Length","value":"621"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"distributor_tin\": \"C0034186913\",\n        \"mesaage\": {\n            \"num\": \"NS230724-X000002\",\n            \"ysdcid\": \"EV-260623-001\",\n            \"ysdcrecnum\": \"26NR\",\n            \"ysdcintdata\": \"K772XXFBF5S4JGK7CQLSX2HR2I\",\n            \"ysdcregsig\": \"BRUSFJ5KBG334EPB\",\n            \"ysdcmrc\": \"2b60f37f175c7c\",\n            \"ysdcmrctim\": \"2023/07/24 10:11:21\",\n            \"ysdctime\": \"2023/07/24 10:11:21\",\n            \"flag\": \"REFUND\",\n            \"ysdcitems\": \"1\"\n        },\n        \"qr_code\": \"https://verification.vat-gh.com?data=PvpASAXdmKGs0yiO2ahHTYcZth8am/xEOIknErKPzJmQI+y0lH0sGl3G6xTgdhvyATYCkWLm/CGQivsPYqj9Azj+AHO2ew9276zkP/2FpmLxI2ef/YUgshjBar716lH8Jutx3OwB5zbpAHZGkuJww13uaAC9Dlzg0/NcUrY8btNJ7+021AjNvbBi++JMcl4jegIadVUX+2DvBsXEKg0p3w==&v=1.0\",\n        \"status\": \"SUCCESS\"\n    }\n}"},{"id":"cbc4436c-0936-4bb0-8797-c8aff1c0ccf1","name":"XML_SUCCESS","originalRequest":{"method":"POST","header":[{"key":"security_key","value":"sWJl8Xl7lXKBK5VIHnGxdG0IooBOSK1AZ9Q3iO/1XzOBgSNExxVcfESJttvwApL7","type":"text"},{"key":"Accept","value":"application/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\r\n<root>\r\n\t<currency>GHS</currency>\r\n\t<exchangeRate>1</exchangeRate>\r\n\t<invoiceNumber>NS230724-X000002</invoiceNumber>\r\n\t<totalLevy>30</totalLevy>\r\n\t<userName>Kofi Ghana</userName>\r\n\t<flag>REFUND</flag>\r\n\t<calculationType>INCLUSIVE</calculationType>\r\n\t<totalVat>79.5</totalVat>\r\n\t<transactionDate>2023-07-24T09:43:22</transactionDate>\r\n\t<totalAmount>609.5</totalAmount>\r\n\t<voucherAmount>0</voucherAmount>\r\n\t<businessPartnerName>ohene Akwasi</businessPartnerName>\r\n\t<businessPartnerTin>GHA-009977890-0</businessPartnerTin>\r\n\t<saleType>NORMAL</saleType>\r\n\t<discountType>GENERAL</discountType>\r\n\t<discountAmount>0</discountAmount>\r\n\t<reference>RF230724-X00002</reference>\r\n\t<groupReferenceId></groupReferenceId>\r\n\t<items>\r\n\t\t<itemCode>TXC00271018229</itemCode>\r\n\t\t<itemCategory></itemCategory>\r\n\t\t<expireDate />\r\n\t\t<description>A27040652-WHEEL CYLINDER MAJOR</description>\r\n\t\t<quantity>1</quantity>\r\n\t\t<levyAmountA>12.5</levyAmountA>\r\n\t\t<levyAmountB>12.5</levyAmountB>\r\n\t\t<levyAmountC>5</levyAmountC>\r\n\t\t<levyAmountD>0</levyAmountD>\r\n\t\t<levyAmountE>0</levyAmountE>\r\n\t\t<discountAmount>0</discountAmount>\r\n\t\t<batchCode></batchCode>\r\n\t\t<unitPrice>609.5</unitPrice>\r\n\t</items>\r\n</root>","options":{"raw":{"language":"xml"}}},"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/invoice"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Keep-Alive","value":"timeout=20"},{"key":"Content-Type","value":"application/xml"},{"key":"X-Powered-By","value":"ARR/3.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Mon, 24 Jul 2023 10:19:42 GMT"},{"key":"Content-Length","value":"759"}],"cookie":[],"responseTime":null,"body":"<ResponseDto>\n    <response>\n        <distributor_tin>C0034186913</distributor_tin>\n        <mesaage>\n            <num>NS230724-X000003</num>\n            <ysdcid>EV-260623-001</ysdcid>\n            <ysdcrecnum>27NR</ysdcrecnum>\n            <ysdcintdata>KAMBQETX7X32BLXIZMYF2RCJCI</ysdcintdata>\n            <ysdcregsig>P7X6I36D74M7QOD3</ysdcregsig>\n            <ysdcmrc>2b60f37f175c7c</ysdcmrc>\n            <ysdcmrctim>2023/07/24 10:19:42</ysdcmrctim>\n            <ysdctime>2023/07/24 10:19:42</ysdctime>\n            <flag>REFUND</flag>\n            <ysdcitems>1</ysdcitems>\n        </mesaage>\n        <qr_code>https://verification.vat-gh.com?data=PvpASAXdmKGs0yiO2ahHTYcZth8am/xEOIknErKPzJmQI+y0lH0sGl3G6xTgdhvynOcdz0Kxy+3B2m4H+licRKSf+uzzr6lDHtsLN9CcsxhFkPxO/zZSLrMuu602I6lZpQAqbVFf4V9F7ODVSXAiS6e4zyeDcXtuTamb8N8+U/jTdGaH+4yfBRpzMp5159ONY8mnT3hFA2i5gZvgHsYWRA==&amp;v=1.0</qr_code>\n        <status>SUCCESS</status>\n    </response>\n</ResponseDto>"}],"_postman_id":"27d53b2f-4287-43ad-ba92-fd2a87ed97e3"},{"name":"PARTIAL REFUND","id":"63c3c6fc-c387-4f46-8f45-247b3e146dbf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"security_key","value":"sWJl8Xl7lXKBK5VIHnGxdG0IooBOSK1AZ9Q3iO/1XzOBgSNExxVcfESJttvwApL7","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"currency\": \"GHS\",\r\n    \"exchangeRate\": 1.0,\r\n    \"invoiceNumber\": \"NS230724-000004\",\r\n    \"totalLevy\": 155.56980,\r\n    \"userName\": \"Kofi Ghana\",\r\n    \"flag\": \"PARTIAL_REFUND\",\r\n    \"calculationType\": \"INCLUSIVE\",\r\n    \"totalVat\": 412.2599700,\r\n    \"transactionDate\": \"2023-07-24T10:23:45.657\",\r\n    \"totalAmount\": 3160.6597700,\r\n    \"voucherAmount\": 0.0,\r\n    \"businessPartnerName\": \"Kojo(cash customer)\",\r\n    \"businessPartnerTin\": \"C0000000000\",\r\n    \"saleType\": \"NORMAL\",\r\n    \"discountType\": \"GENERAL\",\r\n    \"discountAmount\": 0.0,\r\n    \"reference\": \"RF230724-000003\",\r\n    \"groupReferenceId\": \"\",\r\n    \"items\": [\r\n        {\r\n            \"itemCode\": \"TXC00974026621\",\r\n            \"itemCategory\": \"\",\r\n            \"expireDate\": null,\r\n            \"description\": \"N2148795F0A-MOTOR ASSY\",\r\n            \"quantity\": 1.0,\r\n            \"levyAmountA\": 64.82075,\r\n            \"levyAmountB\": 64.82075,\r\n            \"levyAmountC\": 25.9283,\r\n            \"levyAmountD\": 0.0,\r\n            \"levyAmountE\": 0.0,\r\n            \"discountAmount\": 0.00,\r\n            \"batchCode\": \"\",\r\n            \"unitPrice\": 3160.6597700,\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/invoice","urlObject":{"path":["C0003314324-007","invoice"],"host":["https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer"],"query":[],"variable":[]}},"response":[{"id":"4aca64d0-80b5-4380-b1ed-7059f9127c3e","name":"JSON_SUCCESS","originalRequest":{"method":"POST","header":[{"key":"security_key","value":"sWJl8Xl7lXKBK5VIHnGxdG0IooBOSK1AZ9Q3iO/1XzOBgSNExxVcfESJttvwApL7","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"currency\": \"GHS\",\r\n    \"exchangeRate\": 1.0,\r\n    \"invoiceNumber\": \"NS230724-000004\",\r\n    \"totalLevy\": 155.56980,\r\n    \"userName\": \"Kofi Ghana\",\r\n    \"flag\": \"PARTIAL_REFUND\",\r\n    \"totalVat\": 412.2599700,\r\n    \"transactionDate\": \"2023-07-24T10:23:45.657\",\r\n    \"totalAmount\": 3160.6597700,\r\n    \"voucherAmount\": 0.0,\r\n    \"businessPartnerName\": \"Kojo(cash customer)\",\r\n    \"businessPartnerTin\": \"C0000000000\",\r\n    \"saleType\": \"NORMAL\",\r\n    \"discountType\": \"GENERAL\",\r\n    \"discountAmount\": 0.0,\r\n    \"reference\": \"RF230724-000003\",\r\n    \"groupReferenceId\": \"\",\r\n    \"items\": [\r\n        {\r\n            \"itemCode\": \"TXC00974026621\",\r\n            \"itemCategory\": \"\",\r\n            \"expireDate\": null,\r\n            \"description\": \"N2148795F0A-MOTOR ASSY\",\r\n            \"quantity\": 1.0,\r\n            \"levyAmountA\": 64.82075,\r\n            \"levyAmountB\": 64.82075,\r\n            \"levyAmountC\": 25.9283,\r\n            \"levyAmountD\": 0.0,\r\n            \"levyAmountE\": 0.0,\r\n            \"discountAmount\": 0.00,\r\n            \"taxCode\": \"B\",\r\n            \"batchCode\": \"\",\r\n            \"unitPrice\": 3160.6597700,\r\n            \"taxRate\": 15.00\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/invoice"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Keep-Alive","value":"timeout=20"},{"key":"Content-Type","value":"application/json"},{"key":"X-Powered-By","value":"ARR/3.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Mon, 24 Jul 2023 10:29:33 GMT"},{"key":"Content-Length","value":"648"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"distributor_tin\": \"C0034186913\",\n        \"mesaage\": {\n            \"num\": \"NS230724-000004\",\n            \"ysdcid\": \"EV-260623-001\",\n            \"ysdcrecnum\": \"29NR\",\n            \"ysdcintdata\": \"LBZ63K4H6NWR73OW2NIOG7F46Y\",\n            \"ysdcregsig\": \"MJZF27M6ZEFLYLFH\",\n            \"ysdcmrc\": \"2b60f37f175c7c\",\n            \"ysdcmrctim\": \"2023/07/24 10:29:33\",\n            \"ysdctime\": \"2023/07/24 10:29:33\",\n            \"flag\": \"PARTIAL_REFUND\",\n            \"ysdcitems\": \"1\"\n        },\n        \"qr_code\": \"https://verification.vat-gh.com?data=K/1itQKOukIG/0bzvOFpxmFCFpos5Nhw7fqFmBMFpgz0kOb7VqTI0YzIr6M3oLlTJYu1oCW3W9/3SR2azM4rlH+oZEYu0X7M5X7AdCRQB0FuX/GN44/LNN+9BEvvfojCyFiY1qO+h12r9bw7OyNPeb7NqnF0JzclnxR8NW9uS/D0GowpCbNqCE6QcNkdJKy/tpVKKj992pObjmxvJiq4FaviFe4fipElJFvG4Gl2zc8=&v=1.0\",\n        \"status\": \"SUCCESS\"\n    }\n}"},{"id":"dfed50d8-6b47-4c9f-8a1c-70606777f5cb","name":"XML_SUCCESS","originalRequest":{"method":"POST","header":[{"key":"security_key","value":"sWJl8Xl7lXKBK5VIHnGxdG0IooBOSK1AZ9Q3iO/1XzOBgSNExxVcfESJttvwApL7","type":"text"},{"key":"Accept","value":"application/xml","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\r\n<root>\r\n\t<currency>GHS</currency>\r\n\t<exchangeRate>1</exchangeRate>\r\n\t<invoiceNumber>NS230724-000004</invoiceNumber>\r\n\t<totalLevy>155.5698</totalLevy>\r\n\t<userName>Kofi Ghana</userName>\r\n\t<flag>PARTIAL_REFUND</flag>\r\n\t<calculationType>INCLUSIVE</calculationType>\r\n\t<totalVat>412.25997</totalVat>\r\n\t<transactionDate>2023-07-24T10:23:45.657</transactionDate>\r\n\t<totalAmount>3160.65977</totalAmount>\r\n\t<voucherAmount>0</voucherAmount>\r\n\t<businessPartnerName>Kojo(cash customer)</businessPartnerName>\r\n\t<businessPartnerTin>C0000000000</businessPartnerTin>\r\n\t<saleType>NORMAL</saleType>\r\n\t<discountType>GENERAL</discountType>\r\n\t<discountAmount>0</discountAmount>\r\n\t<reference>RF230724-000003</reference>\r\n\t<groupReferenceId></groupReferenceId>\r\n\t<items>\r\n\t\t<itemCode>TXC00974026621</itemCode>\r\n\t\t<itemCategory></itemCategory>\r\n\t\t<expireDate />\r\n\t\t<description>N2148795F0A-MOTOR ASSY</description>\r\n\t\t<quantity>1</quantity>\r\n\t\t<levyAmountA>64.82075</levyAmountA>\r\n\t\t<levyAmountB>64.82075</levyAmountB>\r\n\t\t<levyAmountC>25.9283</levyAmountC>\r\n\t\t<levyAmountD>0</levyAmountD>\r\n\t\t<levyAmountE>0</levyAmountE>\r\n\t\t<discountAmount>0</discountAmount>\r\n\t\t<batchCode></batchCode>\r\n\t\t<unitPrice>3160.65977</unitPrice>\r\n\t</items>\r\n</root>","options":{"raw":{"language":"xml"}}},"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/invoice"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Keep-Alive","value":"timeout=20"},{"key":"Content-Type","value":"application/xml"},{"key":"X-Powered-By","value":"ARR/3.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Mon, 24 Jul 2023 10:32:43 GMT"},{"key":"Content-Length","value":"786"}],"cookie":[],"responseTime":null,"body":"<ResponseDto>\n    <response>\n        <distributor_tin>C0034186913</distributor_tin>\n        <mesaage>\n            <num>NS230724-000004</num>\n            <ysdcid>EV-260623-001</ysdcid>\n            <ysdcrecnum>30NR</ysdcrecnum>\n            <ysdcintdata>TNDUTPYM62XMSCH6DUCTR5P644</ysdcintdata>\n            <ysdcregsig>JAPUBROHHDH3524G</ysdcregsig>\n            <ysdcmrc>2b60f37f175c7c</ysdcmrc>\n            <ysdcmrctim>2023/07/24 10:32:43</ysdcmrctim>\n            <ysdctime>2023/07/24 10:32:43</ysdctime>\n            <flag>PARTIAL_REFUND</flag>\n            <ysdcitems>1</ysdcitems>\n        </mesaage>\n        <qr_code>https://verification.vat-gh.com?data=K/1itQKOukIG/0bzvOFpxmFCFpos5Nhw7fqFmBMFpgz0kOb7VqTI0YzIr6M3oLlTuP54gnkJeQSaFfBJhtcH/AcHaoVyUWHLuh/1F0SS5e1P1JC5OubWj/y5S+fMG2O3FAaA7wVj1noIAcHy7TROJV77QzkX+OwF+l6Jt41ZPDFXfc34byhYnVP/yBiG2Wr67BsNeOS1lwOP/5Sm5fuLVWqdEKOSR+GSnXPZVzI2i/A=&amp;v=1.0</qr_code>\n        <status>SUCCESS</status>\n    </response>\n</ResponseDto>"}],"_postman_id":"63c3c6fc-c387-4f46-8f45-247b3e146dbf"},{"name":"HEALTH CHECK","id":"3c381f94-5be4-4f16-ab21-87dcf032b46f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"security_key","value":"sWJl8Xl7lXKBK5VIHnGxdG0IooBOSK1AZ9Q3iO/1XzOBgSNExxVcfESJttvwApL7","type":"text"}],"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/health","urlObject":{"path":["C0003314324-007","health"],"host":["https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer"],"query":[],"variable":[]}},"response":[{"id":"b23be3e6-0425-4329-9c25-fa4868a3a454","name":"JSON_SUCCESS","originalRequest":{"method":"GET","header":[{"key":"security_key","value":"sWJl8Xl7lXKBK5VIHnGxdG0IooBOSK1AZ9Q3iO/1XzOBgSNExxVcfESJttvwApL7","type":"text"}],"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/health"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Keep-Alive","value":"timeout=20"},{"key":"Content-Type","value":"application/json"},{"key":"X-Powered-By","value":"ARR/3.0"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 30 Aug 2023 12:49:08 GMT"},{"key":"Content-Length","value":"15"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"UP\"\n}"},{"id":"17f1c7bd-f538-44c5-a99e-d53370c9e44c","name":"XML_SUCCESS","originalRequest":{"method":"GET","header":[{"key":"security_key","value":"sWJl8Xl7lXKBK5VIHnGxdG0IooBOSK1AZ9Q3iO/1XzOBgSNExxVcfESJttvwApL7","type":"text"}],"url":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer/C0003314324-007/health"},"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","name":"Content-Type","value":"application/xml","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"<ResponseDto>\n    <status>UP</status>\n</ResponseDto>"}],"_postman_id":"3c381f94-5be4-4f16-ab21-87dcf032b46f"}],"event":[{"listen":"prerequest","script":{"id":"ecc25fbd-7886-4974-aa81-290809b54b0e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"44eba17d-e02a-4d64-896d-5eaa18b2988b","type":"text/javascript","exec":[""]}}],"variable":[{"key":"Host","value":"https://vsdcstaging.vat-gh.com/vsdc/api/v1/taxpayer","type":"string"},{"key":"security_key","value":"sWJl8Xl7lXKBK5VIHnGxdG0IooBOSK1AZ9Q3iO/1XzOBgSNExxVcfESJttvwApL7","type":"string"},{"key":"Company_Reference","value":"C0003314324-007","type":"string"},{"key":"VSDC_ID","value":"EV-260623-001","type":"string"},{"key":"Vault_Host","value":"https://vsdcstaging.vat-gh.com/vault/api/v1/application","type":"string"},{"key":"Company_Tin","value":"CXX000000YY","type":"string"},{"key":"Branch_Code","value":"001","type":"string"}]}