@keshavsoft/tallyextract 1.2.1 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
  3. package/src/v3/api/Import/ledgers.json +17 -0
  4. package/src/v3/api/PrepareDataObject/ForInventory/entryFile.js +24 -0
  5. package/src/v3/api/PrepareDataObject/ForInventory/prepareInventory.js +85 -0
  6. package/src/v3/api/PrepareDataObject/ForLedger/entryFile.js +46 -0
  7. package/src/v3/api/PrepareDataObject/ForLedger/prepareLedger.js +24 -0
  8. package/src/v3/api/PrepareDataObject/entryFile.js +20 -0
  9. package/src/v3/api/PrepareDataObject/prepareClientData.js +56 -0
  10. package/src/v3/api/PrepareDataObject/prepareTallyJson/entryFile.js +25 -0
  11. package/src/v3/api/importVoucher.js +14 -0
  12. package/src/v3/api/index.js +5 -0
  13. package/src/v3/api/utils/validateInput.js +36 -0
  14. package/src/v3/core/impotToTally.js +14 -0
  15. package/src/v4/api/Import/Templates/inventory.json +121 -0
  16. package/src/v4/api/Import/Templates/ledgers.json +28 -0
  17. package/src/v4/api/Import/Templates/template.json +224 -0
  18. package/src/v4/api/PrepareDataObject/ForInventory/entryFile.js +24 -0
  19. package/src/v4/api/PrepareDataObject/ForInventory/prepareInventory.js +85 -0
  20. package/src/v4/api/PrepareDataObject/ForLedger/entryFile.js +46 -0
  21. package/src/v4/api/PrepareDataObject/ForLedger/prepareLedger.js +24 -0
  22. package/src/v4/api/PrepareDataObject/entryFile.js +20 -0
  23. package/src/v4/api/PrepareDataObject/prepareClientData.js +56 -0
  24. package/src/v4/api/PrepareDataObject/prepareTallyJson/entryFile.js +25 -0
  25. package/src/v4/api/importVoucher.js +16 -0
  26. package/src/v4/api/index.js +5 -0
  27. package/src/{v1 → v4}/api/ledger.js +1 -1
  28. package/src/v4/api/utils/validateInput.js +36 -0
  29. package/src/v4/core/impotToTally.js +14 -0
  30. package/src/v1/Import/ledgers.json +0 -8
  31. package/src/v1/api/index.js +0 -3
  32. package/src/v1/config/getSchema.js +0 -20
  33. package/src/v1/engine/index.js +0 -5
  34. package/src/v1/engine/mutate/delete/deleteBase.js +0 -26
  35. package/src/v1/engine/mutate/delete/deleteWithChecks.js +0 -14
  36. package/src/v1/engine/mutate/index.js +0 -7
  37. package/src/v1/engine/mutate/insert/insertAsIs.js +0 -7
  38. package/src/v1/engine/mutate/insert/insertBase.js +0 -19
  39. package/src/v1/engine/mutate/insert/insertFlat.js +0 -24
  40. package/src/v1/engine/mutate/insert/insertGenPk copy.js +0 -39
  41. package/src/v1/engine/mutate/insert/insertGenPk.js +0 -41
  42. package/src/v1/engine/mutate/insert/insertWithChecks.js +0 -52
  43. package/src/v1/engine/mutate/update/updateBase.js +0 -26
  44. package/src/v1/engine/mutate/update/updateWithChecks.js +0 -18
  45. package/src/v1/engine/query/aggregate/count.js +0 -13
  46. package/src/v1/engine/query/aggregate/index.js +0 -1
  47. package/src/v1/engine/query/filterByColumns.js +0 -18
  48. package/src/v1/engine/query/filterByPk.js +0 -18
  49. package/src/v1/engine/query/findAll.js +0 -14
  50. package/src/v1/engine/query/findByPk.js +0 -18
  51. package/src/v1/engine/query/index.js +0 -8
  52. package/src/v1/helpers/buildMutate.js +0 -28
  53. package/src/v1/helpers/buildQuery.js +0 -27
  54. package/src/v1/helpers/file/read.js +0 -7
  55. package/src/v1/helpers/file/write.js +0 -5
  56. package/src/v1/helpers/pkHelper.js +0 -19
  57. package/src/v1/helpers/validate.js +0 -27
  58. package/src/v1/helpers/validateHelper.js +0 -27
  59. package/src/v1/helpers/validators/default.js +0 -5
  60. package/src/v1/helpers/validators/enum.js +0 -7
  61. package/src/v1/helpers/validators/length.js +0 -11
  62. package/src/v1/helpers/validators/minMax.js +0 -11
  63. package/src/v1/helpers/validators/pattern.js +0 -8
  64. package/src/v1/helpers/validators/required.js +0 -5
  65. package/src/v1/helpers/validators/type.js +0 -15
  66. package/src/v1/helpers/validators/unique.js +0 -8
  67. package/src/v1/schema/schema.json +0 -133
  68. package/src/v2/api/index.js +0 -3
  69. /package/src/{v1 → v3/api}/Import/Templates/inventory.json +0 -0
  70. /package/src/{v1 → v3/api}/Import/Templates/ledgers.json +0 -0
  71. /package/src/{v1 → v3/api}/Import/Templates/main.json +0 -0
  72. /package/src/{v1 → v3/api}/Import/Templates/template.json +0 -0
  73. /package/src/{v1 → v3/api}/Import/staticVariables.json +0 -0
  74. /package/src/{v2 → v3}/api/ledger.js +0 -0
  75. /package/src/{v1 → v3}/api/stockItems.js +0 -0
  76. /package/src/{v1 → v3}/cli.js +0 -0
  77. /package/src/{v1 → v3}/core/sendToTally.js +0 -0
  78. /package/src/{v1 → v3}/index.js +0 -0
  79. /package/src/{v1 → v3}/utils/readJson.js +0 -0
  80. /package/src/{v2 → v4}/api/stockItems.js +0 -0
  81. /package/src/{v2 → v4}/cli.js +0 -0
  82. /package/src/{v2 → v4}/core/sendToTally.js +0 -0
  83. /package/src/{v2 → v4}/index.js +0 -0
  84. /package/src/{v2 → v4}/utils/readJson.js +0 -0
package/index.js CHANGED
@@ -1 +1 @@
1
- export * from "./src/v2/index.js";
1
+ export * from "./src/v4/index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keshavsoft/tallyextract",
3
- "version": "1.2.1",
3
+ "version": "1.2.4",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -0,0 +1,17 @@
1
+ {
2
+ "static_variables": [
3
+ {
4
+ "name": "svExportFormat",
5
+ "value": "jsonex"
6
+ },
7
+ {
8
+ "name": "svCurrentCompany",
9
+ "value": "Mani9"
10
+ }
11
+ ],
12
+ "fetch_List": [
13
+ "Name",
14
+ "Parent",
15
+ "Closing Balance"
16
+ ]
17
+ }
@@ -0,0 +1,24 @@
1
+ import path from "path";
2
+ import { fileURLToPath } from "url";
3
+ import { startFunc as prepareInventory } from "./prepareInventory.js";
4
+ // --------------------------------------------------
5
+
6
+ // Creates inventory entries array from items.json
7
+ const startFunc = ({ inItemsJsonAsArray }) => {
8
+ let LocalArray = [];
9
+ const LocalInItemsJsonAsArray = inItemsJsonAsArray;
10
+
11
+ return LocalInItemsJsonAsArray.map(element => {
12
+ return prepareInventory({
13
+ inItemName: element.ItemName,
14
+ inTaxPer: element.TaxPer,
15
+ inUom: element.Uom,
16
+ inRate: element.Rate,
17
+ inQty: element.Qty
18
+ });
19
+ });
20
+
21
+ return CommonFileDataAsJson;
22
+ };
23
+
24
+ export { startFunc };
@@ -0,0 +1,85 @@
1
+ import fs from "fs";
2
+ import path from "path";
3
+
4
+ import { fileURLToPath } from "url";
5
+
6
+ const __filename = fileURLToPath(import.meta.url);
7
+ const __dirname = path.dirname(__filename);
8
+
9
+ const filePath = path.join(__dirname, "../../Import/Templates/inventory.json");
10
+
11
+ // Prepares single inventory entry
12
+ const startFunc = ({ inItemName, inTaxPer, inUom, inRate, inQty }) => {
13
+ // const filePath = path.join("./Import/Templates", "inventory.json");
14
+ let template = fs.readFileSync(filePath, "utf8");
15
+
16
+ let data = JSON.parse(template);
17
+
18
+ const LocalItemName = inItemName;
19
+ const LocalUom = inUom;
20
+ const LocalQty = inQty;
21
+ const LocalRate = inRate;
22
+
23
+ const LocalRateWithTax = LocalRate * (1 + (inTaxPer / 100));
24
+ const LocalAmount = LocalRate * LocalQty;
25
+
26
+ data.hsnitemsource = LocalItemName;
27
+ data.gstitemsource = LocalItemName;
28
+ data.stockitemname = LocalItemName;
29
+
30
+ data.mrprate = `${LocalRateWithTax}.00/${LocalUom}`;
31
+ data.inclvatrate = `${LocalRateWithTax}.00/${LocalUom}`;
32
+
33
+
34
+ // --------------------------------------------------
35
+ // Quantity & Amount
36
+ // --------------------------------------------------
37
+
38
+ data.amount = `${LocalAmount}.00`;
39
+ data.rate = `${LocalRate}.00/${LocalUom}`;
40
+ data.actualqty = `${LocalQty}.00 ${LocalUom}`;
41
+ data.billedqty = `${LocalQty}.00 ${LocalUom}`;
42
+
43
+
44
+ // --------------------------------------------------
45
+ // Batch Allocation
46
+ // --------------------------------------------------
47
+
48
+ data.batchallocations[0].amount = LocalRate * LocalQty;
49
+ data.batchallocations[0].actualqty = `${LocalQty}.00 ${LocalUom}`;
50
+ data.batchallocations[0].billedqty = `${LocalQty}.00 ${LocalUom}`;
51
+
52
+
53
+ // --------------------------------------------------
54
+ // Accounting Allocation
55
+ // --------------------------------------------------
56
+
57
+ data.accountingallocations[0].classrate = `${LocalRate}.00`;
58
+ data.accountingallocations[0].amount = `${LocalAmount}.00`;
59
+
60
+ updateRateDetails(data.ratedetails, inTaxPer);
61
+
62
+ return data;
63
+ };
64
+
65
+ // Update GST ratedetails safely
66
+ const updateRateDetails = (ratedetails, taxPer) => {
67
+ const half = (taxPer / 2).toFixed(2);
68
+ const full = Number(taxPer).toFixed(2);
69
+
70
+ ratedetails.forEach(row => {
71
+ switch (row.gstratedutyhead) {
72
+ case "CGST":
73
+ row.gstrate = half;
74
+ break;
75
+ case "SGST/UTGST":
76
+ row.gstrate = half;
77
+ break;
78
+ case "IGST":
79
+ row.gstrate = full;
80
+ break;
81
+ }
82
+ });
83
+ };
84
+
85
+ export { startFunc };
@@ -0,0 +1,46 @@
1
+ import path from "path";
2
+ import { fileURLToPath } from "url";
3
+ import { startFunc as prepareLedger } from "./prepareLedger.js";
4
+
5
+ // Creates ledger entries for voucher
6
+ const startFunc = ({ inItemsJsonAsArray, inLedgerDetails }) => {
7
+ let LocalArray = [];
8
+
9
+ const LocalInItemsJsonAsArray = inItemsJsonAsArray;
10
+
11
+ const LocalAmount = LocalInItemsJsonAsArray.map(element => {
12
+ return element.Rate * element.Qty * (1 + (element.TaxPer / 100));
13
+ });
14
+
15
+ const LocalOnlyAmount = LocalInItemsJsonAsArray.map(element => {
16
+ return element.Rate * element.Qty;
17
+ });
18
+
19
+ const amountSum = LocalAmount.reduce((accumulator, currentValue) => accumulator + currentValue, 0);
20
+ const onlyAmountSum = LocalOnlyAmount.reduce((accumulator, currentValue) => accumulator + currentValue, 0);
21
+
22
+ const LocalLedgerEntry = prepareLedger({
23
+ inLedgerName: inLedgerDetails.LedgerName,
24
+ inAmount: `-${amountSum}.00`
25
+ });
26
+
27
+ LocalArray.push(LocalLedgerEntry);
28
+
29
+ const LocalCGST = prepareLedger({
30
+ inLedgerName: "CGST Output",
31
+ inAmount: `${(amountSum - onlyAmountSum) / 2}.00`
32
+ });
33
+
34
+ LocalArray.push(LocalCGST);
35
+
36
+ const LocalSGST = prepareLedger({
37
+ inLedgerName: "SGST Output",
38
+ inAmount: `${(amountSum - onlyAmountSum) / 2}.00`
39
+ });
40
+
41
+ LocalArray.push(LocalSGST);
42
+
43
+ return LocalArray;
44
+ };
45
+
46
+ export { startFunc };
@@ -0,0 +1,24 @@
1
+ import fs from "fs";
2
+ import path from "path";
3
+
4
+ import { fileURLToPath } from "url";
5
+
6
+ const __filename = fileURLToPath(import.meta.url);
7
+ const __dirname = path.dirname(__filename);
8
+
9
+ const filePath = path.join(__dirname, "../../Import/Templates/ledgers.json");
10
+
11
+ // Prepares single ledger entry
12
+ const startFunc = ({ inLedgerName, inAmount }) => {
13
+ // const filePath = path.join("./Import/Templates", "ledgers.json");
14
+ let template = fs.readFileSync(filePath, "utf8");
15
+
16
+ let data = JSON.parse(template);
17
+
18
+ data.ledgername = inLedgerName;
19
+ data.amount = inAmount;
20
+
21
+ return data;
22
+ };
23
+
24
+ export { startFunc };
@@ -0,0 +1,20 @@
1
+ import { startFunc as prepareClientData } from "./prepareClientData.js";
2
+ import { startFunc as prepareTallyJson } from "./prepareTallyJson/entryFile.js";
3
+
4
+ const startFunc = ({ inClientData }) => {
5
+ try {
6
+ let data = prepareTallyJson();
7
+
8
+ const fromClientData = prepareClientData({
9
+ inTallyJson: data,
10
+ inClientData
11
+ });
12
+
13
+ return fromClientData;
14
+ } catch (err) {
15
+ console.error("Import Failed");
16
+ console.log(err.response?.data || err.message);
17
+ };
18
+ };
19
+
20
+ export { startFunc };
@@ -0,0 +1,56 @@
1
+ import { startFunc as ForLedger } from "./ForLedger/entryFile.js";
2
+ import { startFunc as ForInventory } from "./ForInventory/entryFile.js";
3
+
4
+ const startFunc = ({ inTallyJson, inClientData }) => {
5
+ try {
6
+ let data = inTallyJson;
7
+
8
+ const LocalClientData = inClientData;
9
+
10
+ const LocalInventoryItem = ForInventory({ inItemsJsonAsArray: LocalClientData.allinventoryentries });
11
+
12
+ const LocalLedgerItem = ForLedger({
13
+ inItemsJsonAsArray: LocalClientData.allinventoryentries,
14
+ inLedgerDetails: LocalClientData.customerDetails
15
+ });
16
+
17
+ changeCustomerDetails({
18
+ inLedgerName: LocalClientData.customerDetails.LedgerName,
19
+ inData: data
20
+ });
21
+
22
+ changeVoucherDate({
23
+ inData: data,
24
+ inDate: LocalClientData.customerDetails.InvoiceDate
25
+ });
26
+
27
+ data.tallymessage[0].allinventoryentries = LocalInventoryItem;
28
+ data.tallymessage[0].ledgerentries = LocalLedgerItem;
29
+
30
+ return data;
31
+ } catch (err) {
32
+ console.error("Import Failed");
33
+ console.log(err.response?.data || err.message);
34
+ };
35
+ };
36
+
37
+ const changeCustomerDetails = ({ inLedgerName, inData }) => {
38
+ const CommonLedgerName = inLedgerName;
39
+
40
+ inData.tallymessage[0].partyname = CommonLedgerName;
41
+ inData.tallymessage[0].basicbuyername = CommonLedgerName;
42
+ inData.tallymessage[0].partyledgername = CommonLedgerName;
43
+ inData.tallymessage[0].consigneemailingname = CommonLedgerName;
44
+ inData.tallymessage[0].partymailingname = CommonLedgerName;
45
+ inData.tallymessage[0].basicbasepartyname = CommonLedgerName;
46
+ };
47
+
48
+ const changeVoucherDate = ({ inData, inDate }) => {
49
+ const localDate = inDate;
50
+
51
+ inData.tallymessage[0].date = localDate;
52
+ inData.tallymessage[0].vchstatusdate = localDate;
53
+ inData.tallymessage[0].effectivedate = localDate;
54
+ };
55
+
56
+ export { startFunc };
@@ -0,0 +1,25 @@
1
+ import fs from "fs";
2
+ import path from "path";
3
+
4
+ import { fileURLToPath } from "url";
5
+
6
+ const __filename = fileURLToPath(import.meta.url);
7
+ const __dirname = path.dirname(__filename);
8
+
9
+ const filePath = path.join(__dirname, "../../Import/Templates/template.json");
10
+
11
+ const startFunc = () => {
12
+ try {
13
+ // const filePath = path.join("../../Import/Templates", "template.json");
14
+ let template = fs.readFileSync(filePath, "utf8");
15
+
16
+ let data = JSON.parse(template);
17
+
18
+ return data;
19
+ } catch (err) {
20
+ console.error("Import Failed");
21
+ console.log(err.response?.data || err.message);
22
+ };
23
+ };
24
+
25
+ export { startFunc };
@@ -0,0 +1,14 @@
1
+ import { sendToTally } from "../core/impotToTally.js";
2
+ import { startFunc as PrepareDataObject } from "../api/PrepareDataObject/entryFile.js";
3
+
4
+ import { validateImportVoucherInput } from "./utils/validateInput.js";
5
+
6
+ const importVoucher = async (inClientData) => {
7
+ validateImportVoucherInput(inClientData); // 🔥 early fail
8
+
9
+ const bodyToSend = PrepareDataObject({ inClientData });
10
+
11
+ return await sendToTally(bodyToSend);
12
+ };
13
+
14
+ export { importVoucher };
@@ -0,0 +1,5 @@
1
+ // src/v1/api/index.js
2
+ export { ledger } from "./ledger.js";
3
+ export { stockItems } from "./stockitems.js";
4
+
5
+ export { importVoucher } from "./importVoucher.js";
@@ -0,0 +1,36 @@
1
+ // utils/validateInput.js
2
+ const validateImportVoucherInput = (data) => {
3
+ if (!data || typeof data !== "object") {
4
+ throw new Error("Input must be an object");
5
+ }
6
+
7
+ // 🔹 allinventoryentries
8
+ if (!Array.isArray(data.allinventoryentries)) {
9
+ throw new Error("allinventoryentries must be an array");
10
+ }
11
+
12
+ if (data.allinventoryentries.length === 0) {
13
+ throw new Error("allinventoryentries cannot be empty");
14
+ }
15
+
16
+ // optional: validate one item structure
17
+ const item = data.allinventoryentries[0];
18
+ if (!item.ItemName || !item.Qty) {
19
+ throw new Error("Invalid inventory item structure");
20
+ }
21
+
22
+ // 🔹 customerDetails
23
+ if (!data.customerDetails || typeof data.customerDetails !== "object") {
24
+ throw new Error("customerDetails must be an object");
25
+ }
26
+
27
+ if (!data.customerDetails.LedgerName) {
28
+ throw new Error("LedgerName is required in customerDetails");
29
+ }
30
+
31
+ if (!data.customerDetails.InvoiceDate) {
32
+ throw new Error("InvoiceDate is required in customerDetails");
33
+ }
34
+ };
35
+
36
+ export { validateImportVoucherInput };
@@ -0,0 +1,14 @@
1
+ export async function sendToTally(data, url = "http://localhost:9000") {
2
+ const res = await fetch(url, {
3
+ method: "POST",
4
+ headers: {
5
+ "Content-Type": "application/json",
6
+ "TallyRequest": "Import",
7
+ "Type": "Data",
8
+ "Id": "Vouchers"
9
+ },
10
+ body: JSON.stringify(data)
11
+ });
12
+
13
+ return res.json();
14
+ };
@@ -0,0 +1,121 @@
1
+ {
2
+ "stockitemname": "",
3
+ "gstovrdnisrevchargeappl": "\u0004 Not Applicable",
4
+ "gstovrdntaxability": "Taxable",
5
+ "gstsourcetype": "Stock Item",
6
+ "gstitemsource": "",
7
+ "hsnsourcetype": "Stock Item",
8
+ "hsnitemsource": "",
9
+ "gstovrdntypeofsupply": "Goods",
10
+ "gstrateinferapplicability": "As per Masters/Company",
11
+ "gsthsnname": "540720",
12
+ "gsthsndescription": "Woven Fabric",
13
+ "gsthsninferapplicability": "As per Masters/Company",
14
+ "isdeemedpositive": false,
15
+ "isgstassessablevalueoverridden": false,
16
+ "strdisgstapplicable": false,
17
+ "contentnegispos": false,
18
+ "islastdeemedpositive": false,
19
+ "isautonegate": false,
20
+ "iscustomsclearance": false,
21
+ "istrackcomponent": false,
22
+ "istrackproduction": false,
23
+ "isprimaryitem": false,
24
+ "isscrap": false,
25
+ "rate": "100.00/Nos",
26
+ "amount": "1000.00",
27
+ "actualqty": " 10 Nos",
28
+ "billedqty": " 10 Nos",
29
+ "mrprate": "100.00/Nos",
30
+ "batchallocations": [
31
+ {
32
+ "godownname": "Main Location",
33
+ "batchname": "Primary Batch",
34
+ "indentno": "\u0004 Not Applicable",
35
+ "orderno": "\u0004 Not Applicable",
36
+ "trackingnumber": "\u0004 Not Applicable",
37
+ "dynamiccstiscleared": false,
38
+ "amount": "1000.00",
39
+ "actualqty": " 10 Nos",
40
+ "billedqty": " 10 Nos"
41
+ }
42
+ ],
43
+ "accountingallocations": [
44
+ {
45
+ "oldauditentryids": [
46
+ {
47
+ "metadata": true,
48
+ "type": "Number"
49
+ },
50
+ "-1"
51
+ ],
52
+ "ledgername": "GST SALES",
53
+ "classrate": "100.00000",
54
+ "gstclass": "\u0004 Not Applicable",
55
+ "isdeemedpositive": false,
56
+ "ledgerfromitem": false,
57
+ "removezeroentries": false,
58
+ "ispartyledger": false,
59
+ "gstoverridden": false,
60
+ "isgstassessablevalueoverridden": false,
61
+ "strdisgstapplicable": false,
62
+ "strdgstispartyledger": false,
63
+ "strdgstisdutyledger": false,
64
+ "contentnegispos": false,
65
+ "islastdeemedpositive": false,
66
+ "iscapvattaxaltered": false,
67
+ "iscapvatnotclaimed": false,
68
+ "amount": "1000.00"
69
+ }
70
+ ],
71
+ "ratedetails": [
72
+ {
73
+ "gstratedutyhead": "CGST",
74
+ "gstratevaluationtype": "Based on Value",
75
+ "gstrate": " 2.50"
76
+ },
77
+ {
78
+ "gstratedutyhead": "SGST/UTGST",
79
+ "gstratevaluationtype": "Based on Value",
80
+ "gstrate": " 2.50"
81
+ },
82
+ {
83
+ "gstratedutyhead": "IGST",
84
+ "gstratevaluationtype": "Based on Value",
85
+ "gstrate": " 5"
86
+ },
87
+ {
88
+ "gstratedutyhead": "Cess",
89
+ "gstratevaluationtype": "\u0004 Not Applicable"
90
+ },
91
+ {
92
+ "gstratedutyhead": "State Cess",
93
+ "gstratevaluationtype": "Based on Value"
94
+ }
95
+ ],
96
+ "ratedetails1": [
97
+ {
98
+ "gstratedutyhead": "CGST",
99
+ "gstratevaluationtype": "Based on Value",
100
+ "gstrate": " 9"
101
+ },
102
+ {
103
+ "gstratedutyhead": "SGST/UTGST",
104
+ "gstratevaluationtype": "Based on Value",
105
+ "gstrate": " 9"
106
+ },
107
+ {
108
+ "gstratedutyhead": "IGST",
109
+ "gstratevaluationtype": "Based on Value",
110
+ "gstrate": " 18"
111
+ },
112
+ {
113
+ "gstratedutyhead": "Cess",
114
+ "gstratevaluationtype": "\u0004 Not Applicable"
115
+ },
116
+ {
117
+ "gstratedutyhead": "State Cess",
118
+ "gstratevaluationtype": "Based on Value"
119
+ }
120
+ ]
121
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "oldauditentryids": [
3
+ {
4
+ "metadata": true,
5
+ "type": "Number"
6
+ },
7
+ "-1"
8
+ ],
9
+ "roundtype": "\u0004 Not Applicable",
10
+ "ledgername": "SGST Output",
11
+ "methodtype": "GST",
12
+ "gstclass": "\u0004 Not Applicable",
13
+ "isdeemedpositive": false,
14
+ "ledgerfromitem": false,
15
+ "removezeroentries": true,
16
+ "ispartyledger": false,
17
+ "gstoverridden": false,
18
+ "isgstassessablevalueoverridden": false,
19
+ "strdisgstapplicable": false,
20
+ "strdgstispartyledger": false,
21
+ "strdgstisdutyledger": false,
22
+ "contentnegispos": false,
23
+ "islastdeemedpositive": false,
24
+ "iscapvattaxaltered": false,
25
+ "iscapvatnotclaimed": false,
26
+ "amount": "90.00",
27
+ "vatexpamount": "90.00"
28
+ }