From 496b2b77aaf5d4d9ba1aafa9d0053ab683e41286 Mon Sep 17 00:00:00 2001 From: 18alantom <2.alan.tom@gmail.com> Date: Tue, 17 May 2022 17:42:57 +0530 Subject: [PATCH] incr: display gstr reports --- accounting/gst.js | 332 ------------------ dummy/helpers.ts | 4 +- dummy/items.json | 2 +- dummy/parties.json | 2 +- models/baseModels/Address/Address.ts | 5 +- models/baseModels/Invoice/Invoice.ts | 1 + models/regionalModels/in/Address.ts | 7 +- models/regionalModels/in/Party.ts | 3 + regional/in.ts | 77 +++-- reports/GoodsAndServiceTax/BaseGSTR.js | 95 ------ reports/GoodsAndServiceTax/BaseGSTR.ts | 340 +++++++++++++++++++ reports/GoodsAndServiceTax/BaseViewConfig.js | 106 ------ reports/GoodsAndServiceTax/GSTR1.js | 32 -- reports/GoodsAndServiceTax/GSTR1.ts | 13 + reports/GoodsAndServiceTax/GSTR1View.js | 49 --- reports/GoodsAndServiceTax/GSTR2.js | 26 -- reports/GoodsAndServiceTax/GSTR2.ts | 13 + reports/GoodsAndServiceTax/GSTR2View.js | 38 --- reports/GoodsAndServiceTax/types.ts | 28 ++ reports/index.ts | 4 + src/components/Controls/Base.vue | 6 +- src/components/Report/ListReport.vue | 12 + src/pages/Dashboard/Expenses.vue | 36 +- src/utils/index.ts | 15 + src/utils/sidebarConfig.ts | 6 +- 25 files changed, 496 insertions(+), 756 deletions(-) delete mode 100644 accounting/gst.js delete mode 100644 reports/GoodsAndServiceTax/BaseGSTR.js create mode 100644 reports/GoodsAndServiceTax/BaseGSTR.ts delete mode 100644 reports/GoodsAndServiceTax/BaseViewConfig.js delete mode 100644 reports/GoodsAndServiceTax/GSTR1.js create mode 100644 reports/GoodsAndServiceTax/GSTR1.ts delete mode 100644 reports/GoodsAndServiceTax/GSTR1View.js delete mode 100644 reports/GoodsAndServiceTax/GSTR2.js create mode 100644 reports/GoodsAndServiceTax/GSTR2.ts delete mode 100644 reports/GoodsAndServiceTax/GSTR2View.js create mode 100644 reports/GoodsAndServiceTax/types.ts diff --git a/accounting/gst.js b/accounting/gst.js deleted file mode 100644 index 65fdb261..00000000 --- a/accounting/gst.js +++ /dev/null @@ -1,332 +0,0 @@ -import { t } from 'fyo'; -import { DateTime } from 'luxon'; -import { fyo } from 'src/initFyo'; -import { showMessageDialog } from 'src/utils'; -import { stateCodeMap } from '../regional/in'; -import { exportCsv, saveExportData } from '../reports/commonExporter'; -import { getSavePath } from '../src/utils'; - -const GST = { - 'GST-0': 0, - 'GST-0.25': 0.25, - 'GST-3': 3, - 'GST-5': 5, - 'GST-6': 6, - 'GST-12': 12, - 'GST-18': 18, - 'GST-28': 28, - 'IGST-0': 0, - 'IGST-0.25': 0.25, - 'IGST-3': 3, - 'IGST-5': 5, - 'IGST-6': 6, - 'IGST-12': 12, - 'IGST-18': 18, - 'IGST-28': 28, -}; - -const CSGST = { - 'GST-0': 0, - 'GST-0.25': 0.125, - 'GST-3': 1.5, - 'GST-5': 2.5, - 'GST-6': 3, - 'GST-12': 6, - 'GST-18': 9, - 'GST-28': 14, -}; - -const IGST = { - 'IGST-0.25': 0.25, - 'IGST-3': 3, - 'IGST-5': 5, - 'IGST-6': 6, - 'IGST-12': 12, - 'IGST-18': 18, - 'IGST-28': 28, -}; - -export async function generateGstr1Json(getReportData) { - const { gstin } = fyo.AccountingSettings; - if (!gstin) { - showMessageDialog({ - message: t`Export Failed`, - detail: t`Please set GSTIN in General Settings.`, - }); - return; - } - - const { - rows, - filters: { transferType, toDate }, - } = getReportData(); - - const { filePath, canceled } = await getSavePath('gstr-1', 'json'); - if (canceled || !filePath) return; - - const gstData = { - version: 'GST3.0.4', - hash: 'hash', - gstin: gstin, - // fp is the the MMYYYY for the last month of the report - // for example if you are extracting report for 1st July 2020 to 31st September 2020 then - // fb = 092020 - fp: DateTime.fromISO(toDate).toFormat('MMyyyy'), - }; - - if (transferType === 'B2B') { - gstData.b2b = await generateB2bData(rows); - } else if (transferType === 'B2CL') { - gstData.b2cl = await generateB2clData(rows); - } else if (transferType === 'B2CS') { - gstData.b2cs = await generateB2csData(rows); - } - - const jsonData = JSON.stringify(gstData); - await saveExportData(jsonData, filePath); -} - -async function generateB2bData(rows) { - const b2b = []; - - for (let row of rows) { - const customer = { - ctin: row.gstin, - inv: [], - }; - - const invRecord = { - inum: row.invNo, - idt: DateTime.fromFormat(row.invDate, 'yyyy-MM-dd').toFormat( - 'dd-MM-yyyy' - ), - val: row.invAmt, - pos: row.gstin && row.gstin.substring(0, 2), - rchrg: row.reverseCharge, - inv_typ: 'R', - itms: [], - }; - - const items = await fyo.db.getAllRaw('SalesInvoiceItem', { - fields: ['*'], - filters: { parent: invRecord.inum }, - }); - - items.forEach((item) => { - const itemRecord = { - num: item.hsnCode, - itm_det: { - txval: fyo.pesa(item.baseAmount).float, - rt: GST[item.tax], - csamt: 0, - camt: fyo - .pesa(CSGST[item.tax] || 0) - .mul(item.baseAmount) - .div(100).float, - samt: fyo - .pesa(CSGST[item.tax] || 0) - .mul(item.baseAmount) - .div(100).float, - iamt: fyo - .pesa(IGST[item.tax] || 0) - .mul(item.baseAmount) - .div(100).float, - }, - }; - - invRecord.itms.push(itemRecord); - }); - - const customerRecord = b2b.find((b) => b.ctin === row.gstin); - - if (customerRecord) { - customerRecord.inv.push(invRecord); - } else { - customer.inv.push(invRecord); - b2b.push(customer); - } - } - - return b2b; -} - -async function generateB2clData(invoices) { - const b2cl = []; - - for (let invoice of invoices) { - const stateInvoiceRecord = { - pos: stateCodeMap[invoice.place.toUpperCase()], - inv: [], - }; - - const invRecord = { - inum: invoice.invNo, - idt: DateTime.fromFormat(invoice.invDate, 'yyyy-MM-dd').toFormat( - 'dd-MM-yyyy' - ), - val: invoice.invAmt, - itms: [], - }; - - const items = await fyo.db.getAllRaw('SalesInvoiceItem', { - fields: ['*'], - filters: { parent: invRecord.inum }, - }); - - items.forEach((item) => { - const itemRecord = { - num: item.hsnCode, - itm_det: { - txval: fyo.pesa(item.baseAmount).float, - rt: GST[item.tax], - csamt: 0, - iamt: fyo - .pesa(invoice.rate || 0) - .mul(item.baseAmount) - .div(100).float, - }, - }; - - invRecord.itms.push(itemRecord); - }); - - const stateRecord = b2cl.find((b) => b.pos === stateCodeMap[invoice.place]); - - if (stateRecord) { - stateRecord.inv.push(invRecord); - } else { - stateInvoiceRecord.inv.push(invRecord); - b2cl.push(stateInvoiceRecord); - } - } - - return b2cl; -} - -async function generateB2csData(invoices) { - const b2cs = []; - - for (let invoice of invoices) { - const pos = invoice.place.toUpperCase(); - - const invRecord = { - sply_ty: invoice.inState ? 'INTRA' : 'INTER', - pos: stateCodeMap[pos], - // "OE" - Abbreviation for errors and omissions excepted. - typ: 'OE', - txval: invoice.taxVal, - rt: invoice.rate, - iamt: !invoice.inState ? (invoice.taxVal * invoice.rate) / 100 : 0, - camt: invoice.inState ? invoice.cgstAmt : 0, - samt: invoice.inState ? invoice.sgstAmt : 0, - csamt: 0, - }; - - b2cs.push(invRecord); - } - - return b2cs; -} - -export async function generateGstr2Csv(getReportData) { - const { gstin } = fyo.AccountingSettings; - if (!gstin) { - showMessageDialog({ - message: t`Export Failed`, - detail: t`Please set GSTIN in General Settings.`, - }); - return; - } - - const { - rows, - columns, - filters: { transferType, toDate }, - } = getReportData(); - - const { filePath, canceled } = await getSavePath('gstr-2', 'csv'); - if (canceled || !filePath) return; - - let gstData; - if (transferType === 'B2B') { - gstData = await generateB2bCsvGstr2(rows, columns); - } - - await exportCsv(gstData.rows, gstData.columns, filePath); -} - -async function generateB2bCsvGstr2(rows, columns) { - const csvColumns = [ - { - label: t`GSTIN of Supplier`, - fieldname: 'gstin', - }, - { - label: t`Invoice Number`, - fieldname: 'invNo', - }, - { - label: t`Invoice Date`, - fieldname: 'invDate', - }, - { - label: t`Invoice Value`, - fieldname: 'invAmt', - }, - { - label: t`Place of supply`, - fieldname: 'place', - }, - { - label: t`Reverse Charge`, - fieldname: 'reverseCharge', - }, - { - label: t`Rate`, - fieldname: 'rate', - }, - { - label: t`Taxable Value`, - fieldname: 'taxVal', - }, - { - label: t`Intergrated Tax Paid`, - fieldname: 'igstAmt', - }, - { - label: t`Central Tax Paid`, - fieldname: 'cgstAmt', - }, - { - label: t`State/UT Tax Paid`, - fieldname: 'sgstAmt', - }, - ]; - - return { - columns: csvColumns || [], - rows: rows || [], - }; -} - -export async function generateGstr1Csv(getReportData) { - const { gstin } = fyo.AccountingSettings; - if (!gstin) { - showMessageDialog({ - message: t`Export Failed`, - detail: t`Please set GSTIN in General Settings.`, - }); - return; - } - - const { - rows, - columns, - filters: { transferType, toDate }, - } = getReportData(); - - const { filePath, canceled } = await getSavePath('gstr-1', 'csv'); - if (canceled || !filePath) return; - - await exportCsv(rows, columns, filePath); -} diff --git a/dummy/helpers.ts b/dummy/helpers.ts index 2012d801..a6e837a1 100644 --- a/dummy/helpers.ts +++ b/dummy/helpers.ts @@ -22,9 +22,7 @@ export const purchaseItemPartyMap: Record = Object.keys( return acc; }, {} as Record); -export const flow = [ - 0.15, 0.1, 0.25, 0.1, 0.01, 0.01, 0.01, 0.05, 0, 0.15, 0.2, 0.4, -]; +export const flow = [0.25, 0.2, 0.35, 0.2, 0.1, 0.01, 0.01, 0.15, 0, 0.25, 0.3, 0.5]; export function getFlowConstant(months: number) { // Jan to December diff --git a/dummy/items.json b/dummy/items.json index 98b3d820..09acafbb 100644 --- a/dummy/items.json +++ b/dummy/items.json @@ -1 +1 @@ -[{"name": "Dry-Cleaning", "description": null, "unit": "Unit", "itemType": "Service", "incomeAccount": "Service", "expenseAccount": "Cost of Goods Sold", "tax": "GST-18", "rate": 69, "hsnCode": 999712, "for": "Sales"}, {"name": "Electricity", "description": "Bzz Bzz", "unit": "Day", "itemType": "Service", "incomeAccount": "Service", "expenseAccount": "Utility Expenses", "tax": "GST-0", "rate": 6000, "hsnCode": 271600, "for": "Purchases"}, {"name": "Marketing - Video", "description": "One single video", "unit": "Unit", "itemType": "Product", "incomeAccount": "Sales", "expenseAccount": "Marketing Expenses", "tax": "GST-18", "rate": 15000, "hsnCode": 998371, "for": "Purchases"}, {"name": "Office Rent", "description": "Rent per day", "unit": "Day", "itemType": "Product", "incomeAccount": "Sales", "expenseAccount": "Office Rent", "tax": "GST-18", "rate": 100000, "hsnCode": 997212, "for": "Purchases"}, {"name": "Office Cleaning", "description": "Cleaning cost per day", "unit": "Day", "itemType": "Service", "incomeAccount": "Service", "expenseAccount": "Office Maintenance Expenses", "tax": "GST-18", "rate": 100000, "hsnCode": 998533, "for": "Purchases"}, {"name": "Social Ads", "description": "Cost per click", "unit": "Unit", "itemType": "Service", "incomeAccount": "Service", "expenseAccount": "Marketing Expenses", "tax": "GST-18", "rate": 50, "hsnCode": 99836, "for": "Purchases"}, {"name": "Cool Cloth", "description": "Some real \ud83c\udd92 cloth", "unit": "Meter", "itemType": "Product", "incomeAccount": "Sales", "expenseAccount": "Cost of Goods Sold", "tax": "GST-18", "rate": 4000, "hsnCode": 59111000, "for": "Both"}, {"name": "611 Jeans - PCH", "description": "Peach coloured 611s", "unit": "Unit", "itemType": "Product", "incomeAccount": "Sales", "expenseAccount": "Cost of Goods Sold", "tax": "GST-12", "rate": 4499, "hsnCode": 62034990, "for": "Both"}, {"name": "611 Jeans - SHR", "description": "Shark skin 611s", "unit": "Unit", "itemType": "Product", "incomeAccount": "Sales", "expenseAccount": "Cost of Goods Sold", "tax": "GST-12", "rate": 6499, "hsnCode": 62034990, "for": "Both"}, {"name": "Bominga Shoes", "description": null, "unit": "Unit", "itemType": "Product", "incomeAccount": "Sales", "expenseAccount": "Cost of Goods Sold", "tax": "GST-18", "rate": 4999, "hsnCode": 640291, "for": "Both"}, {"name": "Cryo Gloves", "description": "Keeps hands cool", "unit": "Unit", "itemType": "Product", "incomeAccount": "Sales", "expenseAccount": "Cost of Goods Sold", "tax": "GST-18", "rate": 3499, "hsnCode": 611693, "for": "Both"}, {"name": "Epaulettes - 4POR", "description": "Porcelain epaulettes", "unit": "Unit", "itemType": "Product", "incomeAccount": "Sales", "expenseAccount": "Cost of Goods Sold", "tax": "GST-18", "rate": 2499, "hsnCode": 62179090, "for": "Both"}, {"name": "Full Sleeve - BLK", "description": "Black sleeved", "unit": "Unit", "itemType": "Product", "incomeAccount": "Sales", "expenseAccount": "Cost of Goods Sold", "tax": "GST-12", "rate": 599, "hsnCode": 100820, "for": "Both"}, {"name": "Full Sleeve - COL", "description": "All color sleeved", "unit": "Unit", "itemType": "Product", "incomeAccount": "Sales", "expenseAccount": "Cost of Goods Sold", "tax": "GST-12", "rate": 499, "hsnCode": 100820, "for": "Both"}, {"name": "Jacket - RAW", "description": "Raw baby skinned jackets", "unit": "Unit", "itemType": "Product", "incomeAccount": "Sales", "expenseAccount": "Cost of Goods Sold", "tax": "GST-12", "rate": 8999, "hsnCode": 100820, "for": "Both"}, {"name": "Jade Slippers", "description": null, "unit": "Unit", "itemType": "Product", "incomeAccount": "Sales", "expenseAccount": "Cost of Goods Sold", "tax": "GST-18", "rate": 2999, "hsnCode": 640520, "for": "Both"}] \ No newline at end of file +[{"name": "Dry-Cleaning", "description": null, "unit": "Unit", "itemType": "Service", "incomeAccount": "Service", "expenseAccount": "Cost of Goods Sold", "tax": "GST-18", "rate": 69, "hsnCode": 999712, "for": "Sales"}, {"name": "Electricity", "description": "Bzz Bzz", "unit": "Day", "itemType": "Service", "incomeAccount": "Service", "expenseAccount": "Utility Expenses", "tax": "GST-0", "rate": 6000, "hsnCode": 271600, "for": "Purchases"}, {"name": "Marketing - Video", "description": "One single video", "unit": "Unit", "itemType": "Product", "incomeAccount": "Sales", "expenseAccount": "Marketing Expenses", "tax": "GST-18", "rate": 15000, "hsnCode": 998371, "for": "Purchases"}, {"name": "Office Rent", "description": "Rent per day", "unit": "Day", "itemType": "Product", "incomeAccount": "Sales", "expenseAccount": "Office Rent", "tax": "GST-18", "rate": 50000, "hsnCode": 997212, "for": "Purchases"}, {"name": "Office Cleaning", "description": "Cleaning cost per day", "unit": "Day", "itemType": "Service", "incomeAccount": "Service", "expenseAccount": "Office Maintenance Expenses", "tax": "GST-18", "rate": 7500, "hsnCode": 998533, "for": "Purchases"}, {"name": "Social Ads", "description": "Cost per click", "unit": "Unit", "itemType": "Service", "incomeAccount": "Service", "expenseAccount": "Marketing Expenses", "tax": "GST-18", "rate": 50, "hsnCode": 99836, "for": "Purchases"}, {"name": "Cool Cloth", "description": "Some real \ud83c\udd92 cloth", "unit": "Meter", "itemType": "Product", "incomeAccount": "Sales", "expenseAccount": "Cost of Goods Sold", "tax": "GST-18", "rate": 4000, "hsnCode": 59111000, "for": "Both"}, {"name": "611 Jeans - PCH", "description": "Peach coloured 611s", "unit": "Unit", "itemType": "Product", "incomeAccount": "Sales", "expenseAccount": "Cost of Goods Sold", "tax": "GST-12", "rate": 4499, "hsnCode": 62034990, "for": "Both"}, {"name": "611 Jeans - SHR", "description": "Shark skin 611s", "unit": "Unit", "itemType": "Product", "incomeAccount": "Sales", "expenseAccount": "Cost of Goods Sold", "tax": "GST-12", "rate": 6499, "hsnCode": 62034990, "for": "Both"}, {"name": "Bominga Shoes", "description": null, "unit": "Unit", "itemType": "Product", "incomeAccount": "Sales", "expenseAccount": "Cost of Goods Sold", "tax": "GST-18", "rate": 4999, "hsnCode": 640291, "for": "Both"}, {"name": "Cryo Gloves", "description": "Keeps hands cool", "unit": "Unit", "itemType": "Product", "incomeAccount": "Sales", "expenseAccount": "Cost of Goods Sold", "tax": "GST-18", "rate": 3499, "hsnCode": 611693, "for": "Both"}, {"name": "Epaulettes - 4POR", "description": "Porcelain epaulettes", "unit": "Unit", "itemType": "Product", "incomeAccount": "Sales", "expenseAccount": "Cost of Goods Sold", "tax": "GST-18", "rate": 2499, "hsnCode": 62179090, "for": "Both"}, {"name": "Full Sleeve - BLK", "description": "Black sleeved", "unit": "Unit", "itemType": "Product", "incomeAccount": "Sales", "expenseAccount": "Cost of Goods Sold", "tax": "GST-12", "rate": 599, "hsnCode": 100820, "for": "Both"}, {"name": "Full Sleeve - COL", "description": "All color sleeved", "unit": "Unit", "itemType": "Product", "incomeAccount": "Sales", "expenseAccount": "Cost of Goods Sold", "tax": "GST-12", "rate": 499, "hsnCode": 100820, "for": "Both"}, {"name": "Jacket - RAW", "description": "Raw baby skinned jackets", "unit": "Unit", "itemType": "Product", "incomeAccount": "Sales", "expenseAccount": "Cost of Goods Sold", "tax": "GST-12", "rate": 8999, "hsnCode": 100820, "for": "Both"}, {"name": "Jade Slippers", "description": null, "unit": "Unit", "itemType": "Product", "incomeAccount": "Sales", "expenseAccount": "Cost of Goods Sold", "tax": "GST-18", "rate": 2999, "hsnCode": 640520, "for": "Both"}] \ No newline at end of file diff --git a/dummy/parties.json b/dummy/parties.json index 7ba08c18..6871abf4 100644 --- a/dummy/parties.json +++ b/dummy/parties.json @@ -1 +1 @@ -[{"name": "Roy Rolston", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "roy-rolston.243@generic_indian.in", "phone": "+91 8673-431508", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Aloysius Albuquerque", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "aloysius.albuquerque_909@gmail.com", "phone": "+91 6077-213977", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "James", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "james_133@generic_indian.in", "phone": "+91 6612-501211", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Mary", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 6081-020316", "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "Robert", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "robert_434@generic_indian.in", "phone": null, "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Patricia", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "patricia_100@partiesunited.co", "phone": "+91 8559-301636", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "John", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "john_411@partiesunited.co", "phone": "+91 8025-338366", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Jennifer", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jennifer_308@generic_indian.in", "phone": "+91 8011-889773", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Michael", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "michael-851@redis.rs", "phone": "+91 9051-544006", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Linda", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "linda-316@yahoo.co.in", "phone": "+91 8521-103184", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "William", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "william_825@gmail.com", "phone": "+91 7872-683669", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Elizabeth", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "elizabeth.119@gmail.com", "phone": "+91 8762-458159", "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "David", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "david_976@redis.rs", "phone": "+91 8107-285956", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Barbara", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "barbara.781@partiesunited.co", "phone": "+91 9315-603377", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Richard", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "richard.37@yahoo.co.in", "phone": "+91 6932-849598", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Susan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "susan.782@redis.rs", "phone": "+91 7802-101844", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Joseph", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "joseph@partiesunited.co", "phone": "+91 7993-701055", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Jessica", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jessica-498@gmail.com", "phone": "+91 6288-147387", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Thomas", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "thomas-831@yahoo.co.in", "phone": "+91 6150-277307", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Sarah", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "sarah-821@gmail.com", "phone": "+91 7834-468508", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Charles", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "charles-440@generic_indian.in", "phone": "+91 9652-716987", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Karen", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "karen_745@generic_indian.in", "phone": "+91 8031-054884", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Christopher", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "christopher_856@yahoo.co.in", "phone": "+91 8054-054595", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Nancy", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "nancy_876@partiesunited.co", "phone": "+91 9623-437324", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Daniel", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": null, "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Lisa", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "lisa.763@yahoo.co.in", "phone": "+91 7425-212962", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Matthew", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "matthew.769@generic_indian.in", "phone": "+91 7585-335288", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Betty", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "betty.954@generic_indian.in", "phone": "+91 8910-292787", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Anthony", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "anthony_135@redis.rs", "phone": "+91 6442-915158", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Margaret", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "margaret@yahoo.co.in", "phone": "+91 9900-176473", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Mark", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "mark-313@redis.rs", "phone": "+91 6425-429890", "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "Sandra", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 7184-095331", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Donald", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "donald@gmail.com", "phone": "+91 8599-995758", "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "Ashley", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "ashley.442@generic_indian.in", "phone": "+91 9702-537030", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Steven", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "steven-693@yahoo.co.in", "phone": "+91 9024-337715", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Kimberly", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "kimberly_316@gmail.com", "phone": null, "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Paul", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "paul_553@gmail.com", "phone": "+91 8896-498910", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Emily", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "emily.859@redis.rs", "phone": "+91 9537-954916", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Andrew", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "andrew.21@partiesunited.co", "phone": "+91 7061-410554", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Donna", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "donna_209@yahoo.co.in", "phone": "+91 6918-117768", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Joshua", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "joshua.54@partiesunited.co", "phone": "+91 7997-664425", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Michelle", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "michelle-558@partiesunited.co", "phone": "+91 7234-792697", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Kenneth", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "kenneth.124@partiesunited.co", "phone": "+91 6388-353257", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Dorothy", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "dorothy.722@yahoo.co.in", "phone": "+91 8768-999569", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Kevin", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "kevin.700@partiesunited.co", "phone": "+91 9947-180680", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Carol", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "carol_967@partiesunited.co", "phone": "+91 7690-935998", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Brian", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "brian.135@generic_indian.in", "phone": "+91 6760-645133", "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "Amanda", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "amanda_465@gmail.com", "phone": "+91 9374-006670", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "George", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "george-684@gmail.com", "phone": "+91 7865-482442", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Melissa", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "melissa-92@gmail.com", "phone": "+91 9276-351947", "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "Edward", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "edward-724@redis.rs", "phone": "+91 8878-239777", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Deborah", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "deborah-948@gmail.com", "phone": "+91 9971-174980", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Ronald", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "ronald.712@yahoo.co.in", "phone": "+91 8660-547203", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Stephanie", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "stephanie_503@yahoo.co.in", "phone": "+91 9686-335218", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Timothy", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "timothy-659@redis.rs", "phone": "+91 9242-666484", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Rebecca", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "rebecca.909@generic_indian.in", "phone": "+91 6157-734755", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Jason", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jason.519@redis.rs", "phone": "+91 7376-163583", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Sharon", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "sharon@partiesunited.co", "phone": "+91 9030-867592", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Jeffrey", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jeffrey.269@redis.rs", "phone": "+91 6155-787954", "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "Laura", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "laura-507@yahoo.co.in", "phone": "+91 9275-073654", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Ryan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "ryan-197@generic_indian.in", "phone": "+91 6964-549642", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Cynthia", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "cynthia_737@redis.rs", "phone": "+91 7151-704445", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Jacob", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jacob.131@generic_indian.in", "phone": "+91 6720-918848", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Kathleen", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "kathleen.509@gmail.com", "phone": null, "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Gary", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "gary_422@gmail.com", "phone": null, "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Amy", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "amy@partiesunited.co", "phone": "+91 6603-938674", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Nicholas", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "nicholas_902@generic_indian.in", "phone": "+91 6916-877233", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Shirley", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "shirley.680@yahoo.co.in", "phone": "+91 8031-368297", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Eric", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "eric_294@yahoo.co.in", "phone": "+91 8000-105404", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Angela", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "angela-786@partiesunited.co", "phone": "+91 6472-464465", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Jonathan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jonathan_247@gmail.com", "phone": "+91 9606-808217", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Helen", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "helen-896@redis.rs", "phone": "+91 9292-092553", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Stephen", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "stephen_570@redis.rs", "phone": "+91 7075-893154", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Anna", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "anna-892@partiesunited.co", "phone": "+91 9984-317917", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Larry", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 6981-350385", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Brenda", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "brenda_857@redis.rs", "phone": "+91 9048-980115", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Justin", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "justin_87@partiesunited.co", "phone": "+91 6562-623759", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Pamela", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "pamela-143@partiesunited.co", "phone": null, "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Scott", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 7065-102356", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Nicole", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "nicole_813@yahoo.co.in", "phone": "+91 6639-036774", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Brandon", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": null, "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Emma", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "emma@generic_indian.in", "phone": "+91 9754-565236", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Benjamin", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "benjamin.607@generic_indian.in", "phone": "+91 6050-030214", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Samantha", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "samantha_307@partiesunited.co", "phone": "+91 7580-455682", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Samuel", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "samuel_241@partiesunited.co", "phone": "+91 6069-872786", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Katherine", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "katherine-577@yahoo.co.in", "phone": "+91 9997-474009", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Gregory", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "gregory_127@redis.rs", "phone": "+91 7253-710783", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Christine", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "christine@generic_indian.in", "phone": "+91 6293-485105", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Frank", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "frank_483@generic_indian.in", "phone": "+91 6108-326068", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Debra", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "debra.627@redis.rs", "phone": "+91 9828-819615", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Alexander", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "alexander-930@generic_indian.in", "phone": "+91 7739-815431", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Rachel", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "rachel-974@generic_indian.in", "phone": "+91 8208-032828", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Raymond", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "raymond@generic_indian.in", "phone": "+91 6157-997059", "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "Catherine", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "catherine-558@gmail.com", "phone": "+91 6483-743758", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Patrick", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "patrick-219@redis.rs", "phone": "+91 9461-091027", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Carolyn", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 7096-205664", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Jack", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jack_834@yahoo.co.in", "phone": "+91 9824-334265", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Janet", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "janet.630@yahoo.co.in", "phone": "+91 9343-312052", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Dennis", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "dennis-885@generic_indian.in", "phone": "+91 6595-499139", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Ruth", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "ruth_748@redis.rs", "phone": "+91 6129-548924", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Jerry", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jerry-737@redis.rs", "phone": "+91 6587-158112", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Maria", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 8540-576184", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Tyler", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "tyler.608@yahoo.co.in", "phone": "+91 8120-401026", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Heather", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "heather.936@yahoo.co.in", "phone": "+91 7403-810842", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Aaron", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "aaron-848@partiesunited.co", "phone": "+91 6903-123806", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Diane", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "diane_524@yahoo.co.in", "phone": "+91 6848-481723", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Jose", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 7697-063913", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Virginia", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": null, "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Adam", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "adam-315@gmail.com", "phone": "+91 7901-689261", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Julie", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "julie.230@redis.rs", "phone": null, "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Henry", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "henry@redis.rs", "phone": "+91 9768-025008", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Joyce", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "joyce.11@redis.rs", "phone": "+91 8242-739499", "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "Nathan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "nathan@yahoo.co.in", "phone": "+91 8308-038476", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Victoria", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "victoria_754@redis.rs", "phone": "+91 8148-203319", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Douglas", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "douglas_697@yahoo.co.in", "phone": "+91 8502-237693", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Olivia", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "olivia_85@partiesunited.co", "phone": "+91 6223-560874", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Zachary", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "zachary_505@gmail.com", "phone": null, "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Kelly", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "kelly_210@yahoo.co.in", "phone": "+91 8087-195915", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Peter", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "peter.799@yahoo.co.in", "phone": "+91 8125-227555", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Kyle", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "kyle_373@yahoo.co.in", "phone": "+91 7395-383762", "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "Lauren", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "lauren_877@gmail.com", "phone": "+91 9360-951111", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Walter", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "walter@gmail.com", "phone": "+91 9514-260980", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Joan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "joan-490@generic_indian.in", "phone": "+91 8336-845169", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Ethan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "ethan.413@yahoo.co.in", "phone": "+91 9179-041456", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Evelyn", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "evelyn-598@redis.rs", "phone": "+91 7981-294172", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Jeremy", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jeremy-835@redis.rs", "phone": "+91 9147-220263", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Judith", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "judith.20@yahoo.co.in", "phone": "+91 7251-751246", "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "Harold", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "harold_551@redis.rs", "phone": "+91 9401-384317", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Megan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "megan.904@generic_indian.in", "phone": "+91 7925-884527", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Keith", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "keith_210@gmail.com", "phone": null, "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Cheryl", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "cheryl.732@yahoo.co.in", "phone": "+91 9487-572037", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Christian", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "christian_480@yahoo.co.in", "phone": "+91 9411-240949", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Andrea", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "andrea@generic_indian.in", "phone": "+91 8727-997312", "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "Roger", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "roger_641@redis.rs", "phone": "+91 7473-818935", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Hannah", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "hannah.769@yahoo.co.in", "phone": "+91 6686-668901", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Noah", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "noah_207@yahoo.co.in", "phone": "+91 8992-301729", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Martha", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "martha-310@yahoo.co.in", "phone": "+91 6313-479933", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Gerald", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "gerald_179@yahoo.co.in", "phone": "+91 9887-686162", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Jacqueline", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jacqueline@gmail.com", "phone": "+91 8593-840483", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Carl", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "carl.824@redis.rs", "phone": "+91 9097-819761", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Frances", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "frances_39@partiesunited.co", "phone": "+91 7824-282142", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Terry", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "terry.141@gmail.com", "phone": "+91 7348-035379", "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "Gloria", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "gloria_30@yahoo.co.in", "phone": "+91 8806-055737", "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "Sean", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "sean_95@gmail.com", "phone": "+91 8934-646432", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Ann", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "ann_288@yahoo.co.in", "phone": "+91 9000-981649", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Austin", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 9052-505694", "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "Teresa", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "teresa@redis.rs", "phone": "+91 8881-147169", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Arthur", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "arthur_297@generic_indian.in", "phone": "+91 7099-547700", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Kathryn", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "kathryn-111@partiesunited.co", "phone": "+91 8094-478845", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Lawrence", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "lawrence-786@generic_indian.in", "phone": "+91 6605-548110", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Sara", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "sara_839@generic_indian.in", "phone": "+91 9246-881823", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Jesse", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jesse.754@redis.rs", "phone": "+91 9735-507412", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Janice", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "janice.373@yahoo.co.in", "phone": "+91 6024-331463", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Dylan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 9281-407234", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Jean", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jean.752@redis.rs", "phone": "+91 9760-343923", "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "Bryan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "bryan-366@gmail.com", "phone": "+91 7075-562308", "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "Alice", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "alice_184@partiesunited.co", "phone": "+91 9859-541927", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Joe", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "joe_938@redis.rs", "phone": "+91 8006-110462", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Madison", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "madison-73@generic_indian.in", "phone": "+91 9678-686103", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Jordan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jordan_36@generic_indian.in", "phone": "+91 8632-788053", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Doris", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "doris.619@partiesunited.co", "phone": "+91 6587-381586", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Billy", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "billy-142@redis.rs", "phone": "+91 9406-093375", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Abigail", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "abigail-990@redis.rs", "phone": "+91 9206-424202", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Bruce", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "bruce-731@yahoo.co.in", "phone": "+91 7316-922695", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Julia", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "julia-342@gmail.com", "phone": "+91 9487-215411", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Albert", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 9968-538377", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Judy", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "judy_273@partiesunited.co", "phone": "+91 7531-535899", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Willie", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "willie.643@yahoo.co.in", "phone": "+91 6099-745727", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Grace", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 8615-872677", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Gabriel", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "gabriel-143@partiesunited.co", "phone": "+91 7176-396024", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Denise", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 9742-780556", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Logan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "logan-501@partiesunited.co", "phone": "+91 7502-995330", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Amber", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "amber_656@partiesunited.co", "phone": "+91 6443-649379", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Alan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "alan.559@partiesunited.co", "phone": "+91 9366-429457", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Marilyn", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "marilyn-955@gmail.com", "phone": "+91 7325-781593", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Juan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "juan.265@gmail.com", "phone": "+91 7281-553316", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Beverly", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "beverly.942@gmail.com", "phone": "+91 9131-160413", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Wayne", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "wayne_126@generic_indian.in", "phone": null, "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Danielle", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "danielle@generic_indian.in", "phone": "+91 7340-384768", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Roy", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "roy_727@gmail.com", "phone": "+91 7704-501835", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Theresa", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "theresa_105@partiesunited.co", "phone": "+91 9967-448938", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Ralph", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "ralph@gmail.com", "phone": null, "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Sophia", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "sophia-673@generic_indian.in", "phone": "+91 8223-607553", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Randy", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "randy_860@generic_indian.in", "phone": "+91 6169-701291", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Marie", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "marie-30@gmail.com", "phone": "+91 9268-326999", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Eugene", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "eugene.184@partiesunited.co", "phone": "+91 9559-021953", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Diana", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "diana-382@gmail.com", "phone": "+91 9924-520313", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Vincent", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "vincent@gmail.com", "phone": "+91 8501-753300", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Brittany", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "brittany-498@redis.rs", "phone": null, "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "Russell", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "russell-231@generic_indian.in", "phone": "+91 9483-010961", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Natalie", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "natalie.274@partiesunited.co", "phone": "+91 9173-621005", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Elijah", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "elijah-297@generic_indian.in", "phone": "+91 6003-986454", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Isabella", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "isabella_744@gmail.com", "phone": "+91 8748-767047", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Louis", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "louis.458@yahoo.co.in", "phone": null, "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Charlotte", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "charlotte_854@gmail.com", "phone": "+91 8977-318168", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Bobby", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "bobby-848@gmail.com", "phone": "+91 7823-275321", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Rose", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "rose-115@yahoo.co.in", "phone": "+91 9256-804668", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Philip", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "philip.671@generic_indian.in", "phone": "+91 9883-666803", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Alexis", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "alexis.502@partiesunited.co", "phone": null, "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Johnny", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "johnny-539@redis.rs", "phone": "+91 7375-255292", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Kayla", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "kayla.143@generic_indian.in", "phone": "+91 8955-753462", "address": null, "gst_type": "Consumer", "gstin": null}, {"name": "Le Socials", "role": "Supplier", "defaultAccount": "Creditors", "currency": "INR", "email": "le-socials_303@partiesunited.co", "phone": "+91 7291-372570", "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "Janky Office Spaces", "role": "Supplier", "defaultAccount": "Creditors", "currency": "INR", "email": "janky_office_spaces@generic_indian.in", "phone": "+91 6940-107991", "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "Josf\u00e9\u00f1a's 611s", "role": "Supplier", "defaultAccount": "Creditors", "currency": "INR", "email": "josf\u00e9\u00f1a's_611s.655@partiesunited.co", "phone": "+91 6457-794213", "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "Lankness Feet Fomenters", "role": "Supplier", "defaultAccount": "Creditors", "currency": "INR", "email": "lankness.feet.fomenters_579@generic_indian.in", "phone": "+91 6656-484318", "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "The Overclothes Company", "role": "Supplier", "defaultAccount": "Creditors", "currency": "INR", "email": "the-overclothes-company.136@partiesunited.co", "phone": "+91 7766-798598", "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "Adani Electricity Mumbai Limited", "role": "Supplier", "defaultAccount": "Creditors", "currency": "INR", "email": "adani-electricity-mumbai-limited_190@redis.rs", "phone": "+91 7465-683036", "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "Only Fulls", "role": "Supplier", "defaultAccount": "Creditors", "currency": "INR", "email": "only_fulls.358@generic_indian.in", "phone": "+91 6685-388192", "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "Just Epaulettes", "role": "Supplier", "defaultAccount": "Creditors", "currency": "INR", "email": "just-epaulettes_400@partiesunited.co", "phone": "+91 7847-418151", "address": null, "gst_type": "Registered Regular", "gstin": null}, {"name": "Maxwell", "role": "Both", "defaultAccount": null, "currency": "INR", "email": "maxwell-757@partiesunited.co", "phone": "+91 8178-647022", "address": null, "gst_type": "Unregistered", "gstin": null}] \ No newline at end of file +[{"name": "Roy Rolston", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "roy-rolston@partiesunited.co", "phone": "+91 8364-764417", "address": null, "gstType": "Registered Regular", "gstin": "27YQPCH7868M1Z4"}, {"name": "Aloysius Albuquerque", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "aloysius.albuquerque-418@gmail.com", "phone": "+91 9624-847744", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "James", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": null, "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Mary", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "mary-654@partiesunited.co", "phone": "+91 6578-469775", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Robert", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "robert-153@gmail.com", "phone": "+91 8187-238152", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Patricia", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "patricia_477@partiesunited.co", "phone": null, "address": null, "gstType": "Consumer", "gstin": null}, {"name": "John", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "john_629@redis.rs", "phone": "+91 9912-497940", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Jennifer", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jennifer_241@yahoo.co.in", "phone": "+91 7525-888566", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Michael", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "michael_330@redis.rs", "phone": "+91 6392-754783", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Linda", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "linda.739@redis.rs", "phone": "+91 7645-479546", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "William", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "william_187@gmail.com", "phone": "+91 6040-716971", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Elizabeth", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "elizabeth-739@redis.rs", "phone": "+91 9086-927694", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "David", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "david.231@redis.rs", "phone": "+91 8933-614178", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Barbara", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "barbara-287@yahoo.co.in", "phone": "+91 8884-319024", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Richard", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "richard-971@redis.rs", "phone": "+91 8618-127941", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Susan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "susan-915@redis.rs", "phone": "+91 7251-099321", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Joseph", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "joseph-107@partiesunited.co", "phone": "+91 8663-691738", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Jessica", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jessica.990@gmail.com", "phone": "+91 6998-742236", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Thomas", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "thomas.926@generic_indian.in", "phone": "+91 7084-655002", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Sarah", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "sarah@generic_indian.in", "phone": "+91 7550-184329", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Charles", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "charles.73@generic_indian.in", "phone": "+91 9789-506872", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Karen", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "karen.117@redis.rs", "phone": "+91 9267-675391", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Christopher", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 7327-130379", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Nancy", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "nancy-257@generic_indian.in", "phone": "+91 8224-410113", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Daniel", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "daniel_417@partiesunited.co", "phone": "+91 7927-461249", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Lisa", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "lisa-919@gmail.com", "phone": "+91 8757-609167", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Matthew", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "matthew_656@gmail.com", "phone": "+91 7885-004818", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Betty", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "betty-750@partiesunited.co", "phone": "+91 6023-939214", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Anthony", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "anthony.855@generic_indian.in", "phone": "+91 7786-783597", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Margaret", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "margaret.476@redis.rs", "phone": null, "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Mark", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "mark_883@yahoo.co.in", "phone": "+91 6085-686899", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Sandra", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 8370-381962", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Donald", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "donald.588@redis.rs", "phone": "+91 9391-684888", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Ashley", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "ashley_875@partiesunited.co", "phone": "+91 8484-066804", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Steven", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "steven.621@gmail.com", "phone": "+91 9508-736407", "address": null, "gstType": "Registered Regular", "gstin": "22YVIPP4362P1Z0"}, {"name": "Kimberly", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 6336-613829", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Paul", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "paul_94@gmail.com", "phone": "+91 9636-016561", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Emily", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "emily.9@partiesunited.co", "phone": "+91 9446-701003", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Andrew", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 6932-393648", "address": null, "gstType": "Registered Regular", "gstin": "30VGGPM2265X1Z7"}, {"name": "Donna", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "donna_761@generic_indian.in", "phone": "+91 8500-322971", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Joshua", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "joshua_519@partiesunited.co", "phone": "+91 9554-755939", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Michelle", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "michelle_12@gmail.com", "phone": null, "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Kenneth", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "kenneth-395@partiesunited.co", "phone": "+91 9464-655370", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Dorothy", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "dorothy-735@partiesunited.co", "phone": "+91 7618-732184", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Kevin", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "kevin.407@gmail.com", "phone": "+91 6609-978693", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Carol", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "carol_598@yahoo.co.in", "phone": "+91 6810-371783", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Brian", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "brian-175@yahoo.co.in", "phone": "+91 9108-370654", "address": null, "gstType": "Registered Regular", "gstin": "32WVYPD4263C1Z6"}, {"name": "Amanda", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 7132-399853", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "George", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "george.582@yahoo.co.in", "phone": "+91 9174-381459", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Melissa", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "melissa.138@partiesunited.co", "phone": null, "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Edward", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "edward@yahoo.co.in", "phone": "+91 7864-241916", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Deborah", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 8420-572864", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Ronald", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": null, "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Stephanie", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "stephanie-760@yahoo.co.in", "phone": "+91 7958-877954", "address": null, "gstType": "Registered Regular", "gstin": "27GVTPF2529Z1Z0"}, {"name": "Timothy", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "timothy.870@gmail.com", "phone": "+91 7042-295454", "address": null, "gstType": "Registered Regular", "gstin": "22NYRPJ7193Q1Z3"}, {"name": "Rebecca", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "rebecca-154@generic_indian.in", "phone": "+91 9179-230036", "address": null, "gstType": "Registered Regular", "gstin": "32ZCJPN2356I1Z3"}, {"name": "Jason", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jason-903@partiesunited.co", "phone": "+91 8332-016355", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Sharon", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "sharon.389@yahoo.co.in", "phone": "+91 8857-354880", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Jeffrey", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jeffrey_618@gmail.com", "phone": "+91 7636-744410", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Laura", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "laura.821@generic_indian.in", "phone": "+91 6640-756477", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Ryan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "ryan-786@yahoo.co.in", "phone": "+91 7598-295525", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Cynthia", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "cynthia.400@generic_indian.in", "phone": "+91 7518-806673", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Jacob", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jacob_155@redis.rs", "phone": "+91 7607-980767", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Kathleen", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "kathleen.110@yahoo.co.in", "phone": "+91 9288-658480", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Gary", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 9893-841572", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Amy", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "amy.309@yahoo.co.in", "phone": "+91 8738-127052", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Nicholas", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "nicholas_204@redis.rs", "phone": "+91 7216-717493", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Shirley", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "shirley.761@redis.rs", "phone": "+91 6820-763351", "address": null, "gstType": "Registered Regular", "gstin": "07SSCCK4795S1Z10"}, {"name": "Eric", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "eric@generic_indian.in", "phone": "+91 8658-962487", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Angela", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 9544-644681", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Jonathan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jonathan.581@partiesunited.co", "phone": "+91 8196-534803", "address": null, "gstType": "Registered Regular", "gstin": "07JNQPI1074A1Z2"}, {"name": "Helen", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "helen_972@generic_indian.in", "phone": "+91 7132-446467", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Stephen", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "stephen_100@yahoo.co.in", "phone": "+91 8066-679022", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Anna", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "anna_414@yahoo.co.in", "phone": null, "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Larry", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "larry.516@yahoo.co.in", "phone": null, "address": null, "gstType": "Registered Regular", "gstin": "22BRXPB6438V1Z3"}, {"name": "Brenda", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "brenda.815@partiesunited.co", "phone": "+91 7423-101842", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Justin", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "justin.401@redis.rs", "phone": "+91 8866-453732", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Pamela", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "pamela@partiesunited.co", "phone": "+91 7563-921607", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Scott", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "scott.883@partiesunited.co", "phone": "+91 9988-884200", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Nicole", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "nicole@yahoo.co.in", "phone": "+91 7772-518773", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Brandon", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "brandon@generic_indian.in", "phone": "+91 8947-357902", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Emma", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "emma@generic_indian.in", "phone": "+91 8065-422177", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Benjamin", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "benjamin_861@partiesunited.co", "phone": "+91 8785-964341", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Samantha", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "samantha-387@gmail.com", "phone": "+91 6411-733274", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Samuel", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "samuel-67@partiesunited.co", "phone": "+91 8279-383554", "address": null, "gstType": "Registered Regular", "gstin": "30GNLPE7564C1Z0"}, {"name": "Katherine", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "katherine.329@generic_indian.in", "phone": "+91 7806-866367", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Gregory", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "gregory_137@redis.rs", "phone": "+91 7086-527568", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Christine", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "christine@redis.rs", "phone": "+91 9322-241005", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Frank", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 9610-590035", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Debra", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "debra-43@partiesunited.co", "phone": "+91 9320-275225", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Alexander", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "alexander-745@gmail.com", "phone": "+91 6806-881315", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Rachel", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "rachel.9@partiesunited.co", "phone": "+91 8891-016921", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Raymond", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "raymond.674@gmail.com", "phone": "+91 6722-485384", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Catherine", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "catherine@generic_indian.in", "phone": "+91 6087-083904", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Patrick", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "patrick-954@generic_indian.in", "phone": null, "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Carolyn", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "carolyn_427@generic_indian.in", "phone": "+91 6559-056027", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Jack", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jack.52@generic_indian.in", "phone": "+91 9271-276848", "address": null, "gstType": "Registered Regular", "gstin": "27QTMPP9445O1Z2"}, {"name": "Janet", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "janet-238@generic_indian.in", "phone": "+91 9480-057399", "address": null, "gstType": "Registered Regular", "gstin": "30YVEPM2956X1Z4"}, {"name": "Dennis", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "dennis-538@yahoo.co.in", "phone": "+91 9056-153204", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Ruth", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "ruth_952@yahoo.co.in", "phone": "+91 9629-547895", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Jerry", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jerry_234@generic_indian.in", "phone": null, "address": null, "gstType": "Registered Regular", "gstin": "27CZCPT5025J1Z0"}, {"name": "Maria", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "maria-332@gmail.com", "phone": "+91 8189-540178", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Tyler", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "tyler.435@partiesunited.co", "phone": "+91 7429-650519", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Heather", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "heather@yahoo.co.in", "phone": "+91 8581-500728", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Aaron", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "aaron-332@gmail.com", "phone": null, "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Diane", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "diane@gmail.com", "phone": "+91 7137-826433", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Jose", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jose_905@yahoo.co.in", "phone": "+91 6231-344468", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Virginia", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "virginia_959@yahoo.co.in", "phone": "+91 6642-811609", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Adam", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "adam-747@yahoo.co.in", "phone": "+91 9680-421390", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Julie", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "julie_316@redis.rs", "phone": "+91 7135-908088", "address": null, "gstType": "Registered Regular", "gstin": "27JTJPD8067A1Z4"}, {"name": "Henry", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "henry-115@gmail.com", "phone": "+91 9387-229109", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Joyce", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "joyce_116@partiesunited.co", "phone": "+91 6797-685407", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Nathan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "nathan.237@partiesunited.co", "phone": null, "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Victoria", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "victoria-362@generic_indian.in", "phone": "+91 8697-929638", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Douglas", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "douglas_940@yahoo.co.in", "phone": null, "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Olivia", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "olivia.438@gmail.com", "phone": "+91 9925-579281", "address": null, "gstType": "Registered Regular", "gstin": "07HJRPQ5913I1Z6"}, {"name": "Zachary", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 7752-067279", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Kelly", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "kelly-569@generic_indian.in", "phone": "+91 7858-074356", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Peter", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "peter_295@partiesunited.co", "phone": "+91 8471-579894", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Kyle", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "kyle_753@gmail.com", "phone": "+91 8638-076686", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Lauren", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "lauren_876@generic_indian.in", "phone": "+91 6701-905380", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Walter", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "walter-392@gmail.com", "phone": "+91 8196-877407", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Joan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 8678-760803", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Ethan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "ethan-879@redis.rs", "phone": "+91 7878-450479", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Evelyn", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "evelyn@generic_indian.in", "phone": "+91 9856-258902", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Jeremy", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jeremy_290@redis.rs", "phone": "+91 6383-093707", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Judith", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "judith@partiesunited.co", "phone": "+91 6687-472462", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Harold", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 8811-307098", "address": null, "gstType": "Registered Regular", "gstin": "32AZTPA5997N1Z3"}, {"name": "Megan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "megan_864@redis.rs", "phone": "+91 9622-798026", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Keith", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 9827-357442", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Cheryl", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "cheryl.704@gmail.com", "phone": "+91 9470-151094", "address": null, "gstType": "Registered Regular", "gstin": "32EHNPM9327R1Z10"}, {"name": "Christian", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "christian.307@redis.rs", "phone": "+91 7820-659075", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Andrea", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "andrea-66@yahoo.co.in", "phone": "+91 8865-015945", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Roger", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "roger_398@yahoo.co.in", "phone": "+91 9010-018524", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Hannah", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "hannah-742@partiesunited.co", "phone": "+91 8839-110499", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Noah", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "noah-65@generic_indian.in", "phone": "+91 8386-843599", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Martha", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "martha.441@generic_indian.in", "phone": "+91 7881-002204", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Gerald", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 8448-134403", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Jacqueline", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jacqueline-981@generic_indian.in", "phone": "+91 6343-646106", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Carl", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "carl-878@generic_indian.in", "phone": "+91 7642-940183", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Frances", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "frances_178@generic_indian.in", "phone": null, "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Terry", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "terry-434@yahoo.co.in", "phone": "+91 7919-057462", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Gloria", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "gloria-239@yahoo.co.in", "phone": "+91 6633-860264", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Sean", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "sean@yahoo.co.in", "phone": "+91 8597-778037", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Ann", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "ann_30@gmail.com", "phone": "+91 7553-381240", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Austin", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "austin-910@partiesunited.co", "phone": "+91 8179-903611", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Teresa", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "teresa.461@yahoo.co.in", "phone": "+91 8654-794198", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Arthur", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "arthur.261@gmail.com", "phone": "+91 8591-727345", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Kathryn", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 7553-353763", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Lawrence", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "lawrence_504@redis.rs", "phone": "+91 7800-930823", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Sara", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "sara-874@redis.rs", "phone": "+91 6550-401548", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Jesse", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 8391-197233", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Janice", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "janice-3@generic_indian.in", "phone": "+91 7838-829539", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Dylan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "dylan_17@partiesunited.co", "phone": "+91 8490-297413", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Jean", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jean_67@partiesunited.co", "phone": "+91 6536-623838", "address": null, "gstType": "Registered Regular", "gstin": "30KKJPQ1372G1Z6"}, {"name": "Bryan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "bryan-34@gmail.com", "phone": "+91 9573-313194", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Alice", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "alice.708@redis.rs", "phone": null, "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Joe", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "joe.232@generic_indian.in", "phone": "+91 6815-438967", "address": null, "gstType": "Registered Regular", "gstin": "22LGOPA3222S1Z0"}, {"name": "Madison", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "madison_16@partiesunited.co", "phone": "+91 6323-819289", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Jordan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "jordan_329@gmail.com", "phone": "+91 9958-214474", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Doris", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 8265-604921", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Billy", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "billy.876@partiesunited.co", "phone": "+91 8252-440697", "address": null, "gstType": "Registered Regular", "gstin": "32WTVPO1637Q1Z2"}, {"name": "Abigail", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "abigail-445@generic_indian.in", "phone": "+91 9110-758387", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Bruce", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "bruce.639@generic_indian.in", "phone": "+91 7279-246307", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Julia", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "julia.950@partiesunited.co", "phone": "+91 8121-831374", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Albert", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "albert@yahoo.co.in", "phone": "+91 9380-129478", "address": null, "gstType": "Registered Regular", "gstin": "27LJNPL5438V1Z3"}, {"name": "Judy", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "judy-622@redis.rs", "phone": "+91 8288-615356", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Willie", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "willie.482@gmail.com", "phone": "+91 9463-671396", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Grace", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "grace-113@redis.rs", "phone": "+91 7939-158183", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Gabriel", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "gabriel_997@yahoo.co.in", "phone": "+91 8622-240964", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Denise", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "denise.960@redis.rs", "phone": "+91 9377-118903", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Logan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": null, "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Amber", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "amber-307@partiesunited.co", "phone": "+91 9029-427995", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Alan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "alan.844@yahoo.co.in", "phone": "+91 7506-672233", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Marilyn", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "marilyn@partiesunited.co", "phone": "+91 8471-047686", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Juan", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 7977-135896", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Beverly", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "beverly-993@gmail.com", "phone": null, "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Wayne", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "wayne.497@redis.rs", "phone": "+91 9886-432030", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Danielle", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "danielle_813@yahoo.co.in", "phone": "+91 8980-756924", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Roy", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "roy.350@gmail.com", "phone": "+91 9930-062360", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Theresa", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "theresa.538@partiesunited.co", "phone": "+91 7079-462390", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Ralph", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "ralph-611@gmail.com", "phone": "+91 6564-488033", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Sophia", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 8603-039297", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Randy", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "randy.493@yahoo.co.in", "phone": "+91 6692-244741", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Marie", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "marie.328@partiesunited.co", "phone": "+91 9089-500095", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Eugene", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "eugene-126@redis.rs", "phone": null, "address": null, "gstType": "Registered Regular", "gstin": "27ISQPL0662M1Z9"}, {"name": "Diana", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 8582-063412", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Vincent", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "vincent-551@redis.rs", "phone": "+91 7307-403536", "address": null, "gstType": "Registered Regular", "gstin": "32POPPV9927R1Z9"}, {"name": "Brittany", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "brittany_431@partiesunited.co", "phone": "+91 7124-128260", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Russell", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": null, "phone": "+91 6315-053860", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Natalie", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "natalie-655@generic_indian.in", "phone": null, "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Elijah", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "elijah-660@gmail.com", "phone": "+91 7596-290047", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Isabella", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "isabella@yahoo.co.in", "phone": "+91 7294-796072", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Louis", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "louis-336@gmail.com", "phone": "+91 9433-004577", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Charlotte", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "charlotte-886@gmail.com", "phone": "+91 6655-639480", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Bobby", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "bobby_737@yahoo.co.in", "phone": "+91 8534-723705", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Rose", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "rose-274@partiesunited.co", "phone": "+91 9337-991300", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Philip", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "philip.930@gmail.com", "phone": "+91 9925-686539", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Alexis", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "alexis_850@yahoo.co.in", "phone": null, "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Johnny", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "johnny_204@generic_indian.in", "phone": "+91 7187-876740", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Kayla", "role": "Customer", "defaultAccount": "Debtors", "currency": "INR", "email": "kayla-287@generic_indian.in", "phone": "+91 9985-769077", "address": null, "gstType": "Consumer", "gstin": null}, {"name": "Le Socials", "role": "Supplier", "defaultAccount": "Creditors", "currency": "INR", "email": "le-socials_172@yahoo.co.in", "phone": "+91 9879-452232", "address": null, "gstType": "Registered Regular", "gstin": "07RAQCB3836J1Z8"}, {"name": "Janky Office Spaces", "role": "Supplier", "defaultAccount": "Creditors", "currency": "INR", "email": "janky.office.spaces-417@yahoo.co.in", "phone": "+91 7308-863851", "address": null, "gstType": "Registered Regular", "gstin": "32UGFPV2343M1Z4"}, {"name": "Josf\u00e9\u00f1a's 611s", "role": "Supplier", "defaultAccount": "Creditors", "currency": "INR", "email": "josf\u00e9\u00f1a's_611s@redis.rs", "phone": "+91 6085-833491", "address": null, "gstType": "Registered Regular", "gstin": "30GHJPM5774L1Z9"}, {"name": "Lankness Feet Fomenters", "role": "Supplier", "defaultAccount": "Creditors", "currency": "INR", "email": "lankness_feet_fomenters_222@redis.rs", "phone": "+91 7985-215055", "address": null, "gstType": "Registered Regular", "gstin": "30SHWCG9396V1Z6"}, {"name": "The Overclothes Company", "role": "Supplier", "defaultAccount": "Creditors", "currency": "INR", "email": "the-overclothes-company.105@yahoo.co.in", "phone": "+91 7245-972879", "address": null, "gstType": "Registered Regular", "gstin": "07ULPPU8278Q1Z6"}, {"name": "Adani Electricity Mumbai Limited", "role": "Supplier", "defaultAccount": "Creditors", "currency": "INR", "email": "adani-electricity-mumbai-limited-903@yahoo.co.in", "phone": "+91 9955-187016", "address": null, "gstType": "Registered Regular", "gstin": "22KTNCA0958Q1Z4"}, {"name": "Only Fulls", "role": "Supplier", "defaultAccount": "Creditors", "currency": "INR", "email": "only.fulls_465@gmail.com", "phone": "+91 9291-250658", "address": null, "gstType": "Registered Regular", "gstin": "07HWIPM5574P1Z10"}, {"name": "Just Epaulettes", "role": "Supplier", "defaultAccount": "Creditors", "currency": "INR", "email": "just_epaulettes-901@partiesunited.co", "phone": "+91 8233-194054", "address": null, "gstType": "Registered Regular", "gstin": "32OZWPO6297K1Z10"}, {"name": "Maxwell", "role": "Both", "defaultAccount": null, "currency": "INR", "email": "maxwell.688@gmail.com", "phone": "+91 9065-184842", "address": null, "gstType": "Unregistered", "gstin": null}] \ No newline at end of file diff --git a/models/baseModels/Address/Address.ts b/models/baseModels/Address/Address.ts index 4abf5b4d..583c8f9a 100644 --- a/models/baseModels/Address/Address.ts +++ b/models/baseModels/Address/Address.ts @@ -1,8 +1,7 @@ import { t } from 'fyo'; import { Doc } from 'fyo/model/doc'; import { EmptyMessageMap, FormulaMap, ListsMap } from 'fyo/model/types'; -import { stateCodeMap } from 'regional/in'; -import { titleCase } from 'utils'; +import { codeStateMap } from 'regional/in'; import { getCountryInfo } from 'utils/misc'; export class Address extends Doc { @@ -36,7 +35,7 @@ export class Address extends Doc { const country = doc?.country as string | undefined; switch (country) { case 'India': - return Object.keys(stateCodeMap).map(titleCase).sort(); + return Object.values(codeStateMap).sort(); default: return [] as string[]; } diff --git a/models/baseModels/Invoice/Invoice.ts b/models/baseModels/Invoice/Invoice.ts index 540ab938..c1a78b50 100644 --- a/models/baseModels/Invoice/Invoice.ts +++ b/models/baseModels/Invoice/Invoice.ts @@ -19,6 +19,7 @@ export abstract class Invoice extends Transactional { account?: string; currency?: string; netTotal?: Money; + grandTotal?: Money; baseGrandTotal?: Money; outstandingAmount?: Money; exchangeRate?: number; diff --git a/models/regionalModels/in/Address.ts b/models/regionalModels/in/Address.ts index 4556d60c..1c9e94e8 100644 --- a/models/regionalModels/in/Address.ts +++ b/models/regionalModels/in/Address.ts @@ -1,7 +1,6 @@ import { FormulaMap, ListsMap } from 'fyo/model/types'; import { Address as BaseAddress } from 'models/baseModels/Address/Address'; -import { stateCodeMap } from 'regional/in'; -import { titleCase } from 'utils'; +import { codeStateMap } from 'regional/in'; export class Address extends BaseAddress { formulas: FormulaMap = { @@ -30,7 +29,7 @@ export class Address extends BaseAddress { pos: { formula: async () => { - const stateList = Object.keys(stateCodeMap).map(titleCase).sort(); + const stateList = Object.values(codeStateMap).sort(); const state = this.state as string; if (stateList.includes(state)) { return state; @@ -44,7 +43,7 @@ export class Address extends BaseAddress { static lists: ListsMap = { ...BaseAddress.lists, pos: () => { - return Object.keys(stateCodeMap).map(titleCase).sort(); + return Object.values(codeStateMap).sort(); }, }; } diff --git a/models/regionalModels/in/Party.ts b/models/regionalModels/in/Party.ts index 58012228..9571c933 100644 --- a/models/regionalModels/in/Party.ts +++ b/models/regionalModels/in/Party.ts @@ -3,6 +3,9 @@ import { Party as BaseParty } from 'models/baseModels/Party/Party'; import { GSTType } from './types'; export class Party extends BaseParty { + gstin?: string; + gstType?: GSTType; + async beforeSync() { const gstin = this.get('gstin') as string | undefined; const gstType = this.get('gstType') as GSTType; diff --git a/regional/in.ts b/regional/in.ts index ac8d0d87..05c086f9 100644 --- a/regional/in.ts +++ b/regional/in.ts @@ -1,39 +1,38 @@ -// prettier-ignore -export const stateCodeMap = { - 'JAMMU AND KASHMIR': '01', - 'HIMACHAL PRADESH': '02', - 'PUNJAB': '03', - 'CHANDIGARH': '04', - 'UTTARAKHAND': '05', - 'HARYANA': '06', - 'DELHI': '07', - 'RAJASTHAN': '08', - 'UTTAR PRADESH': '09', - 'BIHAR': '10', - 'SIKKIM': '11', - 'ARUNACHAL PRADESH': '12', - 'NAGALAND': '13', - 'MANIPUR': '14', - 'MIZORAM': '15', - 'TRIPURA': '16', - 'MEGHALAYA': '17', - 'ASSAM': '18', - 'WEST BENGAL': '19', - 'JHARKHAND': '20', - 'ODISHA': '21', - 'CHATTISGARH': '22', - 'MADHYA PRADESH': '23', - 'GUJARAT': '24', - 'DADRA AND NAGAR HAVELI AND DAMAN AND DIU': '26', - 'MAHARASHTRA': '27', - 'KARNATAKA': '29', - 'GOA': '30', - 'LAKSHADWEEP': '31', - 'KERALA': '32', - 'TAMIL NADU': '33', - 'PUDUCHERRY': '34', - 'ANDAMAN AND NICOBAR ISLANDS': '35', - 'TELANGANA': '36', - 'ANDHRA PRADESH': '37', - 'LADAKH': '38', -}; +export const codeStateMap = { + '01': 'Jammu and Kashmir', + '02': 'Himachal Pradesh', + '03': 'Punjab', + '04': 'Chandigarh', + '05': 'Uttarakhand', + '06': 'Haryana', + '07': 'Delhi', + '08': 'Rajasthan', + '09': 'Uttar Pradesh', + '10': 'Bihar', + '11': 'Sikkim', + '12': 'Arunachal Pradesh', + '13': 'Nagaland', + '14': 'Manipur', + '15': 'Mizoram', + '16': 'Tripura', + '17': 'Meghalaya', + '18': 'Assam', + '19': 'West Bengal', + '20': 'Jharkhand', + '21': 'Odisha', + '22': 'Chattisgarh', + '23': 'Madhya Pradesh', + '24': 'Gujarat', + '26': 'Dadra and Nagar Haveli and Daman and Diu', + '27': 'Maharashtra', + '29': 'Karnataka', + '30': 'Goa', + '31': 'Lakshadweep', + '32': 'Kerala', + '33': 'Tamil Nadu', + '34': 'Puducherry', + '35': 'Andaman and Nicobar Islands', + '36': 'Telangana', + '37': 'Andhra Pradesh', + '38': 'Ladakh', +} as Record; diff --git a/reports/GoodsAndServiceTax/BaseGSTR.js b/reports/GoodsAndServiceTax/BaseGSTR.js deleted file mode 100644 index b0a11072..00000000 --- a/reports/GoodsAndServiceTax/BaseGSTR.js +++ /dev/null @@ -1,95 +0,0 @@ -import { fyo } from 'src/initFyo'; -import { stateCodeMap } from '../../accounting/gst'; -import { convertPesaValuesToFloat } from '../../src/utils'; - -class BaseGSTR { - async getCompleteReport(gstrType, filters) { - if (['GSTR-1', 'GSTR-2'].includes(gstrType)) { - const place = filters.place; - delete filters.place; - let entries = await fyo.db.getAll({ - doctype: gstrType === 'GSTR-1' ? 'SalesInvoice' : 'PurchaseInvoice', - filters, - }); - filters.place = place; - - let tableData = []; - for (let entry of entries) { - entry.doctype = - gstrType === 'GSTR-1' ? 'SalesInvoice' : 'PurchaseInvoice'; - const row = await this.getRow(entry); - tableData.push(row); - } - - if (Object.keys(filters).length != 0) { - tableData = tableData.filter((row) => { - if (filters.account) return row.account === filters.account; - if (filters.transferType) - return row.transferType === filters.transferType; - if (filters.place) return row.place === filters.place; - return true; - }); - } - - tableData.forEach(convertPesaValuesToFloat); - return tableData; - } else { - return []; - } - } - - async getRow(ledgerEntry) { - ledgerEntry = await fyo.doc.getDoc(ledgerEntry.doctype, ledgerEntry.name); - - const row = {}; - const { gstin } = fyo.AccountingSettings; - - let party = await fyo.doc.getDoc( - 'Party', - ledgerEntry.customer || ledgerEntry.supplier - ); - - if (party.address) { - let addressDetails = await fyo.doc.getDoc('Address', party.address); - row.place = addressDetails.pos || ''; - } - - row.gstin = party.gstin; - row.partyName = ledgerEntry.customer || ledgerEntry.supplier; - row.invNo = ledgerEntry.name; - row.invDate = ledgerEntry.date; - row.rate = 0; - row.inState = - gstin && gstin.substring(0, 2) === stateCodeMap[row.place?.toUpperCase()]; - row.reverseCharge = !party.gstin ? 'Y' : 'N'; - - ledgerEntry.taxes?.forEach((tax) => { - row.rate += tax.rate; - const taxAmt = ledgerEntry.netTotal.percent(tax.rate); - - switch (tax.account) { - case 'IGST': { - row.igstAmt = taxAmt; - row.inState = false; - } - case 'CGST': - row.cgstAmt = taxAmt; - case 'SGST': - row.sgstAmt = taxAmt; - case 'Nil Rated': - row.nilRated = true; - case 'Exempt': - row.exempt = true; - case 'Non GST': - row.nonGST = true; - } - }); - - row.invAmt = ledgerEntry.grandTotal; - row.taxVal = ledgerEntry.netTotal; - - return row; - } -} - -export default BaseGSTR; diff --git a/reports/GoodsAndServiceTax/BaseGSTR.ts b/reports/GoodsAndServiceTax/BaseGSTR.ts new file mode 100644 index 00000000..48a242d2 --- /dev/null +++ b/reports/GoodsAndServiceTax/BaseGSTR.ts @@ -0,0 +1,340 @@ +import { t } from 'fyo'; +import { DateTime } from 'luxon'; +import { Invoice } from 'models/baseModels/Invoice/Invoice'; +import { Party } from 'models/regionalModels/in/Party'; +import { ModelNameEnum } from 'models/types'; +import { codeStateMap } from 'regional/in'; +import { Report } from 'reports/Report'; +import { ColumnField, ReportData, ReportRow } from 'reports/types'; +import { Field, OptionField } from 'schemas/types'; +import { isNumeric } from 'src/utils'; +import { GSTRRow, GSTRType, TransferType, TransferTypeEnum } from './types'; + +export abstract class BaseGSTR extends Report { + place?: string; + toDate?: string; + fromDate?: string; + transferType?: TransferType; + usePagination: boolean = true; + + abstract gstrType: GSTRType; + + get transferTypeMap(): Record { + if (this.gstrType === 'GSTR-2') { + return { + B2B: 'B2B', + }; + } + + return { + B2B: 'B2B', + B2CL: 'B2C-Large', + B2CS: 'B2C-Small', + NR: 'Nil Rated, Exempted and Non GST supplies', + }; + } + + get schemaName() { + if (this.gstrType === 'GSTR-1') { + return ModelNameEnum.SalesInvoice; + } + + return ModelNameEnum.PurchaseInvoice; + } + + async setReportData(): Promise { + const gstrRows = await this.getGstrRows(); + const filteredRows = this.filterGstrRows(gstrRows); + this.reportData = this.getReportDataFromGSTRRows(filteredRows); + } + + getReportDataFromGSTRRows(gstrRows: GSTRRow[]): ReportData { + const reportData: ReportData = []; + for (const row of gstrRows) { + const reportRow: ReportRow = { cells: [] }; + + for (const { fieldname, fieldtype, width } of this.columns) { + const align = isNumeric(fieldtype) ? 'right' : 'left'; + + const rawValue = row[fieldname as keyof GSTRRow]; + let value = ''; + if (rawValue !== undefined) { + value = this.fyo.format(rawValue, fieldtype); + } + + reportRow.cells.push({ + align, + rawValue, + value, + width: width ?? 1, + }); + } + + reportData.push(reportRow); + } + + return reportData; + } + + filterGstrRows(gstrRows: GSTRRow[]) { + return gstrRows.filter((row) => { + let allow = true; + if (this.place) { + allow &&= codeStateMap[this.place] === row.place; + } + this.place; + return (allow &&= this.transferFilterFunction(row)); + }); + } + + get transferFilterFunction(): (row: GSTRRow) => boolean { + if (this.transferType === 'B2B') { + return (row) => !!row.gstin; + } + + if (this.transferType === 'B2CL') { + return (row) => !row.gstin && !row.inState && row.invAmt >= 250000; + } + + if (this.transferType === 'B2CS') { + return (row) => !row.gstin && (row.inState || row.invAmt < 250000); + } + + if (this.transferType === 'NR') { + return (row) => row.rate === 0; // this takes care of both nil rated, exempted goods + } + + return (_) => true; + } + + async getEntries() { + const date: string[] = []; + if (this.toDate) { + date.push('<=', this.toDate); + } + + if (this.fromDate) { + date.push('>=', this.fromDate); + } + + return (await this.fyo.db.getAllRaw(this.schemaName, { + filters: { date, submitted: true, cancelled: false }, + })) as { name: string }[]; + } + + async getGstrRows(): Promise { + const entries = await this.getEntries(); + const gstrRows: GSTRRow[] = []; + for (const entry of entries) { + const gstrRow = await this.getGstrRow(entry.name as string); + gstrRows.push(gstrRow); + } + return gstrRows; + } + + async getGstrRow(entryName: string): Promise { + const entry = (await this.fyo.doc.getDoc( + this.schemaName, + entryName + )) as Invoice; + const gstin = (await this.fyo.getValue( + ModelNameEnum.AccountingSettings, + 'gstin' + )) as string | null; + + const party = (await this.fyo.doc.getDoc('Party', entry.party!)) as Party; + + let place = ''; + if (party.address) { + const pos = (await this.fyo.getValue( + ModelNameEnum.Address, + party.address as string, + 'pos' + )) as string | undefined; + + place = pos ?? ''; + } else if (party.gstin) { + const code = party.gstin.slice(0, 2); + place = codeStateMap[code] ?? ''; + } + + let inState = false; + if (gstin) { + inState = codeStateMap[gstin.slice(0, 2)] === place; + } + + const gstrRow: GSTRRow = { + gstin: party.gstin ?? '', + partyName: entry.party!, + invNo: entry.name!, + invDate: entry.date!, + rate: 0, + reverseCharge: !party.gstin ? 'Y' : 'N', + inState, + place, + invAmt: entry.grandTotal?.float ?? 0, + taxVal: entry.netTotal?.float ?? 0, + }; + + for (const tax of entry.taxes ?? []) { + gstrRow.rate += tax.rate ?? 0; + } + + this.setTaxValuesOnGSTRRow(entry, gstrRow); + return gstrRow; + } + + setTaxValuesOnGSTRRow(entry: Invoice, gstrRow: GSTRRow) { + for (const tax of entry.taxes ?? []) { + const rate = tax.rate ?? 0; + gstrRow.rate += rate; + const taxAmt = entry.netTotal!.percent(rate).float; + + switch (tax.account) { + case 'IGST': { + gstrRow.igstAmt = taxAmt; + gstrRow.inState = false; + } + case 'CGST': + gstrRow.cgstAmt = taxAmt; + case 'SGST': + gstrRow.sgstAmt = taxAmt; + case 'Nil Rated': + gstrRow.nilRated = true; + case 'Exempt': + gstrRow.exempt = true; + case 'Non GST': + gstrRow.nonGST = true; + } + } + } + + async setDefaultFilters() { + if (!this.toDate) { + this.toDate = DateTime.local().toISODate(); + } + + if (!this.fromDate) { + this.fromDate = DateTime.local().minus({ months: 3 }).toISODate(); + } + + if (!this.transferType) { + this.transferType = 'B2B'; + } + } + + getFilters(): Field[] { + const transferTypeMap = this.transferTypeMap; + const options = Object.keys(transferTypeMap).map((k) => ({ + value: k, + label: transferTypeMap[k], + })); + + return [ + { + fieldtype: 'Select', + label: t`Transfer Type`, + placeholder: t`Transfer Type`, + fieldname: 'transferType', + options, + } as OptionField, + { + fieldtype: 'AutoComplete', + label: t`Place`, + placeholder: t`Place`, + fieldname: 'place', + options: Object.keys(codeStateMap).map((code) => { + return { + value: code, + label: codeStateMap[code], + }; + }), + } as OptionField, + { + fieldtype: 'Date', + label: t`From Date`, + placeholder: t`From Date`, + fieldname: 'fromDate', + }, + { + fieldtype: 'Date', + label: t`To Date`, + placeholder: t`To Date`, + fieldname: 'toDate', + }, + ]; + } + + getColumns(): ColumnField[] | Promise { + const columns = [ + { + label: t`Party`, + fieldtype: 'Data', + fieldname: 'partyName', + width: 1.5, + }, + { + label: t`Invoice No.`, + fieldname: 'invNo', + fieldtype: 'Data', + }, + { + label: t`Invoice Value`, + fieldname: 'invAmt', + fieldtype: 'Currency', + }, + { + label: t`Invoice Date`, + fieldname: 'invDate', + fieldtype: 'Date', + }, + { + label: t`Place of supply`, + fieldname: 'place', + fieldtype: 'Data', + }, + { + label: t`Rate`, + fieldname: 'rate', + width: 0.5, + }, + { + label: t`Taxable Value`, + fieldname: 'taxVal', + fieldtype: 'Currency', + }, + { + label: t`Reverse Chrg.`, + fieldname: 'reverseCharge', + fieldtype: 'Data', + }, + { + label: t`Intergrated Tax`, + fieldname: 'igstAmt', + fieldtype: 'Currency', + }, + { + label: t`Central Tax`, + fieldname: 'cgstAmt', + fieldtype: 'Currency', + }, + { + label: t`State Tax`, + fieldname: 'sgstAmt', + fieldtype: 'Currency', + }, + ] as ColumnField[]; + + const transferType = this.transferType ?? TransferTypeEnum.B2B; + if (transferType === TransferTypeEnum.B2B) { + columns.unshift({ + label: t`GSTIN No.`, + fieldname: 'gstin', + fieldtype: 'Data', + width: 1.5, + }); + } + + return columns; + } +} diff --git a/reports/GoodsAndServiceTax/BaseViewConfig.js b/reports/GoodsAndServiceTax/BaseViewConfig.js deleted file mode 100644 index 3171e755..00000000 --- a/reports/GoodsAndServiceTax/BaseViewConfig.js +++ /dev/null @@ -1,106 +0,0 @@ -import { t } from 'fyo'; -import { DateTime } from 'luxon'; -import { stateCodeMap } from '../../accounting/gst'; -import { titleCase } from '../../src/utils'; - -export default { - filterFields: [ - { - fieldtype: 'AutoComplete', - label: t`Place`, - size: 'small', - placeholder: t`Place`, - fieldname: 'place', - getList: () => Object.keys(stateCodeMap).map(titleCase).sort(), - }, - { - fieldtype: 'Date', - label: t`From Date`, - size: 'small', - placeholder: t`From Date`, - fieldname: 'fromDate', - default: () => DateTime.local().minus({ months: 3 }).toISODate(), - }, - { - fieldtype: 'Date', - label: t`To Date`, - size: 'small', - placeholder: t`To Date`, - fieldname: 'toDate', - default: () => DateTime.local().toISODate(), - }, - ], - getColumns({ filters }) { - const columns = [ - { - label: t`Party`, - fieldtype: 'Data', - fieldname: 'partyName', - width: 1.5, - }, - { - label: t`Invoice No.`, - fieldname: 'invNo', - fieldtype: 'Data', - }, - { - label: t`Invoice Value`, - fieldname: 'invAmt', - fieldtype: 'Currency', - }, - { - label: t`Invoice Date`, - fieldname: 'invDate', - fieldtype: 'Date', - }, - { - label: t`Place of supply`, - fieldname: 'place', - fieldtype: 'Data', - }, - { - label: t`Rate`, - fieldname: 'rate', - fieldtype: 'Data', - width: 0.5, - }, - { - label: t`Taxable Value`, - fieldname: 'taxVal', - fieldtype: 'Currency', - }, - { - label: t`Reverse Chrg.`, - fieldname: 'reverseCharge', - fieldtype: 'Data', - }, - { - label: t`Intergrated Tax`, - fieldname: 'igstAmt', - fieldtype: 'Currency', - }, - { - label: t`Central Tax`, - fieldname: 'cgstAmt', - fieldtype: 'Currency', - }, - { - label: t`State Tax`, - fieldname: 'sgstAmt', - fieldtype: 'Currency', - }, - ]; - - const transferType = filters.transferType || 'B2B'; - if (transferType === 'B2B') { - columns.unshift({ - label: t`GSTIN No.`, - fieldname: 'gstin', - fieldtype: 'Data', - width: 1.5, - }); - } - - return columns; - }, -}; diff --git a/reports/GoodsAndServiceTax/GSTR1.js b/reports/GoodsAndServiceTax/GSTR1.js deleted file mode 100644 index 8759da5e..00000000 --- a/reports/GoodsAndServiceTax/GSTR1.js +++ /dev/null @@ -1,32 +0,0 @@ -import BaseGSTR from './BaseGSTR'; - -class GSTR1 extends BaseGSTR { - async run(params) { - if (!Object.keys(params).length) return []; - - let filters = {}; - filters.cancelled = 0; - if (params.toDate || params.fromDate) { - filters.date = []; - - if (params.place) filters.place = params.place; - if (params.toDate) filters.date.push('<=', params.toDate); - if (params.fromDate) filters.date.push('>=', params.fromDate); - } - - const data = await this.getCompleteReport('GSTR-1', filters); - - // prettier-ignore - const conditions = { - 'B2B': row => row.gstin, - 'B2CL': row => !row.gstin && !row.inState && row.invAmt >= 250000, - 'B2CS': row => !row.gstin && (row.inState || row.invAmt < 250000), - 'NR': row => (row.rate === 0), // this takes care of both nil rated, exempted goods - }; - - if (!params.transferType) return data; - return data.filter((row) => conditions[params.transferType](row)); - } -} - -export default GSTR1; diff --git a/reports/GoodsAndServiceTax/GSTR1.ts b/reports/GoodsAndServiceTax/GSTR1.ts new file mode 100644 index 00000000..3f2316b1 --- /dev/null +++ b/reports/GoodsAndServiceTax/GSTR1.ts @@ -0,0 +1,13 @@ +import { Action } from 'fyo/model/types'; +import { BaseGSTR } from './BaseGSTR'; +import { GSTRType } from './types'; + +export class GSTR1 extends BaseGSTR { + static title = 'GSTR1'; + static reportName = 'gstr-1'; + + gstrType: GSTRType = 'GSTR-1'; + getActions(): Action[] { + return []; + } +} diff --git a/reports/GoodsAndServiceTax/GSTR1View.js b/reports/GoodsAndServiceTax/GSTR1View.js deleted file mode 100644 index 68f5d671..00000000 --- a/reports/GoodsAndServiceTax/GSTR1View.js +++ /dev/null @@ -1,49 +0,0 @@ -const title = 'GSTR 1'; -import { t } from 'fyo'; -import { generateGstr1Csv, generateGstr1Json } from '../../accounting/gst'; -import baseConfig from './BaseViewConfig'; - -const transferTypeMap = { - B2B: 'B2B', - B2CL: 'B2C-Large', - B2CS: 'B2C-Small', - NR: 'Nil Rated, Exempted and Non GST supplies', -}; - -const transferType = { - fieldtype: 'Select', - label: t`Transfer Type`, - placeholder: t`Transfer Type`, - fieldname: 'transferType', - options: Object.keys(transferTypeMap), - map: transferTypeMap, - default: 'B2B', - size: 'small', -}; - -const actions = [ - { - group: t`Export`, - label: t`JSON`, - type: 'primary', - action: async (report, filters) => { - generateGstr1Json(report, filters); - }, - }, - { - group: t`Export`, - label: t`CSV`, - type: 'primary', - action: async (report, filters) => { - generateGstr1Csv(report, filters); - }, - }, -]; - -export default { - title: title, - method: 'gstr-1', - filterFields: [ transferType, ...baseConfig.filterFields], - actions: actions, - getColumns: baseConfig.getColumns, -}; diff --git a/reports/GoodsAndServiceTax/GSTR2.js b/reports/GoodsAndServiceTax/GSTR2.js deleted file mode 100644 index 20e5059c..00000000 --- a/reports/GoodsAndServiceTax/GSTR2.js +++ /dev/null @@ -1,26 +0,0 @@ -import BaseGSTR from './BaseGSTR'; - -class GSTR2 extends BaseGSTR { - async run(params) { - if (!Object.keys(params).length) return []; - - let filters = {}; - if (params.toDate || params.fromDate) { - filters.date = []; - if (params.toDate) filters.date.push('<=', params.toDate); - if (params.fromDate) filters.date.push('>=', params.fromDate); - } - - const data = await this.getCompleteReport('GSTR-2', filters); - - // prettier-ignore - const conditions = { - 'B2B': row => row.gstin, - }; - - if (!params.transferType) return data; - return data.filter((row) => conditions[params.transferType](row)); - } -} - -export default GSTR2; diff --git a/reports/GoodsAndServiceTax/GSTR2.ts b/reports/GoodsAndServiceTax/GSTR2.ts new file mode 100644 index 00000000..861ec099 --- /dev/null +++ b/reports/GoodsAndServiceTax/GSTR2.ts @@ -0,0 +1,13 @@ +import { Action } from 'fyo/model/types'; +import { BaseGSTR } from './BaseGSTR'; +import { GSTRType } from './types'; + +export class GSTR2 extends BaseGSTR { + static title = 'GSTR2'; + static reportName = 'gstr-2'; + + gstrType: GSTRType = 'GSTR-2'; + getActions(): Action[] { + return []; + } +} diff --git a/reports/GoodsAndServiceTax/GSTR2View.js b/reports/GoodsAndServiceTax/GSTR2View.js deleted file mode 100644 index 92bb314e..00000000 --- a/reports/GoodsAndServiceTax/GSTR2View.js +++ /dev/null @@ -1,38 +0,0 @@ -const title = 'GSTR 2'; -import { t } from 'fyo'; -import { generateGstr2Csv } from '../../accounting/gst'; -import baseConfig from './BaseViewConfig'; - -const transferTypeMap = { - B2B: 'B2B', -}; - -const transferType = { - fieldtype: 'Select', - label: t`Transfer Type`, - placeholder: t`Transfer Type`, - fieldname: 'transferType', - options: Object.keys(transferTypeMap), - map: transferTypeMap, - default: 'B2B', - size: 'small', -}; - -const actions = [ - { - group: t`Export`, - label: t`CSV`, - type: 'primary', - action: async (report, filters) => { - generateGstr2Csv(report, filters); - }, - }, -]; - -export default { - title: title, - method: 'gstr-2', - filterFields: [ transferType, ...baseConfig.filterFields], - actions: actions, - getColumns: baseConfig.getColumns, -}; diff --git a/reports/GoodsAndServiceTax/types.ts b/reports/GoodsAndServiceTax/types.ts new file mode 100644 index 00000000..50468748 --- /dev/null +++ b/reports/GoodsAndServiceTax/types.ts @@ -0,0 +1,28 @@ + +export enum TransferTypeEnum { + 'B2B' = 'B2B', +'B2CL' = 'B2C', + 'B2CS' = 'B2C', + 'NR' = 'NR', +} + +export type TransferType = keyof typeof TransferTypeEnum; +export type GSTRType = 'GSTR-1' | 'GSTR-2'; +export interface GSTRRow { + gstin: string; + partyName: string; + invNo: string; + invDate: Date; + rate: number; + reverseCharge: 'Y' | 'N'; + inState: boolean; + place: string; + invAmt: number; + taxVal: number; + igstAmt?: number; + cgstAmt?: number; + sgstAmt?: number; + exempt?: boolean; + nonGST?: boolean; + nilRated?: boolean; +} diff --git a/reports/index.ts b/reports/index.ts index 1b4cf056..c65e4657 100644 --- a/reports/index.ts +++ b/reports/index.ts @@ -1,5 +1,7 @@ import { BalanceSheet } from './BalanceSheet/BalanceSheet'; import { GeneralLedger } from './GeneralLedger/GeneralLedger'; +import { GSTR1 } from './GoodsAndServiceTax/GSTR1'; +import { GSTR2 } from './GoodsAndServiceTax/GSTR2'; import { ProfitAndLoss } from './ProfitAndLoss/ProfitAndLoss'; import { TrialBalance } from './TrialBalance/TrialBalance'; @@ -8,4 +10,6 @@ export const reports = { ProfitAndLoss, BalanceSheet, TrialBalance, + GSTR1, + GSTR2, }; diff --git a/src/components/Controls/Base.vue b/src/components/Controls/Base.vue index 1c95b03c..c9d6b7db 100644 --- a/src/components/Controls/Base.vue +++ b/src/components/Controls/Base.vue @@ -21,6 +21,8 @@ diff --git a/src/components/Report/ListReport.vue b/src/components/Report/ListReport.vue index ccbb16bf..356ac69b 100644 --- a/src/components/Report/ListReport.vue +++ b/src/components/Report/ListReport.vue @@ -75,6 +75,7 @@