MTD Income Tax Returns

Minimum access level: Tax, Accounting & Users, unless stated otherwise.

UK accounts only

These endpoints allow API applications to retrieve information on a user's Income Tax Returns for the tax years they report under Making Tax Digital for Income Tax (MTD), including details on payments due and the status of each submission HMRC expects.

MTD replaces the annual Self Assessment return with quarterly updates of income and expenses, an end of year update of adjustments and allowances, and a final declaration. A tax year moves through a sequence of submissions to HMRC. For practice-managed companies whose accountancy practice requires it, the client approves each submission before it is sent. HMRC returns a tax calculation in response, which FreeAgent stores against the tax year.

Tax years a user reports through Self Assessment are not returned by the /users/:user_id/income_tax/mtd endpoints. See Income Tax Returns for those, or use List all Income Tax Returns for a User to get every return together.

Attributes

Attribute Description Kind
url Unique identifier for the record URI
period_ends_on The end date of the UK tax year covered by the return Date
period_starts_on The start date of the UK tax year covered by the return Date
total_tax_due The total tax due for the tax year. Only present once the figure is final, which for an MTD tax year means HMRC has produced a final calculation. Decimal
estimated_total_tax_due HMRC's latest in-year estimate of the tax due for the tax year. Only present while the figure is still an estimate, and only when the authenticated user is allowed to see tax estimates for this tax year. Neither this nor total_tax_due is present before HMRC has produced a calculation. Decimal
payments An array of Payments due towards this tax year, in date order. Payments on account are calculated from the previous tax year, so they only appear once that year has been finalised. Array
quarterly_period_type Which set of quarterly periods the user reports against. standard quarters run to the 5th of July, October, January and April; calendar quarters run to the end of June, September, December and March. Omitted when the user cannot have an MTD business. String
submission_deadlines An array of Submission Deadlines: every obligation HMRC expects for this tax year, in the order they fall due Array
current_submission The Submission the tax year is currently working on. Omitted when there is none. Only returned when fetching a single return. Object
current_approval The Approval the tax year is currently waiting on. Omitted when there is none, which includes every company that does not use practice approvals. Only returned when fetching a single return. Object
current_calculation The most recent Calculation HMRC has produced for the tax year. Omitted when there is none. Only returned when fetching a single return. Object

Payment Attributes

Attribute Description Kind
label A human-readable name for the payment. One of Payment on Account, Balancing Payment or Payment. Balancing Payment is used when payments on account have already been made towards the tax year, and Payment when the whole amount is due in one go. String
amount_due The amount due on that date. May be negative in the case of a refund. Decimal
due_on The date on which the payment is due Date
status One of unpaid, paid or marked_as_paid. marked_as_paid means somebody recorded the payment in FreeAgent using the mark as paid endpoint. Key is omitted when FreeAgent cannot tell, which includes payments of zero or a negative amount. String

Submission Deadline Attributes

Attribute Description Kind
type Which obligation the deadline is for. One of q1_update, q2_update, q3_update, q4_update, end_of_year, final_declaration or amended_final_declaration. q1_update to q4_update are the quarterly updates, end_of_year the annual adjustments and allowances, final_declaration the declaration that finalises the tax year, and amended_final_declaration a later amendment to it. String
label A human-readable name for the obligation String
accounting_period_starts_on The start of the period the obligation covers, as FreeAgent calculates it Date
accounting_period_ends_on The end of the period the obligation covers, as FreeAgent calculates it Date
filing_starts_on The first date on which the obligation can be filed Date
filing_due_on The date by which HMRC expects the obligation to be filed Date
prepared_at When the submission covering this obligation was sent for approval. Omitted when it has not been. Datetime
approved_at When the submission covering this obligation was approved. Omitted when it has not been. Datetime
status One of pre_freeagent, unfiled, prepared, approved, pending, provisionally_filed, filed or marked_as_filed. pre_freeagent means the period ended before the user started using FreeAgent for MTD, so there is nothing to file here. pending means a submission is on its way to HMRC. provisionally_filed means HMRC has the data but the obligation is not yet fulfilled. marked_as_filed means it was filed outside FreeAgent and recorded here. prepared and approved are the stages of the practice approval workflow. String
status_label A human-readable version of status. Note that pending is labelled Processing, and that prepared is labelled Sent for approval for an Account Manager and Ready to review for everybody else. String

Submission Attributes

A submission FreeAgent has made, or is preparing to make, to HMRC for the tax year.

Attribute Description Kind
status One of draft, pending, succeeded, failed, cancelled or archived. A draft submission has been prepared but not sent; a pending one is being sent to HMRC; succeeded and failed are the outcomes; cancelled means the user stopped it before it was sent; archived submissions have been superseded by a later one. Only present for a submission that has been created. String
status_label A human-readable version of status. Note that pending is labelled Processing rather than Pending. String
submitted_by_url The User or Account Manager who sent the submission, as a URL. Only present for a submission that has been created, and omitted when nobody has sent it yet or when it is an Account Manager the authenticated user is not permitted to see. URI
type What the submission does. One of fetch, update, end_of_year, final_intent, final_declaration, fetch_calculation or trigger_calculation. update sends quarterly income and expenses to HMRC; end_of_year sends the annual adjustments and allowances; final_intent asks HMRC for a final tax calculation; final_declaration declares the tax year finalised. fetch, fetch_calculation and trigger_calculation retrieve data from HMRC rather than sending anything. String
label A human-readable name for the submission, such as the quarter it covers String
accounts_dated_to The date up to which income and expenses are included in the submission. Omitted for submissions that do not cover a period, such as a final declaration. Date
error_type Why the submission failed, as a stable key you can branch on. Only present when the submission has failed. New values are added as new failure modes are handled, so treat an unrecognised value as a generic failure and fall back to error_title_html and error_message_html. String
error_notice_type How prominently the error should be displayed. One of warning or negative. warning is used when the submission failed but HMRC had already accepted the data it was sending, so no action is needed; negative for every other failure. Only present when error_type is. String
error_title_html A short, user-facing explanation of the failure, as sanitised HTML. Only present when error_type is. String
error_message_html A longer, user-facing explanation of the failure and how to resolve it, as sanitised HTML. Links in it are rewritten to absolute FreeAgent URLs. Only present when error_type is. String

Approval Attributes

A request for a client to approve a submission before it is sent to HMRC. Approvals are only created for practice-managed companies whose accountancy practice has turned on approvals for that kind of submission.

Attribute Description Kind
prepared_at When the submission was sent for approval Datetime
prepared_by_name The name recorded for whoever sent the submission for approval, as it was at the time String
prepared_by_url Whoever sent the submission for approval, as a URL. This is an Account Manager for a submission prepared by the accountancy practice and a User otherwise. Omitted when the record has been deleted, and when it is an Account Manager the authenticated user is not permitted to see. URI
approved_at When the submission was approved. Omitted until it has been. Datetime
approved_by_name The name recorded for whoever approved the submission, as it was at the time. Omitted until it has been approved. String
approved_by_url Whoever approved the submission, as a URL. This is a User for a submission the client approved and an Account Manager otherwise. Omitted until the submission has been approved, when the record has been deleted, and when it is an Account Manager the authenticated user is not permitted to see. URI

Calculation Attributes

A tax calculation that HMRC produced for the tax year.

Attribute Description Kind
type The kind of calculation HMRC produced, derived from HMRC's own calculation type. One of in_year, final_declaration, intent_to_finalise, declare_finalisation, intent_to_amend or confirm_amendment. in_year is an estimate based on the data submitted so far; every other value is part of finalising the tax year. Which values you see depends on the version of HMRC's API the calculation was fetched with: final_declaration comes from v5 and v6, and intent_to_finalise, declare_finalisation, intent_to_amend and confirm_amendment from v7 and v8. String
status One of partial, complete, errored or archived. partial means HMRC has accepted the request but FreeAgent has not yet retrieved the full calculation. complete means the calculation was retrieved successfully. errored means HMRC reported errors, which are listed in messages. archived calculations have been superseded by a later one. String
timestamp The time at which HMRC produced the calculation. Omitted until HMRC has reported it. Datetime
total_income_tax_and_nics_due The total Income Tax and National Insurance contributions due for the tax year. Only present for final calculations, or for in-year calculations when the authenticated user is allowed to see tax estimates for this tax year. Decimal
error_count The number of error messages HMRC returned with the calculation. Omitted when there are none. Integer
messages An array of Calculation Messages: informational, warning and error messages HMRC returned with the calculation. Omitted when there are none. Array

Calculation Message Attributes

Attribute Description Kind
hmrc_reference HMRC's own identifier for the message String
type The severity HMRC assigned to the message. One of info, warning or error. String
text The message itself, as written by HMRC String

List all Income Tax Returns for a User

GET https://api.freeagent.com/v2/users/:user_id/income_tax

Lists all Income Tax Returns for a user, oldest first, whether the user reports the tax year through Self Assessment or under Making Tax Digital. Each entry is a summary; follow its url for the full details.

Missing returns are created on demand, so the first call for a user may take longer than later ones.

Income Tax Return Summary Attributes

Attribute Description Kind
url Unique identifier for the record. Points at the Self Assessment return for a tax year reported through Self Assessment, and at the MTD return for a tax year reported under MTD. URI
period_ends_on The end date of the UK tax year Date
period_starts_on The start date of the UK tax year Date
total_tax_due The total tax due for the return. May be negative in the case of a refund. Only present once the figure is final. For a Self Assessment return that means FreeAgent calculates it using the tax rates and allowances for its tax year; for an MTD return it means HMRC has produced a final calculation. Decimal
estimated_total_tax_due An estimate of the total tax due for the return, present instead of total_tax_due while the figure is not final. May be negative in the case of a refund. For an MTD return it is HMRC's latest in-year estimate, and is only present when the authenticated user is allowed to see tax estimates for that return. Neither this nor total_tax_due is present when there is no calculation for the return yet. Decimal

Response

Status: 200 OK
{
    "income_tax_returns": [
        {
            "url": "https://api.freeagent.com/v2/users/123/income_tax/self_assessment/2025-04-05",
            "period_ends_on": "2025-04-05",
            "period_starts_on": "2024-04-06",
            "total_tax_due": "7810.4"
        },
        {
            "url": "https://api.freeagent.com/v2/users/123/income_tax/self_assessment/2026-04-05",
            "period_ends_on": "2026-04-05",
            "period_starts_on": "2025-04-06",
            "estimated_total_tax_due": "8120.0"
        },
        {
            "url": "https://api.freeagent.com/v2/users/123/income_tax/mtd/2027-04-05",
            "period_ends_on": "2027-04-05",
            "period_starts_on": "2026-04-06"
        }
    ]
}
Show as XML
<?xml version="1.0" encoding="UTF-8"?>
<freeagent>
    <income-tax-returns type="array">
        <income-tax-return>
            <url>https://api.freeagent.com/v2/users/123/income_tax/self_assessment/2025-04-05</url>
            <period-ends-on type="date">2025-04-05</period-ends-on>
            <period-starts-on type="date">2024-04-06</period-starts-on>
            <total-tax-due type="decimal">7810.4</total-tax-due>
        </income-tax-return>
        <income-tax-return>
            <url>https://api.freeagent.com/v2/users/123/income_tax/self_assessment/2026-04-05</url>
            <period-ends-on type="date">2026-04-05</period-ends-on>
            <period-starts-on type="date">2025-04-06</period-starts-on>
            <estimated-total-tax-due type="decimal">8120.0</estimated-total-tax-due>
        </income-tax-return>
        <income-tax-return>
            <url>https://api.freeagent.com/v2/users/123/income_tax/mtd/2027-04-05</url>
            <period-ends-on type="date">2027-04-05</period-ends-on>
            <period-starts-on type="date">2026-04-06</period-starts-on>
        </income-tax-return>
    </income-tax-returns>
</freeagent>
Show as JSON

Errors

Status When
403 The authenticated user is not permitted to view Income Tax Returns, or is not permitted to view this user's Income Tax Returns

List MTD Income Tax Returns for a User

GET https://api.freeagent.com/v2/users/:user_id/income_tax/mtd

Lists the MTD Income Tax Returns for a user. Tax years the user reports through Self Assessment are not included here.

Response

Status: 200 OK
{
    "income_tax_returns": [
        {
            "url": "https://api.freeagent.com/v2/users/123/income_tax/mtd/2026-04-05",
            "period_ends_on": "2026-04-05",
            "period_starts_on": "2025-04-06",
            "estimated_total_tax_due": "4210.55",
            "payments": [
                {
                    "label": "Payment",
                    "amount_due": "4210.55",
                    "due_on": "2027-01-31",
                    "status": "unpaid"
                }
            ],
            "quarterly_period_type": "standard",
            "submission_deadlines": [
                {
                    "type": "q1_update",
                    "label": "Q1 update",
                    "accounting_period_starts_on": "2025-04-06",
                    "accounting_period_ends_on": "2025-07-05",
                    "filing_starts_on": "2025-07-05",
                    "filing_due_on": "2025-08-05",
                    "status": "filed",
                    "status_label": "Filed"
                },
                {
                    "type": "q2_update",
                    "label": "Q2 update",
                    "accounting_period_starts_on": "2025-04-06",
                    "accounting_period_ends_on": "2025-10-05",
                    "filing_starts_on": "2025-10-05",
                    "filing_due_on": "2025-11-05",
                    "status": "filed",
                    "status_label": "Filed"
                },
                {
                    "type": "q3_update",
                    "label": "Q3 update",
                    "accounting_period_starts_on": "2025-04-06",
                    "accounting_period_ends_on": "2026-01-05",
                    "filing_starts_on": "2026-01-05",
                    "filing_due_on": "2026-02-05",
                    "status": "unfiled",
                    "status_label": "Unfiled"
                },
                {
                    "type": "q4_update",
                    "label": "Q4 update",
                    "accounting_period_starts_on": "2025-04-06",
                    "accounting_period_ends_on": "2026-04-05",
                    "filing_starts_on": "2026-04-05",
                    "filing_due_on": "2026-05-05",
                    "status": "unfiled",
                    "status_label": "Unfiled"
                },
                {
                    "type": "end_of_year",
                    "label": "End of Year update",
                    "accounting_period_starts_on": "2025-04-06",
                    "accounting_period_ends_on": "2026-04-05",
                    "filing_starts_on": "2026-04-06",
                    "filing_due_on": "2027-01-31",
                    "status": "unfiled",
                    "status_label": "Unfiled"
                },
                {
                    "type": "final_declaration",
                    "label": "Final Declaration",
                    "accounting_period_starts_on": "2025-04-06",
                    "accounting_period_ends_on": "2026-04-05",
                    "filing_starts_on": "2026-04-06",
                    "filing_due_on": "2027-01-31",
                    "status": "unfiled",
                    "status_label": "Unfiled"
                }
            ]
        }
    ]
}
Show as XML
<?xml version="1.0" encoding="UTF-8"?>
<freeagent>
    <income-tax-returns type="array">
        <income-tax-return>
            <url>https://api.freeagent.com/v2/users/123/income_tax/mtd/2026-04-05</url>
            <period-ends-on type="date">2026-04-05</period-ends-on>
            <period-starts-on type="date">2025-04-06</period-starts-on>
            <estimated-total-tax-due type="decimal">4210.55</estimated-total-tax-due>
            <payments type="array">
                <payment>
                    <label>Payment</label>
                    <amount-due type="decimal">4210.55</amount-due>
                    <due-on type="date">2027-01-31</due-on>
                    <status>unpaid</status>
                </payment>
            </payments>
            <quarterly-period-type>standard</quarterly-period-type>
            <submission-deadlines type="array">
                <submission-deadline>
                    <type>q1_update</type>
                    <label>Q1 update</label>
                    <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                    <accounting-period-ends-on type="date">2025-07-05</accounting-period-ends-on>
                    <filing-starts-on type="date">2025-07-05</filing-starts-on>
                    <filing-due-on type="date">2025-08-05</filing-due-on>
                    <status>filed</status>
                    <status-label>Filed</status-label>
                </submission-deadline>
                <submission-deadline>
                    <type>q2_update</type>
                    <label>Q2 update</label>
                    <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                    <accounting-period-ends-on type="date">2025-10-05</accounting-period-ends-on>
                    <filing-starts-on type="date">2025-10-05</filing-starts-on>
                    <filing-due-on type="date">2025-11-05</filing-due-on>
                    <status>filed</status>
                    <status-label>Filed</status-label>
                </submission-deadline>
                <submission-deadline>
                    <type>q3_update</type>
                    <label>Q3 update</label>
                    <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                    <accounting-period-ends-on type="date">2026-01-05</accounting-period-ends-on>
                    <filing-starts-on type="date">2026-01-05</filing-starts-on>
                    <filing-due-on type="date">2026-02-05</filing-due-on>
                    <status>unfiled</status>
                    <status-label>Unfiled</status-label>
                </submission-deadline>
                <submission-deadline>
                    <type>q4_update</type>
                    <label>Q4 update</label>
                    <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                    <accounting-period-ends-on type="date">2026-04-05</accounting-period-ends-on>
                    <filing-starts-on type="date">2026-04-05</filing-starts-on>
                    <filing-due-on type="date">2026-05-05</filing-due-on>
                    <status>unfiled</status>
                    <status-label>Unfiled</status-label>
                </submission-deadline>
                <submission-deadline>
                    <type>end_of_year</type>
                    <label>End of Year update</label>
                    <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                    <accounting-period-ends-on type="date">2026-04-05</accounting-period-ends-on>
                    <filing-starts-on type="date">2026-04-06</filing-starts-on>
                    <filing-due-on type="date">2027-01-31</filing-due-on>
                    <status>unfiled</status>
                    <status-label>Unfiled</status-label>
                </submission-deadline>
                <submission-deadline>
                    <type>final_declaration</type>
                    <label>Final Declaration</label>
                    <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                    <accounting-period-ends-on type="date">2026-04-05</accounting-period-ends-on>
                    <filing-starts-on type="date">2026-04-06</filing-starts-on>
                    <filing-due-on type="date">2027-01-31</filing-due-on>
                    <status>unfiled</status>
                    <status-label>Unfiled</status-label>
                </submission-deadline>
            </submission-deadlines>
        </income-tax-return>
    </income-tax-returns>
</freeagent>
Show as JSON

Errors

Status When
403 The authenticated user is not permitted to view this user's Income Tax Returns

Fetch details for an MTD Income Tax Return

GET https://api.freeagent.com/v2/users/:user_id/income_tax/mtd/:period_ends_on

period_ends_on is the end date of the UK tax year, in the format YYYY-MM-DD.

Fetches a single MTD Income Tax Return, including the submission, approval and calculation it is currently working on.

Response

Status: 200 OK
{
    "income_tax_return": {
        "url": "https://api.freeagent.com/v2/users/123/income_tax/mtd/2026-04-05",
        "period_ends_on": "2026-04-05",
        "period_starts_on": "2025-04-06",
        "estimated_total_tax_due": "4210.55",
        "payments": [
            {
                "label": "Payment",
                "amount_due": "4210.55",
                "due_on": "2027-01-31",
                "status": "unpaid"
            }
        ],
        "quarterly_period_type": "standard",
        "submission_deadlines": [
            {
                "type": "q1_update",
                "label": "Q1 update",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2025-07-05",
                "filing_starts_on": "2025-07-05",
                "filing_due_on": "2025-08-05",
                "status": "filed",
                "status_label": "Filed"
            },
            {
                "type": "q2_update",
                "label": "Q2 update",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2025-10-05",
                "filing_starts_on": "2025-10-05",
                "filing_due_on": "2025-11-05",
                "status": "filed",
                "status_label": "Filed"
            },
            {
                "type": "q3_update",
                "label": "Q3 update",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2026-01-05",
                "filing_starts_on": "2026-01-05",
                "filing_due_on": "2026-02-05",
                "status": "unfiled",
                "status_label": "Unfiled"
            },
            {
                "type": "q4_update",
                "label": "Q4 update",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2026-04-05",
                "filing_starts_on": "2026-04-05",
                "filing_due_on": "2026-05-05",
                "status": "unfiled",
                "status_label": "Unfiled"
            },
            {
                "type": "end_of_year",
                "label": "End of Year update",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2026-04-05",
                "filing_starts_on": "2026-04-06",
                "filing_due_on": "2027-01-31",
                "status": "unfiled",
                "status_label": "Unfiled"
            },
            {
                "type": "final_declaration",
                "label": "Final Declaration",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2026-04-05",
                "filing_starts_on": "2026-04-06",
                "filing_due_on": "2027-01-31",
                "status": "unfiled",
                "status_label": "Unfiled"
            }
        ],
        "current_submission": {
            "status": "succeeded",
            "status_label": "Succeeded",
            "submitted_by_url": "https://api.freeagent.com/v2/users/123",
            "type": "update",
            "label": "Q2 update",
            "accounts_dated_to": "2025-10-05"
        },
        "current_calculation": {
            "type": "in_year",
            "status": "complete",
            "timestamp": "2025-10-06T10:51:11.000Z",
            "total_income_tax_and_nics_due": "4210.55"
        }
    }
}
Show as XML
<?xml version="1.0" encoding="UTF-8"?>
<freeagent>
    <income-tax-return>
        <url>https://api.freeagent.com/v2/users/123/income_tax/mtd/2026-04-05</url>
        <period-ends-on type="date">2026-04-05</period-ends-on>
        <period-starts-on type="date">2025-04-06</period-starts-on>
        <estimated-total-tax-due type="decimal">4210.55</estimated-total-tax-due>
        <payments type="array">
            <payment>
                <label>Payment</label>
                <amount-due type="decimal">4210.55</amount-due>
                <due-on type="date">2027-01-31</due-on>
                <status>unpaid</status>
            </payment>
        </payments>
        <quarterly-period-type>standard</quarterly-period-type>
        <submission-deadlines type="array">
            <submission-deadline>
                <type>q1_update</type>
                <label>Q1 update</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2025-07-05</accounting-period-ends-on>
                <filing-starts-on type="date">2025-07-05</filing-starts-on>
                <filing-due-on type="date">2025-08-05</filing-due-on>
                <status>filed</status>
                <status-label>Filed</status-label>
            </submission-deadline>
            <submission-deadline>
                <type>q2_update</type>
                <label>Q2 update</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2025-10-05</accounting-period-ends-on>
                <filing-starts-on type="date">2025-10-05</filing-starts-on>
                <filing-due-on type="date">2025-11-05</filing-due-on>
                <status>filed</status>
                <status-label>Filed</status-label>
            </submission-deadline>
            <submission-deadline>
                <type>q3_update</type>
                <label>Q3 update</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2026-01-05</accounting-period-ends-on>
                <filing-starts-on type="date">2026-01-05</filing-starts-on>
                <filing-due-on type="date">2026-02-05</filing-due-on>
                <status>unfiled</status>
                <status-label>Unfiled</status-label>
            </submission-deadline>
            <submission-deadline>
                <type>q4_update</type>
                <label>Q4 update</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2026-04-05</accounting-period-ends-on>
                <filing-starts-on type="date">2026-04-05</filing-starts-on>
                <filing-due-on type="date">2026-05-05</filing-due-on>
                <status>unfiled</status>
                <status-label>Unfiled</status-label>
            </submission-deadline>
            <submission-deadline>
                <type>end_of_year</type>
                <label>End of Year update</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2026-04-05</accounting-period-ends-on>
                <filing-starts-on type="date">2026-04-06</filing-starts-on>
                <filing-due-on type="date">2027-01-31</filing-due-on>
                <status>unfiled</status>
                <status-label>Unfiled</status-label>
            </submission-deadline>
            <submission-deadline>
                <type>final_declaration</type>
                <label>Final Declaration</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2026-04-05</accounting-period-ends-on>
                <filing-starts-on type="date">2026-04-06</filing-starts-on>
                <filing-due-on type="date">2027-01-31</filing-due-on>
                <status>unfiled</status>
                <status-label>Unfiled</status-label>
            </submission-deadline>
        </submission-deadlines>
        <current-submission>
            <status>succeeded</status>
            <status-label>Succeeded</status-label>
            <submitted-by-url>https://api.freeagent.com/v2/users/123</submitted-by-url>
            <type>update</type>
            <label>Q2 update</label>
            <accounts-dated-to type="date">2025-10-05</accounts-dated-to>
        </current-submission>
        <current-calculation>
            <type>in_year</type>
            <status>complete</status>
            <timestamp type="dateTime">2025-10-06T10:51:11.000Z</timestamp>
            <total-income-tax-and-nics-due type="decimal">4210.55</total-income-tax-and-nics-due>
        </current-calculation>
    </income-tax-return>
</freeagent>
Show as JSON

Errors

Status When
403 The tax year is not available, or the authenticated user is not permitted to view it
404 The tax year is reported through Self Assessment rather than MTD

Mark an MTD Income Tax Payment as Paid

PUT https://api.freeagent.com/v2/users/:user_id/income_tax/mtd/:period_ends_on/payments/:payment_date/mark_as_paid

Records in FreeAgent that the payment due on payment_date has been made, which sets that payment's status to marked_as_paid. This does not tell HMRC anything; it only updates FreeAgent's own record.

payment_date must be the due_on date of one of the return's payments.

Responds with the whole return, as Fetch details for an MTD Income Tax Return does.

Response

Status: 200 OK
{
    "income_tax_return": {
        "url": "https://api.freeagent.com/v2/users/123/income_tax/mtd/2026-04-05",
        "period_ends_on": "2026-04-05",
        "period_starts_on": "2025-04-06",
        "estimated_total_tax_due": "4210.55",
        "payments": [
            {
                "label": "Payment",
                "amount_due": "4210.55",
                "due_on": "2027-01-31",
                "status": "marked_as_paid"
            }
        ],
        "quarterly_period_type": "standard",
        "submission_deadlines": [
            {
                "type": "q1_update",
                "label": "Q1 update",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2025-07-05",
                "filing_starts_on": "2025-07-05",
                "filing_due_on": "2025-08-05",
                "status": "filed",
                "status_label": "Filed"
            },
            {
                "type": "q2_update",
                "label": "Q2 update",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2025-10-05",
                "filing_starts_on": "2025-10-05",
                "filing_due_on": "2025-11-05",
                "status": "filed",
                "status_label": "Filed"
            },
            {
                "type": "q3_update",
                "label": "Q3 update",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2026-01-05",
                "filing_starts_on": "2026-01-05",
                "filing_due_on": "2026-02-05",
                "status": "unfiled",
                "status_label": "Unfiled"
            },
            {
                "type": "q4_update",
                "label": "Q4 update",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2026-04-05",
                "filing_starts_on": "2026-04-05",
                "filing_due_on": "2026-05-05",
                "status": "unfiled",
                "status_label": "Unfiled"
            },
            {
                "type": "end_of_year",
                "label": "End of Year update",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2026-04-05",
                "filing_starts_on": "2026-04-06",
                "filing_due_on": "2027-01-31",
                "status": "unfiled",
                "status_label": "Unfiled"
            },
            {
                "type": "final_declaration",
                "label": "Final Declaration",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2026-04-05",
                "filing_starts_on": "2026-04-06",
                "filing_due_on": "2027-01-31",
                "status": "unfiled",
                "status_label": "Unfiled"
            }
        ],
        "current_submission": {
            "status": "succeeded",
            "status_label": "Succeeded",
            "submitted_by_url": "https://api.freeagent.com/v2/users/123",
            "type": "update",
            "label": "Q2 update",
            "accounts_dated_to": "2025-10-05"
        },
        "current_calculation": {
            "type": "in_year",
            "status": "complete",
            "timestamp": "2025-10-06T10:51:11.000Z",
            "total_income_tax_and_nics_due": "4210.55"
        }
    }
}
Show as XML
<?xml version="1.0" encoding="UTF-8"?>
<freeagent>
    <income-tax-return>
        <url>https://api.freeagent.com/v2/users/123/income_tax/mtd/2026-04-05</url>
        <period-ends-on type="date">2026-04-05</period-ends-on>
        <period-starts-on type="date">2025-04-06</period-starts-on>
        <estimated-total-tax-due type="decimal">4210.55</estimated-total-tax-due>
        <payments type="array">
            <payment>
                <label>Payment</label>
                <amount-due type="decimal">4210.55</amount-due>
                <due-on type="date">2027-01-31</due-on>
                <status>marked_as_paid</status>
            </payment>
        </payments>
        <quarterly-period-type>standard</quarterly-period-type>
        <submission-deadlines type="array">
            <submission-deadline>
                <type>q1_update</type>
                <label>Q1 update</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2025-07-05</accounting-period-ends-on>
                <filing-starts-on type="date">2025-07-05</filing-starts-on>
                <filing-due-on type="date">2025-08-05</filing-due-on>
                <status>filed</status>
                <status-label>Filed</status-label>
            </submission-deadline>
            <submission-deadline>
                <type>q2_update</type>
                <label>Q2 update</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2025-10-05</accounting-period-ends-on>
                <filing-starts-on type="date">2025-10-05</filing-starts-on>
                <filing-due-on type="date">2025-11-05</filing-due-on>
                <status>filed</status>
                <status-label>Filed</status-label>
            </submission-deadline>
            <submission-deadline>
                <type>q3_update</type>
                <label>Q3 update</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2026-01-05</accounting-period-ends-on>
                <filing-starts-on type="date">2026-01-05</filing-starts-on>
                <filing-due-on type="date">2026-02-05</filing-due-on>
                <status>unfiled</status>
                <status-label>Unfiled</status-label>
            </submission-deadline>
            <submission-deadline>
                <type>q4_update</type>
                <label>Q4 update</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2026-04-05</accounting-period-ends-on>
                <filing-starts-on type="date">2026-04-05</filing-starts-on>
                <filing-due-on type="date">2026-05-05</filing-due-on>
                <status>unfiled</status>
                <status-label>Unfiled</status-label>
            </submission-deadline>
            <submission-deadline>
                <type>end_of_year</type>
                <label>End of Year update</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2026-04-05</accounting-period-ends-on>
                <filing-starts-on type="date">2026-04-06</filing-starts-on>
                <filing-due-on type="date">2027-01-31</filing-due-on>
                <status>unfiled</status>
                <status-label>Unfiled</status-label>
            </submission-deadline>
            <submission-deadline>
                <type>final_declaration</type>
                <label>Final Declaration</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2026-04-05</accounting-period-ends-on>
                <filing-starts-on type="date">2026-04-06</filing-starts-on>
                <filing-due-on type="date">2027-01-31</filing-due-on>
                <status>unfiled</status>
                <status-label>Unfiled</status-label>
            </submission-deadline>
        </submission-deadlines>
        <current-submission>
            <status>succeeded</status>
            <status-label>Succeeded</status-label>
            <submitted-by-url>https://api.freeagent.com/v2/users/123</submitted-by-url>
            <type>update</type>
            <label>Q2 update</label>
            <accounts-dated-to type="date">2025-10-05</accounts-dated-to>
        </current-submission>
        <current-calculation>
            <type>in_year</type>
            <status>complete</status>
            <timestamp type="dateTime">2025-10-06T10:51:11.000Z</timestamp>
            <total-income-tax-and-nics-due type="decimal">4210.55</total-income-tax-and-nics-due>
        </current-calculation>
    </income-tax-return>
</freeagent>
Show as JSON

Errors

Status When
400 payment_date is missing or is not a valid date
403 The authenticated user is not permitted to mark the payment
404 The tax year is reported through Self Assessment rather than MTD
422 The payment cannot be marked as paid

Mark an MTD Income Tax Payment as Unpaid

PUT https://api.freeagent.com/v2/users/:user_id/income_tax/mtd/:period_ends_on/payments/:payment_date/mark_as_unpaid

Records in FreeAgent that the payment due on payment_date has not been made after all, which sets that payment's status to unpaid. This does not tell HMRC anything; it only updates FreeAgent's own record.

payment_date must be the due_on date of one of the return's payments.

Responds with the whole return, as Fetch details for an MTD Income Tax Return does.

Response

Status: 200 OK
{
    "income_tax_return": {
        "url": "https://api.freeagent.com/v2/users/123/income_tax/mtd/2026-04-05",
        "period_ends_on": "2026-04-05",
        "period_starts_on": "2025-04-06",
        "estimated_total_tax_due": "4210.55",
        "payments": [
            {
                "label": "Payment",
                "amount_due": "4210.55",
                "due_on": "2027-01-31",
                "status": "unpaid"
            }
        ],
        "quarterly_period_type": "standard",
        "submission_deadlines": [
            {
                "type": "q1_update",
                "label": "Q1 update",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2025-07-05",
                "filing_starts_on": "2025-07-05",
                "filing_due_on": "2025-08-05",
                "status": "filed",
                "status_label": "Filed"
            },
            {
                "type": "q2_update",
                "label": "Q2 update",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2025-10-05",
                "filing_starts_on": "2025-10-05",
                "filing_due_on": "2025-11-05",
                "status": "filed",
                "status_label": "Filed"
            },
            {
                "type": "q3_update",
                "label": "Q3 update",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2026-01-05",
                "filing_starts_on": "2026-01-05",
                "filing_due_on": "2026-02-05",
                "status": "unfiled",
                "status_label": "Unfiled"
            },
            {
                "type": "q4_update",
                "label": "Q4 update",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2026-04-05",
                "filing_starts_on": "2026-04-05",
                "filing_due_on": "2026-05-05",
                "status": "unfiled",
                "status_label": "Unfiled"
            },
            {
                "type": "end_of_year",
                "label": "End of Year update",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2026-04-05",
                "filing_starts_on": "2026-04-06",
                "filing_due_on": "2027-01-31",
                "status": "unfiled",
                "status_label": "Unfiled"
            },
            {
                "type": "final_declaration",
                "label": "Final Declaration",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2026-04-05",
                "filing_starts_on": "2026-04-06",
                "filing_due_on": "2027-01-31",
                "status": "unfiled",
                "status_label": "Unfiled"
            }
        ],
        "current_submission": {
            "status": "succeeded",
            "status_label": "Succeeded",
            "submitted_by_url": "https://api.freeagent.com/v2/users/123",
            "type": "update",
            "label": "Q2 update",
            "accounts_dated_to": "2025-10-05"
        },
        "current_calculation": {
            "type": "in_year",
            "status": "complete",
            "timestamp": "2025-10-06T10:51:11.000Z",
            "total_income_tax_and_nics_due": "4210.55"
        }
    }
}
Show as XML
<?xml version="1.0" encoding="UTF-8"?>
<freeagent>
    <income-tax-return>
        <url>https://api.freeagent.com/v2/users/123/income_tax/mtd/2026-04-05</url>
        <period-ends-on type="date">2026-04-05</period-ends-on>
        <period-starts-on type="date">2025-04-06</period-starts-on>
        <estimated-total-tax-due type="decimal">4210.55</estimated-total-tax-due>
        <payments type="array">
            <payment>
                <label>Payment</label>
                <amount-due type="decimal">4210.55</amount-due>
                <due-on type="date">2027-01-31</due-on>
                <status>unpaid</status>
            </payment>
        </payments>
        <quarterly-period-type>standard</quarterly-period-type>
        <submission-deadlines type="array">
            <submission-deadline>
                <type>q1_update</type>
                <label>Q1 update</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2025-07-05</accounting-period-ends-on>
                <filing-starts-on type="date">2025-07-05</filing-starts-on>
                <filing-due-on type="date">2025-08-05</filing-due-on>
                <status>filed</status>
                <status-label>Filed</status-label>
            </submission-deadline>
            <submission-deadline>
                <type>q2_update</type>
                <label>Q2 update</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2025-10-05</accounting-period-ends-on>
                <filing-starts-on type="date">2025-10-05</filing-starts-on>
                <filing-due-on type="date">2025-11-05</filing-due-on>
                <status>filed</status>
                <status-label>Filed</status-label>
            </submission-deadline>
            <submission-deadline>
                <type>q3_update</type>
                <label>Q3 update</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2026-01-05</accounting-period-ends-on>
                <filing-starts-on type="date">2026-01-05</filing-starts-on>
                <filing-due-on type="date">2026-02-05</filing-due-on>
                <status>unfiled</status>
                <status-label>Unfiled</status-label>
            </submission-deadline>
            <submission-deadline>
                <type>q4_update</type>
                <label>Q4 update</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2026-04-05</accounting-period-ends-on>
                <filing-starts-on type="date">2026-04-05</filing-starts-on>
                <filing-due-on type="date">2026-05-05</filing-due-on>
                <status>unfiled</status>
                <status-label>Unfiled</status-label>
            </submission-deadline>
            <submission-deadline>
                <type>end_of_year</type>
                <label>End of Year update</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2026-04-05</accounting-period-ends-on>
                <filing-starts-on type="date">2026-04-06</filing-starts-on>
                <filing-due-on type="date">2027-01-31</filing-due-on>
                <status>unfiled</status>
                <status-label>Unfiled</status-label>
            </submission-deadline>
            <submission-deadline>
                <type>final_declaration</type>
                <label>Final Declaration</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2026-04-05</accounting-period-ends-on>
                <filing-starts-on type="date">2026-04-06</filing-starts-on>
                <filing-due-on type="date">2027-01-31</filing-due-on>
                <status>unfiled</status>
                <status-label>Unfiled</status-label>
            </submission-deadline>
        </submission-deadlines>
        <current-submission>
            <status>succeeded</status>
            <status-label>Succeeded</status-label>
            <submitted-by-url>https://api.freeagent.com/v2/users/123</submitted-by-url>
            <type>update</type>
            <label>Q2 update</label>
            <accounts-dated-to type="date">2025-10-05</accounts-dated-to>
        </current-submission>
        <current-calculation>
            <type>in_year</type>
            <status>complete</status>
            <timestamp type="dateTime">2025-10-06T10:51:11.000Z</timestamp>
            <total-income-tax-and-nics-due type="decimal">4210.55</total-income-tax-and-nics-due>
        </current-calculation>
    </income-tax-return>
</freeagent>
Show as JSON

Errors

Status When
400 payment_date is missing or is not a valid date
403 The authenticated user is not permitted to mark the payment
404 The tax year is reported through Self Assessment rather than MTD
422 The payment cannot be marked as unpaid

Mark MTD Income Tax Quarterly Updates as Filed

Minimum access level: Full Access

PUT https://api.freeagent.com/v2/users/:user_id/income_tax/mtd/:period_ends_on/submissions/update/:update_to_date/mark_as_filed

Records in FreeAgent that the user's quarterly updates up to and including the one ending on update_to_date were filed with HMRC outside FreeAgent. update_to_date is the accounting_period_ends_on date of the last quarterly update to mark as filed; every unfiled quarterly update period ending on or before this date is marked as filed. The affected submission deadlines move to the marked_as_filed status.

This does not send anything to HMRC.

Responds with the whole return, as Fetch details for an MTD Income Tax Return does.

Response

Status: 200 OK
{
    "income_tax_return": {
        "url": "https://api.freeagent.com/v2/users/123/income_tax/mtd/2026-04-05",
        "period_ends_on": "2026-04-05",
        "period_starts_on": "2025-04-06",
        "estimated_total_tax_due": "4210.55",
        "payments": [
            {
                "label": "Payment",
                "amount_due": "4210.55",
                "due_on": "2027-01-31",
                "status": "unpaid"
            }
        ],
        "quarterly_period_type": "standard",
        "submission_deadlines": [
            {
                "type": "q1_update",
                "label": "Q1 update",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2025-07-05",
                "filing_starts_on": "2025-07-05",
                "filing_due_on": "2025-08-05",
                "status": "filed",
                "status_label": "Filed"
            },
            {
                "type": "q2_update",
                "label": "Q2 update",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2025-10-05",
                "filing_starts_on": "2025-10-05",
                "filing_due_on": "2025-11-05",
                "status": "filed",
                "status_label": "Filed"
            },
            {
                "type": "q3_update",
                "label": "Q3 update",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2026-01-05",
                "filing_starts_on": "2026-01-05",
                "filing_due_on": "2026-02-05",
                "status": "marked_as_filed",
                "status_label": "Marked as filed"
            },
            {
                "type": "q4_update",
                "label": "Q4 update",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2026-04-05",
                "filing_starts_on": "2026-04-05",
                "filing_due_on": "2026-05-05",
                "status": "unfiled",
                "status_label": "Unfiled"
            },
            {
                "type": "end_of_year",
                "label": "End of Year update",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2026-04-05",
                "filing_starts_on": "2026-04-06",
                "filing_due_on": "2027-01-31",
                "status": "unfiled",
                "status_label": "Unfiled"
            },
            {
                "type": "final_declaration",
                "label": "Final Declaration",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2026-04-05",
                "filing_starts_on": "2026-04-06",
                "filing_due_on": "2027-01-31",
                "status": "unfiled",
                "status_label": "Unfiled"
            }
        ],
        "current_submission": {
            "status": "succeeded",
            "status_label": "Succeeded",
            "submitted_by_url": "https://api.freeagent.com/v2/users/123",
            "type": "update",
            "label": "Q2 update",
            "accounts_dated_to": "2025-10-05"
        },
        "current_calculation": {
            "type": "in_year",
            "status": "complete",
            "timestamp": "2025-10-06T10:51:11.000Z",
            "total_income_tax_and_nics_due": "4210.55"
        }
    }
}
Show as XML
<?xml version="1.0" encoding="UTF-8"?>
<freeagent>
    <income-tax-return>
        <url>https://api.freeagent.com/v2/users/123/income_tax/mtd/2026-04-05</url>
        <period-ends-on type="date">2026-04-05</period-ends-on>
        <period-starts-on type="date">2025-04-06</period-starts-on>
        <estimated-total-tax-due type="decimal">4210.55</estimated-total-tax-due>
        <payments type="array">
            <payment>
                <label>Payment</label>
                <amount-due type="decimal">4210.55</amount-due>
                <due-on type="date">2027-01-31</due-on>
                <status>unpaid</status>
            </payment>
        </payments>
        <quarterly-period-type>standard</quarterly-period-type>
        <submission-deadlines type="array">
            <submission-deadline>
                <type>q1_update</type>
                <label>Q1 update</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2025-07-05</accounting-period-ends-on>
                <filing-starts-on type="date">2025-07-05</filing-starts-on>
                <filing-due-on type="date">2025-08-05</filing-due-on>
                <status>filed</status>
                <status-label>Filed</status-label>
            </submission-deadline>
            <submission-deadline>
                <type>q2_update</type>
                <label>Q2 update</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2025-10-05</accounting-period-ends-on>
                <filing-starts-on type="date">2025-10-05</filing-starts-on>
                <filing-due-on type="date">2025-11-05</filing-due-on>
                <status>filed</status>
                <status-label>Filed</status-label>
            </submission-deadline>
            <submission-deadline>
                <type>q3_update</type>
                <label>Q3 update</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2026-01-05</accounting-period-ends-on>
                <filing-starts-on type="date">2026-01-05</filing-starts-on>
                <filing-due-on type="date">2026-02-05</filing-due-on>
                <status>marked_as_filed</status>
                <status-label>Marked as filed</status-label>
            </submission-deadline>
            <submission-deadline>
                <type>q4_update</type>
                <label>Q4 update</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2026-04-05</accounting-period-ends-on>
                <filing-starts-on type="date">2026-04-05</filing-starts-on>
                <filing-due-on type="date">2026-05-05</filing-due-on>
                <status>unfiled</status>
                <status-label>Unfiled</status-label>
            </submission-deadline>
            <submission-deadline>
                <type>end_of_year</type>
                <label>End of Year update</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2026-04-05</accounting-period-ends-on>
                <filing-starts-on type="date">2026-04-06</filing-starts-on>
                <filing-due-on type="date">2027-01-31</filing-due-on>
                <status>unfiled</status>
                <status-label>Unfiled</status-label>
            </submission-deadline>
            <submission-deadline>
                <type>final_declaration</type>
                <label>Final Declaration</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2026-04-05</accounting-period-ends-on>
                <filing-starts-on type="date">2026-04-06</filing-starts-on>
                <filing-due-on type="date">2027-01-31</filing-due-on>
                <status>unfiled</status>
                <status-label>Unfiled</status-label>
            </submission-deadline>
        </submission-deadlines>
        <current-submission>
            <status>succeeded</status>
            <status-label>Succeeded</status-label>
            <submitted-by-url>https://api.freeagent.com/v2/users/123</submitted-by-url>
            <type>update</type>
            <label>Q2 update</label>
            <accounts-dated-to type="date">2025-10-05</accounts-dated-to>
        </current-submission>
        <current-calculation>
            <type>in_year</type>
            <status>complete</status>
            <timestamp type="dateTime">2025-10-06T10:51:11.000Z</timestamp>
            <total-income-tax-and-nics-due type="decimal">4210.55</total-income-tax-and-nics-due>
        </current-calculation>
    </income-tax-return>
</freeagent>
Show as JSON

Errors

Status When
403 The authenticated user is not permitted to mark the updates as filed
404 The tax year is reported through Self Assessment rather than MTD
422 Any of the affected update periods is already filed, or update_to_date is missing or is not a valid date

Mark MTD Income Tax Quarterly Updates as Unfiled

Minimum access level: Full Access

PUT https://api.freeagent.com/v2/users/:user_id/income_tax/mtd/:period_ends_on/submissions/update/:update_from_date/mark_as_unfiled

Undoes Mark MTD Income Tax Quarterly Updates as Filed for the user's quarterly updates from the one ending on update_from_date onwards, so that they return to the unfiled status. update_from_date is the accounting_period_ends_on date of the first quarterly update to mark as unfiled; every manually filed quarterly update period ending on or after this date is marked as unfiled.

Only update periods that were marked as filed manually can be unmarked; periods FreeAgent filed with HMRC itself cannot.

Responds with the whole return, as Fetch details for an MTD Income Tax Return does.

Response

Status: 200 OK
{
    "income_tax_return": {
        "url": "https://api.freeagent.com/v2/users/123/income_tax/mtd/2026-04-05",
        "period_ends_on": "2026-04-05",
        "period_starts_on": "2025-04-06",
        "estimated_total_tax_due": "4210.55",
        "payments": [
            {
                "label": "Payment",
                "amount_due": "4210.55",
                "due_on": "2027-01-31",
                "status": "unpaid"
            }
        ],
        "quarterly_period_type": "standard",
        "submission_deadlines": [
            {
                "type": "q1_update",
                "label": "Q1 update",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2025-07-05",
                "filing_starts_on": "2025-07-05",
                "filing_due_on": "2025-08-05",
                "status": "filed",
                "status_label": "Filed"
            },
            {
                "type": "q2_update",
                "label": "Q2 update",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2025-10-05",
                "filing_starts_on": "2025-10-05",
                "filing_due_on": "2025-11-05",
                "status": "filed",
                "status_label": "Filed"
            },
            {
                "type": "q3_update",
                "label": "Q3 update",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2026-01-05",
                "filing_starts_on": "2026-01-05",
                "filing_due_on": "2026-02-05",
                "status": "unfiled",
                "status_label": "Unfiled"
            },
            {
                "type": "q4_update",
                "label": "Q4 update",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2026-04-05",
                "filing_starts_on": "2026-04-05",
                "filing_due_on": "2026-05-05",
                "status": "unfiled",
                "status_label": "Unfiled"
            },
            {
                "type": "end_of_year",
                "label": "End of Year update",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2026-04-05",
                "filing_starts_on": "2026-04-06",
                "filing_due_on": "2027-01-31",
                "status": "unfiled",
                "status_label": "Unfiled"
            },
            {
                "type": "final_declaration",
                "label": "Final Declaration",
                "accounting_period_starts_on": "2025-04-06",
                "accounting_period_ends_on": "2026-04-05",
                "filing_starts_on": "2026-04-06",
                "filing_due_on": "2027-01-31",
                "status": "unfiled",
                "status_label": "Unfiled"
            }
        ],
        "current_submission": {
            "status": "succeeded",
            "status_label": "Succeeded",
            "submitted_by_url": "https://api.freeagent.com/v2/users/123",
            "type": "update",
            "label": "Q2 update",
            "accounts_dated_to": "2025-10-05"
        },
        "current_calculation": {
            "type": "in_year",
            "status": "complete",
            "timestamp": "2025-10-06T10:51:11.000Z",
            "total_income_tax_and_nics_due": "4210.55"
        }
    }
}
Show as XML
<?xml version="1.0" encoding="UTF-8"?>
<freeagent>
    <income-tax-return>
        <url>https://api.freeagent.com/v2/users/123/income_tax/mtd/2026-04-05</url>
        <period-ends-on type="date">2026-04-05</period-ends-on>
        <period-starts-on type="date">2025-04-06</period-starts-on>
        <estimated-total-tax-due type="decimal">4210.55</estimated-total-tax-due>
        <payments type="array">
            <payment>
                <label>Payment</label>
                <amount-due type="decimal">4210.55</amount-due>
                <due-on type="date">2027-01-31</due-on>
                <status>unpaid</status>
            </payment>
        </payments>
        <quarterly-period-type>standard</quarterly-period-type>
        <submission-deadlines type="array">
            <submission-deadline>
                <type>q1_update</type>
                <label>Q1 update</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2025-07-05</accounting-period-ends-on>
                <filing-starts-on type="date">2025-07-05</filing-starts-on>
                <filing-due-on type="date">2025-08-05</filing-due-on>
                <status>filed</status>
                <status-label>Filed</status-label>
            </submission-deadline>
            <submission-deadline>
                <type>q2_update</type>
                <label>Q2 update</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2025-10-05</accounting-period-ends-on>
                <filing-starts-on type="date">2025-10-05</filing-starts-on>
                <filing-due-on type="date">2025-11-05</filing-due-on>
                <status>filed</status>
                <status-label>Filed</status-label>
            </submission-deadline>
            <submission-deadline>
                <type>q3_update</type>
                <label>Q3 update</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2026-01-05</accounting-period-ends-on>
                <filing-starts-on type="date">2026-01-05</filing-starts-on>
                <filing-due-on type="date">2026-02-05</filing-due-on>
                <status>unfiled</status>
                <status-label>Unfiled</status-label>
            </submission-deadline>
            <submission-deadline>
                <type>q4_update</type>
                <label>Q4 update</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2026-04-05</accounting-period-ends-on>
                <filing-starts-on type="date">2026-04-05</filing-starts-on>
                <filing-due-on type="date">2026-05-05</filing-due-on>
                <status>unfiled</status>
                <status-label>Unfiled</status-label>
            </submission-deadline>
            <submission-deadline>
                <type>end_of_year</type>
                <label>End of Year update</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2026-04-05</accounting-period-ends-on>
                <filing-starts-on type="date">2026-04-06</filing-starts-on>
                <filing-due-on type="date">2027-01-31</filing-due-on>
                <status>unfiled</status>
                <status-label>Unfiled</status-label>
            </submission-deadline>
            <submission-deadline>
                <type>final_declaration</type>
                <label>Final Declaration</label>
                <accounting-period-starts-on type="date">2025-04-06</accounting-period-starts-on>
                <accounting-period-ends-on type="date">2026-04-05</accounting-period-ends-on>
                <filing-starts-on type="date">2026-04-06</filing-starts-on>
                <filing-due-on type="date">2027-01-31</filing-due-on>
                <status>unfiled</status>
                <status-label>Unfiled</status-label>
            </submission-deadline>
        </submission-deadlines>
        <current-submission>
            <status>succeeded</status>
            <status-label>Succeeded</status-label>
            <submitted-by-url>https://api.freeagent.com/v2/users/123</submitted-by-url>
            <type>update</type>
            <label>Q2 update</label>
            <accounts-dated-to type="date">2025-10-05</accounts-dated-to>
        </current-submission>
        <current-calculation>
            <type>in_year</type>
            <status>complete</status>
            <timestamp type="dateTime">2025-10-06T10:51:11.000Z</timestamp>
            <total-income-tax-and-nics-due type="decimal">4210.55</total-income-tax-and-nics-due>
        </current-calculation>
    </income-tax-return>
</freeagent>
Show as JSON

Errors

Status When
403 The authenticated user is not permitted to mark the updates as unfiled
404 The tax year is reported through Self Assessment rather than MTD
422 There is nothing to unmark, or update_from_date is missing or is not a valid date