MTD for Income Tax — end-to-end
Every HMRC endpoint needed for the MTD for Income Tax landlord flow is now code-complete and proven against the Sandbox. Production-approval request is going out to HMRC's SDST team.
- NewOAuth 2.0 authorisation flow with HMRC Government Gateway (18-month refresh tokens, auto-rotation)
- NewBusiness Details (MTD) v2.0 — fetch and store the user's MTD Income Tax ID and property business IDs
- NewObligations (MTD) v3.0 — real quarterly deadlines rendered in-app, replacing our hardcoded quarter calculator
- NewProperty Business (MTD) v6.0 — direct Cumulative Period Summary PUT for tax years 2025-26+, with a full audit log in `hmrc_submissions`
- NewIndividual Calculations (MTD) v8.0 — trigger calculation, retrieve the tax breakdown, submit final declaration
- NewSelf Assessment Accounts (MTD) v4.0 — fetch balance and transactions so users can see what they owe
- NewHMRC fraud prevention headers on every authenticated request (device ID, timezone, screens, browser UA, public IP, vendor ID)
- NewSA105 expense mapping — centralised translation from Tendmere's expense categories to HMRC's cumulative submission shape
- ImprovedGov-Test-Scenario CUMULATIVE forwarded by default on Sandbox so the obligations timeline shows tax-year-2026-27 quarters instead of HMRC's 2018/2019 stub