@mudraforge/statutory 2.5.0 → 2.6.0
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.
- package/CHANGELOG.md +44 -0
- package/README.md +25 -0
- package/docs/CATALOG.md +487 -48
- package/docs/OKF_MAINTENANCE_SOP.md +286 -0
- package/okf/corporate_ma_restructuring/slump_sale_50b/circulars/cbdt_notification_68_2021_rule_11uae_fmv.md +1 -1
- package/okf/corporate_ma_restructuring/slump_sale_50b/circulars/cbic_notification_12_2017_going_concern_exemption.md +1 -1
- package/okf/corporate_ma_restructuring/slump_sale_50b/section.json +3 -3
- package/okf/direct_tax/special_rates_non_filer_206ab/circulars/cbdt_circular_11_2021_compliance_check.md +20 -0
- package/okf/direct_tax/special_rates_non_filer_206ab/section.json +56 -0
- package/okf/direct_tax/tcs_goods_206c_1h/circulars/finance_act_2025_sunset_memo.md +1 -1
- package/okf/direct_tax/tcs_goods_206c_1h/section.json +2 -2
- package/okf/direct_tax/tds_commission_194h/section.json +1 -1
- package/okf/direct_tax/tds_contractor_194c/circulars/cbdt_circular_23_2017_gst_unbundling.md +1 -1
- package/okf/direct_tax/tds_contractor_194c/section.json +1 -1
- package/okf/direct_tax/tds_goods_194q/circulars/cbdt_circular_13_2021_guidelines.md +1 -1
- package/okf/direct_tax/tds_goods_194q/circulars/cbdt_circular_23_2017_gst_unbundling.md +1 -1
- package/okf/direct_tax/tds_goods_194q/section.json +2 -2
- package/okf/direct_tax/tds_goods_393/section.json +1 -1
- package/okf/direct_tax/tds_perquisites_194r/circulars/cbdt_circular_12_2022_perquisites.md +20 -0
- package/okf/direct_tax/tds_perquisites_194r/section.json +54 -0
- package/okf/direct_tax/tds_rent_194i/circulars/cbdt_circular_23_2017_gst_unbundling.md +1 -1
- package/okf/direct_tax/tds_rent_194i/section.json +1 -1
- package/okf/direct_tax/tds_services_194j/circulars/cbdt_circular_03_2020_fts_rate_cut.md +1 -1
- package/okf/direct_tax/tds_services_194j/section.json +2 -2
- package/okf/indirect_tax_gst/composition_levy_sec10/circulars/cbic_notification_14_2019_composition.md +20 -0
- package/okf/indirect_tax_gst/composition_levy_sec10/section.json +50 -0
- package/okf/indirect_tax_gst/credit_debit_notes_sec34/circulars/cbic_circular_137_2020_credit_notes.md +20 -0
- package/okf/indirect_tax_gst/credit_debit_notes_sec34/section.json +50 -0
- package/okf/indirect_tax_gst/e_invoicing_rule48_4/circulars/cbic_notification_10_2023_einvoicing.md +20 -0
- package/okf/indirect_tax_gst/e_invoicing_rule48_4/section.json +52 -0
- package/okf/indirect_tax_gst/gst_tds_sec51/circulars/cbic_notification_50_2018_gst_tds.md +20 -0
- package/okf/indirect_tax_gst/gst_tds_sec51/section.json +52 -0
- package/okf/international_tax/cross_border_remittance_195/circulars/supreme_court_engineering_analysis_doctrine.md +1 -1
- package/okf/international_tax/cross_border_remittance_195/section.json +1 -1
- package/okf/international_tax/foreign_tax_credit_irc_901_904/section.json +1 -1
- package/okf/manifest.json +48 -24
- package/okf/msme_commercial/delayed_payments_15_16/section.json +1 -1
- package/package.json +2 -1
- package/src/index.js +44 -1
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
"authority": "Ministry of Law & Justice / CBDT",
|
|
38
38
|
"instrument": "Finance Act, 2020 (Act No. 12 of 2020), Section 80 amending Section 194J(1)",
|
|
39
39
|
"subject": "Reduction of TDS rate on Fees for Technical Services (FTS) from 10% to 2%",
|
|
40
|
-
"officialUrl": "https://incometaxindia.gov.in/communications/
|
|
40
|
+
"officialUrl": "https://www.incometaxindia.gov.in/pages/communications/circulars.aspx"
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
"authority": "Central Board of Direct Taxes (CBDT)",
|
|
44
44
|
"instrument": "Circular No. 23 of 2017",
|
|
45
45
|
"subject": "Exclusion of GST component from value of service for tax deduction at source",
|
|
46
|
-
"officialUrl": "https://incometaxindia.gov.in/communications/
|
|
46
|
+
"officialUrl": "https://www.incometaxindia.gov.in/pages/communications/circulars.aspx"
|
|
47
47
|
}
|
|
48
48
|
],
|
|
49
49
|
"requiredDocumentChecklist": [
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: cbic_notification_14_2019_composition
|
|
3
|
+
title: Threshold limit for composition levy under Section 10
|
|
4
|
+
authority: Central Board of Indirect Taxes and Customs (CBIC)
|
|
5
|
+
date: 2019-03-07
|
|
6
|
+
statutory_section: 10
|
|
7
|
+
valid_from: 2019-04-01
|
|
8
|
+
valid_to: OPEN_ENDED
|
|
9
|
+
temporal_status: ACTIVE
|
|
10
|
+
official_url: https://taxinformation.cbic.gov.in/
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# CBIC Notification No. 14/2019-Central Tax — Composition Scheme Thresholds
|
|
14
|
+
|
|
15
|
+
Under Section 10 of the CGST Act, 2017, the turnover threshold for composition scheme eligibility is ₹1.5 Crore (₹75 Lakhs for specified special category states).
|
|
16
|
+
|
|
17
|
+
Key Restraints:
|
|
18
|
+
1. Composition taxpayers must NOT collect tax on supplies.
|
|
19
|
+
2. Must issue a Bill of Supply, NOT a Tax Invoice.
|
|
20
|
+
3. Recipients are prohibited from taking ITC on composition purchases.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"sectionId": "CGST2017_SEC10",
|
|
3
|
+
"sectionCode": "10",
|
|
4
|
+
"aliases": [
|
|
5
|
+
"10",
|
|
6
|
+
"sec10",
|
|
7
|
+
"section 10",
|
|
8
|
+
"composition scheme",
|
|
9
|
+
"composition levy",
|
|
10
|
+
"bill of supply",
|
|
11
|
+
"composition dealer"
|
|
12
|
+
],
|
|
13
|
+
"governingStatute": "Central Goods and Services Tax Act, 2017 (Act No. 12 of 2017)",
|
|
14
|
+
"statutorySection": "Section 10",
|
|
15
|
+
"title": "Composition levy and ineligible tax invoice restrictions",
|
|
16
|
+
"effectivePeriod": {
|
|
17
|
+
"validFrom": "2017-07-01",
|
|
18
|
+
"validTo": "OPEN_ENDED"
|
|
19
|
+
},
|
|
20
|
+
"plainTextSummary": "A registered person whose aggregate turnover in the preceding financial year did not exceed ₹1.5 Crore (₹75 Lakhs for Special Category States) may opt to pay an amount in lieu of tax under the composition scheme. A composition taxpayer is strictly prohibited from collecting any tax from the recipient and cannot issue a tax invoice (must issue a Bill of Supply). Consequently, a recipient purchasing from a composition supplier is legally prohibited from claiming any Input Tax Credit (ITC) under Section 16(2) and Section 10(4). Any tax erroneously charged by a composition dealer is uncollectible and blocked.",
|
|
21
|
+
"keyStatutoryThresholds": {
|
|
22
|
+
"turnoverCeilingGeneralStatesInr": 15000000,
|
|
23
|
+
"turnoverCeilingSpecialCategoryStatesInr": 7500000,
|
|
24
|
+
"taxCollectionProhibition": "Strictly prohibited from collecting tax from recipient u/s 10(4)",
|
|
25
|
+
"itcEligibility": "Zero ITC available to recipient purchasing from composition supplier",
|
|
26
|
+
"mandatoryInvoiceHeader": "COMPOSITION TAXABLE PERSON, NOT ELIGIBLE TO COLLECT TAX ON SUPPLIES"
|
|
27
|
+
},
|
|
28
|
+
"officialCitations": [
|
|
29
|
+
{
|
|
30
|
+
"authority": "Central Board of Indirect Taxes and Customs (CBIC)",
|
|
31
|
+
"instrument": "Notification No. 14/2019-Central Tax",
|
|
32
|
+
"subject": "Prescribing threshold limits for composition levy under Section 10 of CGST Act",
|
|
33
|
+
"officialUrl": "https://taxinformation.cbic.gov.in/"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"authority": "Central Board of Indirect Taxes and Customs (CBIC)",
|
|
37
|
+
"instrument": "Central Goods and Services Tax Rules, 2017 Rule 5",
|
|
38
|
+
"subject": "Conditions and restrictions for composition levy and bill of supply mandates",
|
|
39
|
+
"officialUrl": "https://taxinformation.cbic.gov.in/"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"requiredDocumentChecklist": [
|
|
43
|
+
"Bill of Supply issued by supplier under Rule 49 (tax invoice is invalid)",
|
|
44
|
+
"Verification of mandatory declaration 'composition taxable person, not eligible to collect tax on supplies'",
|
|
45
|
+
"GST portal registration status confirmation (Taxpayer Type: Composition)",
|
|
46
|
+
"Accounting entry ensuring zero GST charged and zero ITC claimed"
|
|
47
|
+
],
|
|
48
|
+
"tier": "PUBLIC_COMMONS_FREE",
|
|
49
|
+
"version": "2.6.0"
|
|
50
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: cbic_circular_137_2020_credit_notes
|
|
3
|
+
title: Clarification on issues relating to credit notes under Section 34
|
|
4
|
+
authority: Central Board of Indirect Taxes and Customs (CBIC)
|
|
5
|
+
date: 2020-04-13
|
|
6
|
+
statutory_section: 34
|
|
7
|
+
valid_from: 2020-04-13
|
|
8
|
+
valid_to: OPEN_ENDED
|
|
9
|
+
temporal_status: ACTIVE
|
|
10
|
+
official_url: https://taxinformation.cbic.gov.in/
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# CBIC Circular No. 137/07/2020-GST — Credit Notes under Section 34
|
|
14
|
+
|
|
15
|
+
Section 34 of the CGST Act, 2017 governs the issuance and tax adjustments of credit and debit notes.
|
|
16
|
+
|
|
17
|
+
Key Clarifications:
|
|
18
|
+
1. Credit notes may be issued for deficiency in services, return of goods, or price adjustments post-invoice.
|
|
19
|
+
2. Deadline for declaring credit notes and adjusting output tax is the 30th day of November following the end of the financial year.
|
|
20
|
+
3. No output tax reduction if tax burden has been passed on to any other person (unjust enrichment doctrine).
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"sectionId": "CGST2017_SEC34",
|
|
3
|
+
"sectionCode": "34",
|
|
4
|
+
"aliases": [
|
|
5
|
+
"34",
|
|
6
|
+
"sec34",
|
|
7
|
+
"section 34",
|
|
8
|
+
"credit note",
|
|
9
|
+
"debit note",
|
|
10
|
+
"gst credit note",
|
|
11
|
+
"tax invoice adjustment"
|
|
12
|
+
],
|
|
13
|
+
"governingStatute": "Central Goods and Services Tax Act, 2017 (Act No. 12 of 2017)",
|
|
14
|
+
"statutorySection": "Section 34",
|
|
15
|
+
"title": "Credit and debit notes statutory adjustments and return filing deadlines",
|
|
16
|
+
"effectivePeriod": {
|
|
17
|
+
"validFrom": "2017-07-01",
|
|
18
|
+
"validTo": "OPEN_ENDED"
|
|
19
|
+
},
|
|
20
|
+
"plainTextSummary": "Where one or more tax invoices have been issued for supply of any goods or services and the taxable value or tax charged in that tax invoice is found to exceed the taxable value or tax payable in respect of such supply, or where goods supplied are returned, the registered supplier may issue to the recipient one or more credit notes. The supplier must declare details of such credit note in the return for the month during which such credit note has been issued, but not later than the thirtieth day of November following the end of the financial year in which such supply was made, or date of furnishing of the relevant annual return, whichever is earlier. No reduction in output tax liability of supplier is permitted if the tax incidence has been passed on to any other person.",
|
|
21
|
+
"keyStatutoryThresholds": {
|
|
22
|
+
"annualAdjustmentCutoffDate": "30th November following the end of the FY (amended from September w.e.f. Finance Act 2022)",
|
|
23
|
+
"statutoryLinkagePrerequisite": "Must contain serial number and date of the corresponding original tax invoice(s)",
|
|
24
|
+
"unjustEnrichmentBar": "No reduction in supplier output tax if incidence has been passed on to recipient",
|
|
25
|
+
"debitNoteEffect": "Debit note issued when taxable value or tax charged is found to be less than actual supply; treated as invoice for recipient ITC claim"
|
|
26
|
+
},
|
|
27
|
+
"officialCitations": [
|
|
28
|
+
{
|
|
29
|
+
"authority": "Central Board of Indirect Taxes and Customs (CBIC)",
|
|
30
|
+
"instrument": "Circular No. 137/07/2020-GST",
|
|
31
|
+
"subject": "Clarification on issues relating to credit notes under Section 34 of CGST Act",
|
|
32
|
+
"officialUrl": "https://taxinformation.cbic.gov.in/"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"authority": "Ministry of Finance",
|
|
36
|
+
"instrument": "Finance Act, 2022 (Act No. 6 of 2022)",
|
|
37
|
+
"subject": "Amendment to Section 34(2) extending credit note declaration deadline from 30 September to 30 November",
|
|
38
|
+
"officialUrl": "https://taxinformation.cbic.gov.in/"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"requiredDocumentChecklist": [
|
|
42
|
+
"Original Tax Invoice number, date, and basic taxable value",
|
|
43
|
+
"Credit / Debit note document satisfying Section 34 and Rule 53 requirements",
|
|
44
|
+
"Proof of commercial discount agreement / return of goods / price deficiency",
|
|
45
|
+
"Declaration of credit note in Form GSTR-1 and adjustment in Form GSTR-3B Table 4(B)(2)",
|
|
46
|
+
"Recipient ledger confirmation ensuring corresponding ITC reversal"
|
|
47
|
+
],
|
|
48
|
+
"tier": "PUBLIC_COMMONS_FREE",
|
|
49
|
+
"version": "2.6.0"
|
|
50
|
+
}
|
package/okf/indirect_tax_gst/e_invoicing_rule48_4/circulars/cbic_notification_10_2023_einvoicing.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: cbic_notification_10_2023_einvoicing
|
|
3
|
+
title: E-Invoicing mandatory threshold lowered to ₹5 Crore
|
|
4
|
+
authority: Central Board of Indirect Taxes and Customs (CBIC)
|
|
5
|
+
date: 2023-05-10
|
|
6
|
+
statutory_section: RULE-48(4)
|
|
7
|
+
valid_from: 2023-08-01
|
|
8
|
+
valid_to: OPEN_ENDED
|
|
9
|
+
temporal_status: ACTIVE
|
|
10
|
+
official_url: https://taxinformation.cbic.gov.in/
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# CBIC Notification No. 10/2023-Central Tax — E-Invoicing Threshold
|
|
14
|
+
|
|
15
|
+
Mandatory electronic invoicing under Rule 48(4) of the CGST Rules, 2017 applies to registered persons whose aggregate turnover in any preceding financial year from 2017-18 exceeds ₹5 Crore.
|
|
16
|
+
|
|
17
|
+
Key Directives:
|
|
18
|
+
1. All B2B tax invoices, credit notes, and debit notes must carry a 64-character IRN and signed QR code.
|
|
19
|
+
2. Invoices issued without IRN are legally null and void under Rule 48(5).
|
|
20
|
+
3. Buyers receiving non-IRN invoices from > ₹5 Cr vendors cannot claim ITC under Section 16(2)(a).
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"sectionId": "CGSTRULES2017_RULE48_4",
|
|
3
|
+
"sectionCode": "RULE-48(4)",
|
|
4
|
+
"aliases": [
|
|
5
|
+
"RULE-48(4)",
|
|
6
|
+
"rule 48(4)",
|
|
7
|
+
"rule 48",
|
|
8
|
+
"e-invoicing",
|
|
9
|
+
"e-invoice",
|
|
10
|
+
"irn",
|
|
11
|
+
"qr code mandate",
|
|
12
|
+
"e-invoicing mandate"
|
|
13
|
+
],
|
|
14
|
+
"governingStatute": "Central Goods and Services Tax Rules, 2017",
|
|
15
|
+
"statutorySection": "Rule 48(4) read with Rule 48(5)",
|
|
16
|
+
"title": "Mandatory electronic invoicing (E-Invoicing), IRN generation, and invoice validity",
|
|
17
|
+
"effectivePeriod": {
|
|
18
|
+
"validFrom": "2020-10-01",
|
|
19
|
+
"validTo": "OPEN_ENDED"
|
|
20
|
+
},
|
|
21
|
+
"plainTextSummary": "The invoice shall be prepared by such class of registered persons as may be notified, by including such particulars contained in Form GST INV-01 after obtaining an Invoice Reference Number (IRN) by uploading the information on the common Invoice Registration Portal (IRP). Every registered person whose aggregate turnover in any preceding financial year from 2017-18 onwards exceeds ₹5 Crore must issue e-invoices for B2B supplies. Under Rule 48(5), every invoice issued by a person to whom Rule 48(4) applies, in any manner other than the manner specified in Rule 48(4), SHALL NOT BE TREATED AS AN INVOICE. Receipt of an invalid invoice without an IRN legally blocks the buyer from claiming Input Tax Credit under Section 16(2)(a).",
|
|
22
|
+
"keyStatutoryThresholds": {
|
|
23
|
+
"aggregateTurnoverThresholdInr": 50000000,
|
|
24
|
+
"turnoverHistoryScanWindow": "Any financial year from 2017-18 onwards",
|
|
25
|
+
"irnLength": "64-character SHA-256 hexadecimal cryptographic hash",
|
|
26
|
+
"mandatoryVisualArtifacts": "Signed QR code containing IRN, supplier GSTIN, buyer GSTIN, invoice date, taxable value, and tax amounts",
|
|
27
|
+
"statutoryConsequenceRule48_5": "Invoice without IRN is legally non-existent; recipient ITC blocked under Section 16(2)(a)"
|
|
28
|
+
},
|
|
29
|
+
"officialCitations": [
|
|
30
|
+
{
|
|
31
|
+
"authority": "Central Board of Indirect Taxes and Customs (CBIC)",
|
|
32
|
+
"instrument": "Notification No. 10/2023-Central Tax",
|
|
33
|
+
"subject": "Lowering aggregate turnover threshold for mandatory e-invoicing to ₹5 Crore w.e.f. 01.08.2023",
|
|
34
|
+
"officialUrl": "https://taxinformation.cbic.gov.in/"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"authority": "Central Board of Indirect Taxes and Customs (CBIC)",
|
|
38
|
+
"instrument": "Circular No. 160/16/2021-GST",
|
|
39
|
+
"subject": "Clarifications regarding e-invoicing applicability, exemptions, and validity",
|
|
40
|
+
"officialUrl": "https://taxinformation.cbic.gov.in/"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"requiredDocumentChecklist": [
|
|
44
|
+
"Tax invoice with valid 64-character Invoice Reference Number (IRN) clearly printed",
|
|
45
|
+
"Machine-readable digitally signed Quick Response (QR) code issued by IRP portal",
|
|
46
|
+
"Supplier aggregate turnover verification (confirming whether > ₹5 Crore in any year from 2017-18)",
|
|
47
|
+
"IRP verification payload / e-invoice JSON validation record",
|
|
48
|
+
"Confirmation that supplier is not in exempted category (insurance, banking, GTA, passenger transport, multiplex cinema)"
|
|
49
|
+
],
|
|
50
|
+
"tier": "PUBLIC_COMMONS_FREE",
|
|
51
|
+
"version": "2.6.0"
|
|
52
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: cbic_notification_50_2018_gst_tds
|
|
3
|
+
title: Notifying authorities liable to deduct tax at source under Section 51
|
|
4
|
+
authority: Central Board of Indirect Taxes and Customs (CBIC)
|
|
5
|
+
date: 2018-09-13
|
|
6
|
+
statutory_section: 51
|
|
7
|
+
valid_from: 2018-10-01
|
|
8
|
+
valid_to: OPEN_ENDED
|
|
9
|
+
temporal_status: ACTIVE
|
|
10
|
+
official_url: https://taxinformation.cbic.gov.in/
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# CBIC Notification No. 50/2018-Central Tax — TDS under GST
|
|
14
|
+
|
|
15
|
+
Under Section 51 of the CGST Act, 2017, government departments, local authorities, and specified PSUs must deduct 2% tax at source (1% CGST + 1% SGST or 2% IGST) on taxable contracts exceeding ₹2,50,000.
|
|
16
|
+
|
|
17
|
+
Key Rules:
|
|
18
|
+
1. Threshold of ₹2.5 Lakhs applies to total contract value, excluding taxes.
|
|
19
|
+
2. Deductions deposited in GSTR-7 by the 10th of subsequent month.
|
|
20
|
+
3. Certificate Form GSTR-7A made available to supplier on GST portal.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"sectionId": "CGST2017_SEC51",
|
|
3
|
+
"sectionCode": "51",
|
|
4
|
+
"aliases": [
|
|
5
|
+
"51",
|
|
6
|
+
"sec51",
|
|
7
|
+
"section 51",
|
|
8
|
+
"gst tds",
|
|
9
|
+
"tds under gst",
|
|
10
|
+
"psu gst tds"
|
|
11
|
+
],
|
|
12
|
+
"governingStatute": "Central Goods and Services Tax Act, 2017 (Act No. 12 of 2017)",
|
|
13
|
+
"statutorySection": "Section 51",
|
|
14
|
+
"title": "Tax deduction at source under Goods and Services Tax",
|
|
15
|
+
"effectivePeriod": {
|
|
16
|
+
"validFrom": "2018-10-01",
|
|
17
|
+
"validTo": "OPEN_ENDED"
|
|
18
|
+
},
|
|
19
|
+
"plainTextSummary": "Departments or establishments of the Central Government or State Government, local authorities, governmental agencies, and specified PSUs must deduct tax at source at the rate of 2% (1% CGST + 1% SGST or 2% IGST) from payment made or credited to the supplier where the total value of supply under a contract exceeds ₹2,50,000 (excluding GST). No deduction is made if the location of supplier and place of supply are in a different State/UT from the State/UT of registration of the recipient.",
|
|
20
|
+
"keyStatutoryThresholds": {
|
|
21
|
+
"contractThresholdExcludingGstInr": 250000,
|
|
22
|
+
"cgstTdsRatePercent": 1.0,
|
|
23
|
+
"sgstTdsRatePercent": 1.0,
|
|
24
|
+
"igstTdsRatePercent": 2.0,
|
|
25
|
+
"totalCompositeGstTdsRatePercent": 2.0,
|
|
26
|
+
"depositDeadline": "10th day of the following month in Form GSTR-7",
|
|
27
|
+
"tdsCertificateForm": "Form GSTR-7A generated on common portal within 5 days of crediting amount to Government"
|
|
28
|
+
},
|
|
29
|
+
"officialCitations": [
|
|
30
|
+
{
|
|
31
|
+
"authority": "Central Board of Indirect Taxes and Customs (CBIC)",
|
|
32
|
+
"instrument": "Notification No. 50/2018-Central Tax",
|
|
33
|
+
"subject": "Notifying entities and authorities liable to deduct TDS under Section 51 of CGST Act",
|
|
34
|
+
"officialUrl": "https://taxinformation.cbic.gov.in/"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"authority": "Central Board of Indirect Taxes and Customs (CBIC)",
|
|
38
|
+
"instrument": "Standard Operating Procedure (SOP) on TDS under GST (Dated 28.09.2018)",
|
|
39
|
+
"subject": "Operational guidelines and threshold calculation for GST TDS deductors",
|
|
40
|
+
"officialUrl": "https://taxinformation.cbic.gov.in/"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"requiredDocumentChecklist": [
|
|
44
|
+
"Contract copy establishing total value of supply exceeding ₹2,50,000 (excluding taxes)",
|
|
45
|
+
"Tax invoice with basic value and GST breakdown",
|
|
46
|
+
"Form GSTR-7 return filing acknowledgment",
|
|
47
|
+
"Form GSTR-7A certificate furnished to supplier",
|
|
48
|
+
"Place of supply vs location of supplier jurisdictional determination"
|
|
49
|
+
],
|
|
50
|
+
"tier": "PUBLIC_COMMONS_FREE",
|
|
51
|
+
"version": "2.6.0"
|
|
52
|
+
}
|
|
@@ -7,7 +7,7 @@ statutory_section: Section 195 and Section 9(1)(vi) of Income-tax Act, 1961 read
|
|
|
7
7
|
valid_from: 2021-03-02
|
|
8
8
|
valid_to: OPEN_ENDED
|
|
9
9
|
temporal_status: ACTIVE
|
|
10
|
-
official_url: https://
|
|
10
|
+
official_url: https://sci.gov.in
|
|
11
11
|
---
|
|
12
12
|
|
|
13
13
|
# Supreme Court of India: Engineering Analysis Centre of Excellence v. CIT (2021)
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"authority": "Supreme Court of India",
|
|
53
53
|
"instrument": "Civil Appeal Nos. 8733-8734 of 2018 (Engineering Analysis Centre of Excellence Pvt Ltd v. CIT)",
|
|
54
54
|
"subject": "Landmark ruling on characterization of software and SaaS payments under DTAA",
|
|
55
|
-
"officialUrl": "https://
|
|
55
|
+
"officialUrl": "https://sci.gov.in"
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
"authority": "Central Board of Direct Taxes (CBDT)",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"authority": "Internal Revenue Service (IRS)",
|
|
39
39
|
"instrument": "Instructions for Schedule K-3 (Form 1065)",
|
|
40
40
|
"subject": "Partner Share of Income, Deductions, Credits, etc. - International",
|
|
41
|
-
"officialUrl": "https://www.irs.gov/forms-pubs/about-
|
|
41
|
+
"officialUrl": "https://www.irs.gov/forms-pubs/about-form-1065"
|
|
42
42
|
}
|
|
43
43
|
],
|
|
44
44
|
"requiredDocumentChecklist": [
|
package/okf/manifest.json
CHANGED
|
@@ -1,26 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"okfVersion": "2.6.0",
|
|
3
|
-
"publishedAt": "2026-10-
|
|
4
|
-
"rootHash": "sha256-
|
|
5
|
-
"totalSections":
|
|
6
|
-
"totalFiles":
|
|
3
|
+
"publishedAt": "2026-10-25T09:18:32.261Z",
|
|
4
|
+
"rootHash": "sha256-ce88c2255df1c30c15bfe184c8117336ebc302c2ac5ef25e96a6957402ae11ae",
|
|
5
|
+
"totalSections": 24,
|
|
6
|
+
"totalFiles": 71,
|
|
7
7
|
"changelog": "Expanded statutory commons with foundational AP provisions: Section 194C (Contractors), Section 194I (Rent), and Section 194H (Commission & Brokerage).",
|
|
8
8
|
"domains": {
|
|
9
9
|
"corporate_ma_restructuring": [
|
|
10
10
|
"50B"
|
|
11
11
|
],
|
|
12
12
|
"direct_tax": [
|
|
13
|
+
"206AB",
|
|
13
14
|
"206C(1H)",
|
|
14
15
|
"194H",
|
|
15
16
|
"194C",
|
|
16
17
|
"194Q",
|
|
17
18
|
"393",
|
|
19
|
+
"194R",
|
|
18
20
|
"194I",
|
|
19
21
|
"194J"
|
|
20
22
|
],
|
|
21
23
|
"indirect_tax_gst": [
|
|
22
24
|
"17(5)",
|
|
23
25
|
"8",
|
|
26
|
+
"10",
|
|
27
|
+
"34",
|
|
28
|
+
"RULE-48(4)",
|
|
29
|
+
"51",
|
|
24
30
|
"16(2)",
|
|
25
31
|
"9(3)"
|
|
26
32
|
],
|
|
@@ -37,15 +43,21 @@
|
|
|
37
43
|
},
|
|
38
44
|
"sections": [
|
|
39
45
|
"50B",
|
|
46
|
+
"206AB",
|
|
40
47
|
"206C(1H)",
|
|
41
48
|
"194H",
|
|
42
49
|
"194C",
|
|
43
50
|
"194Q",
|
|
44
51
|
"393",
|
|
52
|
+
"194R",
|
|
45
53
|
"194I",
|
|
46
54
|
"194J",
|
|
47
55
|
"17(5)",
|
|
48
56
|
"8",
|
|
57
|
+
"10",
|
|
58
|
+
"34",
|
|
59
|
+
"RULE-48(4)",
|
|
60
|
+
"51",
|
|
49
61
|
"16(2)",
|
|
50
62
|
"9(3)",
|
|
51
63
|
"195",
|
|
@@ -56,38 +68,50 @@
|
|
|
56
68
|
"MSMED-SEC-22"
|
|
57
69
|
],
|
|
58
70
|
"files": {
|
|
59
|
-
"corporate_ma_restructuring/slump_sale_50b/circulars/cbdt_notification_68_2021_rule_11uae_fmv.md": "
|
|
60
|
-
"corporate_ma_restructuring/slump_sale_50b/circulars/cbic_notification_12_2017_going_concern_exemption.md": "
|
|
71
|
+
"corporate_ma_restructuring/slump_sale_50b/circulars/cbdt_notification_68_2021_rule_11uae_fmv.md": "172135f3014acf0ac375494ca0e300595b74c4452c8622e782ef4b310ee8a980",
|
|
72
|
+
"corporate_ma_restructuring/slump_sale_50b/circulars/cbic_notification_12_2017_going_concern_exemption.md": "414279a2f777945fa67340a02acfd28e139f80ee654fd9aa2a78985939fc5ea5",
|
|
61
73
|
"corporate_ma_restructuring/slump_sale_50b/forms/form_3cea_chartered_accountant_report.json": "ce245341e41e92f1a38a9af9abc27535578a71984bcdc4d63c45fe4d6de51a25",
|
|
62
74
|
"corporate_ma_restructuring/slump_sale_50b/forms/section_281_tax_clearance_checklist.md": "3e3837a55c288a0ddb5e378896f0a8dddaf05a29bc6f9dc2269a2f91ee3dab89",
|
|
63
|
-
"corporate_ma_restructuring/slump_sale_50b/section.json": "
|
|
64
|
-
"direct_tax/
|
|
65
|
-
"direct_tax/
|
|
75
|
+
"corporate_ma_restructuring/slump_sale_50b/section.json": "62d31e1b57381db7dd853c1ac468c8395a4d532bee2a569d62a5e57f029fc52d",
|
|
76
|
+
"direct_tax/special_rates_non_filer_206ab/circulars/cbdt_circular_11_2021_compliance_check.md": "d5d799d350868041e9d070635ec58789889b9f76208aa5530d69c05d59fcbf31",
|
|
77
|
+
"direct_tax/special_rates_non_filer_206ab/section.json": "a5a5dce9989402a0a86a9c2a3dbafed349e4027bc62d5afd4d71121b59d710bb",
|
|
78
|
+
"direct_tax/tcs_goods_206c_1h/circulars/finance_act_2025_sunset_memo.md": "714e81f9a4a4519f7cd7ecfb54af190aad1d1cee54a521dad9170311b5f3e5b6",
|
|
79
|
+
"direct_tax/tcs_goods_206c_1h/section.json": "dadf1c8843d4a369ecc330c5635ef37d5afc7b2a5c4b41eb7ec8061188faa8e3",
|
|
66
80
|
"direct_tax/tds_commission_194h/circulars/finance_act_2024_rate_cut_memo.md": "b4137a9b647b9f5b2aa7c13dd154c8523f85b7d9cc77cbf157fc220cc79c8888",
|
|
67
81
|
"direct_tax/tds_commission_194h/forms/form_26q_quarterly_return.json": "bbbff2b82c5b911d03cdb33d3b6c73d080b093fb62f512429542c2cae98857b5",
|
|
68
|
-
"direct_tax/tds_commission_194h/section.json": "
|
|
69
|
-
"direct_tax/tds_contractor_194c/circulars/cbdt_circular_23_2017_gst_unbundling.md": "
|
|
82
|
+
"direct_tax/tds_commission_194h/section.json": "fa4c1479cad34ba2a3858027bd1b8ece76b3b0295184007f32a2802e156712eb",
|
|
83
|
+
"direct_tax/tds_contractor_194c/circulars/cbdt_circular_23_2017_gst_unbundling.md": "963616ff6ecf2f639510bd3c60cf0d1322b844eb1435ace30b592d6f95e451d0",
|
|
70
84
|
"direct_tax/tds_contractor_194c/forms/form_26q_quarterly_return.json": "35dab116a4b9eadddfd13f8e9c61acf23582f64e6b82aad8dd268a7dabb6fe19",
|
|
71
85
|
"direct_tax/tds_contractor_194c/forms/transporter_194c_declaration.json": "1582a358ee1e15767dd9dc000f3ca9a9780df9cbedf6012a9d3baad0f009149b",
|
|
72
|
-
"direct_tax/tds_contractor_194c/section.json": "
|
|
73
|
-
"direct_tax/tds_goods_194q/circulars/cbdt_circular_13_2021_guidelines.md": "
|
|
74
|
-
"direct_tax/tds_goods_194q/circulars/cbdt_circular_23_2017_gst_unbundling.md": "
|
|
86
|
+
"direct_tax/tds_contractor_194c/section.json": "0ccde8047ad3c552593770327e515b642c53c4e2ea852925c314afa0ed314895",
|
|
87
|
+
"direct_tax/tds_goods_194q/circulars/cbdt_circular_13_2021_guidelines.md": "b45927677bf7eaced3e6b3a90870406c9ff8c2d8fcc687be8abf9ea799599b8d",
|
|
88
|
+
"direct_tax/tds_goods_194q/circulars/cbdt_circular_23_2017_gst_unbundling.md": "a4e047c5f753d0c6269ad2fd7eea7a7ec2da3b7b9cc0148d3855cec065753d37",
|
|
75
89
|
"direct_tax/tds_goods_194q/forms/form_26q_quarterly_return.json": "f1d92eb728b9d1846691481f32057b8d1f804901b856851606a5a90c2d3726a4",
|
|
76
90
|
"direct_tax/tds_goods_194q/forms/vendor_pan_declaration.md": "1fadbae2f18b9d542509f186b365874575e6251f20916db3d31898a5804e5ef9",
|
|
77
|
-
"direct_tax/tds_goods_194q/section.json": "
|
|
78
|
-
"direct_tax/tds_goods_393/section.json": "
|
|
79
|
-
"direct_tax/
|
|
91
|
+
"direct_tax/tds_goods_194q/section.json": "bd186e8ea885ce2555022eb70ebdd8a3b551d712809fe5715fb37788429662ba",
|
|
92
|
+
"direct_tax/tds_goods_393/section.json": "1237a9fd558bd70140acf9b37a7b4c4a723e37ee18d844d2fe5f248d91999a8f",
|
|
93
|
+
"direct_tax/tds_perquisites_194r/circulars/cbdt_circular_12_2022_perquisites.md": "21cc8b3240764b1e06693a5b6710df8ed9d0d5fd235356748fc8afd631da4c99",
|
|
94
|
+
"direct_tax/tds_perquisites_194r/section.json": "e5b4ccde18c92e2928a69b4ea12f7a90cef6203dec3794c491f314d0d9fa4f6a",
|
|
95
|
+
"direct_tax/tds_rent_194i/circulars/cbdt_circular_23_2017_gst_unbundling.md": "6d29ec1d7bd222924a631e06e652e78426c456756e62f81d2d696adbea996c15",
|
|
80
96
|
"direct_tax/tds_rent_194i/forms/form_26q_quarterly_return.json": "843e9aedc6e63d1d16a472d8a610e8c86c9d3f4958381fbfe6d459050f1e2a39",
|
|
81
|
-
"direct_tax/tds_rent_194i/section.json": "
|
|
82
|
-
"direct_tax/tds_services_194j/circulars/cbdt_circular_03_2020_fts_rate_cut.md": "
|
|
97
|
+
"direct_tax/tds_rent_194i/section.json": "55a03f2b58c37890d17ff7093b35082dce67a1d3a0d24bdfa406208d988513b7",
|
|
98
|
+
"direct_tax/tds_services_194j/circulars/cbdt_circular_03_2020_fts_rate_cut.md": "2e661cde8fa9d86d12d71237603050067caa15c6eaa370ab32ba52c924ebe626",
|
|
83
99
|
"direct_tax/tds_services_194j/forms/form_16a_tds_certificate.json": "c80c48d0b8758935be8092e1b3bec6ab88bdef8cd9cca6efe61fcdbfa335d068",
|
|
84
|
-
"direct_tax/tds_services_194j/section.json": "
|
|
100
|
+
"direct_tax/tds_services_194j/section.json": "320def5ef2ad4d4f9ca870b9c95fb62defee45ec64d5acc6e54e1efe7d6f8d38",
|
|
85
101
|
"indirect_tax_gst/blocked_itc_17_5/circulars/cbic_circular_172_2022_employer_obligations.md": "77fab713c94dbcf0e30639c1a294525084d169b4db2ffe1a29bc01f44f0535bc",
|
|
86
102
|
"indirect_tax_gst/blocked_itc_17_5/forms/gstr_2b_ineligible_reconciliation.json": "b71b26a0797077ad1f5195fa07b25e8c499fcec46c4073360195b35ca431c6f6",
|
|
87
103
|
"indirect_tax_gst/blocked_itc_17_5/section.json": "169a936a4aaa6e718c3b50dd7c22a8ef35b68b7e049a9dfab5136fb4ef564b60",
|
|
88
104
|
"indirect_tax_gst/composite_mixed_supplies_sec8/circulars/cbic_circular_47_2018_composite_mixed_supplies.md": "2b2391b90743fa99e7326a66a1cd0f3a84757262846b858556a5d88b39e8a7ba",
|
|
89
105
|
"indirect_tax_gst/composite_mixed_supplies_sec8/forms/composite_mixed_supply_assessment_matrix.json": "18a33182fd26b74c1dc18a0138e67ba671004f642ea131abc668c60c7f0f9555",
|
|
90
106
|
"indirect_tax_gst/composite_mixed_supplies_sec8/section.json": "b357f4fc8b06149b38ac3d564fffdec1aa0e7a8cbfef97d26ddbf8b5693f3e3b",
|
|
107
|
+
"indirect_tax_gst/composition_levy_sec10/circulars/cbic_notification_14_2019_composition.md": "d6d09fa039312ce733b67df2987e1291f47e48086c4f25f521e901037e85723d",
|
|
108
|
+
"indirect_tax_gst/composition_levy_sec10/section.json": "0b0febde5d948dfc9df3d907ad146312bb1cf893c1828e9c0f736b8b2ecfba36",
|
|
109
|
+
"indirect_tax_gst/credit_debit_notes_sec34/circulars/cbic_circular_137_2020_credit_notes.md": "2bcc04b0702c13ff09d6b3a069343f03f7a184ed7dc20e72f15ad23439659349",
|
|
110
|
+
"indirect_tax_gst/credit_debit_notes_sec34/section.json": "0f3fa28d5c7830d94817e5ed007e2582e4ee85aaff9780466af6dcdc935a8392",
|
|
111
|
+
"indirect_tax_gst/e_invoicing_rule48_4/circulars/cbic_notification_10_2023_einvoicing.md": "be9033023deb58e3f29e80a66ebbeae7e8d6f27baff97ef859973dab97acc15e",
|
|
112
|
+
"indirect_tax_gst/e_invoicing_rule48_4/section.json": "a8ba5f3286708037c4b9633c8b681ba54413310758acf4924d9daaad8bbf02a8",
|
|
113
|
+
"indirect_tax_gst/gst_tds_sec51/circulars/cbic_notification_50_2018_gst_tds.md": "70c0eb71b0302906e35992ad56389fbc3dc65b697414d70cd42ad2cd3772be5c",
|
|
114
|
+
"indirect_tax_gst/gst_tds_sec51/section.json": "385a15a0b020f458ec641fa9f307e24aa659f3c8da8787ab17e5d72ef8f49a58",
|
|
91
115
|
"indirect_tax_gst/itc_eligibility_16_2/circulars/cbic_circular_170_2022_itc_reporting.md": "bd57657e97a3998e2f6f419d4b0a63370f68f9e9bc6169c092c48fd69076f48e",
|
|
92
116
|
"indirect_tax_gst/itc_eligibility_16_2/forms/gstr_3b_table_4_itc_reversal.json": "65406aaa7414ad07a81ae32ac9d8858965229d396d3b574412293dacda718ce6",
|
|
93
117
|
"indirect_tax_gst/itc_eligibility_16_2/section.json": "d9c57f0a32c4ea0c3d944d722d06b4074e70ff184ed411e125ff9679868afed3",
|
|
@@ -95,16 +119,16 @@
|
|
|
95
119
|
"indirect_tax_gst/rcm_liability_sec9_3/forms/rcm_self_invoice_payment_voucher.json": "5b0b6cd1ca9e08083d060245963da9d271e81ecdf77fd8d0af9749cb49ed06f0",
|
|
96
120
|
"indirect_tax_gst/rcm_liability_sec9_3/section.json": "21734a8d51388aaf60bdcc17b48db48b6243882fadb1175e218ad274eb4b592f",
|
|
97
121
|
"international_tax/cross_border_remittance_195/circulars/cbdt_circular_03_2022_form10f_electronic.md": "9ec736d24d617c1bcacf867fa97e43b14e1233225c6bb0db182988b5db1c7faf",
|
|
98
|
-
"international_tax/cross_border_remittance_195/circulars/supreme_court_engineering_analysis_doctrine.md": "
|
|
122
|
+
"international_tax/cross_border_remittance_195/circulars/supreme_court_engineering_analysis_doctrine.md": "56bb3d74e4ba293c5d3ecfe25ea8cb24e0601fd08fc2ced5329518d81a0754dd",
|
|
99
123
|
"international_tax/cross_border_remittance_195/forms/form_15ca_15cb_compliance_checklist.json": "58a71629120c0f7bc6c907dae11970750e99c5ad4097df046af6350d15e6c7cf",
|
|
100
|
-
"international_tax/cross_border_remittance_195/section.json": "
|
|
124
|
+
"international_tax/cross_border_remittance_195/section.json": "2fe1d0ac227bc77fa112993276e97ba7a1e27c593dc8d8841e70a150aaaf65f4",
|
|
101
125
|
"international_tax/foreign_tax_credit_irc_901_904/forms/form_67_statement_of_foreign_tax.json": "05f8fb5b2765a23e53e6f9c38be1a89ed817abdfdbbe78ac0c361b9976959e2d",
|
|
102
126
|
"international_tax/foreign_tax_credit_irc_901_904/forms/irs_schedule_k3_reporting.json": "f2672f3870427338f37d408daba17c870230eab3f9dcb6eb2f14de2b4141f1fb",
|
|
103
|
-
"international_tax/foreign_tax_credit_irc_901_904/section.json": "
|
|
127
|
+
"international_tax/foreign_tax_credit_irc_901_904/section.json": "eae701cb45d55c4b6ddaf56d63e262bf0fc93f7e66309c059f651d74d021cab1",
|
|
104
128
|
"msme_commercial/delayed_payments_15_16/circulars/msme_om_2021_trader_exclusion.md": "f55f0e9368156452b891583043a31d1ebc4f162484925635be78f3c54a32af4a",
|
|
105
129
|
"msme_commercial/delayed_payments_15_16/forms/schedule_iii_msme_disclosure.md": "93d6000e79a96f4242d6a831905edeb44654134206301a9642bf63ca65f6b5ab",
|
|
106
130
|
"msme_commercial/delayed_payments_15_16/forms/udyam_registration_verification.json": "3da5d248a8fae5ed74af21149dd5922ddd18a9e3e1378ef69925e5beda09ebe6",
|
|
107
|
-
"msme_commercial/delayed_payments_15_16/section.json": "
|
|
131
|
+
"msme_commercial/delayed_payments_15_16/section.json": "3969960eb24be4825a80433f1cc31037b1e0a32de62dd523e99bc7270aaad74d",
|
|
108
132
|
"msme_commercial/enterprise_classification_sec7/circulars/msme_notification_2119_e_composite_criteria.md": "609cb707309ba64adb4773b5c179bc97724cf2decf3b9e39c0e3a116f0f81eff",
|
|
109
133
|
"msme_commercial/enterprise_classification_sec7/forms/udyam_composite_calculation_worksheet.json": "7bc3a3b4823c8024375096b2c4348c7e2c95041cf44bdc00b3de34f1c460149e",
|
|
110
134
|
"msme_commercial/enterprise_classification_sec7/section.json": "8a9f04596338859e2be7728badd933b2d22f781f5e0ce1122270bee1711d20d8",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"authority": "Ministry of MSME",
|
|
48
48
|
"instrument": "Office Memorandum No. 5/2(2)/2021-E/P & G/Policy (Dated 2 July 2021) & OM No. 1/4(1)/2021-P&G/Policy",
|
|
49
49
|
"subject": "Inclusion of Retail and Wholesale Trade under MSME - Restriction on Chapter V delayed payment benefits",
|
|
50
|
-
"officialUrl": "https://
|
|
50
|
+
"officialUrl": "https://dcmsme.gov.in/"
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
"authority": "Reserve Bank of India",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mudraforge/statutory",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "Open Knowledge Format (OKF) client & AI Agent Skill for Indian and cross-border statutory tax provisions. Zero dependencies.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"scripts": {
|
|
28
28
|
"test": "node test.js",
|
|
29
29
|
"validate": "node scripts/validate_okf.js",
|
|
30
|
+
"citations": "node scripts/verify_citation_links.js",
|
|
30
31
|
"conformance": "node conformance/test_conformance.js",
|
|
31
32
|
"quality": "node scripts/corpus_quality_report.js",
|
|
32
33
|
"example:trace": "node examples/simulate_end_to_end_trace.js",
|
package/src/index.js
CHANGED
|
@@ -18,13 +18,15 @@ const __filename = fileURLToPath(import.meta.url);
|
|
|
18
18
|
const __dirname = path.dirname(__filename);
|
|
19
19
|
export const DEFAULT_LOCAL_OKF_DIR = path.resolve(__dirname, '..', 'okf');
|
|
20
20
|
export const DEFAULT_BASE_URL = 'https://api.mudraforge.in';
|
|
21
|
-
export const STATUTORY_CLIENT_VERSION = '2.
|
|
21
|
+
export const STATUTORY_CLIENT_VERSION = '2.6.0';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* Pinned official release Merkle root digests.
|
|
25
25
|
* Prevents unauthorized bundle substitution attacks even if an attacker controls the remote endpoint.
|
|
26
26
|
*/
|
|
27
27
|
export const PINNED_RELEASE_ROOTS = new Set([
|
|
28
|
+
'sha256-ce88c2255df1c30c15bfe184c8117336ebc302c2ac5ef25e96a6957402ae11ae', // v2.6.0 Verified Citation Merkle Root (24 Sections across 5 Domains - 100% Complete AP)
|
|
29
|
+
'sha256-3f25fc3941d29de5b8befc0ddb24d1bb2632067f00b200680cf784961616424c', // v2.5.0 Verified Citation Merkle Root (18 Sections across 5 Domains)
|
|
28
30
|
'sha256-c32be389bfb82a52ffc40670b74103216c45f3b284c66d2b0020097eb36a25f9', // v2.5.0 Merkle Manifest Root (18 Sections across 5 Domains)
|
|
29
31
|
'sha256-f3b230a0774eb55d607403b5a656bbe2950a32d07145a46f0eb083232ec12986', // v2.6.0 Edge Sync Bundle Root (12 Sections across 5 Domains)
|
|
30
32
|
'sha256-4e9d9c064e55748dc6389eae1b5cb2fec1ad7f1c811097afd57e4fb0a6f6454e', // v2.6.0 Local Static Manifest Root (12 Sections across 5 Domains)
|
|
@@ -386,6 +388,47 @@ export function lookupLocalStatute(section, okfDir = DEFAULT_LOCAL_OKF_DIR) {
|
|
|
386
388
|
}
|
|
387
389
|
}
|
|
388
390
|
|
|
391
|
+
// Pass 3: Token / keyword search across aliases, title, and plainTextSummary
|
|
392
|
+
if (!matchedRecord) {
|
|
393
|
+
const stopWords = new Set(['and', 'for', 'the', 'with', 'from', 'under', 'etc', 'to', 'in', 'of', 'a', 'an', 'is', 'by', 'section', 'sec', 'act', 'rule', 'non', 'not', 'no', 'any', 'all', 'existent']);
|
|
394
|
+
const tokens = rawClean.split(/[\s,+/_-]+/).filter(t => t.length >= 2 && !stopWords.has(t));
|
|
395
|
+
let bestRec = null;
|
|
396
|
+
let bestScore = 0;
|
|
397
|
+
|
|
398
|
+
for (const rec of records) {
|
|
399
|
+
let score = 0;
|
|
400
|
+
const { data } = rec;
|
|
401
|
+
const title = (data.title || '').toLowerCase();
|
|
402
|
+
const summary = (data.plainTextSummary || '').toLowerCase();
|
|
403
|
+
const statute = (data.statutorySection || '').toLowerCase();
|
|
404
|
+
|
|
405
|
+
for (const alias of data.aliases || []) {
|
|
406
|
+
const cleanAlias = alias.toLowerCase();
|
|
407
|
+
if (rawClean.includes(cleanAlias) || cleanAlias.includes(rawClean)) {
|
|
408
|
+
score += 50;
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
for (const token of tokens) {
|
|
413
|
+
for (const alias of data.aliases || []) {
|
|
414
|
+
if (alias.toLowerCase().includes(token)) score += 15;
|
|
415
|
+
}
|
|
416
|
+
if (title.includes(token)) score += 10;
|
|
417
|
+
if (statute.includes(token)) score += 8;
|
|
418
|
+
if (summary.includes(token)) score += 3;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
if (score > bestScore) {
|
|
422
|
+
bestScore = score;
|
|
423
|
+
bestRec = rec;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
if (bestScore >= 35) {
|
|
428
|
+
matchedRecord = bestRec;
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
|
|
389
432
|
if (matchedRecord) {
|
|
390
433
|
const { filePath, data } = matchedRecord;
|
|
391
434
|
// Attach supporting circulars and compliance forms if present in domain hierarchy
|