CLI tool for lawyers — computes court fees and stamp duties for civil suits, appeals, executions, and agreements. State rules in YAML (MVP: Delhi).
Every filing needs the exact court fee. The rules are in state schedules (e.g., Delhi Court Fees Act, Schedule I, Article 1) with slabs — manual calc is error-prone. This tool does the math; you verify, you pay.
pip install pyyaml# Court fee for a civil suit (money) — Delhi
python court_fee.py --value 500000 --type suit --state delhi
# Appeal court fee (50% of original suit fee)
python court_fee.py --value 500000 --type appeal --state delhi
# Execution application fee
python court_fee.py --value 500000 --type execution --state delhi
# Stamp duty on agreement
python court_fee.py --value 1000000 --type stamp --stamp-type agreement --state delhi
# JSON output for scripting
python court_fee.py --value 500000 --type suit --state delhi --json
# Custom rules file (add your state)
python court_fee.py --rules my_state_rules.yaml --value 250000 --type suit --state maharashtraCourt Fee — Civil Suit (Money) — Schedule I, Article 1
- Progressive slabs per Delhi Court Fees Act
Appeal from Decree — 50% of original suit court fee
Execution Application (Money) — 50% of original suit court fee
Stamp Duty
- Agreement/Contract: 0.1% (max ₹10,000)
- Power of Attorney: ₹1,000 fixed
- Affidavit: ₹100 fixed
Create a YAML file with your state's rules (see court_fee.py for the schema — states.<key>.court_fee and .stamp_duty arrays).
State: Delhi
Value: INR 500,000.00
Type: suit
Court Fee: INR 31,000.00
Or --json for structured output.
MIT — free for any use, including commercial.