{"info":{"_postman_id":"1da9e087-7dfb-4d19-91d5-319635015f93","name":"1Nvoice.net API","description":"<html><head></head><body><p>Current version: <strong>1.0</strong></p>\n<p>1NVOICE.NET, aligned with BIR’s electronic invoicing initiatives, offers a modern electronic invoice solution for streamlined tax compliance and reporting in the Philippines. Designed for efficiency, security, and real-time processing, it empowers businesses to automate invoicing and meet government standards while supporting the country’s digital transformation.</p>\n<p>We, as one of the leading Computerized Accounting System (CAS) and Tax Services provider here in the Philippines, created 1Nvoice API to assist our clients in transitioning their legacy system to CAS.</p>\n<p>Our APIs includes the following:</p>\n<p><strong>Authentication</strong> - An endpoint to establish secure connection between our client and our server</p>\n<p><strong>Invoice Sending</strong> - An endpoint to encode and view Invoice transactions</p>\n<p>The API can be access via the URL : <a href=\"https://1nvoice.net/api\">https://1nvoice.net/api</a></p>\n<p>Update History:</p>\n<ul>\n<li>v 1.0 ( 10/26/2024 ) - Initial Documentation for the API</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"1237913","collectionId":"1da9e087-7dfb-4d19-91d5-319635015f93","publishedId":"2sAYdipW34","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-03-04T08:09:43.000Z"},"item":[{"name":"Invoice","item":[{"name":"View Invoice List","id":"1b08877c-5af4-45c5-8a35-135903d787ce","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[{"key":"token","value":"743c6c2bca6ae1867c80db6df7d2411ae19be7d4cfba219e88de3c35d527c8b1e0dc9ffcb07b20d3f5398bcbadea35090684b577608fa16faa83cfe0e08a1615c417dbe9ef8fedabec8dc3aad2c6e08de7d0aea3ae5443b18ec8da537bf220f3","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://1nvoice.net/api/api/resources/v1/invoice/list/1","description":"<p>- Return list of invoices per page</p>\n<p><strong>Pre-requisite</strong>:</p>\n<p>Header</p>\n<ul>\n<li>token generated from <strong>auth</strong> endpoint</li>\n</ul>\n<p>URL</p>\n<ul>\n<li>page number</li>\n</ul>\n<p>Request Parameter</p>\n<ul>\n<li>transmitno - transmit number</li>\n</ul>\n<p>The following fields are returned :</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>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>TransmitNo</td>\n<td>String</td>\n<td>YES</td>\n<td>Transmit number generated after data transmission</td>\n</tr>\n<tr>\n<td>TransmitDate</td>\n<td>Date</td>\n<td>YES</td>\n<td>Datetime information of transmission</td>\n</tr>\n<tr>\n<td>BranchID</td>\n<td>String</td>\n<td>YES</td>\n<td>Branch number</td>\n</tr>\n<tr>\n<td>InvoiceNo</td>\n<td>String</td>\n<td>NO</td>\n<td>Invoice number</td>\n</tr>\n<tr>\n<td>TxnID</td>\n<td>String</td>\n<td>YES</td>\n<td>Transaction reference number</td>\n</tr>\n<tr>\n<td>TxnDate</td>\n<td>Date</td>\n<td>YES</td>\n<td>Transaction Date ( format: yyyy-MM-dd )</td>\n</tr>\n<tr>\n<td>Customer</td>\n<td>String</td>\n<td>YES</td>\n<td>Customer Name</td>\n</tr>\n<tr>\n<td>InvoiceStatus</td>\n<td>String</td>\n<td>YES</td>\n<td>Status of document ( PENDING,PAID,CANCELLED)</td>\n</tr>\n<tr>\n<td>GrossAmt</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>Total Gross Amount</td>\n</tr>\n<tr>\n<td>TaxableAmt</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Total taxable amount</td>\n</tr>\n<tr>\n<td>ExemptAmt</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Total exempt amount</td>\n</tr>\n<tr>\n<td>VAT</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Total VAT amount</td>\n</tr>\n<tr>\n<td>PaidAmt</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>Total Paid amount</td>\n</tr>\n<tr>\n<td>GrandTotal</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Grand Total</td>\n</tr>\n<tr>\n<td>InvoiceURL</td>\n<td>String</td>\n<td>NO</td>\n<td>URL for the Invoice PDF</td>\n</tr>\n</tbody>\n</table>\n</div><p>Note:</p>\n<ul>\n<li><p><em>A token is required to submit request</em></p>\n</li>\n<li><p>Transaction response is encrypted. Use the secret key to decrypt response (AES256)</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"1da9e087-7dfb-4d19-91d5-319635015f93","id":"1da9e087-7dfb-4d19-91d5-319635015f93","name":"1Nvoice.net API","type":"collection"}},"urlObject":{"path":["api","resources","v1","invoice","list","1"],"host":["https://1nvoice.net/api"],"query":[],"variable":[]}},"response":[{"id":"74243d02-4714-4aac-beb4-28941594690e","name":"Invoice List","originalRequest":{"method":"GET","header":[{"key":"token","value":"743c6c2bca6ae1867c80db6df7d2411ae19be7d4cfba219e88de3c35d527c8b1e0dc9ffcb07b20d3f5398bcbadea350904ae9f6be0f1c51fd7bbe1f950bc39ab4d9aaa3cb2e37b250c0ab5a9256ec77be33d16f69ce52f95afd0fda2aea56331","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://1nvoice.net/api/resources/v1/invoice/list/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Payara Server  5.2020.2 #badassfish"},{"key":"X-Powered-By","value":"Servlet/4.0 JSP/2.3 (Payara Server  5.2020.2 #badassfish Java/Oracle Corporation/1.8)"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1896"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"payload\": \"uEoeC1PpbScgxCqxSzzCQlMp53rtPepf4kR3+hx7/0GCtDTixfIbKcyYs1kQ+MopO/y0n8DFwHbecZD6/FFWrNRardsC8qyBrmqc2TkPbVY9loNWqp9GY/Qa0lmwI7qflwp6MfHz5iLpwRD0s1P3JITl9Jrb6JHqi9gRrlcmr/Emuk9uo3B6qGqrLaHqXaZhbcmrBL9fWmr/JcyATXkEGQk4HLl/aMVEVlpSt2nbXiHFVkH7a952d8oAmBEemJCRAJun+gp6K3jCqwRUs6PN4GnpB4XPa4RLDVj/RixUTU1zHD66afhg2MKYz9mtSDjHV+D6ie31rg4Ude/eYtFrr0A13cdvPNPB9NLLhttQhn517UsKN0XfPUHzFDBxhXivOLS7Onq+2pYPjPyc7KNoxUaUi2vUYFJAYEcbDbno5hjX5Gfl9P3hyO+skr6bsNKfVxUiAhcrwsHtGoW+20KrKqhOVu6+DCbpD9KoUhIu6QCY0wL1wD1j+hShV6G40QmjzNVSuc8+eYbdBHx5uRv5xDSLwKQl9T/acsKX8B0gxmv62yeGEdyoSKDb0o1fyltxbzu7Za20tmUn9BwA49aR7ovOUWH45o/yR9NrMHrkhMLun5iR6f/Uh67eY1BBiBe3JA8HgSckh5BbxCrbu7iIRcTs/tn5GeYNz6cRaNA0Xq7mk8zYkNmmovijw/grgVhpnO/TvIbJMzqMuPIjeyVfD47lSJbpIq+uySmRvvvJinPrXFc2ikx1XaEjlmX8lbT1tP7ujhpjAiojoy48fle0Q6bFsXhRrDGk1LtskYLoWVLaZB1p+or2Uy7g5OO+W/2rb2fzJy0+pVdhs0ImwlBuNlOzlbIVNAP1jAI6rfcxzi0+3haM5RinsodKTQxAdyCp8pPje2n5gfDGA1Uq9qC9OLql5Ae/QuJKH6ksQ/SqN2ro2+mBRxrK4tD301gXEVnRDboh8bOpDyf8FJJoIUPdS3Up7NrxNuQVvlM31Mfv+63q/p02ZON4DiXZpZng8XUlrknlpZXqTnLn6ytY79Cj5drw7pgLGPXQJdbn01ioGDNSLS5MzrCf6Zdvqxb5miR39WLwq49sC08v690PyM1ScV9kDcVyKYoL95QlD4195OvDeuAKplhotraKH0OKhUIpS2fZ3kpjbmD3lY0TsqI/hDqVYZ0j6diQKvTeh6Qv+Qb+Yzrd2sGgcJ0/GMwvgaVj6bARsQOXXdhIKlPMbBXfBjQiEpXXB3Ch4U7gAL9gEvu7rwB1+DdOiW/IxeR/2MNLy62Diqizp8GJpPHClIAYmiug6f4T4rdFtPZJPbyubcfcWaBPGCEaICeByYldjNsUZAtyL1V1X45oMp/eRBTh10+obNgr7xqs7CXunGk/sV3LrYOKqLOnwYmk8cKUgBiacsbjE/XpGVT1X+6EIRHYN2eP5XeBuf6D7iJJ3NGSkpoY896iyMt9gfzxEwBg7r3zYu5ubo2Vl1f+ms66MlvR5MzF2i5bs/oUfQz7cban9YH0tyXz+lU5q68wy2raJ33tqvCtJLeuIptfQPZXnvYrlPFYF3uCO0gzGO9Hasm29HVAKRt/lJ+uNnv74pPf9cNd6v6dNmTjeA4l2aWZ4PF1Ja5J5aWV6k5y5+srWO/Qo+Xa8O6YCxj10CXW59NYqBgzUi0uTM6wn+mXb6sW+Zokd/Vi8KuPbAtPL+vdD8jNUnFfZA3FcimKC/eUJQ+NfeTrw3rgCqZYaLa2ih9DioVCKUtn2d5KY25g95WNE7KiP4Q6lWGdI+nYkCr03oekL/kG/mM63drBoHCdPxjML4GlY+yh7ObLAdPQGWvBRJMNK0I=\",\n    \"code\": 200,\n    \"message\": \"Success\",\n    \"success\": true\n}"}],"_postman_id":"1b08877c-5af4-45c5-8a35-135903d787ce"},{"name":"View Invoice Details","id":"80838233-fd23-46e6-96b5-02aa2fbe9baf","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[{"key":"token","value":"743c6c2bca6ae1867c80db6df7d2411ae19be7d4cfba219e88de3c35d527c8b1e0dc9ffcb07b20d3f5398bcbadea35090684b577608fa16faa83cfe0e08a1615c417dbe9ef8fedabec8dc3aad2c6e08de7d0aea3ae5443b18ec8da537bf220f3","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://1nvoice.net/api/resources/v1/invoice/SI240426001","description":"<p>- Return list of invoices per page</p>\n<p><strong>Pre-requisite</strong>:</p>\n<p>Header</p>\n<ul>\n<li>token generated from <strong>auth</strong> endpoint</li>\n</ul>\n<p>URL</p>\n<ul>\n<li><p>page number</p>\n</li>\n<li><p>search (optional) - keyword to search</p>\n</li>\n</ul>\n<p>The following fields are returned :</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>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>TransmitNo</td>\n<td>String</td>\n<td>YES</td>\n<td>Transmit number generated after data transmission</td>\n</tr>\n<tr>\n<td>TransmitDate</td>\n<td>Date</td>\n<td>YES</td>\n<td>Datetime information of transmission</td>\n</tr>\n<tr>\n<td>BranchID</td>\n<td>String</td>\n<td>YES</td>\n<td>Branch number</td>\n</tr>\n<tr>\n<td>InvoiceNo</td>\n<td>String</td>\n<td>NO</td>\n<td>Invoice number</td>\n</tr>\n<tr>\n<td>TxnID</td>\n<td>String</td>\n<td>YES</td>\n<td>Transaction reference number</td>\n</tr>\n<tr>\n<td>TxnDate</td>\n<td>Date</td>\n<td>YES</td>\n<td>Transaction Date ( format: yyyy-MM-dd )</td>\n</tr>\n<tr>\n<td>Customer</td>\n<td>String</td>\n<td>YES</td>\n<td>Customer Name</td>\n</tr>\n<tr>\n<td>CustomerAddress</td>\n<td>String</td>\n<td>NO</td>\n<td>Customer address</td>\n</tr>\n<tr>\n<td>CustomerCity</td>\n<td>String</td>\n<td>NO</td>\n<td>Customer City</td>\n</tr>\n<tr>\n<td>CustomerZip</td>\n<td>String</td>\n<td>NO</td>\n<td>Customer Zip Code</td>\n</tr>\n<tr>\n<td>CustomerTIN</td>\n<td>String</td>\n<td>NO</td>\n<td>Customer TIN number</td>\n</tr>\n<tr>\n<td>CustomerNo</td>\n<td>String</td>\n<td>NO</td>\n<td>Customer mobile number</td>\n</tr>\n<tr>\n<td>CustomerEmail</td>\n<td>String</td>\n<td>NO</td>\n<td>Customer Email</td>\n</tr>\n<tr>\n<td>InvoiceStatus</td>\n<td>String</td>\n<td>YES</td>\n<td>Status of document ( PENDING,PAID,CANCELLED)</td>\n</tr>\n<tr>\n<td>Notes</td>\n<td>String</td>\n<td>NO</td>\n<td>Details/Remarks of transaction</td>\n</tr>\n<tr>\n<td>GrossAmt</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>Total Gross Amount</td>\n</tr>\n<tr>\n<td>TaxableAmt</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Total taxable amount</td>\n</tr>\n<tr>\n<td>ExemptAmt</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Total exempt amount</td>\n</tr>\n<tr>\n<td>VAT</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Total VAT amount</td>\n</tr>\n<tr>\n<td>PaidAmt</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>Total Paid amount</td>\n</tr>\n<tr>\n<td>SCDisc</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Senior Citizen Discount</td>\n</tr>\n<tr>\n<td>PWDDisc</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>PWD Discount</td>\n</tr>\n<tr>\n<td>SoloDisc</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Solo Parent Discount</td>\n</tr>\n<tr>\n<td>NADisc</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>National Athlete Discount</td>\n</tr>\n<tr>\n<td>DiscIDNo</td>\n<td>String</td>\n<td>NO</td>\n<td>Discount ID number</td>\n</tr>\n<tr>\n<td>DiscChildName</td>\n<td>String</td>\n<td>NO</td>\n<td>Child Name (for Solo Parent Discount)</td>\n</tr>\n<tr>\n<td>DiscChildBirthDate</td>\n<td>Date</td>\n<td>NO</td>\n<td>Child Birth Date (for Solo Parent Discount)</td>\n</tr>\n<tr>\n<td>TotalDisc</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Total discount amount</td>\n</tr>\n<tr>\n<td>MIDNo</td>\n<td>String</td>\n<td>NO</td>\n<td>Machine Identification Number</td>\n</tr>\n<tr>\n<td>TrackingNumber</td>\n<td>String</td>\n<td>NO</td>\n<td>Tracking Number</td>\n</tr>\n<tr>\n<td>ShipOption</td>\n<td>String</td>\n<td>NO</td>\n<td>Shipping Option</td>\n</tr>\n<tr>\n<td>ShipMethod</td>\n<td>String</td>\n<td>NO</td>\n<td>Shipping Method</td>\n</tr>\n<tr>\n<td>PlatformRebate</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Platform Rebate</td>\n</tr>\n<tr>\n<td>VoucherAmt</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Voucher/Coupon Amount</td>\n</tr>\n<tr>\n<td>ShippingFee</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Shipping Fee</td>\n</tr>\n<tr>\n<td>ServiceFee</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Service Fee</td>\n</tr>\n<tr>\n<td>GrandTotal</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Grand Total</td>\n</tr>\n<tr>\n<td>LineItems</td>\n<td>JSON Array</td>\n<td>YES</td>\n<td>List of Items</td>\n</tr>\n<tr>\n<td>LinePayments</td>\n<td>JSON Array</td>\n<td>YES</td>\n<td>List of Payments</td>\n</tr>\n</tbody>\n</table>\n</div><ul>\n<li>The following information composes the Detail Data (LineItems)</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ItemId</td>\n<td>String</td>\n<td>YES</td>\n<td>Item Code</td>\n</tr>\n<tr>\n<td>ItemDesc</td>\n<td>String</td>\n<td>YES</td>\n<td>Item Description</td>\n</tr>\n<tr>\n<td>Qty</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>Quantity</td>\n</tr>\n<tr>\n<td>Unit</td>\n<td>String</td>\n<td>YES</td>\n<td>Unit of measure</td>\n</tr>\n<tr>\n<td>UnitPrice</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>Unit price</td>\n</tr>\n<tr>\n<td>GrossAmt</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>Gross Amount</td>\n</tr>\n<tr>\n<td>DiscEligible</td>\n<td>Boolean</td>\n<td>YES</td>\n<td>Line item is eligible for discount</td>\n</tr>\n<tr>\n<td>TaxableAmt</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>Taxable Amount</td>\n</tr>\n<tr>\n<td>ZeroRatedAmt</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>Zero rated Amount</td>\n</tr>\n<tr>\n<td>ExemptedAmt</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>Exempt Amount</td>\n</tr>\n<tr>\n<td>VATAmt</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>VAT Amount</td>\n</tr>\n<tr>\n<td>NetSales</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>Net Amount</td>\n</tr>\n</tbody>\n</table>\n</div><ul>\n<li>The following information composes the Payment Data (LinePayments)</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>PaymentDate</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>Payment Date</td>\n</tr>\n<tr>\n<td>PaymentAmt</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>Payment Amount</td>\n</tr>\n<tr>\n<td>PaymentRef</td>\n<td>String</td>\n<td>YES</td>\n<td>Payment Reference</td>\n</tr>\n<tr>\n<td>MOP</td>\n<td>String</td>\n<td>YES</td>\n<td>Mode of Payment</td>\n</tr>\n</tbody>\n</table>\n</div><p>Note:</p>\n<ul>\n<li><p><em>A token is required to submit request</em></p>\n</li>\n<li><p>Transaction response is encrypted. Use the secret key to decrypt response (AES256)</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"1da9e087-7dfb-4d19-91d5-319635015f93","id":"1da9e087-7dfb-4d19-91d5-319635015f93","name":"1Nvoice.net API","type":"collection"}},"urlObject":{"path":["resources","v1","invoice","SI240426001"],"host":["https://1nvoice.net/api"],"query":[],"variable":[]}},"response":[{"id":"d45f3012-0d7f-4472-b30b-41f688c0ae7b","name":"Invoice Details Returned","originalRequest":{"method":"GET","header":[{"key":"token","value":"743c6c2bca6ae1867c80db6df7d2411ae19be7d4cfba219e88de3c35d527c8b1e0dc9ffcb07b20d3f5398bcbadea35090684b577608fa16faa83cfe0e08a1615c417dbe9ef8fedabec8dc3aad2c6e08de7d0aea3ae5443b18ec8da537bf220f3","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://1nvoice.net/api/api/resources/v1/invoice/SI240426001"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Payara Server  5.2020.4 #badassfish"},{"key":"X-Powered-By","value":"Servlet/4.0 JSP/2.3 (Payara Server  5.2020.4 #badassfish Java/Oracle Corporation/1.8)"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"744"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"TransmitDate\": \"2024-01-01 01:01:01.0\",\n    \"TransmitNo\": \"test\",\n    \"TransmitBy\": \"test\",\n    \"BranchID\": \"test\",\n    \"InvoiceType \": \"ITEM\",\n    \"RefNo\": \"SI240426001\",\n    \"RefDate\": \"2024-04-26\",\n    \"CustomerID\": \"CST001\",\n    \"CustomerPO\": \"PO24042601\",\n    \"TermsID\": \"30DAYS\",\n    \"VATID\": \"GOODS\",\n    \"Status\": \"APPROVED\",\n    \"Memo\": \"Sample transaction\",\n    \"TotalGross\": \"1000.0000\",\n    \"TotalDiscount\": \"0.0000\",\n    \"TotalTaxable\": \"892.8600\",\n    \"TotalZeroRated\": \"0.0000\",\n    \"TotalExempt\": \"0.0000\",\n    \"TotalVAT\": \"107.1400\",\n    \"TotalNetSales\": \"1000.0000\",\n    \"details\": [\n        {\n            \"ItemCode\": \"ITM001\",\n            \"LineDetails\": \"Test Item\",\n            \"GLType\": \"SALES\",\n            \"Qty\": \"4.0000\",\n            \"UnitPrice\": \"200.0000\",\n            \"Gross\": \"1000.0000\",\n            \"DiscountAmt \": \"0.0000\",\n            \"TaxableAmt\": \"892.8600\",\n            \"ZeroRatedAmt\": \"0.0000\",\n            \"ExemptAmt\": \"0.0000\",\n            \"VATAmt\": \"107.1400\",\n            \"NetSaleAmt\": \"1000.0000\"\n        }\n    ]\n}"}],"_postman_id":"80838233-fd23-46e6-96b5-02aa2fbe9baf"},{"name":"Add Invoices","id":"a68b724c-1f06-4e74-83c3-b5a0e9637582","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"POST","header":[{"key":"token","value":"743c6c2bca6ae1867c80db6df7d2411ae19be7d4cfba219e88de3c35d527c8b1e0dc9ffcb07b20d3f5398bcbadea35090684b577608fa16faa83cfe0e08a1615c417dbe9ef8fedabec8dc3aad2c6e08de7d0aea3ae5443b18ec8da537bf220f3","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"payload\": \"A4xUzwAUSTZU88ztLFjbv8oY7vFAyPIHhG0koPsHWEGFPLcAAPmpOqmrL+UYW8J25jrfBYX74Wt0ZmhFH6eZpYrfsCk0Bu38fj3LcU5VdKAeTOvq7o64N2jGE2ObySOaOlrU/u6GRhcxJQzEJanwNqb1/0jLu/bu1K7locukOl2kl3bVroDAP9iMQNEe2vfjwfy2+P90DL5S9pxGgJP8C7hJWeS1bM/y5WzoPo4Rbx84iLjwn6tiq9hvqC8Xg2wdnAlZ2G1GFnEBlEh7TimCnJV+9X5GCe/9cCru+6m4Gh8zbOGXaq/PYvIIaJT+wuAEB0Hgu0+Fi9g+RSc+VuHwDvOxgi4L2TPBZqp0qhbwsW+Y7DvYN8+DnhgvnH6Ah0DC2mrZS6p5UPYbECVJYjrUZtV16uYlsdniDYFa6k2kEoXZzaMg7jMMhz81voHt0wzyOxAZy7AdrKbGLi/n1FvqlAM+GOX0EoK0aQMmVHbv1BLlV2YzC57b0hfI07z6c98dApoL4Ztuv5Ivix8UEZ7GgT/9O0LdgK5ZDT+DTA5PMcHdrVM7ysF1S49IMzKR4oIlyCkdWDs8uoa5DrfGUwV36BeSfLqysEFmvcwBMfhKxADmdHzMUxlWz3a6ZDm3jkZHYktsIv8w+oiAgO/0b3vFTUm2i7fJUeLl5u/miz4kh6bQY9KKTJNwjEMQKjPqdL2fI7nIMAdlaOrK9b/amN5zQgbtx/rNzQH/7Ke/3DvmUq6SdErz/NIJzactmfFTtg64aIZyVLSQOOr4CbySiPkMs8y1VPFuMW/k5epC7NRJChEPyAL61em6xHrUCejg1me+bZip6DdefzrobtrKQRYI9ktSQmDzvCKHEKyeB+6eOeeHJ7XdUS0Kuq2Av0SE7uAL\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://1nvoice.net/api/api/resources/v1/invoice/add","description":"<p>- Write invoices to Helix System</p>\n<p><strong>Pre-requisite</strong>:</p>\n<p>Header</p>\n<ul>\n<li>token generated from <strong>auth</strong> endpoint</li>\n</ul>\n<p>The following fields composes the JSON object:</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>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>TransmitNo</td>\n<td>String</td>\n<td>YES</td>\n<td>Transmit number generated after data transmission</td>\n</tr>\n<tr>\n<td>TransmitDate</td>\n<td>Date</td>\n<td>YES</td>\n<td>Datetime information of transmission</td>\n</tr>\n<tr>\n<td>BranchID</td>\n<td>String</td>\n<td>YES</td>\n<td>Branch number</td>\n</tr>\n<tr>\n<td>InvoiceNo</td>\n<td>String</td>\n<td>NO</td>\n<td>Invoice number</td>\n</tr>\n<tr>\n<td>TxnID</td>\n<td>String</td>\n<td>YES</td>\n<td>Transaction reference number</td>\n</tr>\n<tr>\n<td>TxnDate</td>\n<td>Date</td>\n<td>YES</td>\n<td>Transaction Date ( format: yyyy-MM-dd )</td>\n</tr>\n<tr>\n<td>Customer</td>\n<td>String</td>\n<td>YES</td>\n<td>Customer Name</td>\n</tr>\n<tr>\n<td>CustomerAddress</td>\n<td>String</td>\n<td>NO</td>\n<td>Customer address</td>\n</tr>\n<tr>\n<td>CustomerCity</td>\n<td>String</td>\n<td>NO</td>\n<td>Customer City</td>\n</tr>\n<tr>\n<td>CustomerZip</td>\n<td>String</td>\n<td>NO</td>\n<td>Customer Zip Code</td>\n</tr>\n<tr>\n<td>CustomerTIN</td>\n<td>String</td>\n<td>NO</td>\n<td>Customer TIN number</td>\n</tr>\n<tr>\n<td>CustomerNo</td>\n<td>String</td>\n<td>NO</td>\n<td>Customer mobile number</td>\n</tr>\n<tr>\n<td>CustomerEmail</td>\n<td>String</td>\n<td>NO</td>\n<td>Customer Email</td>\n</tr>\n<tr>\n<td>InvoiceStatus</td>\n<td>String</td>\n<td>YES</td>\n<td>Status of document ( PENDING,PAID,CANCELLED)</td>\n</tr>\n<tr>\n<td>Notes</td>\n<td>String</td>\n<td>NO</td>\n<td>Details/Remarks of transaction</td>\n</tr>\n<tr>\n<td>GrossAmt</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>Total Gross Amount</td>\n</tr>\n<tr>\n<td>TaxableAmt</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Total taxable amount</td>\n</tr>\n<tr>\n<td>ExemptAmt</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Total exempt amount</td>\n</tr>\n<tr>\n<td>VAT</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Total VAT amount</td>\n</tr>\n<tr>\n<td>PaidAmt</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>Total Paid amount</td>\n</tr>\n<tr>\n<td>SCDisc</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Senior Citizen Discount</td>\n</tr>\n<tr>\n<td>PWDDisc</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>PWD Discount</td>\n</tr>\n<tr>\n<td>SoloDisc</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Solo Parent Discount</td>\n</tr>\n<tr>\n<td>NADisc</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>National Athlete Discount</td>\n</tr>\n<tr>\n<td>DiscIDNo</td>\n<td>String</td>\n<td>NO</td>\n<td>Discount ID number</td>\n</tr>\n<tr>\n<td>DiscChildName</td>\n<td>String</td>\n<td>NO</td>\n<td>Child Name (for Solo Parent Discount)</td>\n</tr>\n<tr>\n<td>DiscChildBirthDate</td>\n<td>Date</td>\n<td>NO</td>\n<td>Child Birth Date (for Solo Parent Discount)</td>\n</tr>\n<tr>\n<td>TotalDisc</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Total discount amount</td>\n</tr>\n<tr>\n<td>MIDNo</td>\n<td>String</td>\n<td>NO</td>\n<td>Machine Identification Number</td>\n</tr>\n<tr>\n<td>TrackingNumber</td>\n<td>String</td>\n<td>NO</td>\n<td>Tracking Number</td>\n</tr>\n<tr>\n<td>ShipOption</td>\n<td>String</td>\n<td>NO</td>\n<td>Shipping Option</td>\n</tr>\n<tr>\n<td>ShipMethod</td>\n<td>String</td>\n<td>NO</td>\n<td>Shipping Method</td>\n</tr>\n<tr>\n<td>PlatformRebate</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Platform Rebate</td>\n</tr>\n<tr>\n<td>VoucherAmt</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Voucher/Coupon Amount</td>\n</tr>\n<tr>\n<td>ShippingFee</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Shipping Fee</td>\n</tr>\n<tr>\n<td>ServiceFee</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Service Fee</td>\n</tr>\n<tr>\n<td>GrandTotal</td>\n<td>Decimal</td>\n<td>NO</td>\n<td>Grand Total</td>\n</tr>\n<tr>\n<td>LineItems</td>\n<td>JSON Array</td>\n<td>YES</td>\n<td>List of Items</td>\n</tr>\n<tr>\n<td>LinePayments</td>\n<td>JSON Array</td>\n<td>YES</td>\n<td>List of Payments</td>\n</tr>\n</tbody>\n</table>\n</div><ul>\n<li>The following information composes the Detail Data (LineItems)</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ItemId</td>\n<td>String</td>\n<td>YES</td>\n<td>Item Code</td>\n</tr>\n<tr>\n<td>ItemDesc</td>\n<td>String</td>\n<td>YES</td>\n<td>Item Description</td>\n</tr>\n<tr>\n<td>Qty</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>Quantity</td>\n</tr>\n<tr>\n<td>Unit</td>\n<td>String</td>\n<td>YES</td>\n<td>Unit of measure</td>\n</tr>\n<tr>\n<td>UnitPrice</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>Unit price</td>\n</tr>\n<tr>\n<td>GrossAmt</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>Gross Amount</td>\n</tr>\n<tr>\n<td>DiscEligible</td>\n<td>Boolean</td>\n<td>YES</td>\n<td>Line item is eligible for discount</td>\n</tr>\n<tr>\n<td>TaxableAmt</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>Taxable Amount</td>\n</tr>\n<tr>\n<td>ZeroRatedAmt</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>Zero rated Amount</td>\n</tr>\n<tr>\n<td>ExemptedAmt</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>Exempt Amount</td>\n</tr>\n<tr>\n<td>VATAmt</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>VAT Amount</td>\n</tr>\n<tr>\n<td>NetSales</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>Net Amount</td>\n</tr>\n</tbody>\n</table>\n</div><ul>\n<li>The following information composes the Payment Data (LinePayments)</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>PaymentDate</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>Payment Date</td>\n</tr>\n<tr>\n<td>PaymentAmt</td>\n<td>Decimal</td>\n<td>YES</td>\n<td>Payment Amount</td>\n</tr>\n<tr>\n<td>PaymentRef</td>\n<td>String</td>\n<td>YES</td>\n<td>Payment Reference</td>\n</tr>\n<tr>\n<td>MOP</td>\n<td>String</td>\n<td>YES</td>\n<td>Mode of Payment</td>\n</tr>\n</tbody>\n</table>\n</div><ul>\n<li>If submission is successful, a <strong>transmit_id</strong> will be provided. You can use the transmittal id to check the status of submission</li>\n</ul>\n<p>Note:</p>\n<ul>\n<li><p><em>A token is required to submit request</em></p>\n</li>\n<li><p>Data should be encrypted (AES256) using the secret key returned during the authentication process</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"1da9e087-7dfb-4d19-91d5-319635015f93","id":"1da9e087-7dfb-4d19-91d5-319635015f93","name":"1Nvoice.net API","type":"collection"}},"urlObject":{"path":["api","resources","v1","invoice","add"],"host":["https://1nvoice.net/api"],"query":[],"variable":[]}},"response":[{"id":"41e7fdcf-c16a-4744-a7d4-3efe5b18d11a","name":"Success","originalRequest":{"method":"POST","header":[{"key":"token","value":"743c6c2bca6ae1867c80db6df7d2411ae19be7d4cfba219e88de3c35d527c8b1e0dc9ffcb07b20d3f5398bcbadea35090684b577608fa16faa83cfe0e08a1615c417dbe9ef8fedabec8dc3aad2c6e08de7d0aea3ae5443b18ec8da537bf220f3","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"payload\": \"A4xUzwAUSTZU88ztLFjbv8oY7vFAyPIHhG0koPsHWEGFPLcAAPmpOqmrL+UYW8J25jrfBYX74Wt0ZmhFH6eZpYrfsCk0Bu38fj3LcU5VdKAeTOvq7o64N2jGE2ObySOaOlrU/u6GRhcxJQzEJanwNqb1/0jLu/bu1K7locukOl2kl3bVroDAP9iMQNEe2vfjwfy2+P90DL5S9pxGgJP8C7hJWeS1bM/y5WzoPo4Rbx84iLjwn6tiq9hvqC8Xg2wdnAlZ2G1GFnEBlEh7TimCnJV+9X5GCe/9cCru+6m4Gh8zbOGXaq/PYvIIaJT+wuAEB0Hgu0+Fi9g+RSc+VuHwDvOxgi4L2TPBZqp0qhbwsW+Y7DvYN8+DnhgvnH6Ah0DC2mrZS6p5UPYbECVJYjrUZtV16uYlsdniDYFa6k2kEoXZzaMg7jMMhz81voHt0wzyOxAZy7AdrKbGLi/n1FvqlAM+GOX0EoK0aQMmVHbv1BLlV2YzC57b0hfI07z6c98dApoL4Ztuv5Ivix8UEZ7GgT/9O0LdgK5ZDT+DTA5PMcHdrVM7ysF1S49IMzKR4oIlyCkdWDs8uoa5DrfGUwV36BeSfLqysEFmvcwBMfhKxADmdHzMUxlWz3a6ZDm3jkZHYktsIv8w+oiAgO/0b3vFTUm2i7fJUeLl5u/miz4kh6bQY9KKTJNwjEMQKjPqdL2fI7nIMAdlaOrK9b/amN5zQgbtx/rNzQH/7Ke/3DvmUq6SdErz/NIJzactmfFTtg64aIZyVLSQOOr4CbySiPkMs8y1VPFuMW/k5epC7NRJChEPyAL61em6xHrUCejg1me+bZip6DdefzrobtrKQRYI9ktSQmDzvCKHEKyeB+6eOeeHJ7XdUS0Kuq2Av0SE7uAL\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://1nvoice.net/api/api/resources/v1/invoice/add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Payara Server  5.2020.4 #badassfish"},{"key":"X-Powered-By","value":"Servlet/4.0 JSP/2.3 (Payara Server  5.2020.4 #badassfish Java/Oracle Corporation/1.8)"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"80"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"transmit_id\": \"0412024112057163\",\n    \"code\": 200,\n    \"message\": \"Success\",\n    \"success\": true\n}"}],"_postman_id":"a68b724c-1f06-4e74-83c3-b5a0e9637582"},{"name":"Delete Invoice","id":"8ea05385-a6f6-4475-bc7d-657915af5c59","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"POST","header":[{"key":"token","value":"743c6c2bca6ae1867c80db6df7d2411ae19be7d4cfba219e88de3c35d527c8b1e0dc9ffcb07b20d3f5398bcbadea35090684b577608fa16faa83cfe0e08a1615c417dbe9ef8fedabec8dc3aad2c6e08de7d0aea3ae5443b18ec8da537bf220f3","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"payload\": \"A4xUzwAUSTZU88ztLFjbv8oY7vFAyPIHhG0koPsHWEGFPLcAAPmpOqmrL+UYW8J25jrfBYX74Wt0ZmhFH6eZpYrfsCk0Bu38fj3LcU5VdKAeTOvq7o64N2jGE2ObySOaOlrU/u6GRhcxJQzEJanwNqb1/0jLu/bu1K7locukOl2kl3bVroDAP9iMQNEe2vfjwfy2+P90DL5S9pxGgJP8C7hJWeS1bM/y5WzoPo4Rbx84iLjwn6tiq9hvqC8Xg2wdnAlZ2G1GFnEBlEh7TimCnJV+9X5GCe/9cCru+6m4Gh8zbOGXaq/PYvIIaJT+wuAEB0Hgu0+Fi9g+RSc+VuHwDvOxgi4L2TPBZqp0qhbwsW+Y7DvYN8+DnhgvnH6Ah0DC2mrZS6p5UPYbECVJYjrUZtV16uYlsdniDYFa6k2kEoXZzaMg7jMMhz81voHt0wzyOxAZy7AdrKbGLi/n1FvqlAM+GOX0EoK0aQMmVHbv1BLlV2YzC57b0hfI07z6c98dApoL4Ztuv5Ivix8UEZ7GgT/9O0LdgK5ZDT+DTA5PMcHdrVM7ysF1S49IMzKR4oIlyCkdWDs8uoa5DrfGUwV36BeSfLqysEFmvcwBMfhKxADmdHzMUxlWz3a6ZDm3jkZHYktsIv8w+oiAgO/0b3vFTUm2i7fJUeLl5u/miz4kh6bQY9KKTJNwjEMQKjPqdL2fI7nIMAdlaOrK9b/amN5zQgbtx/rNzQH/7Ke/3DvmUq6SdErz/NIJzactmfFTtg64aIZyVLSQOOr4CbySiPkMs8y1VPFuMW/k5epC7NRJChEPyAL61em6xHrUCejg1me+bZip6DdefzrobtrKQRYI9ktSQmDzvCKHEKyeB+6eOeeHJ7XdUS0Kuq2Av0SE7uAL\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://1nvoice.net/api/resources/v1/invoice/delete?transmitno=0412024112057163","description":"<p>- Delete invoices from Helix System</p>\n<p><strong>Pre-requisite</strong>:</p>\n<p>Header</p>\n<ul>\n<li>token generated from <strong>auth</strong> endpoint</li>\n</ul>\n<p>URL</p>\n<p>transmitno - transmit number to delete</p>\n<ul>\n<li>If submission is successful, a <strong>transmit_id</strong> will be provided. You can use the transmittal id to check the status of submission</li>\n</ul>\n<p>Note:</p>\n<p><em>A token is required to submit request</em></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"1da9e087-7dfb-4d19-91d5-319635015f93","id":"1da9e087-7dfb-4d19-91d5-319635015f93","name":"1Nvoice.net API","type":"collection"}},"urlObject":{"path":["resources","v1","invoice","delete"],"host":["https://1nvoice.net/api"],"query":[{"key":"transmitno","value":"0412024112057163"}],"variable":[]}},"response":[{"id":"daa2d398-c29a-4628-ba37-d8f5b772a3de","name":"Delete Successful","originalRequest":{"method":"POST","header":[{"key":"token","value":"743c6c2bca6ae1867c80db6df7d2411ae19be7d4cfba219e88de3c35d527c8b1e0dc9ffcb07b20d3f5398bcbadea35090684b577608fa16faa83cfe0e08a1615c417dbe9ef8fedabec8dc3aad2c6e08de7d0aea3ae5443b18ec8da537bf220f3","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"payload\": \"A4xUzwAUSTZU88ztLFjbv8oY7vFAyPIHhG0koPsHWEGFPLcAAPmpOqmrL+UYW8J25jrfBYX74Wt0ZmhFH6eZpYrfsCk0Bu38fj3LcU5VdKAeTOvq7o64N2jGE2ObySOaOlrU/u6GRhcxJQzEJanwNqb1/0jLu/bu1K7locukOl2kl3bVroDAP9iMQNEe2vfjwfy2+P90DL5S9pxGgJP8C7hJWeS1bM/y5WzoPo4Rbx84iLjwn6tiq9hvqC8Xg2wdnAlZ2G1GFnEBlEh7TimCnJV+9X5GCe/9cCru+6m4Gh8zbOGXaq/PYvIIaJT+wuAEB0Hgu0+Fi9g+RSc+VuHwDvOxgi4L2TPBZqp0qhbwsW+Y7DvYN8+DnhgvnH6Ah0DC2mrZS6p5UPYbECVJYjrUZtV16uYlsdniDYFa6k2kEoXZzaMg7jMMhz81voHt0wzyOxAZy7AdrKbGLi/n1FvqlAM+GOX0EoK0aQMmVHbv1BLlV2YzC57b0hfI07z6c98dApoL4Ztuv5Ivix8UEZ7GgT/9O0LdgK5ZDT+DTA5PMcHdrVM7ysF1S49IMzKR4oIlyCkdWDs8uoa5DrfGUwV36BeSfLqysEFmvcwBMfhKxADmdHzMUxlWz3a6ZDm3jkZHYktsIv8w+oiAgO/0b3vFTUm2i7fJUeLl5u/miz4kh6bQY9KKTJNwjEMQKjPqdL2fI7nIMAdlaOrK9b/amN5zQgbtx/rNzQH/7Ke/3DvmUq6SdErz/NIJzactmfFTtg64aIZyVLSQOOr4CbySiPkMs8y1VPFuMW/k5epC7NRJChEPyAL61em6xHrUCejg1me+bZip6DdefzrobtrKQRYI9ktSQmDzvCKHEKyeB+6eOeeHJ7XdUS0Kuq2Av0SE7uAL\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://1nvoice.net/api/api/resources/v1/invoice/delete?transmitno=0412024112057163","host":["https://1nvoice.net/api"],"path":["api","resources","v1","invoice","delete"],"query":[{"key":"transmitno","value":"0412024112057163"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Payara Server  5.2020.4 #badassfish"},{"key":"X-Powered-By","value":"Servlet/4.0 JSP/2.3 (Payara Server  5.2020.4 #badassfish Java/Oracle Corporation/1.8)"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"47"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"message\": \"Success\",\n    \"success\": true\n}"}],"_postman_id":"8ea05385-a6f6-4475-bc7d-657915af5c59"}],"id":"10283693-3623-470d-bce4-a3e51562bb4b","description":"<p>Web service to <strong>add</strong>,<strong>delete</strong>, or <strong>view</strong> sales records to 1Nvoice system.</p>\n<h2 id=\"invoice-application-process-flow\"><strong>Invoice Application Process Flow</strong></h2>\n<h3 id=\"overview\"><strong>Overview</strong></h3>\n<p>This document outlines the process flow of the invoice endpoint. The application facilitates the generation of invoices for e-commerce transactions. When a customer completes an online payment, the payment gateway/e-commerce application transmits transaction data to the invoice application for invoice recording and invoice number assignment.</p>\n<h2 id=\"process-flow\"><strong>Process Flow</strong></h2>\n<h3 id=\"actors-involved\"><strong>Actors Involved</strong></h3>\n<ol>\n<li><p><strong>Customer</strong> – Purchases items on the e-commerce website.</p>\n</li>\n<li><p><strong>E-commerce Website</strong> – Manages product listings, cart, and checkout process.</p>\n</li>\n<li><p><strong>Payment Gateway/Provider</strong> – Processes the payment and sends transaction data.</p>\n</li>\n<li><p><strong>Invoice Application (1Nvoice)</strong> – Records the transaction and generates an invoice/assign invoice number.</p>\n</li>\n<li><p><strong>Client (E-commerce Owner)</strong> – Reviews and manages invoices.</p>\n</li>\n</ol>\n<h3 id=\"process\"><strong>Process</strong></h3>\n<h4 id=\"1-customer-places-an-order\"><strong>1. Customer Places an Order</strong></h4>\n<ul>\n<li><p>The customer selects items on the e-commerce website and proceeds to checkout.</p>\n</li>\n<li><p>The e-commerce website calculates the total amount and directs the customer to the payment gateway.</p>\n</li>\n</ul>\n<h4 id=\"2-payment-processing\"><strong>2. Payment Processing</strong></h4>\n<ul>\n<li><p>The customer enters payment details and submits the payment.</p>\n</li>\n<li><p>The payment gateway processes the transaction.</p>\n</li>\n<li><p>Upon successful payment, the payment gateway sends transaction details to the e-commerce website.</p>\n</li>\n<li><p>The payment gateway or the e-commerce website can send the transaction details to 1Nvoice for invoice processing</p>\n</li>\n</ul>\n<h4 id=\"3-transaction-data-sent-to-invoice-application\"><strong>3. Transaction Data Sent to Invoice Application</strong></h4>\n<ul>\n<li><p>The payment gateway transmits transaction data, including:</p>\n<ul>\n<li><p>Customer details (name, email, etc.)</p>\n</li>\n<li><p>Order details (items purchased, quantity, total amount)</p>\n</li>\n<li><p>Payment details (mode of payment, amount, date)</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"4-invoice-generation\"><strong>4. Invoice Generation</strong></h4>\n<ul>\n<li><p>The invoice application receives the transaction data.</p>\n</li>\n<li><p>An invoice number is assigned based on the approved series.</p>\n</li>\n</ul>\n<h4 id=\"5-notification--acknowledgment\"><strong>5. Notification &amp; Acknowledgment</strong></h4>\n<ul>\n<li><p>The invoice application may send a notification to the customer via email or sms containing:</p>\n<ul>\n<li><p>Invoice number</p>\n</li>\n<li><p>Order summary</p>\n</li>\n<li><p>Payment confirmation</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"6-invoice-management--reporting\"><strong>6. Invoice Management &amp; Reporting</strong></h4>\n<ul>\n<li><p>The client (e-commerce owner) can:</p>\n<ul>\n<li>The API can be used to retrieve the Invoice data and the actual invoice in PDF format</li>\n</ul>\n</li>\n</ul>\n","_postman_id":"10283693-3623-470d-bce4-a3e51562bb4b","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"1da9e087-7dfb-4d19-91d5-319635015f93","id":"1da9e087-7dfb-4d19-91d5-319635015f93","name":"1Nvoice.net API","type":"collection"}}},{"name":"Registration","item":[{"name":"Register Account","id":"10b992aa-5735-455d-95f8-0ca3e511de27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://1nvoice.net/api/api/resources/v1/register","description":"<p>The following fields composes the JSON object:</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>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>EmailAddress</td>\n<td>String</td>\n<td>YES</td>\n<td>Email Address that will be used to access your account</td>\n</tr>\n<tr>\n<td>MobileNo</td>\n<td>String</td>\n<td>YES</td>\n<td>Mobile number</td>\n</tr>\n<tr>\n<td>FirstName</td>\n<td>String</td>\n<td>YES</td>\n<td>First name</td>\n</tr>\n<tr>\n<td>LastName</td>\n<td>String</td>\n<td>YES</td>\n<td>Last name</td>\n</tr>\n<tr>\n<td>Address</td>\n<td>String</td>\n<td>YES</td>\n<td>Company Address</td>\n</tr>\n<tr>\n<td>City</td>\n<td>String</td>\n<td>YES</td>\n<td>Company City</td>\n</tr>\n<tr>\n<td>ContactPerson</td>\n<td>String</td>\n<td>YES</td>\n<td>Contact Person</td>\n</tr>\n<tr>\n<td>TIN</td>\n<td>Date</td>\n<td>YES</td>\n<td>Company TIN number</td>\n</tr>\n<tr>\n<td>Trade Name</td>\n<td>String</td>\n<td>NO</td>\n<td>Trade Name</td>\n</tr>\n<tr>\n<td>BusinessRegistration</td>\n<td>String</td>\n<td>YES</td>\n<td>SEC, DTI, PROFESSIONAL, INDIVIDUAL, COOPERATIVE</td>\n</tr>\n<tr>\n<td>Industry</td>\n<td>String</td>\n<td>NO</td>\n<td>Customer City</td>\n</tr>\n</tbody>\n</table>\n</div><p>Additional documents will be required before evaluation. A reference number will be returned upon submission of request</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"ec18900d-3592-4a2f-8ad9-eb3e3e88da92","id":"ec18900d-3592-4a2f-8ad9-eb3e3e88da92","name":"Registration","type":"folder"}},"urlObject":{"path":["api","resources","v1","register"],"host":["https://1nvoice.net/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"10b992aa-5735-455d-95f8-0ca3e511de27"}],"id":"ec18900d-3592-4a2f-8ad9-eb3e3e88da92","description":"<p>Web service to register to 1Nvoice system. Please note that this undergoes a manual approval process</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"e00ad64b-8ae9-4d7e-bbbf-51f407e35b8f","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"260cd0b1-e00a-4734-ae80-f758dac15ce6","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"ec18900d-3592-4a2f-8ad9-eb3e3e88da92"},{"name":"Authenticate","id":"c785abf0-009f-42ef-a773-817d65359e51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"companyid","value":"HMR"}],"body":{"mode":"raw","raw":"{\r\n    \"data\": \"ILsGamv+8ODUjtLbna8H58JKcQWgQA1z6eL3GfidP3pcchVsr84mRtaHtJPwQfX5HlSNVKbatedOAv73rm9+JXhZI7Klh0zjUYLG8l/rN/6jvTHcrk375q16H/uivoCHA9S876Wb3ZWiAL0x1RG+Lb107ehaArve3yjs+qx3llezRrIqMepn6UPU98sjtE2O1PuZPRFHBjifNKfR8znX5wLXY2PKTaENgQ2eK8U3j3pjaZSs5ifg6/kRHGEEdyQBpji2D+0WakBGj0S+f/GA7AC9TgpkwcWexz4w1qHDzAI+TAPgRoLkkk+2LjJpdgDeNb5HLzij1ySbjqrAjBDRCg==\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://1nvoice.net/api/resources/auth","description":"<h5 id=\"an-endpoint-to-establish-secure-connection-between-our-client-and-our-server\">An endpoint to establish secure connection between our client and our server</h5>\n<p>Note:</p>\n<p><em>An RSA encryption is required to generate a Token</em></p>\n<p>To create a token request:</p>\n<ul>\n<li><p>Include the header: <strong>companyid</strong> to the request</p>\n</li>\n<li><p>Encrypt the JSON Object with the following format:</p>\n</li>\n</ul>\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>companyid</td>\n<td>An Identifier provided by Helix CAS</td>\n</tr>\n<tr>\n<td>username</td>\n<td>Email address registered to Helix CAS</td>\n</tr>\n<tr>\n<td>password</td>\n<td>Password to access Helix CAS</td>\n</tr>\n<tr>\n<td>tempsecret</td>\n<td>Secret key to encrypt response data (AES256)</td>\n</tr>\n</tbody>\n</table>\n</div><p>Sample Format:</p>\n<p>{\"companyid\":\"1\",\"username\":\"<a href=\"https://mailto:sample@email.com\">sample@email.com</a>\",\"password\":\"sample_password\",\"tempsecret\":\"RKAASoQDWK4Se4xcNxbqNeJjyW2FHG11\"}</p>\n<p>Note:</p>\n<p><em>The public key to encrypt the JSON Object will be provided upon request</em></p>\n<ul>\n<li>A token and secret key response will be provided once authentication is successful. The token and secret key can be decrypted using the tempsecret key sent during the authentication process. The token can be used to transact to the API within 8 hours of issuance.</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"1da9e087-7dfb-4d19-91d5-319635015f93","id":"1da9e087-7dfb-4d19-91d5-319635015f93","name":"1Nvoice.net API","type":"collection"}},"urlObject":{"path":["resources","auth"],"host":["https://1nvoice.net/api"],"query":[],"variable":[]}},"response":[{"id":"c9ffd1aa-5634-40d0-a9e9-a8413df95393","name":"Authentication successful","originalRequest":{"method":"POST","header":[{"key":"companyid","value":"HLX","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"data\": \"AVn5iVvwJIRbzSqSB1QPXFdgoUDo803Dxwtn58trO4DQ0iNIbQ1HdRuiDA5SU1pi/aRI44/5/xKZqf8lzH8cib5ImwAm1ZIPoCZeNEz7h0wpDHX0ZnRn6HehO1lDLqeUjYoAaM+nAPK2Gr1GlXnYjL0SLu1wF8EyJQ4EWBkOYRiklCRAspyTiMZ9hrFDp0RELhZoq9P3zecV4sx6TwDE4jzNmV31m4Eq70oXXOrKYWdH+3g43S7R/LnYjJWi4KQywuhfBW1Nh1kiG/6QyrxLyZzUY6Q7r6px3fGI+FxCED24rIZu93RrvlsZ3C0YX4VY3qggM6IzMNDSiEhcn7TWEg==\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://1nvoice.net/api/resources/auth"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Payara Server  5.2020.2 #badassfish"},{"key":"X-Powered-By","value":"Servlet/4.0 JSP/2.3 (Payara Server  5.2020.2 #badassfish Java/Oracle Corporation/1.8)"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"401"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": \"jraAH6Er/XKCZoEEbRUpTRyaW4CCd3/j0MmJBQCvNUfCGEVyTg/IcyNlFbLcQERuVRLuxScCBD9ofdBrDAlzVvsPIiJO/6CRPPHqME/MzsjVThllg3ql7AM/vGx6LXxl268ausRqRbK5K8F/jc9mpEwdcm+gKy7nOxG1Iw5yQyNrWJ5hl9hBvYQDG0gPqsoLfsrN+WXrS+YcGEkY74l9VPkvK9o8PLt9Pq/nJdFLQAviR5t7jzGPlgSN5P05Mqk3Cs49CazOLz6Y5HZGkketEoIwIgNxdj93tZKiaI6XoNap2l03A5DxCW1C7/RQQEHhIX5YIvcGNMCezLXpc4isvw==\",\n    \"code\": 200,\n    \"message\": \"Success\",\n    \"success\": true\n}"}],"_postman_id":"c785abf0-009f-42ef-a773-817d65359e51"}],"auth":{"type":"apikey","apikey":{"basicConfig":[]}},"event":[{"listen":"prerequest","script":{"id":"cbd6760f-99be-4be1-8e9f-a4f8efb6ef45","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"38c354f5-2fad-4745-a41d-1467275e1a17","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"URL","value":"https://1nvoice.net/api","type":"string"}]}