{"info":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","description":"<html><head></head><body><p>Zata is a modern API platform by HIQ Africa (Norrsken House, Kigali, Rwanda) for automated Sales Tax compliance, certified by the Rwanda Revenue Authority (RRA). Built for scale, trust, and developer velocity, Zata blends local regulatory expertise with robust documentation and seamless integrations tailored to Rwanda’s market. Listed on OpenFn.org (Zata Adaptor Docs), Zata connects with 70+ systems via OpenFn’s workflow automation, enabling fast, interoperable data flows for businesses, NGOs, and governments.</p>\n<ul>\n<li><p>Keep your <code>Authorization</code> header set to <code>Bearer</code> (see collection variables).</p>\n</li>\n<li><p>Many endpoints require <code>companyId</code> (and sometimes <code>branchId</code>) headers — ensure these are correct for your tenant.</p>\n</li>\n<li><p>Use App Data endpoints to populate valid IDs (tax, units, categories, etc.).</p>\n</li>\n<li><p>Prefer calculating totals with <code>/transaction/calculate</code> before creating sales.</p>\n</li>\n</ul>\n<h3 id=\"get-started-today\">Get Started Today</h3>\n<ul>\n<li><p>Sign Up: <a href=\"https://calendly.com/hiqafrica\">https://ebm.zata.rw/register</a></p>\n</li>\n<li><p>Contact: <a href=\"https://mailto:info@hiq.africa\">info@hiq.africa</a></p>\n</li>\n<li><p>API Docs: Zata API Documentation</p>\n</li>\n<li><p>Version: 1.6 (Nov 2025)</p>\n</li>\n</ul>\n<h3 id=\"why-choose-zata\">Why Choose Zata?</h3>\n<ul>\n<li><p>Rapid Onboarding: Get your API key and a guided 15‑minute setup to go live quickly.</p>\n</li>\n<li><p>Global Integrations: Connect to Odoo, QuickBooks, and 70+ apps via OpenFn (or engage HIQ Africa for custom integrations).</p>\n</li>\n<li><p>Full Transparency: Clear API connectivity policy, versioning, and change logs.</p>\n</li>\n<li><p>Developer‑Centric: Low‑code workflows, a smart IDE, example payloads, and open tooling.</p>\n</li>\n<li><p>Scalable &amp; Secure: Trusted in 40+ countries; built for sensitive data, high throughput, and compliance.</p>\n</li>\n</ul>\n<h3 id=\"api-overview\">API Overview</h3>\n<ol>\n<li>Company Initialization</li>\n</ol>\n<ul>\n<li><p>Manage company records: list, create, update, retrieve.</p>\n</li>\n<li><p>Use Case: Centralize company data and permissions for multi‑branch operations.</p>\n</li>\n</ul>\n<ol>\n<li>Branch Management</li>\n</ol>\n<ul>\n<li><p>Control branch operations: list, create, update, retrieve.</p>\n</li>\n<li><p>Use Case: Scale to new locations while maintaining consistent governance.</p>\n</li>\n</ul>\n<ol>\n<li>Product Management</li>\n</ol>\n<ul>\n<li><p>Maintain catalog and stock: list, add, update, increase/reduce quantity.</p>\n</li>\n<li><p>Use Case: Keep inventory accurate for real‑time sales, pricing, and forecasting.</p>\n</li>\n</ul>\n<ol>\n<li>Transactions</li>\n</ol>\n<ul>\n<li><p>Sales, refunds, proformas, calculations; signed receipt URLs and downloads.</p>\n</li>\n<li><p>Use Case: Automate invoicing, ensure RRA compliance, reconcile revenue.</p>\n</li>\n</ul>\n<ol>\n<li>App Data</li>\n</ol>\n<ul>\n<li><p>Reference lists (product types, payment modes, taxes, units, categories).</p>\n</li>\n<li><p>Use Case: Power dropdowns, validations, and consistent data entry across UI.</p>\n</li>\n</ul>\n<ol>\n<li>Test</li>\n</ol>\n<ul>\n<li><p>System connectivity health checks.</p>\n</li>\n<li><p>Use Case: Verify availability in CI/CD and pre‑production smoke tests.</p>\n</li>\n</ul>\n<ol>\n<li>Parties</li>\n</ol>\n<ul>\n<li><p>Manage customers and suppliers: list, create.</p>\n</li>\n<li><p>Use Case: Maintain a clean CRM/vendor list for faster checkout and purchasing.</p>\n</li>\n<li><p>Dev Notes: Validate required fields; use pagination and partyType for filtering.</p>\n</li>\n</ul>\n<ol>\n<li>Expenses</li>\n</ol>\n<ul>\n<li><p>Track operational costs: list expenses, create expense, fetch expense categories.</p>\n</li>\n<li><p>Use Case: Record petty cash, utilities, and other OPEX; analyze spend by category.</p>\n</li>\n<li><p>Dev Notes: Requires companyId/branchId; use categories and payment modes from reference endpoints.</p>\n</li>\n</ul>\n<ol>\n<li>Finances</li>\n</ol>\n<ul>\n<li><p>Summaries by payment mode (cash, mobile money, card, etc.).</p>\n</li>\n<li><p>Use Case: End‑of‑day cash‑up and reconciliation; cross‑check POS totals with books.</p>\n</li>\n</ul>\n<ol>\n<li>Purchases</li>\n</ol>\n<ul>\n<li><p>Create internal purchase transactions to restock inventory.</p>\n</li>\n<li><p>Use Case: Record supplier deliveries; update on‑hand stock and batches.</p>\n</li>\n<li><p>Dev Notes: Validate productID, paymentMethodID, batchNumber; optionally expireDate, movingUnit.</p>\n</li>\n</ul>\n<ol>\n<li>Transaction PDFs (Signature + Download)</li>\n</ol>\n<ul>\n<li><p>Generate signed URL and download transaction PDFs.</p>\n</li>\n<li><p>Use Case: Share or print RRA‑compliant receipts/invoices for audits and customers.</p>\n</li>\n</ul>\n<h3 id=\"what-developers-can-expect\">What Developers Can Expect</h3>\n<ul>\n<li><p>Clear Headers: Most endpoints require companyId; many also require branchId.</p>\n</li>\n<li><p>Validations: Helpful error messages; enums/IDs come from App Data.</p>\n</li>\n<li><p>Idempotency: Support safe retries where appropriate (client‑generated ids recommended).</p>\n</li>\n<li><p>Versioning: Stable v1; deprecations communicated ahead of time.</p>\n</li>\n<li><p>Testability: Health check endpoint; realistic example payloads.</p>\n</li>\n</ul>\n<h3 id=\"endpoint-quick-map\">Endpoint Quick Map</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Path</th>\n<th>Method</th>\n<th>Purpose</th>\n<th>Required Headers</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>/api/v1/company</td>\n<td>GET</td>\n<td>List companies (paginated)</td>\n<td>Authorization</td>\n<td>perPage, page</td>\n</tr>\n<tr>\n<td>/api/v1/company</td>\n<td>POST</td>\n<td>Create company</td>\n<td>Authorization</td>\n<td>name, address, phone, email, tin</td>\n</tr>\n<tr>\n<td>/api/v1/company</td>\n<td>PUT</td>\n<td>Update company</td>\n<td>Authorization, companyId</td>\n<td>Partial updates supported</td>\n</tr>\n<tr>\n<td>/api/v1/company/{companyId}</td>\n<td>GET</td>\n<td>Get company by id</td>\n<td>Authorization, companyId</td>\n<td>Returns insurance block if available</td>\n</tr>\n<tr>\n<td>/api/v1/company/branch</td>\n<td>GET</td>\n<td>List branches</td>\n<td>Authorization, companyId</td>\n<td>perPage, page</td>\n</tr>\n<tr>\n<td>/api/v1/company/branch</td>\n<td>POST</td>\n<td>Create branch</td>\n<td>Authorization, companyId</td>\n<td>name, phone, address, branchCategoryID</td>\n</tr>\n<tr>\n<td>/api/v1/company/branch</td>\n<td>PUT</td>\n<td>Update branch</td>\n<td>Authorization, companyId, branchId</td>\n<td>name, phone, address</td>\n</tr>\n<tr>\n<td>/api/v1/product/branch</td>\n<td>GET</td>\n<td>List branch products</td>\n<td>Authorization, companyId, branchId</td>\n<td>perPage, page, searchQuery</td>\n</tr>\n<tr>\n<td>/api/v1/product</td>\n<td>POST</td>\n<td>Create product</td>\n<td>Authorization, companyId, branchId</td>\n<td>Requires valid IDs from App Data</td>\n</tr>\n<tr>\n<td>/api/v1/product/{productId}</td>\n<td>GET</td>\n<td>Get product by id</td>\n<td>Authorization, companyId, branchId</td>\n<td>Includes batch/stock details</td>\n</tr>\n<tr>\n<td>/api/v1/product/{productId}</td>\n<td>PUT</td>\n<td>Update product</td>\n<td>Authorization, companyId, branchId</td>\n<td>e.g., name, branchProductCategoryID</td>\n</tr>\n<tr>\n<td>/api/v1/product/increase-quantity/{productId}</td>\n<td>PUT</td>\n<td>Increase product stock</td>\n<td>Authorization, companyId, branchId</td>\n<td>description, quantity, salePrice, batchNumber</td>\n</tr>\n<tr>\n<td>/api/v1/product/reduce-quantity/{productId}</td>\n<td>PUT</td>\n<td>Reduce product stock</td>\n<td>Authorization, companyId, branchId</td>\n<td>quantity, description, batchNumber</td>\n</tr>\n<tr>\n<td>/api/v1/transaction</td>\n<td>GET</td>\n<td>List transactions</td>\n<td>Authorization, companyId, branchId</td>\n<td>perPage, page, fromDate, toDate, invoiceType</td>\n</tr>\n<tr>\n<td>/api/v1/transaction/sale</td>\n<td>POST</td>\n<td>Create sale</td>\n<td>Authorization, companyId, branchId</td>\n<td>items[productID, units, unitPrice, batchNumber,…]</td>\n</tr>\n<tr>\n<td>/api/v1/transaction/refund/{transactionId}</td>\n<td>POST</td>\n<td>Create refund</td>\n<td>Authorization, companyId, branchId</td>\n<td>transactionDate, purchaseCode, note</td>\n</tr>\n<tr>\n<td>/api/v1/transaction/proforma</td>\n<td>POST</td>\n<td>Create proforma</td>\n<td>Authorization, companyId, branchId</td>\n<td>Like sale; does not alter stock</td>\n</tr>\n<tr>\n<td>/api/v1/transaction/calculate</td>\n<td>POST</td>\n<td>Calculate totals</td>\n<td>Authorization, companyId, branchId</td>\n<td>Returns line‑level tax/discount/totals</td>\n</tr>\n<tr>\n<td>/api/v1/transaction/{transactionId}</td>\n<td>GET</td>\n<td>Get transaction by id</td>\n<td>Authorization, companyId, branchId</td>\n<td>Includes item breakdowns</td>\n</tr>\n<tr>\n<td>/api/v1/transaction/download-signature/{transactionId}</td>\n<td>GET</td>\n<td>Generate signed URL</td>\n<td>Authorization, companyId, branchId</td>\n<td>downloadSize=A4</td>\n</tr>\n<tr>\n<td>/api/v1/transaction/download</td>\n<td>GET</td>\n<td>Download PDF</td>\n<td>Authorization, companyId, branchId</td>\n<td>Requires expires, id, signature</td>\n</tr>\n<tr>\n<td>/api/v1/party</td>\n<td>GET</td>\n<td>List parties</td>\n<td>Authorization, companyId</td>\n<td>partyType=Customer</td>\n</tr>\n<tr>\n<td>/api/v1/party/new-customer</td>\n<td>POST</td>\n<td>Create customer</td>\n<td>Authorization, companyId</td>\n<td>name, address, phone, email, tin, hasInsurance</td>\n</tr>\n<tr>\n<td>/api/v1/party/new-supplier</td>\n<td>POST</td>\n<td>Create supplier</td>\n<td>Authorization, companyId</td>\n<td>name, address, phone, email, tin</td>\n</tr>\n<tr>\n<td>/api/v1/expense</td>\n<td>GET</td>\n<td>List expenses</td>\n<td>Authorization, companyId, branchId</td>\n<td>perPage, page, searchQuery</td>\n</tr>\n<tr>\n<td>/api/v1/expense</td>\n<td>POST</td>\n<td>Create expense</td>\n<td>Authorization, companyId, branchId</td>\n<td>amount, description, date, categoryID, paymentModeID</td>\n</tr>\n<tr>\n<td>/api/v1/expense/categories</td>\n<td>GET</td>\n<td>List expense categories</td>\n<td>Authorization, companyId</td>\n<td>Cache recommended</td>\n</tr>\n<tr>\n<td>/api/v1/company/finance</td>\n<td>GET</td>\n<td>Finance summary</td>\n<td>Authorization, companyId, branchId</td>\n<td>Aggregated by payment mode</td>\n</tr>\n<tr>\n<td>/api/v1/data/product-type</td>\n<td>GET</td>\n<td>Product types</td>\n<td>Authorization</td>\n<td>Cache for performance</td>\n</tr>\n<tr>\n<td>/api/v1/data/payment-mode</td>\n<td>GET</td>\n<td>Payment modes</td>\n<td>Authorization, companyId</td>\n<td>Use for validation/UI</td>\n</tr>\n<tr>\n<td>/api/v1/data/product-category</td>\n<td>GET</td>\n<td>Product categories</td>\n<td>Authorization</td>\n<td>ID source for products</td>\n</tr>\n<tr>\n<td>/api/v1/data/product-class</td>\n<td>GET</td>\n<td>Product classes</td>\n<td>Authorization</td>\n<td>Optional classification</td>\n</tr>\n<tr>\n<td>/api/v1/data/product-quantity-unit</td>\n<td>GET</td>\n<td>Quantity units</td>\n<td>Authorization</td>\n<td>Required for products</td>\n</tr>\n<tr>\n<td>/api/v1/data/product-packaging-unit</td>\n<td>GET</td>\n<td>Packaging units</td>\n<td>Authorization</td>\n<td>Pair with quantity unit</td>\n</tr>\n<tr>\n<td>/api/v1/data/product-tax</td>\n<td>GET</td>\n<td>Tax rates</td>\n<td>Authorization</td>\n<td>Use for product taxID</td>\n</tr>\n<tr>\n<td>/api/v1/data/product-country-origin</td>\n<td>GET</td>\n<td>Countries of origin</td>\n<td>Authorization</td>\n<td>Cache recommended</td>\n</tr>\n<tr>\n<td>/api/v1/test</td>\n<td>GET</td>\n<td>Health check</td>\n<td>—</td>\n<td>Returns service status</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"unlock-limitless-connectivity-with-openfn\">Unlock Limitless Connectivity with OpenFn</h3>\n<p>Connect Zata with CRMs, ERPs, databases, and more. OpenFn’s 70+ open‑source adaptors let you build automated workflows to eliminate manual entry, sync data in real time, and scale reliably. Run on OpenFn SaaS or self‑hosted for portability, security, and auditability.</p>\n<p>Example: Sync sales from Zata to QuickBooks via OpenFn’s low‑code interface—save time, reduce errors, and maintain audit trails.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"28861196","collectionId":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","publishedId":"2sB3WnwhWc","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"388e3c"},"publishDate":"2025-10-30T15:21:11.000Z"},"item":[{"name":"Initialization","item":[{"name":"List All Companies","id":"12f71631-b3c8-417c-9f5d-5c52c2aed3aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"CompanyId","value":"2","type":"text"},{"key":"BranchId","value":"16","type":"text"}],"url":"https://ebm.zata.rw/api/v1/company?perPage=100&page=1","description":"<ul>\n<li><p><strong>Function</strong>: Retrieves a paginated list of all companies with details like name, address, and branch count.</p>\n</li>\n<li><p><strong>Parameters</strong>: Query perPage (items per page), page (page number).</p>\n</li>\n<li><p><strong>Role</strong>: Provides a comprehensive view of companies, essential for administrative oversight in the API’s company management system.</p>\n</li>\n<li><p><strong>Note</strong>: Set perPage to balance performance and data needs.</p>\n</li>\n<li><p><strong>Use Case</strong>: Populate company table and selectors.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","company"],"host":["https://ebm.zata.rw"],"query":[{"description":{"content":"<p>Number of items per page</p>\n","type":"text/plain"},"key":"perPage","value":"100"},{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"055eb5d8-7761-4a32-b21f-b58bf0722c9b","name":"200 OK","originalRequest":{"auth":{"type":"bearer","bearer":{"token":""}},"method":"GET","header":[{"key":"CompanyId","value":"2","type":"text"},{"key":"BranchId","value":"16","type":"text"}],"url":{"raw":"https://ebm.zata.rw/api/v1/company?perPage=100&page=1","host":["https://ebm.zata.rw"],"path":["api","v1","company"],"query":[{"key":"perPage","value":"100","description":"Number of items per page"},{"key":"page","value":"1","description":"Page number"}]},"description":"- **Function**: Retrieves a paginated list of all companies with details like name, address, and branch count.\n\n- **Parameters**: Query perPage (items per page), page (page number).\n\n- **Role**: Provides a comprehensive view of companies, essential for administrative oversight in the API’s company management system.\n\n- **Note**: Set perPage to balance performance and data needs.\n\n- **Use Case**: Populate company table and selectors."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"0\": {\n      \"id\": 1,\n      \"name\": \"Zata Point Global Service\",\n      \"address\": \"No 1, Zata Point Street, Zata Point\",\n      \"phone\": \"08012345678\",\n      \"email\": \"hello@example.com\",\n      \"tin\": \"123456789\",\n      \"branchesCount\": 1,\n      \"isDefault\": true\n    },\n    \"currentPage\": 1,\n    \"lastPage\": 1,\n    \"itemsPerPage\": 100,\n    \"pageItems\": 1,\n    \"total\": 1,\n    \"timestamp\": \"2021-09-09, 12:00:00\"\n  }\n}"}],"_postman_id":"12f71631-b3c8-417c-9f5d-5c52c2aed3aa"},{"name":"Register New Company","id":"9107d527-a583-4e4b-a718-c2ab62e2445f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"name\": \"Zata Point Global Service\",\n  \"address\": \"No 1, Zata Point Street, Zata Point\",\n  \"phone\": \"08012345678\",\n  \"email\": \"sample@sample.com\",\n  \"tin\": \"123456789\"\n}"},"url":"https://ebm.zata.rw/api/v1/company","description":"<ul>\n<li><p><strong>Function</strong>: Creates a new company with provided details.</p>\n</li>\n<li><p><strong>Parameters</strong>: JSON body with name, address, phone, email, tin.</p>\n</li>\n<li><p><strong>Role</strong>: Initializes a company, enabling subsequent branch and product operations.</p>\n</li>\n<li><p><strong>Note</strong>: Ensure TIN meets validation requirements.</p>\n</li>\n<li><p><strong>Use Case</strong>: Company onboarding flow.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","company"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"dda8a7b4-5e1d-49b8-8675-beb4f28df1d8","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"name\": \"Zata Point Global Service\",\n  \"address\": \"No 1, Zata Point Street, Zata Point\",\n  \"phone\": \"08012345678\",\n  \"email\": \"sample@sample.com\",\n  \"tin\": \"123456789\"\n}"},"url":"https://ebm.zata.rw/api/v1/company","description":"- **Function**: Creates a new company with provided details.\n\n- **Parameters**: JSON body with name, address, phone, email, tin.\n\n- **Role**: Initializes a company, enabling subsequent branch and product operations.\n\n- **Note**: Ensure TIN meets validation requirements.\n\n- **Use Case**: Company onboarding flow."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Company created successfully\"\n}"}],"_postman_id":"9107d527-a583-4e4b-a718-c2ab62e2445f"},{"name":"Update Company Information","id":"91e627b6-9313-4308-93cd-0642bf27d0ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"companyId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Zata Point Global Service\",\n  \"address\": \"No 1, Zata Point Street, Zata Point\",\n  \"phone\": \"08012345678\",\n  \"email\": \"sample@sample.com\",\n  \"tin\": \"123456789\"\n}"},"url":"https://ebm.zata.rw/api/v1/company","description":"<ul>\n<li><p><strong>Function</strong>: Updates an existing company’s details.</p>\n</li>\n<li><p><strong>Parameters</strong>: Header companyId; JSON body with name, address, phone, email, tin.</p>\n</li>\n<li><p><strong>Role</strong>: Maintains accurate company records, supporting data integrity.</p>\n</li>\n<li><p><strong>Note</strong>: Include only fields to update for efficiency.</p>\n</li>\n<li><p><strong>Use Case</strong>: Edit company profile.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","company"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"3b6ef724-6b09-4195-b022-012c6b30f938","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"companyId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Zata Point Global Service\",\n  \"address\": \"No 1, Zata Point Street, Zata Point\",\n  \"phone\": \"08012345678\",\n  \"email\": \"sample@sample.com\",\n  \"tin\": \"123456789\"\n}"},"url":"https://ebm.zata.rw/api/v1/company","description":"- **Function**: Updates an existing company’s details.\n\n- **Parameters**: Header companyId; JSON body with name, address, phone, email, tin.\n\n- **Role**: Maintains accurate company records, supporting data integrity.\n\n- **Note**: Include only fields to update for efficiency.\n\n- **Use Case**: Edit company profile."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Company updated successfully\"\n}"}],"_postman_id":"91e627b6-9313-4308-93cd-0642bf27d0ca"},{"name":"Get Company by ID","id":"49b6d5c5-2eab-4af7-9fc6-9e9f62923efb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"companyId","value":"1","type":"text"}],"url":"https://ebm.zata.rw/api/v1/company/1","description":"<ul>\n<li><p><strong>Function</strong>: Fetches detailed information for a specific company, including insurance data.</p>\n</li>\n<li><p><strong>Parameters</strong>: Path companyId; header companyId.</p>\n</li>\n<li><p><strong>Role</strong>: Enables targeted company data access for detailed views or modifications.</p>\n</li>\n<li><p><strong>Note</strong>: Cache results for frequently accessed companies.</p>\n</li>\n<li><p><strong>Use Case</strong>: View company detail panel.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","company","1"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"3b1d5d13-307b-41c3-b8cd-19d73262409b","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"companyId","value":"1","type":"text"}],"url":"https://ebm.zata.rw/api/v1/company/1","description":"- **Function**: Fetches detailed information for a specific company, including insurance data.\n\n- **Parameters**: Path companyId; header companyId.\n\n- **Role**: Enables targeted company data access for detailed views or modifications.\n\n- **Note**: Cache results for frequently accessed companies.\n\n- **Use Case**: View company detail panel."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 1,\n  \"name\": \"Zata Point Global Service\",\n  \"address\": \"No 1, Zata Point Street, Zata Point\",\n  \"phone\": \"08012345678\",\n  \"email\": \"hello@example.com\",\n  \"tin\": \"123456789\",\n  \"updated_at\": \"2021-09-09, 12:00:00\",\n  \"insurance\": {\n    \"id\": 1,\n    \"name\": \"RSSB\",\n    \"code\": \"123456789\",\n    \"rate\": 90\n  }\n}"}],"_postman_id":"49b6d5c5-2eab-4af7-9fc6-9e9f62923efb"}],"id":"a264a718-9e99-4dc9-97f2-4852d9248d8b","description":"<p>Manages the creation and maintenance of company records.</p>\n","_postman_id":"a264a718-9e99-4dc9-97f2-4852d9248d8b","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}}},{"name":"Branches","item":[{"name":"List Company Branches","id":"98aef0f1-ae6d-4543-a3dc-e9cb0483609c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"companyId","value":"1","type":"text"}],"url":"https://ebm.zata.rw/api/v1/company/branch?perPage=100&page=1","description":"<ul>\n<li><p><strong>Function</strong>: Returns a paginated list of branches for a specified company.</p>\n</li>\n<li><p><strong>Parameters</strong>: Header companyId; query perPage, page.</p>\n</li>\n<li><p><strong>Role</strong>: Facilitates branch oversight for multi-branch management.</p>\n</li>\n<li><p><strong>Note</strong>: Use companyId to scope the request correctly.</p>\n</li>\n<li><p><strong>Use Case</strong>: Branch list and branch picker.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","company","branch"],"host":["https://ebm.zata.rw"],"query":[{"description":{"content":"<p>Number of items per page</p>\n","type":"text/plain"},"key":"perPage","value":"100"},{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"39c5b5d3-942b-48d9-b518-4d96fed86c6d","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"companyId","value":"1","type":"text"}],"url":{"raw":"https://ebm.zata.rw/api/v1/company/branch?perPage=100&page=1","host":["https://ebm.zata.rw"],"path":["api","v1","company","branch"],"query":[{"key":"perPage","value":"100","description":"Number of items per page"},{"key":"page","value":"1","description":"Page number"}]},"description":"- **Function**: Returns a paginated list of branches for a specified company.\n\n- **Parameters**: Header companyId; query perPage, page.\n\n- **Role**: Facilitates branch oversight for multi-branch management.\n\n- **Note**: Use companyId to scope the request correctly.\n\n- **Use Case**: Branch list and branch picker."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 1,\n  \"name\": \"Zata Point Global Service\",\n  \"address\": \"No 1, Zata Point Street, Zata Point\",\n  \"phone\": \"08012345678\",\n  \"email\": \"hello@example.com\",\n  \"tin\": \"123456789\",\n  \"updated_at\": \"2021-09-09, 12:00:00\",\n  \"insurance\": {\n    \"id\": 1,\n    \"name\": \"RSSB\",\n    \"code\": \"123456789\",\n    \"rate\": 90\n  }\n}"}],"_postman_id":"98aef0f1-ae6d-4543-a3dc-e9cb0483609c"},{"name":"Create New Branch","id":"30730c90-e621-4680-a287-6f4378602af3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"companyId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"New Branch\",\n  \"phone\": \"250788888899\",\n  \"email\": \"example@gmail.com\",\n  \"address\": \"sample Address\",\n  \"branchCategoryID\": 1\n}"},"url":"https://ebm.zata.rw/api/v1/company/branch","description":"<ul>\n<li><p><strong>Function</strong>: Adds a new branch to a company.</p>\n</li>\n<li><p><strong>Parameters</strong>: Header companyId; JSON body with name, phone, email, address, branchCategoryID.</p>\n</li>\n<li><p><strong>Role</strong>: Expands company operations.</p>\n</li>\n<li><p><strong>Note</strong>: Verify branchCategoryID is valid via App Data.</p>\n</li>\n<li><p><strong>Use Case</strong>: Create branch modal.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","company","branch"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"c2d77c63-f2e8-40bc-b0dd-94cab7e29d33","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"companyId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"New Branch\",\n  \"phone\": \"250788888899\",\n  \"email\": \"example@gmail.com\",\n  \"address\": \"sample Address\",\n  \"branchCategoryID\": 1\n}"},"url":"https://ebm.zata.rw/api/v1/company/branch","description":"- **Function**: Adds a new branch to a company.\n\n- **Parameters**: Header companyId; JSON body with name, phone, email, address, branchCategoryID.\n\n- **Role**: Expands company operations.\n\n- **Note**: Verify branchCategoryID is valid via App Data.\n\n- **Use Case**: Create branch modal."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"0\": {\n      \"id\": 1,\n      \"name\": \"Kicukiro Branch\",\n      \"phone\": \"250788888888\",\n      \"email\": \"hello@example.com\",\n      \"address\": \"KK 369 ST, Kicukiro\",\n      \"branchCode\": \"23\"\n    },\n    \"currentPage\": 1,\n    \"lastPage\": 1,\n    \"itemsPerPage\": 100,\n    \"pageItems\": 1,\n    \"total\": 1,\n    \"timestamp\": \"2021-09-09, 12:00:00\"\n  }\n}"}],"_postman_id":"30730c90-e621-4680-a287-6f4378602af3"},{"name":"Update Branch Details","id":"a1ab7445-f6a8-4f92-b788-78b1fa7a27d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"hirwa\",\n  \"phone\": \"250789121212\",\n  \"email\": \"sample@gmail.com\",\n  \"address\": \"jsdk kjsdksd\"\n}"},"url":"https://ebm.zata.rw/api/v1/company/branch","description":"<ul>\n<li><p><strong>Function</strong>: Modifies an existing branch’s information.</p>\n</li>\n<li><p><strong>Parameters</strong>: Headers companyId, branchId; JSON body with name, phone, email, address.</p>\n</li>\n<li><p><strong>Role</strong>: Ensures branch data accuracy.</p>\n</li>\n<li><p><strong>Note</strong>: Confirm branchId to target the correct branch.</p>\n</li>\n<li><p><strong>Use Case</strong>: Edit branch side drawer.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","company","branch"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"845f65f7-b001-46ab-9582-35958e38136c","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"hirwa\",\n  \"phone\": \"250789121212\",\n  \"email\": \"sample@gmail.com\",\n  \"address\": \"jsdk kjsdksd\"\n}"},"url":"https://ebm.zata.rw/api/v1/company/branch","description":"- **Function**: Modifies an existing branch’s information.\n\n- **Parameters**: Headers companyId, branchId; JSON body with name, phone, email, address.\n\n- **Role**: Ensures branch data accuracy.\n\n- **Note**: Confirm branchId to target the correct branch.\n\n- **Use Case**: Edit branch side drawer."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Branch created successfully\"\n}"}],"_postman_id":"a1ab7445-f6a8-4f92-b788-78b1fa7a27d2"}],"id":"e555b76c-748b-4181-ab71-fe6066cc7365","description":"<p>Handles operations for company branches.</p>\n","_postman_id":"e555b76c-748b-4181-ab71-fe6066cc7365","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}}},{"name":"App Data","item":[{"name":"Get Product Types","id":"bde53616-faba-43de-a8a3-4869e17c8bcf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://ebm.zata.rw/api/v1/data/product-type","description":"<ul>\n<li><p><strong>Function</strong>: Lists all product types available.</p>\n</li>\n<li><p><strong>Parameters</strong>: None.</p>\n</li>\n<li><p><strong>Role</strong>: Provides reference data for product classification.</p>\n</li>\n<li><p><strong>Note</strong>: Cache for performance.</p>\n</li>\n<li><p><strong>Use Case</strong>: Product type dropdowns.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","data","product-type"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"06b589d9-94c0-4cc3-b768-331d4952745d","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"https://ebm.zata.rw/api/v1/data/product-type","description":"- **Function**: Lists all product types available.\n\n- **Parameters**: None.\n\n- **Role**: Provides reference data for product classification.\n\n- **Note**: Cache for performance.\n\n- **Use Case**: Product type dropdowns."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 1,\n    \"name\": \"Product Type 1\",\n    \"description\": \"Product Type 1 description\"\n  },\n  {\n    \"id\": 2,\n    \"name\": \"Product Type 2\",\n    \"description\": \"Product Type 2 description\"\n  },\n  {\n    \"id\": 3,\n    \"name\": \"Product Type 3\",\n    \"description\": \"Product Type 3 description\"\n  }\n]"}],"_postman_id":"bde53616-faba-43de-a8a3-4869e17c8bcf"},{"name":"Get Payment Methods","id":"6c9718c7-d3eb-4219-8702-6c5909495e0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"companyId","value":"1","type":"text"}],"url":"https://ebm.zata.rw/api/v1/data/payment-mode","description":"<ul>\n<li><p><strong>Function</strong>: Returns payment methods for a company.</p>\n</li>\n<li><p><strong>Parameters</strong>: Header companyId.</p>\n</li>\n<li><p><strong>Role</strong>: Validates payment options.</p>\n</li>\n<li><p><strong>Note</strong>: Use to populate UI.</p>\n</li>\n<li><p><strong>Use Case</strong>: Payment mode selection.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","data","payment-mode"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"e1c12b69-1daa-4bc0-8bb4-ff779ecd57be","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"companyId","value":"1","type":"text"}],"url":"https://ebm.zata.rw/api/v1/data/payment-mode","description":"- **Function**: Returns payment methods for a company.\n\n- **Parameters**: Header companyId.\n\n- **Role**: Validates payment options.\n\n- **Note**: Use to populate UI.\n\n- **Use Case**: Payment mode selection."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"name\": \"DEBIT & CREDIT CARD\",\n    \"code\": \"05\",\n    \"description\": \"PAYMENT USING CARD\",\n    \"creditCount\": 0,\n    \"debitCount\": 0,\n    \"creditAmount\": 0,\n    \"debitAmount\": 0,\n    \"totalDifference\": 0\n  },\n  {\n    \"name\": \"CASH\",\n    \"code\": \"01\",\n    \"description\": \"CASH\",\n    \"creditCount\": 2,\n    \"debitCount\": 12,\n    \"creditAmount\": \"150000.00\",\n    \"debitAmount\": \"14322.88\",\n    \"totalDifference\": 4545454\n  }\n]"}],"_postman_id":"6c9718c7-d3eb-4219-8702-6c5909495e0e"},{"name":"Get Product Categories","id":"3b7936bf-4a7e-4705-98d3-241552c6cbde","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://ebm.zata.rw/api/v1/data/product-category","description":"<ul>\n<li><p><strong>Function</strong>: Lists all product categories.</p>\n</li>\n<li><p><strong>Parameters</strong>: None.</p>\n</li>\n<li><p><strong>Role</strong>: Organizes products for reporting and UI.</p>\n</li>\n<li><p><strong>Note</strong>: Required for <code>branchProductCategoryID</code>.</p>\n</li>\n<li><p><strong>Use Case</strong>: Category filters.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","data","product-category"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"493a1cea-47fc-4755-ab3e-db12a5b8227f","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"https://ebm.zata.rw/api/v1/data/product-category","description":"- **Function**: Lists all product categories.\n\n- **Parameters**: None.\n\n- **Role**: Organizes products for reporting and UI.\n\n- **Note**: Required for `branchProductCategoryID`.\n\n- **Use Case**: Category filters."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 1,\n    \"name\": \"Office Supplies\",\n    \"description\": \"Expenses related to office supplies\"\n  },\n  {\n    \"id\": 2,\n    \"name\": \"Travel Expenses\",\n    \"description\": \"Expenses related to travel\"\n  }\n]"}],"_postman_id":"3b7936bf-4a7e-4705-98d3-241552c6cbde"},{"name":"Get Product Classes","id":"2f6399b9-69be-4bb6-b84e-4a6435eed5d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://ebm.zata.rw/api/v1/data/product-class","description":"<ul>\n<li><p><strong>Function</strong>: Retrieves product classes.</p>\n</li>\n<li><p><strong>Parameters</strong>: None.</p>\n</li>\n<li><p><strong>Role</strong>: Adds classification granularity.</p>\n</li>\n<li><p><strong>Note</strong>: Optional for basic flows.</p>\n</li>\n<li><p><strong>Use Case</strong>: HS/category mapping.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","data","product-class"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"c3776e29-6261-452e-ab4e-095d3c57635c","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"https://ebm.zata.rw/api/v1/data/product-class","description":"- **Function**: Retrieves product classes.\n\n- **Parameters**: None.\n\n- **Role**: Adds classification granularity.\n\n- **Note**: Optional for basic flows.\n\n- **Use Case**: HS/category mapping."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 1,\n    \"name\": \"Product Class 1\",\n    \"code\": \"Product Class 1 code\"\n  }\n]"}],"_postman_id":"2f6399b9-69be-4bb6-b84e-4a6435eed5d7"},{"name":"Get Product Quantity Units","id":"b448b8a9-65b5-4a0d-bce6-c7876c313053","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://ebm.zata.rw/api/v1/data/product-quantity-unit","description":"<ul>\n<li><p><strong>Function</strong>: Lists units for measuring product quantities.</p>\n</li>\n<li><p><strong>Parameters</strong>: None.</p>\n</li>\n<li><p><strong>Role</strong>: Ensures consistent inventory metrics.</p>\n</li>\n<li><p><strong>Note</strong>: Mandatory for product creation.</p>\n</li>\n<li><p><strong>Use Case</strong>: Unit selectors.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","data","product-quantity-unit"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"1f304806-4728-415c-b28e-4867373b64ae","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"https://ebm.zata.rw/api/v1/data/product-quantity-unit","description":"- **Function**: Lists units for measuring product quantities.\n\n- **Parameters**: None.\n\n- **Role**: Ensures consistent inventory metrics.\n\n- **Note**: Mandatory for product creation.\n\n- **Use Case**: Unit selectors."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 1,\n    \"name\": \"Product Quantity Unit 1\",\n    \"code\": \"Product Quantity Unit 1 code\"\n  }\n]"}],"_postman_id":"b448b8a9-65b5-4a0d-bce6-c7876c313053"},{"name":"Get Product Packaging Units","id":"dad93856-7919-44f5-a530-26e92b8c3db0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://ebm.zata.rw/api/v1/data/product-packaging-unit","description":"<ul>\n<li><p><strong>Function</strong>: Returns packaging units for products.</p>\n</li>\n<li><p><strong>Parameters</strong>: None.</p>\n</li>\n<li><p><strong>Role</strong>: Supports detailed inventory setup.</p>\n</li>\n<li><p><strong>Note</strong>: Pair with quantity units for coherence.</p>\n</li>\n<li><p><strong>Use Case</strong>: Packaging selectors.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","data","product-packaging-unit"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"de989fbf-d2b6-4c4a-baa8-acb5acb634a7","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"https://ebm.zata.rw/api/v1/data/product-packaging-unit","description":"- **Function**: Returns packaging units for products.\n\n- **Parameters**: None.\n\n- **Role**: Supports detailed inventory setup.\n\n- **Note**: Pair with quantity units for coherence.\n\n- **Use Case**: Packaging selectors."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 1,\n    \"name\": \"Product Packaging Unit 1\",\n    \"code\": \"Product Packaging Unit 1 code\"\n  }\n]"}],"_postman_id":"dad93856-7919-44f5-a530-26e92b8c3db0"},{"name":"Get Product Taxes","id":"0596c625-719b-4f9b-b140-04266e36d1f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://ebm.zata.rw/api/v1/data/product-tax","description":"<ul>\n<li><p><strong>Function</strong>: Lists applicable tax rates.</p>\n</li>\n<li><p><strong>Parameters</strong>: None.</p>\n</li>\n<li><p><strong>Role</strong>: Ensures compliant pricing.</p>\n</li>\n<li><p><strong>Note</strong>: Use for taxID on product creation.</p>\n</li>\n<li><p><strong>Use Case</strong>: Tax dropdowns.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","data","product-tax"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"3ff2cf66-20fc-4ccc-a035-888af67788ee","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"https://ebm.zata.rw/api/v1/data/product-tax","description":"- **Function**: Lists applicable tax rates.\n\n- **Parameters**: None.\n\n- **Role**: Ensures compliant pricing.\n\n- **Note**: Use for taxID on product creation.\n\n- **Use Case**: Tax dropdowns."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 1,\n    \"name\": \"Product Tax 1\",\n    \"rate\": 18\n  }\n]"}],"_postman_id":"0596c625-719b-4f9b-b140-04266e36d1f6"},{"name":"Get Product Countries of Origin","id":"e0d165ca-9395-4f3e-87e6-53b97ffda891","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://ebm.zata.rw/api/v1/data/product-country-origin","description":"<ul>\n<li><p><strong>Function</strong>: Lists countries for product origins.</p>\n</li>\n<li><p><strong>Parameters</strong>: None.</p>\n</li>\n<li><p><strong>Role</strong>: Adds traceability to products.</p>\n</li>\n<li><p><strong>Note</strong>: Cache to optimize performance.</p>\n</li>\n<li><p><strong>Use Case</strong>: Country-of-origin select.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","data","product-country-origin"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"fab3ffa5-4b68-4e60-bd50-7578ae6af70f","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"https://ebm.zata.rw/api/v1/data/product-country-origin","description":"- **Function**: Lists countries for product origins.\n\n- **Parameters**: None.\n\n- **Role**: Adds traceability to products.\n\n- **Note**: Cache to optimize performance.\n\n- **Use Case**: Country-of-origin select."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 1,\n    \"name\": \"Country 1\",\n    \"code\": \"Country Code 1\"\n  }\n]"}],"_postman_id":"e0d165ca-9395-4f3e-87e6-53b97ffda891"}],"id":"496d4c1e-b1ac-4b16-8d70-6fc4ae13718b","description":"<p>Provides reference data for system configurations.</p>\n","_postman_id":"496d4c1e-b1ac-4b16-8d70-6fc4ae13718b","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}}},{"name":"Products","item":[{"name":"List Branch Products","id":"d493f1b3-dc20-494d-bca6-02cc6f054193","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"url":"https://ebm.zata.rw/api/v1/product/branch?perPage=100&page=1&searchQuery=test","description":"<ul>\n<li><p><strong>Function</strong>: Retrieves paginated products for a branch, including stock and category.</p>\n</li>\n<li><p><strong>Parameters</strong>: Headers companyId, branchId; query perPage, page, searchQuery.</p>\n</li>\n<li><p><strong>Role</strong>: Manages branch-specific inventory views.</p>\n</li>\n<li><p><strong>Note</strong>: Use searchQuery for filtering.</p>\n</li>\n<li><p><strong>Use Case</strong>: Product list and search.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","product","branch"],"host":["https://ebm.zata.rw"],"query":[{"description":{"content":"<p>Number of items per page</p>\n","type":"text/plain"},"key":"perPage","value":"100"},{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Search Query</p>\n","type":"text/plain"},"key":"searchQuery","value":"test"}],"variable":[]}},"response":[{"id":"73289e80-a396-41d4-930c-a13f54dc76b8","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"url":{"raw":"https://ebm.zata.rw/api/v1/product/branch?perPage=100&page=1&searchQuery=test","host":["https://ebm.zata.rw"],"path":["api","v1","product","branch"],"query":[{"key":"perPage","value":"100","description":"Number of items per page"},{"key":"page","value":"1","description":"Page number"},{"key":"searchQuery","value":"test","description":"Search Query"}]},"description":"- **Function**: Retrieves paginated products for a branch, including stock and category.\n\n- **Parameters**: Headers companyId, branchId; query perPage, page, searchQuery.\n\n- **Role**: Manages branch-specific inventory views.\n\n- **Note**: Use searchQuery for filtering.\n\n- **Use Case**: Product list and search."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": 1,\n      \"name\": \"Product Name\",\n      \"itemCode\": \"Product Code\",\n      \"category\": \"Product Category\",\n      \"quantityUnit\": \"Quantity Unit\",\n      \"packagingUnit\": \"Packaging Unit\",\n      \"tax\": \"Product Tax\",\n      \"class\": \"Product Class\",\n      \"type\": \"Product Type\",\n      \"totalStock\": 10,\n      \"image\": \"url\"\n    }\n  ],\n  \"currentPage\": 1,\n  \"lastPage\": 1,\n  \"itemsPerPage\": 10,\n  \"pageItems\": 2,\n  \"total\": 2,\n  \"timestamp\": \"2024-12-12, 09:16:26\"\n}"}],"_postman_id":"d493f1b3-dc20-494d-bca6-02cc6f054193"},{"name":"Create New Product","id":"7305a8dc-21fd-4ef8-baec-2faadf7668ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Product Name\",\n  \"packagingUnitID\": 1,\n  \"quantityUnitID\": 1,\n  \"countryID\": 1,\n  \"taxID\": 1,\n  \"branchProductCategoryID\": 1,\n  \"hasStock\": \"yes or no\"\n}"},"url":"https://ebm.zata.rw/api/v1/product","description":"<ul>\n<li><p><strong>Function</strong>: Adds a new product to a branch.</p>\n</li>\n<li><p><strong>Parameters</strong>: Headers companyId, branchId; JSON body with name, packagingUnitID, quantityUnitID, countryID, taxID, branchProductCategoryID, hasStock.</p>\n</li>\n<li><p><strong>Role</strong>: Builds product catalogs.</p>\n</li>\n<li><p><strong>Note</strong>: Use App Data endpoints for valid IDs.</p>\n</li>\n<li><p><strong>Use Case</strong>: Add product form.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","product"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"2a242bb0-53d3-408c-9669-53bfb568501b","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Product Name\",\n  \"packagingUnitID\": 1,\n  \"quantityUnitID\": 1,\n  \"countryID\": 1,\n  \"taxID\": 1,\n  \"branchProductCategoryID\": 1,\n  \"hasStock\": \"yes or no\"\n}"},"url":"https://ebm.zata.rw/api/v1/product","description":"- **Function**: Adds a new product to a branch.\n\n- **Parameters**: Headers companyId, branchId; JSON body with name, packagingUnitID, quantityUnitID, countryID, taxID, branchProductCategoryID, hasStock.\n\n- **Role**: Builds product catalogs.\n\n- **Note**: Use App Data endpoints for valid IDs.\n\n- **Use Case**: Add product form."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Product created successfully\",\n  \"productId\": 1\n}"}],"_postman_id":"7305a8dc-21fd-4ef8-baec-2faadf7668ec"},{"name":"Get Product by ID","id":"02884321-14d4-46c3-8ab0-f4871df47482","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"url":"https://ebm.zata.rw/api/v1/product/1","description":"<ul>\n<li><p><strong>Function</strong>: Fetches detailed product information, including stock and batch details.</p>\n</li>\n<li><p><strong>Parameters</strong>: Path productId; headers companyId, branchId.</p>\n</li>\n<li><p><strong>Role</strong>: Provides in-depth product views.</p>\n</li>\n<li><p><strong>Note</strong>: Useful for editing or transaction prep.</p>\n</li>\n<li><p><strong>Use Case</strong>: Product detail drawer.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","product","1"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"7806cc89-b1e4-4799-ac17-6bfa10fbfce8","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"url":"https://ebm.zata.rw/api/v1/product/1","description":"- **Function**: Fetches detailed product information, including stock and batch details.\n\n- **Parameters**: Path productId; headers companyId, branchId.\n\n- **Role**: Provides in-depth product views.\n\n- **Note**: Useful for editing or transaction prep.\n\n- **Use Case**: Product detail drawer."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 1,\n  \"name\": \"Product Name\",\n  \"itemCode\": \"Product Code\",\n  \"category\": \"Product Category\",\n  \"categoryID\": 1,\n  \"quantityUnit\": \"Quantity Unit\",\n  \"quantityUnitID\": 1,\n  \"packagingUnit\": \"Packaging Unit\",\n  \"packagingUnitID\": 1,\n  \"country\": \"Product Country\",\n  \"countryID\": 1,\n  \"tax\": \"Product Tax\",\n  \"taxID\": 1,\n  \"class\": \"Product Class\",\n  \"classID\": 1,\n  \"type\": \"Product Type\",\n  \"typeID\": 1,\n  \"branchProductCategory\": \"Product Category\",\n  \"branchProductCategoryID\": 1,\n  \"totalStock\": 10,\n  \"soldInSubUnit\": false,\n  \"conversionFactor\": 0,\n  \"image\": \"url\",\n  \"productDetails\": [\n    {\n      \"id\": 1,\n      \"currentStock\": 10,\n      \"purchasePrice\": 10,\n      \"salesPrice\": 10,\n      \"discountRate\": 20,\n      \"status\": \"in_stock\",\n      \"expireDate\": \"2024-12-12\",\n      \"batchNumber\": \"Batch Number\"\n    }\n  ]\n}"}],"_postman_id":"02884321-14d4-46c3-8ab0-f4871df47482"},{"name":"Update Product Details","id":"1d7363ac-6535-4d5f-8ed1-289d57feff33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Product Name\",\n  \"branchProductCategoryID\": 1\n}"},"url":"https://ebm.zata.rw/api/v1/product/1","description":"<ul>\n<li><p><strong>Function</strong>: Updates a product’s information.</p>\n</li>\n<li><p><strong>Parameters</strong>: Path productId; headers companyId, branchId; JSON body with fields like name, branchProductCategoryID.</p>\n</li>\n<li><p><strong>Role</strong>: Keeps inventory current.</p>\n</li>\n<li><p><strong>Note</strong>: Partial updates supported.</p>\n</li>\n<li><p><strong>Use Case</strong>: Edit product panel.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","product","1"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"907ed7ee-dce3-49e8-a36f-8a4b3317a8a5","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Product Name\",\n  \"branchProductCategoryID\": 1\n}"},"url":"https://ebm.zata.rw/api/v1/product/1","description":"- **Function**: Updates a product’s information.\n\n- **Parameters**: Path productId; headers companyId, branchId; JSON body with fields like name, branchProductCategoryID.\n\n- **Role**: Keeps inventory current.\n\n- **Note**: Partial updates supported.\n\n- **Use Case**: Edit product panel."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Product updated successfully\"\n}"}],"_postman_id":"1d7363ac-6535-4d5f-8ed1-289d57feff33"},{"name":"Increase Product Quantity","id":"4b71070c-be24-4e89-a2a7-5008e1c5f384","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"description\": \"reason for increasing quantity\",\n  \"quantity\": 10,\n  \"salePrice\": 10,\n  \"batchNumber\": \"Batch Number\",\n  \"discountRate\": 0\n}"},"url":"https://ebm.zata.rw/api/v1/product/increase-quantity/1","description":"<ul>\n<li><p><strong>Function</strong>: Adds stock to a product.</p>\n</li>\n<li><p><strong>Parameters</strong>: Path productId; headers companyId, branchId; JSON body with description, quantity, salePrice, batchNumber, discountRate.</p>\n</li>\n<li><p><strong>Role</strong>: Manages restocking.</p>\n</li>\n<li><p><strong>Note</strong>: Track batchNumber for traceability.</p>\n</li>\n<li><p><strong>Use Case</strong>: Receive stock workflow.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","product","increase-quantity","1"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"09be5d73-fc93-4a0d-aa14-0d8004e28a2c","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"description\": \"reason for increasing quantity\",\n  \"quantity\": 10,\n  \"salePrice\": 10,\n  \"batchNumber\": \"Batch Number\",\n  \"discountRate\": 0\n}"},"url":"https://ebm.zata.rw/api/v1/product/increase-quantity/1","description":"- **Function**: Adds stock to a product.\n\n- **Parameters**: Path productId; headers companyId, branchId; JSON body with description, quantity, salePrice, batchNumber, discountRate.\n\n- **Role**: Manages restocking.\n\n- **Note**: Track batchNumber for traceability.\n\n- **Use Case**: Receive stock workflow."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Product quantity updated successfully\"\n}"}],"_postman_id":"4b71070c-be24-4e89-a2a7-5008e1c5f384"},{"name":"Reduce Product Quantity","id":"e69c02e1-1c44-4dbc-b3e9-995d835860e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"quantity\": 10,\n  \"description\": \"reason for reducing quantity\",\n  \"batchNumber\": \"Batch Number\"\n}"},"url":"https://ebm.zata.rw/api/v1/product/reduce-quantity/1","description":"<ul>\n<li><p><strong>Function</strong>: Decreases stock for a product.</p>\n</li>\n<li><p><strong>Parameters</strong>: Path productId; headers companyId, branchId; JSON body with quantity, description, batchNumber.</p>\n</li>\n<li><p><strong>Role</strong>: Maintains inventory balance.</p>\n</li>\n<li><p><strong>Note</strong>: Prevent negative stock with checks.</p>\n</li>\n<li><p><strong>Use Case</strong>: Adjust/consume stock flow.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","product","reduce-quantity","1"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"8d058ef6-079c-4a6c-9e7a-2ff5e74d89b7","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"quantity\": 10,\n  \"description\": \"reason for reducing quantity\",\n  \"batchNumber\": \"Batch Number\"\n}"},"url":"https://ebm.zata.rw/api/v1/product/reduce-quantity/1","description":"- **Function**: Decreases stock for a product.\n\n- **Parameters**: Path productId; headers companyId, branchId; JSON body with quantity, description, batchNumber.\n\n- **Role**: Maintains inventory balance.\n\n- **Note**: Prevent negative stock with checks.\n\n- **Use Case**: Adjust/consume stock flow."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Product quantity updated successfully\"\n}"}],"_postman_id":"e69c02e1-1c44-4dbc-b3e9-995d835860e0"}],"id":"ed663ccd-28c2-4fda-8f30-c7f116f5bf29","description":"<p>Oversees product catalog and inventory.</p>\n","_postman_id":"ed663ccd-28c2-4fda-8f30-c7f116f5bf29","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}}},{"name":"Parties","item":[{"name":"List Company Parties","id":"dd2ec40d-8867-4e7a-9a41-c55302823e03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"companyId","value":"1","type":"text"}],"url":"https://ebm.zata.rw/api/v1/party?partyType=Customer&perPage=10&page=1","description":"<ul>\n<li><p><strong>Function</strong>: Get all company parties.</p>\n</li>\n<li><p><strong>Parameters</strong>: Header companyId; query partyType (Customer or Supplier), perPage, page.</p>\n</li>\n<li><p><strong>Role</strong>: Lists customers and suppliers.</p>\n</li>\n<li><p><strong>Note</strong>: Use partyType to filter.</p>\n</li>\n<li><p><strong>Use Case</strong>: Display and filter customer/supplier directory.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","party"],"host":["https://ebm.zata.rw"],"query":[{"description":{"content":"<p>Customer or Supplier</p>\n","type":"text/plain"},"key":"partyType","value":"Customer"},{"key":"perPage","value":"10"},{"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"450aabb2-5e6b-429b-938c-251190cf4ec1","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"companyId","value":"1","type":"text"}],"url":{"raw":"https://ebm.zata.rw/api/v1/party?partyType=Customer&perPage=10&page=1","host":["https://ebm.zata.rw"],"path":["api","v1","party"],"query":[{"key":"partyType","value":"Customer","description":"Customer or Supplier"},{"key":"perPage","value":"10"},{"key":"page","value":"1"}]},"description":"- **Function**: Get all company parties.\n\n- **Parameters**: Header companyId; query partyType (Customer or Supplier), perPage, page.\n\n- **Role**: Lists customers and suppliers.\n\n- **Note**: Use partyType to filter.\n\n- **Use Case**: Display and filter customer/supplier directory."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": 1,\n      \"name\": \"John Doe\",\n      \"phone\": \"08012345678\",\n      \"email\": \"johndoe@example.com\",\n      \"tin\": \"123456789\",\n      \"address\": \"123 Main St, City, Country\",\n      \"partyType\": \"Customer\",\n      \"image\": \"https://example.com/image.jpg\"\n    }\n  ]\n}"}],"_postman_id":"dd2ec40d-8867-4e7a-9a41-c55302823e03"},{"name":"Create New Customer","id":"3a784e44-db72-4090-8e93-e1490d1692d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"companyId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"John Doe\",\n  \"address\": \"123 Main St, City, Country\",\n  \"phone\": \"08012345678\",\n  \"email\": \"johndoe@example.com\",\n  \"tin\": \"123456789\",\n  \"hasInsurance\": \"no\"\n}"},"url":"https://ebm.zata.rw/api/v1/party/new-customer","description":"<ul>\n<li><p><strong>Function</strong>: Create a new customer.</p>\n</li>\n<li><p><strong>Parameters</strong>: Header companyId; JSON body name, address, phone, email, tin, hasInsurance.</p>\n</li>\n<li><p><strong>Role</strong>: Adds a customer to the directory.</p>\n</li>\n<li><p><strong>Note</strong>: Validation errors return 400 with detailed messages.</p>\n</li>\n<li><p><strong>Use Case</strong>: Add a customer during onboarding or at checkout.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","party","new-customer"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"f5b44a1e-e0fb-4fac-b45a-32008ca064ab","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"companyId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"John Doe\",\n  \"address\": \"123 Main St, City, Country\",\n  \"phone\": \"08012345678\",\n  \"email\": \"johndoe@example.com\",\n  \"tin\": \"123456789\",\n  \"hasInsurance\": \"no\"\n}"},"url":"https://ebm.zata.rw/api/v1/party/new-customer","description":"- **Function**: Create a new customer.\n\n- **Parameters**: Header companyId; JSON body name, address, phone, email, tin, hasInsurance.\n\n- **Role**: Adds a customer to the directory.\n\n- **Note**: Validation errors return 400 with detailed messages.\n\n- **Use Case**: Add a customer during onboarding or at checkout."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Customer Created Successfully\"\n}"}],"_postman_id":"3a784e44-db72-4090-8e93-e1490d1692d8"},{"name":"Create New Supplier","id":"48cde9e6-ccb7-4af1-9fbd-80f2d1c10ff9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"companyId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Supplier Name\",\n  \"address\": \"123 Supplier St, City, Country\",\n  \"phone\": \"08012345678\",\n  \"email\": \"supplier@example.com\",\n  \"tin\": \"987654321\"\n}"},"url":"https://ebm.zata.rw/api/v1/party/new-supplier","description":"<ul>\n<li><p><strong>Function</strong>: Create a new supplier.</p>\n</li>\n<li><p><strong>Parameters</strong>: Header companyId; JSON body name, address, phone, email, tin.</p>\n</li>\n<li><p><strong>Role</strong>: Adds a supplier to the directory.</p>\n</li>\n<li><p><strong>Note</strong>: Ensure TIN is valid.</p>\n</li>\n<li><p><strong>Use Case</strong>: Register a new vendor before recording purchases.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","party","new-supplier"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"2e6b680b-d67a-4b9f-af09-74cb030ce0bb","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"companyId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Supplier Name\",\n  \"address\": \"123 Supplier St, City, Country\",\n  \"phone\": \"08012345678\",\n  \"email\": \"supplier@example.com\",\n  \"tin\": \"987654321\"\n}"},"url":"https://ebm.zata.rw/api/v1/party/new-supplier","description":"- **Function**: Create a new supplier.\n\n- **Parameters**: Header companyId; JSON body name, address, phone, email, tin.\n\n- **Role**: Adds a supplier to the directory.\n\n- **Note**: Ensure TIN is valid.\n\n- **Use Case**: Register a new vendor before recording purchases."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Supplier Created Successfully\"\n}"}],"_postman_id":"48cde9e6-ccb7-4af1-9fbd-80f2d1c10ff9"}],"id":"695cb3b6-9586-4a2a-ae20-97156aa4ee23","description":"<p>Manage customers and suppliers.</p>\n","_postman_id":"695cb3b6-9586-4a2a-ae20-97156aa4ee23","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}}},{"name":"Transactions","item":[{"name":"List All Transactions","id":"ca9c14a1-fc83-44fe-971e-b474b616f29e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"companyId","value":"2","type":"text"},{"key":"branchId","value":"16","type":"text"}],"url":"https://ebm.zata.rw/api/v1/transaction?perPage=100&page=1","description":"<ul>\n<li><p><strong>Function</strong>: Retrieves paginated transactions for a branch.</p>\n</li>\n<li><p><strong>Parameters</strong>: Headers companyId, branchId; query perPage, page, fromDate, toDate, invoiceType.</p>\n</li>\n<li><p><strong>Role</strong>: Offers transaction history for reporting.</p>\n</li>\n<li><p><strong>Note</strong>: Filter by dates for performance.</p>\n</li>\n<li><p><strong>Use Case</strong>: Transactions grid and reporting filters.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","transaction"],"host":["https://ebm.zata.rw"],"query":[{"key":"perPage","value":"100"},{"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"b2496a7d-e2d8-45f7-84d8-7b555b2c132c","name":"200 OK","originalRequest":{"auth":{"type":"bearer","bearer":{"token":""}},"method":"GET","header":[{"key":"companyId","value":"2","type":"text"},{"key":"branchId","value":"16","type":"text"}],"url":{"raw":"https://ebm.zata.rw/api/v1/transaction?perPage=100&page=1","host":["https://ebm.zata.rw"],"path":["api","v1","transaction"],"query":[{"key":"perPage","value":"100"},{"key":"page","value":"1"}]},"description":"- **Function**: Retrieves paginated transactions for a branch.\n\n- **Parameters**: Headers companyId, branchId; query perPage, page, fromDate, toDate, invoiceType.\n\n- **Role**: Offers transaction history for reporting.\n\n- **Note**: Filter by dates for performance.\n\n- **Use Case**: Transactions grid and reporting filters."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": 1,\n      \"invoiceType\": \"sale\",\n      \"invoiceNumber\": \"INV001\",\n      \"clientName\": \"John Doe\",\n      \"salesDate\": \"2023-01-01\",\n      \"totalAmount\": 1000,\n      \"synced\": true,\n      \"isRefunded\": false,\n      \"status\": \"approved\",\n      \"itemsCount\": 2\n    }\n  ],\n  \"currentPage\": 1,\n  \"lastpage\": 1,\n  \"itemsPerPage\": 10,\n  \"pageItems\": 1,\n  \"total\": 1\n}"}],"_postman_id":"ca9c14a1-fc83-44fe-971e-b474b616f29e"},{"name":"Create Sale Transaction","id":"5e9a5302-d6e7-4339-be8c-76ab24fb4cd8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"companyId","value":"2","type":"text"},{"key":"branchId","value":"16","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"purchaseCode\": \"43034\",\n  \"paymentMethodID\": 1,\n  \"customerID\": 1,\n  \"transactionDate\": \"2024-01-01\",\n  \"note\": \"some note\",\n  \"customerTIN\": \"123456789\",\n  \"customerName\": \"some name\",\n  \"customerPhone\": \"+250788888888\",\n  \"items\": [{ \n    \"productID\": 1, \n    \"units\": 12.5, \n    \"unitPrice\": 1000, \n    \"discountRate\": 0, \n    \"batchNumber\": \"someBatch\"\n  }]\n}"},"url":"https://ebm.zata.rw/api/v1/transaction/sale","description":"<ul>\n<li><p><strong>Function</strong>: Processes a new sale, updating stock and generating an invoice.</p>\n</li>\n<li><p><strong>Parameters</strong>: Headers companyId, branchId; JSON body with purchaseCode, paymentMethodID, customerID, transactionDate, note, customerTIN, customerName, customerPhone, items (productID, units, unitPrice, discountRate, batchNumber).</p>\n</li>\n<li><p><strong>Role</strong>: Automates sales, core to revenue flow.</p>\n</li>\n<li><p><strong>Note</strong>: Validate stock before submission; use /transaction/calculate to preview totals.</p>\n</li>\n<li><p><strong>Use Case</strong>: Checkout and invoice issuance.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v1","transaction","sale"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"31ab5f08-d228-4039-bbbf-5dbd6d5d981b","name":"200 OK","originalRequest":{"auth":{"type":"bearer","bearer":{"token":""}},"method":"POST","header":[{"key":"companyId","value":"2","type":"text"},{"key":"branchId","value":"16","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"purchaseCode\": \"43034\",\n  \"paymentMethodID\": 1,\n  \"customerID\": 1,\n  \"transactionDate\": \"2024-01-01\",\n  \"note\": \"some note\",\n  \"customerTIN\": \"123456789\",\n  \"customerName\": \"some name\",\n  \"customerPhone\": \"+250788888888\",\n  \"items\": [{ \n    \"productID\": 1, \n    \"units\": 12.5, \n    \"unitPrice\": 1000, \n    \"discountRate\": 0, \n    \"batchNumber\": \"someBatch\"\n  }]\n}"},"url":"https://ebm.zata.rw/api/v1/transaction/sale","description":"- **Function**: Processes a new sale, updating stock and generating an invoice.\n\n- **Parameters**: Headers companyId, branchId; JSON body with purchaseCode, paymentMethodID, customerID, transactionDate, note, customerTIN, customerName, customerPhone, items (productID, units, unitPrice, discountRate, batchNumber).\n\n- **Role**: Automates sales, core to revenue flow.\n\n- **Note**: Validate stock before submission; use /transaction/calculate to preview totals.\n\n- **Use Case**: Checkout and invoice issuance."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Sale transaction created successfully\",\n  \"invoiceID\": 1\n}"}],"_postman_id":"5e9a5302-d6e7-4339-be8c-76ab24fb4cd8"},{"name":"Create Refund Transaction","id":"41438fee-1e15-493c-b8c0-d896edef59b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"transactionDate\": \"2024-01-01\",\n  \"purchaseCode\": \"8943786743\",\n  \"note\": \"some note\"\n}"},"url":"https://ebm.zata.rw/api/v1/transaction/refund/1","description":"<ul>\n<li><p><strong>Function</strong>: Issues a refund for a previous transaction.</p>\n</li>\n<li><p><strong>Parameters</strong>: Path transactionId; headers companyId, branchId; JSON body with transactionDate, purchaseCode, note.</p>\n</li>\n<li><p><strong>Role</strong>: Handles reversals, maintaining financial integrity.</p>\n</li>\n<li><p><strong>Note</strong>: Reference original transactionId.</p>\n</li>\n<li><p><strong>Use Case</strong>: Refund flow.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","transaction","refund","1"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"efd67b10-90bd-4c32-9561-f090629039eb","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"transactionDate\": \"2024-01-01\",\n  \"purchaseCode\": \"8943786743\",\n  \"note\": \"some note\"\n}"},"url":"https://ebm.zata.rw/api/v1/transaction/refund/1","description":"- **Function**: Issues a refund for a previous transaction.\n\n- **Parameters**: Path transactionId; headers companyId, branchId; JSON body with transactionDate, purchaseCode, note.\n\n- **Role**: Handles reversals, maintaining financial integrity.\n\n- **Note**: Reference original transactionId.\n\n- **Use Case**: Refund flow."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Refund transaction created successfully\",\n  \"invoiceID\": 1\n}"}],"_postman_id":"41438fee-1e15-493c-b8c0-d896edef59b7"},{"name":"Create Proforma Transaction","id":"eeb3c247-0e05-4bf0-987d-3328643276c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"clientTin\": \"123456789\",\n  \"purchaseCode\": \"43034\",\n  \"paymentMethodID\": 1,\n  \"transactionDate\": \"2024-01-01\",\n  \"note\": \"some note\",\n  \"items\": [{ \n    \"productID\": 1, \n    \"units\": 12.5, \n    \"unitPrice\": 1000, \n    \"discountRate\": 0, \n    \"batchNumber\": \"someBatch\"\n  }]\n}"},"url":"https://ebm.zata.rw/api/v1/transaction/proforma","description":"<ul>\n<li><p><strong>Function</strong>: Generates a proforma invoice for quotes.</p>\n</li>\n<li><p><strong>Parameters</strong>: Headers companyId, branchId; JSON body with clientTin, purchaseCode, paymentMethodID, transactionDate, note, items.</p>\n</li>\n<li><p><strong>Role</strong>: Facilitates preliminary sales.</p>\n</li>\n<li><p><strong>Note</strong>: Does not affect stock.</p>\n</li>\n<li><p><strong>Use Case</strong>: Quote creation.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","transaction","proforma"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"06f9fc1e-67c0-4f65-adc6-e984a3478348","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"clientTin\": \"123456789\",\n  \"purchaseCode\": \"43034\",\n  \"paymentMethodID\": 1,\n  \"transactionDate\": \"2024-01-01\",\n  \"note\": \"some note\",\n  \"items\": [{ \n    \"productID\": 1, \n    \"units\": 12.5, \n    \"unitPrice\": 1000, \n    \"discountRate\": 0, \n    \"batchNumber\": \"someBatch\"\n  }]\n}"},"url":"https://ebm.zata.rw/api/v1/transaction/proforma","description":"- **Function**: Generates a proforma invoice for quotes.\n\n- **Parameters**: Headers companyId, branchId; JSON body with clientTin, purchaseCode, paymentMethodID, transactionDate, note, items.\n\n- **Role**: Facilitates preliminary sales.\n\n- **Note**: Does not affect stock.\n\n- **Use Case**: Quote creation."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Proforma transaction created successfully\",\n  \"invoiceID\": 1\n}"}],"_postman_id":"eeb3c247-0e05-4bf0-987d-3328643276c2"},{"name":"Calculate Transaction Totals","id":"041682cb-ae6d-43ae-a153-8bee0fa019e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"items\": [{ \n    \"productID\": 1, \n    \"units\": 90, \n    \"unitPrice\": 1000, \n    \"discountRate\": 10, \n    \"batchNumber\": \"aj9kk89\"\n  }]\n}"},"url":"https://ebm.zata.rw/api/v1/transaction/calculate","description":"<ul>\n<li><p><strong>Function</strong>: Computes totals, taxes, and discounts for a set of items.</p>\n</li>\n<li><p><strong>Parameters</strong>: Headers companyId, branchId; JSON body with items (as in sale).</p>\n</li>\n<li><p><strong>Role</strong>: Enables cost previews for transaction workflows.</p>\n</li>\n<li><p><strong>Note</strong>: Ideal for real-time checkout calculations.</p>\n</li>\n<li><p><strong>Use Case</strong>: Live totals during invoice creation.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","transaction","calculate"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"9fb6a24d-7e70-4985-aae5-1d68af936e9b","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"items\": [{ \n    \"productID\": 1, \n    \"units\": 90, \n    \"unitPrice\": 1000, \n    \"discountRate\": 10, \n    \"batchNumber\": \"aj9kk89\"\n  }]\n}"},"url":"https://ebm.zata.rw/api/v1/transaction/calculate","description":"- **Function**: Computes totals, taxes, and discounts for a set of items.\n\n- **Parameters**: Headers companyId, branchId; JSON body with items (as in sale).\n\n- **Role**: Enables cost previews for transaction workflows.\n\n- **Note**: Ideal for real-time checkout calculations.\n\n- **Use Case**: Live totals during invoice creation."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 1212,\n    \"code\": \"RWAX20200001\",\n    \"name\": \"Product Name\",\n    \"class\": \"000675\",\n    \"units\": 90,\n    \"unitPrice\": 1000,\n    \"batchNumber\": \"BATCH001\",\n    \"movingUnit\": \"main\",\n    \"packagingUnit\": \"box\",\n    \"purchasePrice\": 800,\n    \"quantityUnit\": \"piece\",\n    \"discountAmount\": 100,\n    \"discountRate\": 10,\n    \"taxAmount\": 162,\n    \"taxRate\": 18,\n    \"taxableAmount\": 900,\n    \"taxName\": \"B\",\n    \"expireDate\": \"2024-12-31\"\n  }\n]"}],"_postman_id":"041682cb-ae6d-43ae-a153-8bee0fa019e7"},{"name":"Get Transaction by ID","id":"2ffdc943-b3d4-4bb5-8471-13a910f28f2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"url":"https://ebm.zata.rw/api/v1/transaction/1","description":"<ul>\n<li><p><strong>Function</strong>: Retrieves details of a specific transaction, including items and taxes.</p>\n</li>\n<li><p><strong>Parameters</strong>: Path transactionId; headers companyId, branchId.</p>\n</li>\n<li><p><strong>Role</strong>: Supports audits and reporting.</p>\n</li>\n<li><p><strong>Note</strong>: Parse items for detailed breakdowns.</p>\n</li>\n<li><p><strong>Use Case</strong>: Transaction detail view.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","transaction","1"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"cdb619d5-3966-46c0-9d87-ed861f76dd03","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"url":"https://ebm.zata.rw/api/v1/transaction/1","description":"- **Function**: Retrieves details of a specific transaction, including items and taxes.\n\n- **Parameters**: Path transactionId; headers companyId, branchId.\n\n- **Role**: Supports audits and reporting.\n\n- **Note**: Parse items for detailed breakdowns.\n\n- **Use Case**: Transaction detail view."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 1,\n  \"invoiceNumber\": 1,\n  \"originalInvoiceNumber\": 1,\n  \"clientTin\": \"\",\n  \"clientName\": \"\",\n  \"clientPhoneNumber\": \"\",\n  \"salesTypeCode\": \"\",\n  \"receiptTypeCode\": \"\",\n  \"paymentTypeCode\": \"\",\n  \"salesStatusCode\": \"\",\n  \"confirmationDate\": \"\",\n  \"type\": \"NS\",\n  \"isRefunded\": true,\n  \"taxblAmtA\": 300,\n  \"taxblAmtB\": 300,\n  \"taxblAmtC\": 300,\n  \"taxblAmtD\": 300,\n  \"taxAmtA\": 300,\n  \"taxAmtB\": 300,\n  \"taxAmtC\": 300,\n  \"taxAmtD\": 300,\n  \"totTaxblAmt\": 300,\n  \"totTaxAmt\": 300,\n  \"totAmt\": 300,\n  \"salesDate\": \"2022-01-01 00:00:00\",\n  \"note\": \"\",\n  \"items\": [\n    {\n      \"productName\": \"Product Name\",\n      \"units\": 10,\n      \"unitPrice\": 1000,\n      \"taxAmount\": 180,\n      \"taxRate\": 18,\n      \"taxName\": \"B\",\n      \"totalAmount\": 900,\n      \"totalDiscount\": 100,\n      \"discountRate\": 100\n    }\n  ]\n}"}],"_postman_id":"2ffdc943-b3d4-4bb5-8471-13a910f28f2b"},{"name":"Get Transaction Download Signature","id":"f61f5746-ae6b-492f-8418-9b6ae187e677","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"url":"https://ebm.zata.rw/api/v1/transaction/download-signature/1?downloadSize=A4","description":"<ul>\n<li><p><strong>Function</strong>: Generates a signed URL for downloading a transaction PDF.</p>\n</li>\n<li><p><strong>Parameters</strong>: Path transactionId; headers companyId, branchId; query downloadSize (A4, m80, m58).</p>\n</li>\n<li><p><strong>Role</strong>: Secures document access.</p>\n</li>\n<li><p><strong>Note</strong>: Use the returned URL promptly.</p>\n</li>\n<li><p><strong>Use Case</strong>: Prepare receipt download.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","transaction","download-signature","1"],"host":["https://ebm.zata.rw"],"query":[{"description":{"content":"<p>A4 | m80 | m58</p>\n","type":"text/plain"},"key":"downloadSize","value":"A4"}],"variable":[]}},"response":[{"id":"5d46dc2c-431a-4e24-8aba-991a81e4ed80","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"url":{"raw":"https://ebm.zata.rw/api/v1/transaction/download-signature/1?downloadSize=A4","host":["https://ebm.zata.rw"],"path":["api","v1","transaction","download-signature","1"],"query":[{"key":"downloadSize","value":"A4","description":"A4 | m80 | m58"}]},"description":"- **Function**: Generates a signed URL for downloading a transaction PDF.\n\n- **Parameters**: Path transactionId; headers companyId, branchId; query downloadSize (A4, m80, m58).\n\n- **Role**: Secures document access.\n\n- **Note**: Use the returned URL promptly.\n\n- **Use Case**: Prepare receipt download."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"url\": \"https://example.com/api/v1/transaction/download?expires=1746382451&id=17&signature=b264d3a5730fdcbf\",\n  \"expires_at\": \"2022-01-01 00:00:00\"\n}"}],"_postman_id":"f61f5746-ae6b-492f-8418-9b6ae187e677"},{"name":"Download Signed Transaction","id":"681651da-cdb2-4dc5-bfa9-f4f8503b6fae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"url":"https://ebm.zata.rw/api/v1/transaction/download?expires=1&id=1&signature=b264d3a5730fdcbf","description":"<ul>\n<li><p><strong>Function</strong>: Downloads the transaction PDF using a signed URL.</p>\n</li>\n<li><p><strong>Parameters</strong>: Headers companyId, branchId; query expires, id, signature.</p>\n</li>\n<li><p><strong>Role</strong>: Provides secure document retrieval.</p>\n</li>\n<li><p><strong>Note</strong>: Response is binary PDF.</p>\n</li>\n<li><p><strong>Use Case</strong>: Download/print receipt.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","transaction","download"],"host":["https://ebm.zata.rw"],"query":[{"key":"expires","value":"1"},{"key":"id","value":"1"},{"key":"signature","value":"b264d3a5730fdcbf"}],"variable":[]}},"response":[{"id":"642505eb-7b65-42b0-97f7-35b2968f3d49","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"url":{"raw":"https://ebm.zata.rw/api/v1/transaction/download?expires=1&id=1&signature=b264d3a5730fdcbf","host":["https://ebm.zata.rw"],"path":["api","v1","transaction","download"],"query":[{"key":"expires","value":"1"},{"key":"id","value":"1"},{"key":"signature","value":"b264d3a5730fdcbf"}]},"description":"- **Function**: Downloads the transaction PDF using a signed URL.\n\n- **Parameters**: Headers companyId, branchId; query expires, id, signature.\n\n- **Role**: Provides secure document retrieval.\n\n- **Note**: Response is binary PDF.\n\n- **Use Case**: Download/print receipt."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"application/pdf"}],"cookie":[],"responseTime":null,"body":"[Binary PDF Content]"}],"_postman_id":"681651da-cdb2-4dc5-bfa9-f4f8503b6fae"},{"name":"Create Purchase Transaction","id":"9d746b41-6a57-4c0f-ba5b-b16790e1d0ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"paymentMethodID\": 1,\n  \"customerID\": 1,\n  \"transactionDate\": \"2024-01-01\",\n  \"note\": \"Purchase note\",\n  \"items\": [{\n    \"productID\": 1,\n    \"units\": 10,\n    \"unitPrice\": 1000,\n    \"discount\": 100,\n    \"purchasePrice\": 800,\n    \"batchNumber\": \"BATCH001\",\n    \"expireDate\": \"2024-12-31\",\n    \"movingUnit\": \"main\"\n  }]\n}"},"url":"https://ebm.zata.rw/api/v1/transaction/purchase","description":"<ul>\n<li><p><strong>Function</strong>: Creates an internal purchase transaction (restocking).</p>\n</li>\n<li><p><strong>Parameters</strong>: Headers companyId, branchId; JSON body with paymentMethodID, customerID, transactionDate, note, items (productID, units, unitPrice, discount, purchasePrice, batchNumber, expireDate, movingUnit).</p>\n</li>\n<li><p><strong>Role</strong>: Records purchases and updates stock.</p>\n</li>\n<li><p><strong>Note</strong>: Validate productID and paymentMethodID from App Data.</p>\n</li>\n<li><p><strong>Use Case</strong>: Record supplier deliveries and update stock.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","transaction","purchase"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"a317da90-b970-4e9a-a928-c3ea9b92812e","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"paymentMethodID\": 1,\n  \"customerID\": 1,\n  \"transactionDate\": \"2024-01-01\",\n  \"note\": \"Purchase note\",\n  \"items\": [{\n    \"productID\": 1,\n    \"units\": 10,\n    \"unitPrice\": 1000,\n    \"discount\": 100,\n    \"purchasePrice\": 800,\n    \"batchNumber\": \"BATCH001\",\n    \"expireDate\": \"2024-12-31\",\n    \"movingUnit\": \"main\"\n  }]\n}"},"url":"https://ebm.zata.rw/api/v1/transaction/purchase","description":"- **Function**: Creates an internal purchase transaction (restocking).\n\n- **Parameters**: Headers companyId, branchId; JSON body with paymentMethodID, customerID, transactionDate, note, items (productID, units, unitPrice, discount, purchasePrice, batchNumber, expireDate, movingUnit).\n\n- **Role**: Records purchases and updates stock.\n\n- **Note**: Validate productID and paymentMethodID from App Data.\n\n- **Use Case**: Record supplier deliveries and update stock."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Purchase transaction created successfully\",\n  \"invoiceID\": 1\n}"}],"_postman_id":"9d746b41-6a57-4c0f-ba5b-b16790e1d0ef"}],"id":"dda00e09-64b2-4c8c-bf49-90d96ac38ea6","description":"<p>Processes and tracks financial transactions.</p>\n","_postman_id":"dda00e09-64b2-4c8c-bf49-90d96ac38ea6","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}}},{"name":"Expenses","item":[{"name":"List Expenses","id":"91d6278d-92b4-410e-a101-adc90164baaf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"url":"https://ebm.zata.rw/api/v1/expense?perPage=100&page=1&searchQuery=Office Supplies","description":"<ul>\n<li><p><strong>Function</strong>: Get all expenses.</p>\n</li>\n<li><p><strong>Parameters</strong>: Headers companyId, branchId; query perPage, page, searchQuery.</p>\n</li>\n<li><p><strong>Role</strong>: Lists branch expenses.</p>\n</li>\n<li><p><strong>Note</strong>: Use searchQuery for filtering.</p>\n</li>\n<li><p><strong>Use Case</strong>: Review and filter operating expenses for a period.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","expense"],"host":["https://ebm.zata.rw"],"query":[{"key":"perPage","value":"100"},{"key":"page","value":"1"},{"key":"searchQuery","value":"Office Supplies"}],"variable":[]}},"response":[{"id":"2076a7a4-75c1-4ee6-ae38-27917da782a5","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"url":{"raw":"https://ebm.zata.rw/api/v1/expense?perPage=100&page=1&searchQuery=Office Supplies","host":["https://ebm.zata.rw"],"path":["api","v1","expense"],"query":[{"key":"perPage","value":"100"},{"key":"page","value":"1"},{"key":"searchQuery","value":"Office Supplies"}]},"description":"- **Function**: Get all expenses.\n\n- **Parameters**: Headers companyId, branchId; query perPage, page, searchQuery.\n\n- **Role**: Lists branch expenses.\n\n- **Note**: Use searchQuery for filtering.\n\n- **Use Case**: Review and filter operating expenses for a period."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": 1,\n      \"amount\": 1000,\n      \"description\": \"Office Supplies\",\n      \"date\": \"2023-10-01\",\n      \"category_id\": 2,\n      \"payment_mode_id\": 1,\n      \"branch_id\": 1,\n      \"created_at\": \"2023-10-01T12:00:00Z\",\n      \"updated_at\": \"2023-10-01T12:00:00Z\"\n    }\n  ],\n  \"currentPage\": 1,\n  \"lastPage\": 10,\n  \"itemsPerPage\": 10,\n  \"pageItems\": 10,\n  \"total\": 100\n}"}],"_postman_id":"91d6278d-92b4-410e-a101-adc90164baaf"},{"name":"Create New Expense","id":"9880eb27-7d3b-43ee-b959-db205c6ed53b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"amount\": 1000,\n  \"description\": \"Office Supplies\",\n  \"date\": \"2023-10-01\",\n  \"categoryID\": 2,\n  \"paymentModeID\": 1\n}"},"url":"https://ebm.zata.rw/api/v1/expense","description":"<ul>\n<li><p><strong>Function</strong>: Create a new expense.</p>\n</li>\n<li><p><strong>Parameters</strong>: Headers companyId, branchId; JSON body amount, description, date, categoryID, paymentModeID.</p>\n</li>\n<li><p><strong>Role</strong>: Records operational costs.</p>\n</li>\n<li><p><strong>Note</strong>: Validate category and payment mode using App Data.</p>\n</li>\n<li><p><strong>Use Case</strong>: Log a petty cash or utility expense.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","expense"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"75e44a1c-de3f-4708-a866-e111b5cf3b6f","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"amount\": 1000,\n  \"description\": \"Office Supplies\",\n  \"date\": \"2023-10-01\",\n  \"categoryID\": 2,\n  \"paymentModeID\": 1\n}"},"url":"https://ebm.zata.rw/api/v1/expense","description":"- **Function**: Create a new expense.\n\n- **Parameters**: Headers companyId, branchId; JSON body amount, description, date, categoryID, paymentModeID.\n\n- **Role**: Records operational costs.\n\n- **Note**: Validate category and payment mode using App Data.\n\n- **Use Case**: Log a petty cash or utility expense."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Company created successfully\"\n}"}],"_postman_id":"9880eb27-7d3b-43ee-b959-db205c6ed53b"},{"name":"Get Expense Categories","id":"77554fdb-0148-47c6-aa03-52d9b778be54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"companyId","value":"1","type":"text"}],"url":"https://ebm.zata.rw/api/v1/expense/categories","description":"<ul>\n<li><p><strong>Function</strong>: Get expense categories for the company.</p>\n</li>\n<li><p><strong>Parameters</strong>: Header companyId.</p>\n</li>\n<li><p><strong>Role</strong>: Supports expense creation and reporting.</p>\n</li>\n<li><p><strong>Note</strong>: Cache as this is relatively static.</p>\n</li>\n<li><p><strong>Use Case</strong>: Populate expense category dropdowns.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","expense","categories"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"8a044219-6460-4fd8-93bd-9006c73915ff","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"companyId","value":"1","type":"text"}],"url":"https://ebm.zata.rw/api/v1/expense/categories","description":"- **Function**: Get expense categories for the company.\n\n- **Parameters**: Header companyId.\n\n- **Role**: Supports expense creation and reporting.\n\n- **Note**: Cache as this is relatively static.\n\n- **Use Case**: Populate expense category dropdowns."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 1,\n    \"name\": \"Office Supplies\",\n    \"description\": \"Expenses related to office supplies\"\n  },\n  {\n    \"id\": 2,\n    \"name\": \"Travel Expenses\",\n    \"description\": \"Expenses related to travel\"\n  }\n]"}],"_postman_id":"77554fdb-0148-47c6-aa03-52d9b778be54"}],"id":"8d9edbb8-1fa7-47e6-8712-b24d74fb69e6","description":"<p>Track and create expenses.</p>\n","_postman_id":"8d9edbb8-1fa7-47e6-8712-b24d74fb69e6","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}}},{"name":"Finances","item":[{"name":"Get Company Finance","id":"d582b6a6-3666-468e-abe6-62938a3e07e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"url":"https://ebm.zata.rw/api/v1/company/finance","description":"<ul>\n<li><p><strong>Function</strong>: Get company finance summary by payment modes.</p>\n</li>\n<li><p><strong>Parameters</strong>: Headers companyId, branchId.</p>\n</li>\n<li><p><strong>Role</strong>: Supports reconciliation and audits.</p>\n</li>\n<li><p><strong>Note</strong>: Aligns with payment modes returned by App Data.</p>\n</li>\n<li><p><strong>Use Case</strong>: End-of-day cash-up and reconciliation.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","company","finance"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"cc8efa51-3c7b-4e13-851a-91f9a0b3f1ff","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"companyId","value":"1","type":"text"},{"key":"branchId","value":"1","type":"text"}],"url":"https://ebm.zata.rw/api/v1/company/finance","description":"- **Function**: Get company finance summary by payment modes.\n\n- **Parameters**: Headers companyId, branchId.\n\n- **Role**: Supports reconciliation and audits.\n\n- **Note**: Aligns with payment modes returned by App Data.\n\n- **Use Case**: End-of-day cash-up and reconciliation."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"name\": \"DEBIT & CREDIT CARD\",\n    \"code\": \"05\",\n    \"description\": \"PAYMENT USING CARD\",\n    \"creditCount\": 0,\n    \"debitCount\": 0,\n    \"creditAmount\": 0,\n    \"debitAmount\": 0,\n    \"totalDifference\": 0\n  },\n  {\n    \"name\": \"CASH\",\n    \"code\": \"01\",\n    \"description\": \"CASH\",\n    \"creditCount\": 2,\n    \"debitCount\": 12,\n    \"creditAmount\": \"150000.00\",\n    \"debitAmount\": \"14322.88\",\n    \"totalDifference\": 4545454\n  }\n]"}],"_postman_id":"d582b6a6-3666-468e-abe6-62938a3e07e0"}],"id":"3bb35a3c-8649-41f1-8ba1-6a1f15290082","description":"<p>Finance summaries and reconciliation.</p>\n","_postman_id":"3bb35a3c-8649-41f1-8ba1-6a1f15290082","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}}},{"name":"Test","item":[{"name":"Test API","id":"407c026f-07c1-4531-a62e-87214e20acb0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://ebm.zata.rw/api/v1/test","description":"<p>Verifies API connectivity and status.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}},"urlObject":{"path":["api","v1","test"],"host":["https://ebm.zata.rw"],"query":[],"variable":[]}},"response":[{"id":"1150f8fa-73ec-4200-b6ab-70e4e7b49e5b","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"https://ebm.zata.rw/api/v1/test","description":"Verifies API connectivity and status."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Zata Point Global Service API\",\n  \"status\": \"Connected\",\n  \"time\": \"2021-09-29T14:48:00.000000Z\"\n}"}],"_postman_id":"407c026f-07c1-4531-a62e-87214e20acb0"}],"id":"5e4b2f8c-2644-4e70-a045-4ff2620030df","description":"<ul>\n<li><p><strong>Purpose</strong>: Availability and connectivity check.</p>\n</li>\n<li><p><strong>Functionality</strong>: Ping endpoint to verify service is up.</p>\n</li>\n<li><p><strong>Role</strong>: Health check before other operations.</p>\n</li>\n</ul>\n","_postman_id":"5e4b2f8c-2644-4e70-a045-4ff2620030df","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","id":"852d9387-2db1-4cbb-a931-29f0a3ef6d99","name":"Zata API: Streamlined Tax Compliance","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"54a7934d-4ef2-4455-97d8-cf60eb07cf78"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"0f9999db-fd65-4302-91a2-c119c4080f26"}}],"variable":[{"key":"baseUrl","value":"https://ebm.zata.rw"},{"key":"companyId","value":"1"},{"key":"branchId","value":"1"},{"key":"Authorization","value":"Bearer "}]}