Section 37(2)(g), earlier 43B(h): a year-end check of MSME bills
A purchase from a micro or small enterprise that is not paid on time is deducted for income tax only in the year it is paid. This guide checks a year's purchases in one call: the due date of each, whether the rule applies, and how much is not allowed this year.
The rule in short
- Due date (MSMED Act section 15). 15 days from accepting the goods or services when there is no written agreement; otherwise the agreed days, but never more than 45.
- Who it covers. Suppliers registered on Udyam as micro or small, for manufacturing or services. Not medium enterprises, and not traders, whose Udyam registration is for priority-sector lending only.
- The tax effect. An amount paid after its due date is allowed only in the year of payment. In the Income-tax Act 2025 this is section 37(2)(g), from tax year 2026-27; in the 1961 Act it was section 43B(h).
Check a year's purchases
You need Python 3.9 or newer, the requests package and an accounting key (free, no Tally needed). The output below came from the keyless demo, EJI_ACC_BASE=https://acc.ejiapi.com/demo. Up to 2,000 purchases go in one call.
import os
import requests
BASE = os.environ.get("EJI_ACC_BASE", "https://acc.ejiapi.com")
HEADERS = {"x-api-key": os.environ.get("EJI_ACC_KEY", "YOUR_KEY")}
# Purchases from micro, small and medium suppliers in 2026-27. agreed_days is None when there is no written agreement.
purchases = [
{"ref": "INV-101", "amount": 250000, "accepted_on": "2027-02-10", "agreed_days": 45, "paid_on": "2027-03-20", "category": "micro", "activity": "manufacturing"},
{"ref": "INV-102", "amount": 180000, "accepted_on": "2027-02-20", "agreed_days": None, "paid_on": "2027-04-15", "category": "small", "activity": "services"},
{"ref": "INV-103", "amount": 90000, "accepted_on": "2027-03-25", "agreed_days": 30, "paid_on": None, "category": "micro", "activity": "services"},
{"ref": "INV-104", "amount": 400000, "accepted_on": "2027-01-05", "agreed_days": 60, "paid_on": "2027-05-10", "category": "small", "activity": "manufacturing"},
{"ref": "INV-105", "amount": 75000, "accepted_on": "2027-02-01", "agreed_days": 15, "paid_on": "2027-04-01", "category": "medium", "activity": "manufacturing"},
{"ref": "INV-106", "amount": 60000, "accepted_on": "2027-02-01", "agreed_days": 15, "paid_on": "2027-04-01", "category": "micro", "activity": "trading"},
]
r = requests.post(f"{BASE}/api/msme/v1/rules/year-end", json={"fy_end": "2027-03-31", "items": purchases}, headers=HEADERS, timeout=30)
d = r.json()["data"]
for p in d:
print(f"{p['ref']} due {p['dueDate']} paid {p['paidOn'] or '-':<10} disallowed {p['disallowed']:>10,.0f} {p['result']}")
print(f"\nNot allowed in 2026-27: Rs {r.json()['disallowedTotal']:,.0f} under {r.json()['law']['label']}")INV-101 due 2027-03-27 paid 2027-03-20 disallowed 0 paid on time: allowed INV-102 due 2027-03-07 paid 2027-04-15 disallowed 180,000 paid after the due date and after the year end: not allowed this year; allowed in the year it was paid INV-103 due 2027-04-24 paid - disallowed 0 not yet due at the year end: allowed if paid by the due date; if paid later, it moves to the year of payment INV-104 due 2027-02-19 paid 2027-05-10 disallowed 400,000 paid after the due date and after the year end: not allowed this year; allowed in the year it was paid INV-105 due 2027-02-16 paid 2027-04-01 disallowed 0 outside the rule INV-106 due 2027-02-16 paid 2027-04-01 disallowed 0 outside the rule Not allowed in 2026-27: Rs 580,000 under section 37(2)(g) of the Income-tax Act, 2025
Reading the result
- INV-104 had 60 agreed days, but the law caps them at 45: due on 19 February, paid in May, so all of it moves to 2027-28.
- INV-102 had no written agreement, so 15 days: due on 7 March, paid after 31 March.
- INV-103 was not yet due at the year end. It stays allowed in 2026-27 only if it is paid by 24 April.
- INV-105 and INV-106 are outside the rule: a medium enterprise, and a trader.
In Google Sheets, bill by bill
With the accounting formulas installed, two formulas do the same per row. These are the real answers:
=EJI_MSME_DUE_DATE("2027-01-05", 60) → 2027-02-19 (60 agreed days, capped at 45)
=EJI_MSME_DUE_DATE("2027-02-20") → 2027-03-07 (no written agreement: 15 days)
=EJI_MSME_RULE_APPLIES("micro", "trading") → FALSE
=EJI_MSME_RULE_APPLIES("small", "services") → TRUEIf your books are in TallyPrime, the open supplier bills with their dates are one formula away: see receivables and payables in Google Sheets. The MSME explorer runs these checks without code, and keeps each supplier's Udyam declaration if you use your own key.
Get a free accounting key Read the MSME API reference
A working to check with your CA, not tax advice: it relies on the acceptance dates, categories and activities you give. Sample outputs were produced on 2026-11-27 from the live API.