@mudraforge/statutory 2.4.2 → 2.5.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/README.md +52 -11
- package/bin/cli.js +73 -7
- package/docs/ARCHITECTURE_DECISIONS.md +13 -9
- package/docs/CATALOG.md +164 -0
- package/docs/CORPUS_QUALITY.md +9 -6
- package/docs/PILOT_EVALUATION_GUIDE.md +149 -0
- package/okf/direct_tax/tds_commission_194h/circulars/finance_act_2024_rate_cut_memo.md +29 -0
- package/okf/direct_tax/tds_commission_194h/forms/form_26q_quarterly_return.json +30 -0
- package/okf/direct_tax/tds_commission_194h/section.json +63 -0
- package/okf/direct_tax/tds_contractor_194c/circulars/cbdt_circular_23_2017_gst_unbundling.md +27 -0
- package/okf/direct_tax/tds_contractor_194c/forms/form_26q_quarterly_return.json +31 -0
- package/okf/direct_tax/tds_contractor_194c/forms/transporter_194c_declaration.json +14 -0
- package/okf/direct_tax/tds_contractor_194c/section.json +66 -0
- package/okf/direct_tax/tds_rent_194i/circulars/cbdt_circular_23_2017_gst_unbundling.md +27 -0
- package/okf/direct_tax/tds_rent_194i/forms/form_26q_quarterly_return.json +31 -0
- package/okf/direct_tax/tds_rent_194i/section.json +63 -0
- package/okf/indirect_tax_gst/composite_mixed_supplies_sec8/circulars/cbic_circular_47_2018_composite_mixed_supplies.md +41 -0
- package/okf/indirect_tax_gst/composite_mixed_supplies_sec8/forms/composite_mixed_supply_assessment_matrix.json +51 -0
- package/okf/indirect_tax_gst/composite_mixed_supplies_sec8/section.json +58 -0
- package/okf/indirect_tax_gst/itc_eligibility_16_2/circulars/cbic_circular_170_2022_itc_reporting.md +53 -0
- package/okf/indirect_tax_gst/itc_eligibility_16_2/forms/gstr_3b_table_4_itc_reversal.json +32 -0
- package/okf/indirect_tax_gst/itc_eligibility_16_2/section.json +84 -0
- package/okf/indirect_tax_gst/rcm_liability_sec9_3/circulars/cbic_circular_102_2019_rcm_clarifications.md +33 -0
- package/okf/indirect_tax_gst/rcm_liability_sec9_3/forms/rcm_self_invoice_payment_voucher.json +65 -0
- package/okf/indirect_tax_gst/rcm_liability_sec9_3/section.json +67 -0
- package/okf/international_tax/cross_border_remittance_195/circulars/cbdt_circular_03_2022_form10f_electronic.md +31 -0
- package/okf/international_tax/cross_border_remittance_195/circulars/supreme_court_engineering_analysis_doctrine.md +41 -0
- package/okf/international_tax/cross_border_remittance_195/forms/form_15ca_15cb_compliance_checklist.json +73 -0
- package/okf/international_tax/cross_border_remittance_195/section.json +74 -0
- package/okf/manifest.json +66 -13
- package/okf/msme_commercial/enterprise_classification_sec7/circulars/msme_notification_2119_e_composite_criteria.md +37 -0
- package/okf/msme_commercial/enterprise_classification_sec7/forms/udyam_composite_calculation_worksheet.json +46 -0
- package/okf/msme_commercial/enterprise_classification_sec7/section.json +64 -0
- package/okf/msme_commercial/mca_msme_1_filing/circulars/mca_order_2019_specified_companies.md +42 -0
- package/okf/msme_commercial/mca_msme_1_filing/forms/form_msme_1_half_yearly_return.json +93 -0
- package/okf/msme_commercial/mca_msme_1_filing/section.json +56 -0
- package/okf/msme_commercial/statutory_disclosures_sec22/circulars/icai_guidance_note_schedule_iii_trade_payables.md +42 -0
- package/okf/msme_commercial/statutory_disclosures_sec22/forms/schedule_iii_msme_aging_table.json +60 -0
- package/okf/msme_commercial/statutory_disclosures_sec22/forms/section_23_tax_addback_schedule.json +35 -0
- package/okf/msme_commercial/statutory_disclosures_sec22/section.json +65 -0
- package/package.json +2 -2
- package/src/index.js +287 -37
- package/types/index.d.ts +21 -0
package/README.md
CHANGED
|
@@ -11,6 +11,14 @@
|
|
|
11
11
|
|
|
12
12
|
---
|
|
13
13
|
|
|
14
|
+
### Plain-English Orientation
|
|
15
|
+
|
|
16
|
+
`@mudraforge/statutory` provides an open, machine-readable statutory knowledge layer for Indian and cross-border financial workflows, grounding compliance rules in primary legislation rather than probabilistic LLM guesswork. It serves software developers building financial applications, corporate finance operations teams seeking auditable withholding and delayed-payment rules, and autonomous AI agents requiring deterministic reference boundaries. The statutory commons acts as an open, inspectable reference substrate, while MudraForge's broader Adesha initiative governs downstream transactional execution, human authorization, and enterprise ledger writebacks. Developers can proceed directly to [Installation & Quick Start](#quick-start-free-tier), while finance leaders, controllers, and tax practitioners can inspect the indexed statutes, cumulative thresholds, and executive circulars in [docs/CATALOG.md](./docs/CATALOG.md).
|
|
17
|
+
|
|
18
|
+
> **Statutory Dual-Act Temporal Boundary**: The *Income-tax Act, 2025* takes statutory effect on 1 April 2026. Relevant earlier tax years and prior transactions continue to be governed by the *Income-tax Act, 1961* under legislative transitional savings provisions (including Section 536(2) of the 2025 Act). This package explicitly models both legislative eras with date-bound temporal state machine evaluation.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
14
22
|
## Published Release & Provenance Ledger
|
|
15
23
|
|
|
16
24
|
| Item | Value |
|
|
@@ -33,6 +41,7 @@
|
|
|
33
41
|
|
|
34
42
|
## Table of Contents
|
|
35
43
|
|
|
44
|
+
- [Plain-English Orientation](#plain-english-orientation)
|
|
36
45
|
- [Quick Start (Free Tier)](#quick-start-free-tier)
|
|
37
46
|
- [1. Installation via npm](#1-installation-via-npm)
|
|
38
47
|
- [2. Initialize AI Agent Skill](#2-initialize-ai-agent-skill)
|
|
@@ -41,7 +50,8 @@
|
|
|
41
50
|
- [1. AI Agents & LLM Tooling](#1-ai-agents--llm-tooling)
|
|
42
51
|
- [2. Finance Software & Accounts-Payable Workflows](#2-finance-software--accounts-payable-workflows)
|
|
43
52
|
- [3. Developer Tooling & Audit Verification](#3-developer-tooling--audit-verification)
|
|
44
|
-
- [
|
|
53
|
+
- [Product Capability Status & Operational Boundaries](#product-capability-status--operational-boundaries)
|
|
54
|
+
- [Proposed Pilot Evaluation Guide (docs/PILOT_EVALUATION_GUIDE.md)](./docs/PILOT_EVALUATION_GUIDE.md)
|
|
45
55
|
- [Legal Domains Currently Covered](#legal-domains-currently-covered)
|
|
46
56
|
- [Structured OKF Directory Hierarchy](#structured-okf-domain-hierarchy-zero-token-discovery)
|
|
47
57
|
- [Canonical Edge Synchronization](#canonical-edge-synchronization-full-statutory-universe)
|
|
@@ -146,9 +156,9 @@ Provisions in this repository adhere to the **Open Knowledge Format (OKF v0.2)**
|
|
|
146
156
|
The repository currently publishes a verified starter seed across five regulatory domains, accompanied by official executive guidance and compliance schemas:
|
|
147
157
|
|
|
148
158
|
- **5 Foundational Regulatory Domains**: Direct Tax (TDS/TCS), Indirect Tax (GST), MSME & Working Capital, International Tax, Corporate M&A & Restructuring.
|
|
149
|
-
- **
|
|
150
|
-
- **
|
|
151
|
-
- **
|
|
159
|
+
- **12 Indexed Core Provisions**: Section 194Q, Section 194J, Section 194C, Section 194I, Section 194H, Section 206C(1H) sunset, Section 393 (Act 2025 crosswalk), CGST Section 16(2) (ITC conditions & 180-day rule), CGST Section 17(5) (blocked credits), MSMED Act Sections 15 & 16, US Internal Revenue Code §§ 901 & 904, Section 50B (Slump Sale & Successor Liability).
|
|
160
|
+
- **12 Official Executive Circulars & Memoranda**: CBDT Circular 13/2021, CBDT Circular 23/2017, CBDT Circular 03/2020, Finance Act 2024 Rate Cut Memo, Finance Act 2025 Sunset Memorandum, CBIC Circular 170/02/2022-GST (GSTR-3B Table 4 reporting), CBIC Circular 172/04/2022-GST, Ministry of MSME OM 1/4(1)/2021-P&G/Policy, CBDT Notification 68/2021 (Rule 11UAE FMV), CBIC Notification 12/2017 Entry 2 (0% GST going concern), CBIC Notification 39/2021-CT.
|
|
161
|
+
- **15 Compliance Form Schemas & Verification Checklists**: Form 26Q quarterly TDS return, Form 16A certificate, Transporter declaration, GSTR-3B Table 4 reversal/reclaim reconciliation, GSTR-2B Table 4(B) ineligible ITC reconciliation, UDYAM portal registration verification, Companies Act Schedule III corporate balance sheet notes, Form 67 (Rule 128), US IRS Schedule K-3, Form 3CEA CA slump sale report schema, Section 281 & Section 313 M&A tax due diligence checklist, and Vendor PAN / Section 206AB declarations.
|
|
152
162
|
- **100% Corpus Verification Suite**: Validated against statutory threshold resets, non-PAN penalty rate caps, and statutory sunset interceptions.
|
|
153
163
|
|
|
154
164
|
---
|
|
@@ -197,18 +207,27 @@ The OKF substrate currently indexes and enforces ground truth across five major
|
|
|
197
207
|
### 1. Direct Tax (Income Tax & TDS/TCS)
|
|
198
208
|
- **Section 194Q**: 0.1% TDS on purchase of goods exceeding ₹50 Lakhs cumulative annual threshold (calculating strictly on the excess).
|
|
199
209
|
- **Section 206C(1H)**: TCS on sale of goods, with automated temporal interception of its **1 April 2025 sunset** under the Finance Act, 2025.
|
|
210
|
+
- **Section 194C**: Payments to contractors and sub-contractors (1% individuals, 2% companies/LLPs), single-invoice ₹30,000 / aggregate ₹1,00,000 thresholds, transporter 10-carriage exemption.
|
|
200
211
|
- **Section 194J**: Fees for Technical Services (2% FTS) vs. Professional Fees (10%), enforcing standard 20% non-PAN penalty rate under Section 206AA(1)(iii) / Section 397(2)(a).
|
|
212
|
+
- **Section 194I**: Rent withholding (2% plant & machinery, 10% land & building) exceeding ₹2.4 Lakhs annual threshold.
|
|
213
|
+
- **Section 194H**: Commission and brokerage withholding (2% amended rate w.e.f. 1 October 2024) exceeding ₹15,000 threshold.
|
|
201
214
|
- **Dual-Act Forward Mapping**: Complete cross-compilation bridge from the legacy *Income-tax Act, 1961* to the *Income-tax Act, 2025* (which took effect 1 April 2026), mapping historical provisions seamlessly (e.g., Section 194Q $\rightarrow$ Section 393(1), Table 8, Item (ii)).
|
|
202
215
|
|
|
203
216
|
### 2. Indirect Tax (Goods & Services Tax - GST)
|
|
217
|
+
- **CGST Section 8**: Composite and mixed supplies—naturally bundled supplies taxed at the principal supply rate under Section 8(a); unbundled supplies billed for a single price taxed at the highest rate under Section 8(b).
|
|
218
|
+
- **CGST Section 9(3)**: Reverse Charge Mechanism (RCM)—mandatory tax discharge by recipient strictly via Electronic Cash Ledger for notified categories (GTA, legal services, directors, security), self-invoicing under Section 31(3)(f), payment vouchers under Section 31(3)(g), and subsequent Section 16(2) ITC re-availment.
|
|
219
|
+
- **CGST Section 16(2)**: Core statutory conditions for availing Input Tax Credit (clauses a-d), mandatory supplier communication under Section 37/38 (GSTR-2B), Rule 37 180-day vendor payment reversal with Section 50 interest reported in Table 4(B)(2), subsequent re-availment in Table 4(A)(5) and Table 4(D)(1), RCM statutory exceptions, and Section 16(4) annual cutoff.
|
|
204
220
|
- **CGST Section 17(5)**: Comprehensive statutory negative list for Blocked Input Tax Credit (ITC)—including motor vehicles, catering, employee benefits, and the statutory employer obligation proviso under CBIC Circular 172/04/2022-GST.
|
|
205
221
|
|
|
206
|
-
### 3. Micro, Small & Medium Enterprises (MSME &
|
|
222
|
+
### 3. Micro, Small & Medium Enterprises (MSME & Commercial)
|
|
207
223
|
- **MSMED Act, 2006 (Sections 15 & 16)**: Strict statutory payment clock (15 days without agreement, max 45 days with written agreement) and non-negotiable compound penal interest at **3 times the RBI Bank Rate** (compounded monthly).
|
|
208
224
|
- **Trader Exclusion Rule**: Automated enforcement of Ministry of MSME OM No. 1/4(1)/2021-P&G/Policy, strictly excluding wholesale and retail traders (NIC 45, 46, 47) from delayed payment protections and Section 43B(h) addbacks.
|
|
209
|
-
- **
|
|
225
|
+
- **MCA Form MSME-1**: Companies Act, 2013 Section 405 mandatory half-yearly return (due October 31 & April 30) for trade payables outstanding beyond 45 days.
|
|
226
|
+
- **Section 22 & Schedule III Disclosures**: 5-point statutory Notes to Accounts, Trade Payables aging schedule (<1yr, 1-2yr, 2-3yr, >3yr), and Section 23 tax deduction add-back.
|
|
227
|
+
- **Section 7 Composite Classification**: Micro, Small, and Medium classification criteria (Investment + Turnover) with mandatory statutory deduction of export turnover under Notification S.O. 2119(E).
|
|
210
228
|
|
|
211
229
|
### 4. Cross-Border & International Tax
|
|
230
|
+
- **Section 195 & DTAA**: Outbound cross-border remittances to non-residents, Section 90(2) treaty rates, Tax Residency Certificate (TRC) Section 90(4), electronic Form 10F, Rule 37BB Form 15CA/15CB banking gate, and Supreme Court *Engineering Analysis* cloud SaaS royalty exemption.
|
|
212
231
|
- **US Internal Revenue Code (IRC §§ 901 & 904)**: Foreign Tax Credit (FTC) limitation baskets (General Category vs. Passive Category), Pass-Through Entity (PTE) tax pass-throughs, and Schedule K-3 dual-reporting compliance for Indo-US cross-border ventures.
|
|
213
232
|
- **Indian Rule 128 (Form 67)**: Statement of foreign tax credit compliance schema and filing deadlines.
|
|
214
233
|
|
|
@@ -217,22 +236,44 @@ The OKF substrate currently indexes and enforces ground truth across five major
|
|
|
217
236
|
|
|
218
237
|
---
|
|
219
238
|
|
|
239
|
+
## Product Capability Status & Operational Boundaries
|
|
240
|
+
|
|
241
|
+
To ensure absolute clarity for developers, finance leaders, prospective pilot customers, and investors, the capabilities of MudraForge are delineated below into working public software, hosted edge services, and internal/pilot enterprise runtime layers (see [ADR-0005](./docs/ARCHITECTURE_DECISIONS.md#adr-0005-formal-product-capability-status-register) for the authoritative architectural status register):
|
|
242
|
+
|
|
243
|
+
| Subsystem / Capability | Operational Classification | Availability / Access | Current Verification Evidence |
|
|
244
|
+
| :--- | :--- | :--- | :--- |
|
|
245
|
+
| **Bundled OKF Statutory Corpus (11 Provisions)** | **Public Package** | Shipped in repository & release candidates (`okf/`) | 40/40 test suites passing; deterministic SHA-256 Merkle root |
|
|
246
|
+
| **Zero-Network CLI (`mudraforge-statutory`)** | **Public Package** | Immediate via `npx @mudraforge/statutory` | `bin/cli.js` verified across Windows and Linux |
|
|
247
|
+
| **Vendor-Neutral Conformance Suite** | **Public Package** | Immediate via `conformance/` (`npm run conformance`) | 12/12 fixture tests passing |
|
|
248
|
+
| **Local Query SDK (`src/index.js`)** | **Public Package** | Immediate via `import { lookupStatute }` | Zero runtime dependencies; offline temporal state evaluation |
|
|
249
|
+
| **Synthetic AP Execution Trace (`examples/`)** | **Public Package (Modeled Demo)** | Immediate via `npm run example:trace` | Synthetic invoice trace demonstrating 7-stage lifecycle with modeled fixtures |
|
|
250
|
+
| **Cloudflare Anycast Edge Sync** | **Public Edge Service** | Free Beta via `api.mudraforge.in` | Global edge sync (`npx @mudraforge/statutory sync`) with ETag 304 caching |
|
|
251
|
+
| **Interactive API Documentation** | **Public Edge Service** | Free Beta via `/api/v1/statutory/docs` | OpenAPI 3.1 schema and interactive documentation rendered on Anycast edge |
|
|
252
|
+
| **Deterministic Tax Calculators** | **Enterprise Internal** | Metered Enterprise API (Selective) | Deterministic arithmetic engine verified under private test harness |
|
|
253
|
+
| **Dual-Custody Mobile Approval Harness** | **Enterprise Internal / Pilot** | Enterprise Pilot Proposal | Mobile passkey approval prototype & TLA+ state machine (`specs/`) |
|
|
254
|
+
| **ERP Two-Way Connectors (SAP/Tally/Zoho)** | **Enterprise Internal / Pilot** | Custom Enterprise Pilot Integration | Shadow-mode test connectors; no turnkey plug-ins shipped |
|
|
255
|
+
| **Bank Rail API Adapters (ICICI/HDFC/RazorpayX)** | **Enterprise Internal / Pilot** | Custom Enterprise Pilot Integration | Modeled sandbox adapters requiring corporate bank partner onboarding |
|
|
256
|
+
|
|
257
|
+
> **Operational Distinction**: Items classified as **Public Package** and **Public Edge Service** represent working, independently inspectable software. Items classified as **Enterprise Internal / Pilot** represent developing or internal capabilities of the commercial Adesha runtime. Execution traces in `examples/` use synthetic test data; they do not represent active commercial bank or live customer ERP deployments. Organizations interested in testing MudraForge against real accounting data should review the [Proposed Pilot Evaluation Guide](./docs/PILOT_EVALUATION_GUIDE.md).
|
|
258
|
+
|
|
259
|
+
---
|
|
260
|
+
|
|
220
261
|
## Architectural Boundaries: Open Substrate vs. Hosted Edge vs. Adesha Platform
|
|
221
262
|
|
|
222
|
-
To ensure clarity for developers, CAs, and prospective enterprise clients, the
|
|
263
|
+
To ensure clarity for developers, CAs, and prospective enterprise clients, the operational separation between layers is summarized below:
|
|
223
264
|
|
|
224
|
-
|
|
|
265
|
+
| Dimension / Layer | Layer 1: Open Substrate (This NPM Package) | Layer 2: Hosted Edge API (Cloudflare Anycast) | Layer 3: Commercial Adesha Runtime (Enterprise Platform) |
|
|
225
266
|
| :--- | :--- | :--- | :--- |
|
|
226
|
-
| **Pricing & License** | **100% Free** (MIT Code / CC BY 4.0 Data) | **Best-Effort Free Beta** (Transitions to
|
|
267
|
+
| **Pricing & License** | **100% Free** (MIT Code / CC BY 4.0 Data) | **Best-Effort Free Beta** (Transitions to Metered) | **Commercial Enterprise SaaS** |
|
|
227
268
|
| **Execution Location** | 100% Local Filesystem (0 Network Calls) | Cloudflare Edge (Global 300+ PoPs, typical 20–80ms Anycast latency) | Private Enterprise VPC / On-Premise Worker |
|
|
228
|
-
| **Statutory Knowledge** | Bundled
|
|
269
|
+
| **Statutory Knowledge** | Bundled Starter Seed (11 Verified Sections) | 11 Active Provisions (Roadmap Catalog in expansion) | Full Sovereign Catalog + Custom Private Enterprise Contracts |
|
|
229
270
|
| **Lookup Engine** | Exact code, alias & folder path resolution | System-1 Semantic Intent & Rule Discovery | Multi-tenant RAG & Context Assembler |
|
|
230
271
|
| **Temporal Status** | Offline deterministic evaluation (`computeTemporalStatus`) | Live temporal state machine resolution | In-flight temporal locks across transaction lifecycle |
|
|
231
272
|
| **Deterministic Calculators**| *Not included* (declarative schemas only) | Hosted calculation endpoint (`POST /calculate`) | Full arithmetic engine with ₹50L excess & 3x RBI interest |
|
|
232
273
|
| **Payment Authorization** | *Not included* | *Not included* | **Single-Use Cryptographic Payment Leases (TLA+ verified)** |
|
|
233
274
|
| **Banking Execution** | *Not included* | *Not included* | **Host-to-Host Bank Rails (RazorpayX / ICICI / HDFC)** |
|
|
234
275
|
| **ERP Writebacks** | *Not included* | *Not included* | **Balanced double-entry journal writebacks (SAP / Zoho)** |
|
|
235
|
-
| **How to Access** | `npm install @mudraforge/statutory` | `npx @mudraforge/statutory sync` | Contact
|
|
276
|
+
| **How to Access** | `npm install @mudraforge/statutory` | `npx @mudraforge/statutory sync` | Review [Pilot Guide](./docs/PILOT_EVALUATION_GUIDE.md) / Contact `hello@mudraforge.in` |
|
|
236
277
|
|
|
237
278
|
> **Operational Distinction**: This open-source repository provides the **declarative knowledge foundation**. It does not perform live banking transfers, hold funds, or mutate corporate ERP databases. Those consequential actions are strictly isolated within the **MudraForge Adesha Enterprise Governance Engine** (see [`docs/ENTERPRISE_GOVERNANCE.md`](./docs/ENTERPRISE_GOVERNANCE.md)).
|
|
238
279
|
|
package/bin/cli.js
CHANGED
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
syncOkf,
|
|
18
18
|
getLocalManifest,
|
|
19
19
|
checkForPackageUpdate,
|
|
20
|
+
decodeTaxIdentifier,
|
|
20
21
|
STATUTORY_CLIENT_VERSION,
|
|
21
22
|
DEFAULT_LOCAL_OKF_DIR
|
|
22
23
|
} from '../src/index.js';
|
|
@@ -43,7 +44,7 @@ async function main() {
|
|
|
43
44
|
case 'sync':
|
|
44
45
|
case 'pull':
|
|
45
46
|
case 'update':
|
|
46
|
-
await handleSync();
|
|
47
|
+
await handleSync(args[1]);
|
|
47
48
|
break;
|
|
48
49
|
|
|
49
50
|
case 'browse':
|
|
@@ -65,6 +66,16 @@ async function main() {
|
|
|
65
66
|
await handleList();
|
|
66
67
|
break;
|
|
67
68
|
|
|
69
|
+
case 'decode-id':
|
|
70
|
+
case 'validate-id':
|
|
71
|
+
case 'check-id':
|
|
72
|
+
if (!args[1]) {
|
|
73
|
+
console.error('[ERROR] Please specify a PAN or GSTIN to decode, e.g. npx @mudraforge/statutory decode-id 27AAPFU0939F1ZV');
|
|
74
|
+
process.exit(1);
|
|
75
|
+
}
|
|
76
|
+
handleDecodeId(args[1]);
|
|
77
|
+
break;
|
|
78
|
+
|
|
68
79
|
case 'help':
|
|
69
80
|
default:
|
|
70
81
|
printHelp();
|
|
@@ -112,7 +123,18 @@ async function handleCheckUpdate() {
|
|
|
112
123
|
if (status.isOutdated) {
|
|
113
124
|
console.log(`[WARN] New legal data version available: v${status.latestVersion}`);
|
|
114
125
|
console.log(`Changelog: ${status.changelog}`);
|
|
115
|
-
|
|
126
|
+
try {
|
|
127
|
+
const pkgUpdate = await checkForPackageUpdate();
|
|
128
|
+
if (pkgUpdate && pkgUpdate.updateAvailable) {
|
|
129
|
+
console.log(`\n[RECOMMENDED] Update the npm package to receive the newest release roots:`);
|
|
130
|
+
console.log(` npm install @mudraforge/statutory@latest`);
|
|
131
|
+
console.log(` npx @mudraforge/statutory sync\n`);
|
|
132
|
+
} else {
|
|
133
|
+
console.log(`Run: npx @mudraforge/statutory sync to pull the latest rules.\n`);
|
|
134
|
+
}
|
|
135
|
+
} catch (_) {
|
|
136
|
+
console.log(`Run: npx @mudraforge/statutory sync to pull the latest rules.\n`);
|
|
137
|
+
}
|
|
116
138
|
} else {
|
|
117
139
|
console.log(`[OK] OKF substrate is up to date (v${status.localVersion}).\n`);
|
|
118
140
|
}
|
|
@@ -122,17 +144,34 @@ async function handleCheckUpdate() {
|
|
|
122
144
|
}
|
|
123
145
|
}
|
|
124
146
|
|
|
125
|
-
async function handleSync() {
|
|
147
|
+
async function handleSync(targetDir) {
|
|
126
148
|
try {
|
|
127
|
-
|
|
128
|
-
|
|
149
|
+
let dest = undefined;
|
|
150
|
+
if (targetDir) {
|
|
151
|
+
dest = path.resolve(process.cwd(), targetDir);
|
|
152
|
+
const cwd = path.resolve(process.cwd());
|
|
153
|
+
const relative = path.relative(cwd, dest);
|
|
154
|
+
if (relative.startsWith('..') || path.isAbsolute(relative)) {
|
|
155
|
+
console.error('[ERROR] Target sync directory must be within current workspace directory.');
|
|
156
|
+
process.exit(1);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
console.log(`\n[INFO] Synchronizing local OKF filesystem with Cloudflare edge${dest ? ` into "${dest}"` : ''}...`);
|
|
160
|
+
const res = await syncOkf(dest ? { okfDir: dest } : {});
|
|
129
161
|
console.log('───────────────────────────────────────────────────────────────────────────');
|
|
130
162
|
console.log(`[OK] Successfully synced OKF v${res.okfVersion}`);
|
|
131
163
|
console.log(`Downloaded sections: ${res.syncedSections}`);
|
|
132
164
|
console.log(`Saved to: ${res.destDir}`);
|
|
133
165
|
console.log('───────────────────────────────────────────────────────────────────────────\n');
|
|
134
166
|
} catch (err) {
|
|
135
|
-
|
|
167
|
+
if (err.message && err.message.includes('Untrusted bundle rootHash')) {
|
|
168
|
+
console.error('\n' + '─'.repeat(75));
|
|
169
|
+
console.error('[NOTICE] Cryptographic verification required an updated release anchor.');
|
|
170
|
+
console.error(err.message.replace('[@mudraforge/statutory] ', ''));
|
|
171
|
+
console.error('─'.repeat(75) + '\n');
|
|
172
|
+
} else {
|
|
173
|
+
console.error(`[ERROR] Sync failed: ${err.message}`);
|
|
174
|
+
}
|
|
136
175
|
process.exit(1);
|
|
137
176
|
}
|
|
138
177
|
}
|
|
@@ -302,6 +341,32 @@ async function handleList() {
|
|
|
302
341
|
}
|
|
303
342
|
}
|
|
304
343
|
|
|
344
|
+
function handleDecodeId(rawId) {
|
|
345
|
+
const res = decodeTaxIdentifier(rawId);
|
|
346
|
+
console.log('\n===========================================================================');
|
|
347
|
+
console.log('INDIAN TAX IDENTIFIER DECODER & OFFLINE MOD-36 VALIDATOR');
|
|
348
|
+
console.log('===========================================================================');
|
|
349
|
+
if (!res.isValid) {
|
|
350
|
+
console.log(`Input: ${rawId}`);
|
|
351
|
+
console.log(`Type: ${res.type || 'UNKNOWN'}`);
|
|
352
|
+
console.log(`Status: INVALID`);
|
|
353
|
+
console.log(`Failure: ${res.error}\n`);
|
|
354
|
+
return;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
console.log(`Identifier: ${res.gstin || res.pan}`);
|
|
358
|
+
console.log(`Type: ${res.type}`);
|
|
359
|
+
if (res.type === 'GSTIN') {
|
|
360
|
+
console.log(`Mod-36 Check: VALID (Check Character: "${res.gstin[14]}")`);
|
|
361
|
+
console.log(`State: [${res.stateCode}] ${res.stateName}`);
|
|
362
|
+
}
|
|
363
|
+
console.log(`PAN: ${res.pan}`);
|
|
364
|
+
console.log(`Entity Code: [${res.entityCode}] ${res.entityType}`);
|
|
365
|
+
console.log(`Class: ${res.isIndividualOrHuf ? 'Individual / HUF' : 'Company / Non-Individual'}`);
|
|
366
|
+
console.log(`Sec 194C TDS: ${res.standard194cRatePercent}% (Statutory Rate)`);
|
|
367
|
+
console.log('───────────────────────────────────────────────────────────────────────────\n');
|
|
368
|
+
}
|
|
369
|
+
|
|
305
370
|
function printHelp() {
|
|
306
371
|
console.log(`
|
|
307
372
|
MudraForge Statutory Commons CLI (@mudraforge/statutory)
|
|
@@ -312,8 +377,9 @@ Usage:
|
|
|
312
377
|
Commands:
|
|
313
378
|
browse Interactively browse local OKF statutory filesystem
|
|
314
379
|
lookup <section> [date] Look up section details & temporal status (e.g. 194Q 2025-06-01)
|
|
380
|
+
decode-id <pan_or_gstin> Offline ISO Mod-36 checksum, state name, and PAN entity decoding
|
|
315
381
|
check-update Check if newer OKF versions or legal changes exist on Cloudflare edge
|
|
316
|
-
sync
|
|
382
|
+
sync [path] Download/sync latest versioned OKF bundle to disk (default: package okf/ or custom dir)
|
|
317
383
|
list List all indexed statutory sections
|
|
318
384
|
init-skill [path] Install SKILL.md into your agent workspace (defaults to .agents/skills/)
|
|
319
385
|
help Show this help message
|
|
@@ -82,15 +82,19 @@ To maintain institutional credibility, public documentation must never blur the
|
|
|
82
82
|
|
|
83
83
|
| Subsystem / Capability | Architectural Layer | Operational Status | Availability / Access | Verification Evidence |
|
|
84
84
|
| :--- | :--- | :--- | :--- | :--- |
|
|
85
|
-
| **Bundled OKF
|
|
86
|
-
| **Zero-Network CLI (`mudraforge-statutory`)** | Layer 1
|
|
87
|
-
| **Vendor-Neutral Conformance Suite** | Layer 1
|
|
88
|
-
| **
|
|
89
|
-
| **
|
|
90
|
-
| **
|
|
91
|
-
| **
|
|
92
|
-
| **
|
|
93
|
-
| **
|
|
85
|
+
| **Bundled OKF Statutory Corpus (11 Provisions)** | Layer 1: Public Package | `PUBLIC_BUNDLED` | Immediate (Local repo & release candidate) | 40/40 test suites passing; SHA-256 Merkle root verified |
|
|
86
|
+
| **Zero-Network CLI (`mudraforge-statutory`)** | Layer 1: Public Package | `PUBLIC_BUNDLED` | Immediate (Global / NPX) | `bin/cli.js` verified across Windows & Linux |
|
|
87
|
+
| **Vendor-Neutral Conformance Suite** | Layer 1: Public Package | `PUBLIC_BUNDLED` | Immediate (`conformance/`) | 12/12 fixture tests passing |
|
|
88
|
+
| **Local Query SDK (`src/index.js`)** | Layer 1: Public Package | `PUBLIC_BUNDLED` | Immediate (Node.js v18+) | Zero-dependency offline lookup and temporal checks |
|
|
89
|
+
| **Synthetic AP Execution Trace (`examples/`)** | Layer 1: Public Package | `PUBLIC_DEMO_SYNTHETIC` | Immediate (`npm run example:trace`) | Modeled 7-stage lifecycle with synthetic test fixtures |
|
|
90
|
+
| **Cloudflare Anycast Edge Sync** | Layer 2: Public Edge Service | `PUBLIC_EDGE_SYNC` | Free Beta (`api.mudraforge.in`) | Cloudflare Edge Worker manifest & bundle endpoints |
|
|
91
|
+
| **Interactive API Documentation** | Layer 2: Public Edge Service | `PUBLIC_EDGE_SYNC` | Free Beta (`/api/v1/statutory/docs`) | OpenAPI 3.1 schema rendered live on Anycast edge |
|
|
92
|
+
| **Deterministic Tax Calculators** | Layer 3: Enterprise Internal | `PILOT_STAGE_INTERNAL` | Metered Enterprise API (Selective) | Deterministic arithmetic engine under test harness |
|
|
93
|
+
| **Dual-Custody Mobile Approval Harness** | Layer 4: Adesha Runtime | `INTERNAL_PROTOTYPE` | Enterprise License / Pilot Proposal | Mobile passkey approval prototype & TLA+ state machine |
|
|
94
|
+
| **ERP Two-Way Connectors (SAP/Tally/Zoho)** | Layer 4: Adesha Runtime | `INTERNAL_DEVELOPMENT` | Custom Enterprise Pilot | Shadow-mode test connectors; no turnkey plug-ins shipped |
|
|
95
|
+
| **Bank Rail API Adapters (ICICI/HDFC/RazorpayX)**| Layer 4: Adesha Runtime | `INTERNAL_DEVELOPMENT` | Custom Enterprise Pilot | Sandbox banking adapters requiring corporate partner onboarding |
|
|
96
|
+
|
|
97
|
+
> **Critical Operational Distinction**: Items marked `PUBLIC_BUNDLED` and `PUBLIC_EDGE_SYNC` represent inspectable, working software. Items marked `PILOT_STAGE_INTERNAL`, `INTERNAL_PROTOTYPE`, and `INTERNAL_DEVELOPMENT` represent proprietary or developing enterprise capabilities; they are not shipped as generally available consumer software and their execution traces rely on modeled synthetic data.
|
|
94
98
|
|
|
95
99
|
---
|
|
96
100
|
|
package/docs/CATALOG.md
CHANGED
|
@@ -14,12 +14,22 @@ This catalog is deterministically generated from the machine-readable Open Knowl
|
|
|
14
14
|
|---|---|---|---|---|---|---|
|
|
15
15
|
| `corporate_ma_restructuring` | [**50B**](#50b) | Income-tax Act, 1961 | 2000-04-01 → In Force | `Active` | General Provision | `form_3cea_chartered_accountant_report` |
|
|
16
16
|
| `direct_tax` | [**206C(1H)**](#206c-1h-) | Income-tax Act, 1961 | 2020-10-01 → 2025-03-31 | **Sunset** (2025-03-31) | Seller > ₹10Cr; Receipts > ₹50L | N/A |
|
|
17
|
+
| `direct_tax` | [**194H**](#194h) | Income-tax Act, 1961 | 2001-06-01 → 2026-03-31 | `Active` | General Provision | `form_26q_quarterly_return` |
|
|
18
|
+
| `direct_tax` | [**194C**](#194c) | Income-tax Act, 1961 | 1972-04-01 → 2026-03-31 | `Active` | General Provision | `form_26q_quarterly_return` |
|
|
17
19
|
| `direct_tax` | [**194Q**](#194q) | Income-tax Act, 1961 | 2021-07-01 → 2026-03-31 | `Active` | Buyer > ₹10Cr; Purchases > ₹50L | `form_26q_quarterly_return` |
|
|
18
20
|
| `direct_tax` | [**393**](#393) | Income-tax Act, 2025 | 2026-04-01 → In Force | `Active` | Buyer > ₹10Cr; Purchases > ₹50L | N/A |
|
|
21
|
+
| `direct_tax` | [**194I**](#194i) | Income-tax Act, 1961 | 1994-06-01 → 2026-03-31 | `Active` | General Provision | `form_26q_quarterly_return` |
|
|
19
22
|
| `direct_tax` | [**194J**](#194j) | Income-tax Act, 1961 | 1995-07-01 → 2026-03-31 | `Active` | General Provision | `form_16a_tds_certificate` |
|
|
23
|
+
| `indirect_tax_gst` | [**8**](#8) | Central Goods and Services Tax Act, 2017 | 2017-07-01 → In Force | `Active` | Naturally Bundled (Principal Rate) vs. Mixed (Highest Rate) | `composite_mixed_supply_assessment_matrix` |
|
|
24
|
+
| `indirect_tax_gst` | [**9(3)**](#9-3-) | Central Goods and Services Tax Act, 2017 | 2017-07-01 → In Force | `Active` | Reverse Charge; Electronic Cash Discharge | `rcm_self_invoice_payment_voucher` |
|
|
25
|
+
| `indirect_tax_gst` | [**16(2)**](#16-2-) | Central Goods and Services Tax Act, 2017 | 2017-07-01 → In Force | `Active` | 5 Statutory Conditions; 180-Day Rule | `gstr_3b_table_4_itc_reversal` |
|
|
20
26
|
| `indirect_tax_gst` | [**17(5)**](#17-5-) | Central Goods and Services Tax Act, 2017 | 2017-07-01 → In Force | `Active` | General Provision | `gstr_2b_ineligible_reconciliation` |
|
|
27
|
+
| `international_tax` | [**195**](#195) | Income-tax Act, 1961 read with DTAA | 1962-04-01 → In Force | `Active` | Foreign Remittances; TRC/10F; Cloud SaaS Exemption | `form_15ca_15cb_compliance_checklist` |
|
|
21
28
|
| `international_tax` | [**IRC-901-904**](#irc-901-904) | Internal Revenue Code of 1986 | 2021-01-01 → In Force | `Active` | General Provision | `form_67_statement_of_foreign_tax` |
|
|
29
|
+
| `msme_commercial` | [**MCA-MSME-1**](#mca-msme-1) | Companies Act, 2013 Section 405 | 2019-01-22 → In Force | `Active` | Overdue > 45 Days; Half-Yearly (Oct 31 / Apr 30) | `form_msme_1_half_yearly_return` |
|
|
22
30
|
| `msme_commercial` | [**MSMED-15-16**](#msmed-15-16) | Micro, Small and Medium Enterprises Development Act, 2006 read with Income-tax Act, 1961 Section 43B | 2006-10-02 → In Force | `Active` | 15 Days (Oral) / 45 Days (Written) | `schedule_iii_msme_disclosure` |
|
|
31
|
+
| `msme_commercial` | [**MSMED-SEC-22**](#msmed-sec-22) | Micro, Small and Medium Enterprises Development Act, 2006 read with Schedule III | 2006-10-02 → In Force | `Active` | 5-Point Notes to Accounts; Schedule III Aging; Sec 23 Add-back | `schedule_iii_msme_aging_table` |
|
|
32
|
+
| `msme_commercial` | [**MSMED-SEC-7**](#msmed-sec-7) | Micro, Small and Medium Enterprises Development Act, 2006 | 2020-07-01 → In Force | `Active` | Composite Criteria (Investment + Turnover); Export Exclusion | `udyam_composite_calculation_worksheet` |
|
|
23
33
|
|
|
24
34
|
---
|
|
25
35
|
|
|
@@ -32,6 +42,7 @@ The table below records the provenance baseline, verification standard, and expl
|
|
|
32
42
|
| `194Q` | Direct Tax (TDS) | Republic of India | October 2026 | Bundled Anchor | CA Empaneled & Mutation Tested | Applicable strictly to buyer turnover > ₹10Cr; does not cover foreign remittances without PE. |
|
|
33
43
|
| `194J` | Direct Tax (TDS) | Republic of India | October 2026 | Bundled Anchor | CA Empaneled & Mutation Tested | Covers standard FTS (2%) and Professional (10%); royalty cinematic films covered under separate sub-clause. |
|
|
34
44
|
| `206C(1H)` | Direct Tax (TCS) | Republic of India | October 2026 | Bundled Anchor | Sunset Interception Tested | Sunset w.e.f. 1 April 2025 by Finance Act 2025; retained for historical FY audit reconciliations. |
|
|
45
|
+
| `16(2)` | Indirect Tax (GST) | Republic of India | October 2026 | Bundled Anchor | CA Empaneled & Mutation Tested | Models 5 cumulative conditions (a-d), Rule 37 180-day vendor payment clock, Table 4(B)(2)/4(D)(1) reporting, RCM exceptions, and Section 16(4) annual cutoff. |
|
|
35
46
|
| `17(5)` | Indirect Tax (GST) | Republic of India | October 2026 | Bundled Anchor | CA Empaneled & Mutation Tested | Disallows blocked categories; evaluates statutory employer obligation proviso under Circular 172. |
|
|
36
47
|
| `MSMED-15-16` | Commercial AP / MSME | Republic of India | October 2026 | Bundled Anchor | CA Empaneled & Mutation Tested | Covers Micro and Small suppliers with valid Udyam; wholesale/retail traders excluded per OM 2021. |
|
|
37
48
|
| `IRC-901-904` | International Tax | United States | October 2026 | Bundled Anchor | Dual Tax Legal Reviewed | Covers pass-through Box 21 to Schedule K-3 / Form 1116 basket requirements; does not compute AMT. |
|
|
@@ -115,6 +126,83 @@ The table below records the provenance baseline, verification standard, and expl
|
|
|
115
126
|
|
|
116
127
|
---
|
|
117
128
|
|
|
129
|
+
#### Section 194H: Deduction of tax at source on commission or brokerage
|
|
130
|
+
|
|
131
|
+
- **Governing Statute**: Income-tax Act, 1961 (Act No. 43 of 1961)
|
|
132
|
+
- **Successor Provision**: Income-tax Act, 2025 — Section 393(1), Table 4, Item (i)
|
|
133
|
+
- **Temporal Validity**: `2001-06-01` to `2026-03-31`
|
|
134
|
+
- **Legislative Sunset / Transition**: Transitions to Section 393(1) Table 4 Item (i) of the Income-tax Act, 2025 effective 1 April 2026.
|
|
135
|
+
- **Machine-Readable Source**: [`okf/direct_tax/tds_commission_194h/section.json`](./okf/direct_tax/tds_commission_194h/section.json)
|
|
136
|
+
|
|
137
|
+
**Statutory Summary**:
|
|
138
|
+
> Any person responsible for paying any income by way of commission or brokerage to a resident is required to deduct tax at source. Statutory Rate: 2% effective 1 October 2024 as amended by Finance (No. 2) Act, 2024 (prior to 1 October 2024, the rate was 5%). Threshold: Tax is deductible only if the aggregate amount of commission or brokerage credited or paid during the financial year exceeds ₹15,000. Statutory Exclusions: Does not apply to insurance commission (covered under Section 194D) or underwriting commission. Non-PAN penalty rate under Section 206AA is 20%. Under CBDT Circular 23/2017, where GST is separately stated, TDS applies on commission excluding GST.
|
|
139
|
+
|
|
140
|
+
**Key Deterministic Thresholds**:
|
|
141
|
+
```json
|
|
142
|
+
{
|
|
143
|
+
"annualAggregateThresholdInr": 15000,
|
|
144
|
+
"standardRatePercent": 2,
|
|
145
|
+
"preOct2024RatePercent": 5,
|
|
146
|
+
"rateChangeEffectiveDate": "2024-10-01",
|
|
147
|
+
"nonCompliantPanPenaltyRatePercent": 20,
|
|
148
|
+
"commissionBrokerageScope": "Includes any payment received or receivable, directly or indirectly, by a person acting on behalf of another person for services rendered (not being professional services) or in the course of buying or selling of goods or in relation to any transaction relating to any asset, valuable article or thing, not being securities.",
|
|
149
|
+
"cbdtCircular23GstExclusion": "TDS applies on basic commission amount excluding separately stated GST."
|
|
150
|
+
}
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
**Official Citations & Trust Anchors**:
|
|
154
|
+
- **Parliament of India / Ministry of Finance** — [Finance (No. 2) Act, 2024 (Act No. 15 of 2024) amending Section 194H](https://incometaxindia.gov.in): *Reduction of TDS rate on commission and brokerage from 5% to 2% w.e.f. 1 October 2024*
|
|
155
|
+
- **Parliament of India / Ministry of Finance** — [Income-tax Act, 2025 Section 393(1), Table 4, Item (i)](https://incometaxindia.gov.in): *TDS on commission and brokerage under new Direct Tax Code*
|
|
156
|
+
- **Central Board of Direct Taxes (CBDT)** — [Circular No. 23 of 2017](https://incometaxindia.gov.in/communications/circular/circular23_2017.pdf): *Exclusion of GST component from value of commission for tax deduction at source*
|
|
157
|
+
|
|
158
|
+
**Executive Circulars Bundled**:
|
|
159
|
+
- [`finance_act_2024_rate_cut_memo.md`](./okf/direct_tax/tds_commission_194h/circulars/finance_act_2024_rate_cut_memo.md)
|
|
160
|
+
|
|
161
|
+
**Compliance Return Schemas & Templates**:
|
|
162
|
+
- [`form_26q_quarterly_return.json`](./okf/direct_tax/tds_commission_194h/forms/form_26q_quarterly_return.json)
|
|
163
|
+
|
|
164
|
+
---
|
|
165
|
+
|
|
166
|
+
#### Section 194C: Deduction of tax at source on payments to contractors and sub-contractors
|
|
167
|
+
|
|
168
|
+
- **Governing Statute**: Income-tax Act, 1961 (Act No. 43 of 1961)
|
|
169
|
+
- **Successor Provision**: Income-tax Act, 2025 — Section 393(1), Table 3, Item (i)
|
|
170
|
+
- **Temporal Validity**: `1972-04-01` to `2026-03-31`
|
|
171
|
+
- **Legislative Sunset / Transition**: Transitions to Section 393(1) Table 3 Item (i) of the Income-tax Act, 2025 effective 1 April 2026.
|
|
172
|
+
- **Machine-Readable Source**: [`okf/direct_tax/tds_contractor_194c/section.json`](./okf/direct_tax/tds_contractor_194c/section.json)
|
|
173
|
+
|
|
174
|
+
**Statutory Summary**:
|
|
175
|
+
> Any person responsible for paying any sum to a resident contractor for carrying out any work (including supply of labour for carrying out any work) in pursuance of a contract between the contractor and a specified person must deduct tax at source. Statutory Rates: (a) 1% where the payment is being made or credited to an individual or a Hindu Undivided Family (HUF); (b) 2% where the payment is being made or credited to any person other than an individual or a HUF (companies, partnership firms, LLPs, AOPs, BOIs). Thresholds: Tax is deductible if a single contract or invoice exceeds ₹30,000, OR if the aggregate of amounts paid or credited to the contractor during the financial year exceeds ₹1,00,000. Transport Operator Exemption: Under Section 194C(6), no deduction shall be made from any sum credited or paid to a contractor during the course of business of plying, hiring, or leasing goods carriages, where such contractor owns 10 or fewer goods carriages at any time during the previous year and furnishes a declaration to that effect along with their PAN. Non-PAN penalty rate under Section 206AA is 20%.
|
|
176
|
+
|
|
177
|
+
**Key Deterministic Thresholds**:
|
|
178
|
+
```json
|
|
179
|
+
{
|
|
180
|
+
"singleContractThresholdInr": 30000,
|
|
181
|
+
"annualAggregateThresholdInr": 100000,
|
|
182
|
+
"individualHufRatePercent": 1,
|
|
183
|
+
"otherEntitiesRatePercent": 2,
|
|
184
|
+
"nonCompliantPanPenaltyRatePercent": 20,
|
|
185
|
+
"transporterGoodsCarriageLimit": 10,
|
|
186
|
+
"transporterExemptionRule": "No deduction under Section 194C(6) if transporter owns <= 10 goods carriages and furnishes written declaration with valid PAN.",
|
|
187
|
+
"workDefinitionScope": "Includes advertising, broadcasting and telecasting, carriage of goods or passengers by any mode of transport other than railways, and catering. Does not include manufacturing or supplying a product according to requirements of customer using materials purchased from a person other than such customer.",
|
|
188
|
+
"cbdtCircular23GstExclusion": "TDS applies on basic contract amount excluding separately stated GST."
|
|
189
|
+
}
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
**Official Citations & Trust Anchors**:
|
|
193
|
+
- **Ministry of Law & Justice / CBDT** — [Section 194C, Income-tax Act, 1961](https://incometaxindia.gov.in): *Payments to contractors and sub-contractors*
|
|
194
|
+
- **Parliament of India / Ministry of Finance** — [Income-tax Act, 2025 Section 393(1), Table 3, Item (i)](https://incometaxindia.gov.in): *TDS on contractor payments under new Direct Tax Code*
|
|
195
|
+
- **Central Board of Direct Taxes (CBDT)** — [Circular No. 23 of 2017](https://incometaxindia.gov.in/communications/circular/circular23_2017.pdf): *Exclusion of GST component from value of contract for tax deduction at source*
|
|
196
|
+
|
|
197
|
+
**Executive Circulars Bundled**:
|
|
198
|
+
- [`cbdt_circular_23_2017_gst_unbundling.md`](./okf/direct_tax/tds_contractor_194c/circulars/cbdt_circular_23_2017_gst_unbundling.md)
|
|
199
|
+
|
|
200
|
+
**Compliance Return Schemas & Templates**:
|
|
201
|
+
- [`form_26q_quarterly_return.json`](./okf/direct_tax/tds_contractor_194c/forms/form_26q_quarterly_return.json)
|
|
202
|
+
- [`transporter_194c_declaration.json`](./okf/direct_tax/tds_contractor_194c/forms/transporter_194c_declaration.json)
|
|
203
|
+
|
|
204
|
+
---
|
|
205
|
+
|
|
118
206
|
#### Section 194Q: Deduction of tax at source on payment of a certain sum for purchase of goods
|
|
119
207
|
|
|
120
208
|
- **Governing Statute**: Income-tax Act, 1961 (Act No. 43 of 1961)
|
|
@@ -180,6 +268,42 @@ The table below records the provenance baseline, verification standard, and expl
|
|
|
180
268
|
|
|
181
269
|
---
|
|
182
270
|
|
|
271
|
+
#### Section 194I: Deduction of tax at source on payment of rent
|
|
272
|
+
|
|
273
|
+
- **Governing Statute**: Income-tax Act, 1961 (Act No. 43 of 1961)
|
|
274
|
+
- **Successor Provision**: Income-tax Act, 2025 — Section 393(1), Table 5, Item (i)
|
|
275
|
+
- **Temporal Validity**: `1994-06-01` to `2026-03-31`
|
|
276
|
+
- **Legislative Sunset / Transition**: Transitions to Section 393(1) Table 5 Item (i) of the Income-tax Act, 2025 effective 1 April 2026.
|
|
277
|
+
- **Machine-Readable Source**: [`okf/direct_tax/tds_rent_194i/section.json`](./okf/direct_tax/tds_rent_194i/section.json)
|
|
278
|
+
|
|
279
|
+
**Statutory Summary**:
|
|
280
|
+
> Any person (other than an individual or a HUF not subject to tax audit) paying any income by way of rent to a resident is required to deduct tax at source. Statutory Rates: (a) 2% for the use of any machinery, plant, or equipment; (b) 10% for the use of any land, building (including factory building), land appurtenant to a building, furniture, or fittings. Threshold: Tax is deductible only if the aggregate amount of rent credited or paid during the financial year exceeds ₹2,40,000. Non-PAN / Inoperative PAN penalty rate under Section 206AA is 20%. Under CBDT Circular 23/2017, where GST is separately stated in the invoice, TDS applies strictly on the basic rent excluding GST.
|
|
281
|
+
|
|
282
|
+
**Key Deterministic Thresholds**:
|
|
283
|
+
```json
|
|
284
|
+
{
|
|
285
|
+
"annualAggregateThresholdInr": 240000,
|
|
286
|
+
"plantMachineryEquipmentRatePercent": 2,
|
|
287
|
+
"landBuildingFurnitureRatePercent": 10,
|
|
288
|
+
"nonCompliantPanPenaltyRatePercent": 20,
|
|
289
|
+
"rentDefinitionScope": "Any payment under any lease, sub-lease, tenancy, or other agreement for use of land, building, machinery, plant, equipment, furniture, or fittings, whether or not owned by payee.",
|
|
290
|
+
"cbdtCircular23GstExclusion": "TDS applies strictly on basic rent excluding separately stated GST."
|
|
291
|
+
}
|
|
292
|
+
```
|
|
293
|
+
|
|
294
|
+
**Official Citations & Trust Anchors**:
|
|
295
|
+
- **Ministry of Law & Justice / CBDT** — [Section 194I, Income-tax Act, 1961](https://incometaxindia.gov.in): *Deduction of tax at source on payment of rent*
|
|
296
|
+
- **Parliament of India / Ministry of Finance** — [Income-tax Act, 2025 Section 393(1), Table 5, Item (i)](https://incometaxindia.gov.in): *TDS on rent under new Direct Tax Code*
|
|
297
|
+
- **Central Board of Direct Taxes (CBDT)** — [Circular No. 23 of 2017](https://incometaxindia.gov.in/communications/circular/circular23_2017.pdf): *Exclusion of GST component from rent value for tax deduction at source*
|
|
298
|
+
|
|
299
|
+
**Executive Circulars Bundled**:
|
|
300
|
+
- [`cbdt_circular_23_2017_gst_unbundling.md`](./okf/direct_tax/tds_rent_194i/circulars/cbdt_circular_23_2017_gst_unbundling.md)
|
|
301
|
+
|
|
302
|
+
**Compliance Return Schemas & Templates**:
|
|
303
|
+
- [`form_26q_quarterly_return.json`](./okf/direct_tax/tds_rent_194i/forms/form_26q_quarterly_return.json)
|
|
304
|
+
|
|
305
|
+
---
|
|
306
|
+
|
|
183
307
|
#### Section 194J: Fees for professional or technical services, royalty, and non-compete fees
|
|
184
308
|
|
|
185
309
|
- **Governing Statute**: Income-tax Act, 1961
|
|
@@ -220,6 +344,46 @@ The table below records the provenance baseline, verification standard, and expl
|
|
|
220
344
|
|
|
221
345
|
### Indirect Tax (Central Goods and Services Tax Act, 2017)
|
|
222
346
|
|
|
347
|
+
#### Section 16(2): Eligibility and conditions for taking input tax credit and mandatory 180-day payment rule
|
|
348
|
+
|
|
349
|
+
- **Governing Statute**: Central Goods and Services Tax Act, 2017 (Act No. 12 of 2017)
|
|
350
|
+
- **Successor Provision**: CGST Act, 2017 (In force) — Section 16(2), (3), (4), (5), (6)
|
|
351
|
+
- **Temporal Validity**: `2017-07-01` to `OPEN_ENDED`
|
|
352
|
+
- **Legislative Sunset / Transition**: Active statutory framework amended by Finance Act 2021 (clause aa w.e.f. 01-01-2022), Finance Act 2022 (clause ba and Nov 30 cutoff w.e.f. 01-10-2022), and Finance (No. 2) Act 2024 (subsections 5 & 6 retrospective relief).
|
|
353
|
+
- **Machine-Readable Source**: [`okf/indirect_tax_gst/itc_eligibility_16_2/section.json`](./okf/indirect_tax_gst/itc_eligibility_16_2/section.json)
|
|
354
|
+
|
|
355
|
+
**Statutory Summary**:
|
|
356
|
+
> Under Section 16(2) of the CGST Act, 2017, no registered person is entitled to input tax credit (ITC) on any supply of goods or services unless five cumulative statutory conditions are met: (a) Possession of a tax invoice or debit note issued by a registered supplier under Section 31; (aa) Details of the invoice/debit note have been furnished by the supplier in GSTR-1 under Section 37 and communicated to the recipient under Section 38 (auto-drafted in GSTR-2B); (b) Recipient has received the goods or services or both (including 'bill-to-ship-to' constructive receipt); (ba) Details of ITC communicated under Section 38 have not been restricted; (c) Tax charged has been actually paid to the Government; (d) Return under Section 39 (GSTR-3B) has been furnished. Under the Second Proviso (180-Day Rule), if consideration along with tax is not paid to the supplier within 180 days from invoice date, ITC availed must be paid along with interest under Section 50, reported in Table 4(B)(2) of GSTR-3B under Rule 37. The Third Proviso permits re-availment in Table 4(A)(5) and Table 4(D)(1) upon subsequent payment. Reversal does not apply to reverse charge supplies, Schedule I deemed supplies without consideration, or Section 15(2)(b) value additions. Section 16(4) establishes an annual cutoff deadline (30th November following financial year), subject to retrospective relief under subsections (5) and (6) for FY 2017-18 through 2020-21.
|
|
357
|
+
|
|
358
|
+
**Key Deterministic Thresholds**:
|
|
359
|
+
```json
|
|
360
|
+
{
|
|
361
|
+
"vendorPaymentWindowDays": 180,
|
|
362
|
+
"reversalInterestSection": "Section 50",
|
|
363
|
+
"reversalReportingTable": "GSTR-3B Table 4(B)(2)",
|
|
364
|
+
"reclaimReportingTable": "GSTR-3B Table 4(A)(5) and Table 4(D)(1)",
|
|
365
|
+
"statutoryReversalExceptions": [
|
|
366
|
+
"Reverse Charge Mechanism (RCM) under Section 9(3)/9(4)",
|
|
367
|
+
"Schedule I deemed supplies without consideration",
|
|
368
|
+
"Section 15(2)(b) supplier liabilities incurred by recipient"
|
|
369
|
+
],
|
|
370
|
+
"annualCutoffDeadline": "30th November following financial year or annual return filing date (Section 16(4))"
|
|
371
|
+
}
|
|
372
|
+
```
|
|
373
|
+
|
|
374
|
+
**Official Citations & Trust Anchors**:
|
|
375
|
+
- **Central Board of Indirect Taxes and Customs (CBIC)** — [Central Goods and Services Tax Act, 2017 Section 16](https://taxinformation.cbic.gov.in): *Statutory eligibility conditions, 180-day proviso, and annual cutoff rules for Input Tax Credit*
|
|
376
|
+
- **Central Board of Indirect Taxes and Customs (CBIC)** — [Circular No. 170/02/2022-GST (CBIC-20001/2/2022-GST)](https://taxinformation.cbic.gov.in): *Mandatory reporting of temporary ITC reversals under Rule 37 in Table 4(B)(2) and subsequent re-availment in Table 4(A)(5) and Table 4(D)(1) of GSTR-3B*
|
|
377
|
+
- **Central Board of Indirect Taxes and Customs (CBIC)** — [Notification No. 39/2021-Central Tax (Dated 21 December 2021)](https://cbic-gst.gov.in): *Notifying effective date of 1 January 2022 for Section 16(2)(aa) mandatory GSTR-2B reconciliation*
|
|
378
|
+
|
|
379
|
+
**Executive Circulars Bundled**:
|
|
380
|
+
- [`cbic_circular_170_2022_itc_reporting.md`](./okf/indirect_tax_gst/itc_eligibility_16_2/circulars/cbic_circular_170_2022_itc_reporting.md)
|
|
381
|
+
|
|
382
|
+
**Compliance Return Schemas & Templates**:
|
|
383
|
+
- [`gstr_3b_table_4_itc_reversal.json`](./okf/indirect_tax_gst/itc_eligibility_16_2/forms/gstr_3b_table_4_itc_reversal.json)
|
|
384
|
+
|
|
385
|
+
---
|
|
386
|
+
|
|
223
387
|
#### Section 17(5): Apportionment of credit and blocked input tax credits
|
|
224
388
|
|
|
225
389
|
- **Governing Statute**: Central Goods and Services Tax Act, 2017 (Act No. 12 of 2017)
|
package/docs/CORPUS_QUALITY.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
> **Format Reference**: Inspired by Google's *Data Cards Playbook* and the OpenSSF Project Quality Standards.
|
|
4
4
|
> **Target Package**: `@mudraforge/statutory` v2.4.0
|
|
5
5
|
> **Evaluation Mode**: Machine-audited against primary sources, official gazettes, and test fixtures.
|
|
6
|
-
> **Generated Timestamp**: 2026-10-
|
|
6
|
+
> **Generated Timestamp**: 2026-10-24T15:20:46.069Z
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
|
|
12
12
|
| Dimension | Metric | Denominator / Baseline | Coverage Rate | Status |
|
|
13
13
|
| :--- | :--- | :--- | :--- | :--- |
|
|
14
|
-
| **Primary Source Citations** |
|
|
15
|
-
| **Temporal Validity Bounds** |
|
|
16
|
-
| **Dual-Act 2025 Transition Bridges** |
|
|
17
|
-
| **Attached Administrative Circulars** |
|
|
18
|
-
| **Attached Return/Compliance Schemas** |
|
|
14
|
+
| **Primary Source Citations** | 30 resolvable gazette URLs | 30 total citations declared | **100.0%** | VERIFIED |
|
|
15
|
+
| **Temporal Validity Bounds** | 11 sections with explicit dates | 11 total bundled sections | **100.0%** | VERIFIED |
|
|
16
|
+
| **Dual-Act 2025 Transition Bridges** | 6 direct tax provisions mapped | 7 direct tax provisions | **85.7%** | VERIFIED |
|
|
17
|
+
| **Attached Administrative Circulars** | 11 official circulars | 6 sections across 4 domains | **100% Attached** | VERIFIED |
|
|
18
|
+
| **Attached Return/Compliance Schemas** | 14 schemas/templates | 6 sections across 4 domains | **100% Attached** | VERIFIED |
|
|
19
19
|
| **Cryptographic Merkle Verification** | 20 bundle files verified | SHA-256 Merkle root digest | **0 Mismatches** | VERIFIED |
|
|
20
20
|
|
|
21
21
|
---
|
|
@@ -50,8 +50,11 @@
|
|
|
50
50
|
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
|
|
51
51
|
| **50B** | Special provision for computation of capital gains in case of slump sale | Income-tax Act, 1961 (Act No. 43 of 1961) | `2000-04-01` to `OPEN_ENDED` | `ACTIVE` | 3 | 2 | 2 | Income-tax Act, 2025 (Section 78 (Capital gains on slump sale of undertakings)) |
|
|
52
52
|
| **206C(1H)** | Collection of tax at source by seller on receipt of consideration for sale of goods (Omitted effective 1 April 2025) | Income-tax Act, 1961 | `2020-10-01` to `2025-03-31` | `SUNSET_SUPERSEDED` | 2 | 1 | 0 | Finance Act, 2025 (Statutory Sunset) (Section 206C(1H) Omitted) |
|
|
53
|
+
| **194H** | Deduction of tax at source on commission or brokerage | Income-tax Act, 1961 (Act No. 43 of 1961) | `2001-06-01` to `2026-03-31` | `SUNSET_SUPERSEDED` | 3 | 1 | 1 | Income-tax Act, 2025 (Section 393(1), Table 4, Item (i)) |
|
|
54
|
+
| **194C** | Deduction of tax at source on payments to contractors and sub-contractors | Income-tax Act, 1961 (Act No. 43 of 1961) | `1972-04-01` to `2026-03-31` | `SUNSET_SUPERSEDED` | 3 | 1 | 2 | Income-tax Act, 2025 (Section 393(1), Table 3, Item (i)) |
|
|
53
55
|
| **194Q** | Deduction of tax at source on payment of a certain sum for purchase of goods | Income-tax Act, 1961 (Act No. 43 of 1961) | `2021-07-01` to `2026-03-31` | `SUNSET_SUPERSEDED` | 2 | 2 | 2 | Income-tax Act, 2025 (Section 393(1), Table 8, Item (ii)) |
|
|
54
56
|
| **393** | Deduction of tax at source on payment of a certain sum for purchase of goods | Income-tax Act, 2025 (Act No. 1 of 2025) | `2026-04-01` to `OPEN_ENDED` | `ACTIVE` | 3 | 0 | 0 | N/A |
|
|
57
|
+
| **194I** | Deduction of tax at source on payment of rent | Income-tax Act, 1961 (Act No. 43 of 1961) | `1994-06-01` to `2026-03-31` | `SUNSET_SUPERSEDED` | 3 | 1 | 1 | Income-tax Act, 2025 (Section 393(1), Table 5, Item (i)) |
|
|
55
58
|
| **194J** | Fees for professional or technical services, royalty, and non-compete fees | Income-tax Act, 1961 | `1995-07-01` to `2026-03-31` | `SUNSET_SUPERSEDED` | 2 | 1 | 1 | Income-tax Act, 2025 (Section 393(1), Table 6, Item (iii)) |
|
|
56
59
|
| **17(5)** | Apportionment of credit and blocked input tax credits | Central Goods and Services Tax Act, 2017 (Act No. 12 of 2017) | `2017-07-01` to `OPEN_ENDED` | `ACTIVE` | 3 | 1 | 1 | CGST Act, 2017 (In force) (Section 17(5)(b)(i) & (b)(iii)) |
|
|
57
60
|
| **IRC-901-904** | Foreign Tax Credit authorization, separate basket limitation, and partnership pass-through reporting (Form 1116 / Schedule K-3) | Internal Revenue Code of 1986 (Title 26, U.S. Code) | `2021-01-01` to `OPEN_ENDED` | `ACTIVE` | 2 | 0 | 2 | Title 26, U.S. Code (Continuous) (26 U.S.C. §§ 901, 904(d), 904(j), 469) |
|