Repository avatar
AI Tools
v1.0.0
active

nbrain-mena-proptech-rega-ejari

io.github.NBrain-Studio/nbrain-mena-proptech-rega-ejari

Saudi REGA/RETT 5%, Dubai DLD Ejari, Egypt Feddan/Art.42 Tax & FIDIC IPC exact-Decimal engine MCP

Documentation

nbrain-mena-proptech-rega-ejari — MENA PropTech, Real Estate Transaction Tax & Construction FIDIC Red Book Engine + MCP Server

License: MIT Python 3.10+ MCP Registry

Engineered by Eng. Nadeem Mohamed Badr El-Din at NBrain (منظومة إن برين — nbra.in) for Saudi, Emirati, and Egyptian real-estate marketplaces, off-plan developers, and construction ERP platforms.

Regulatory Coverage

  1. Saudi Arabia (REGA FAL, REGA Ad License & ZATCA RETT 5%): Computes 5% Real Estate Transaction Tax with the Saudi Citizen First-Home 1,000,000 SAR Ministerial Exemption, enforces the statutory 2.5% REGA brokerage cap, and applies 15% VAT strictly on the brokerage service fee (never on RETT-subject residential sales).
  2. Dubai (DLD 4% Transfer, Trustee Tiered Fee & Mortgage 0.25%): Exact AED closing statement with 500,000 AED trustee threshold (4,000 AED + 5% VAT vs 2,000 AED + 5% VAT) and 580 AED title deed admin fee.
  3. Egypt (Feddan / Qirat / Sahm Exact Fraction + Art. 42 2.5% Disposal Tax + Off-Plan Installment NPV): Lossless rational arithmetic (1 Feddan = 24 Qirat = 576 Sahm = 126025 / 30 m²) plus resale transfer fee and discounted cash-flow valuation.
  4. Construction FIDIC Red Book Interim Payment Certificate (IPC): Gross work + 80% Materials-on-Site − Retention (10% capped at 5% of Contract Sum) − proportional Advance Payment amortization.

Quick Verification

PYTHONPATH=src python -m unittest discover -s tests -v