Skip to content

Conversation

@ac000
Copy link
Owner

@ac000 ac000 commented Nov 7, 2025

@ac000 ac000 requested a review from Copilot November 7, 2025 19:52
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for the HMRC Individuals Reliefs API to the MTD CLI tool, enabling management of tax relief data across five relief categories.

  • Adds new ir (Individuals Reliefs) API endpoint with support for get, amend, and delete operations
  • Implements handlers for Relief Investments, Other Reliefs, Foreign Reliefs, Pensions Reliefs, and Charitable Givings
  • Updates CLI documentation and endpoint registration

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/mtd-cli.c Registers the new ir endpoint in the API endpoint mapping table
src/mtd-cli-ir.c Implements the complete handler for the Individuals Reliefs API with 15 endpoint definitions across 5 relief categories
src/endpoints.h Declares the external ir_endpoint structure for linkage
README.rst Updates the CLI usage documentation to include the new ir API option

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ac000 ac000 merged commit b6146f1 into master Nov 7, 2025
10 checks passed
@ac000 ac000 deleted the ir branch November 7, 2025 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants