Skip to content

Commit

Permalink
MTDSA-27789 Fix OAS to add note, schemas and examples to remove menti…
Browse files Browse the repository at this point in the history
…ons of tax years after 2024-25 for Property Income & Expenses Period Summary endpoints
  • Loading branch information
Taiwo-AB committed Dec 13, 2024
1 parent 5f69fa3 commit 31ce27a
Show file tree
Hide file tree
Showing 12 changed files with 46 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ description: |
In the case of Non-FHL Foreign Property, if there are multiple properties per country, the income and expenses should be the total across all properties.
A National Insurance number, business ID, tax year and submission ID are required.
Note: This endpoint only supports submissions up to tax year 2024-25. New endpoints which support cumulative submission
are provided for tax year 2025-26 onwards.
<strong>Note: This endpoint only supports submissions up to tax year 2024-25. New endpoints which support cumulative submission
are provided for tax year 2025-26 onwards</strong>.
### Test data
Scenario simulation using Gov-Test-Scenario headers is only available in the sandbox environment.
Expand Down Expand Up @@ -45,20 +45,16 @@ requestBody:
- $ref: './schemas/foreign_property_period_summary_amend/def1/request.json'
- $ref: './schemas/foreign_property_period_summary_amend/def2/request.json'
examples:
full-expenses-request:
description: Full Expenses request for TY 2023-24 and before
Full Expenses request for TY 2023-24 and before:
value:
$ref: './examples/foreign_property_period_summary_amend/def1/request.json'
consolidated-expenses-request:
description: Consolidated Expenses request for TY 2023-24 and before
Consolidated Expenses request for TY 2023-24 and before:
value:
$ref: './examples/foreign_property_period_summary_amend/def1/consolidated_request.json'
full-expenses-request-for-TY-2024-25:
description: Full Expenses request for TY 2024-25 and after
Full Expenses request for TY 2024-25:
value:
$ref: './examples/foreign_property_period_summary_amend/def2/request.json'
consolidated-expenses-request-for-TY-2024-25:
description: Consolidated Expenses request for TY 2024-25 and after
Consolidated Expenses request for TY 2024-25:
value:
$ref: './examples/foreign_property_period_summary_amend/def2/consolidated_request.json'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ post:
In the case of Non-FHL Foreign Property, if there are multiple properties per country, the income and expenses should be the total across all properties.
A National Insurance number, tax year and business ID are required.
Note: This endpoint only supports submissions up to tax year 2024-25. New endpoints which support cumulative submission
are provided for tax year 2025-26 onwards.
<strong>Note: This endpoint only supports submissions up to tax year 2024-25. New endpoints which support cumulative submission
are provided for tax year 2025-26 onwards</strong>.
### Test data
Scenario simulation using Gov-Test-Scenario headers is only available in the sandbox environment.
Expand Down Expand Up @@ -49,20 +49,16 @@ post:
- $ref: './schemas/foreign_property_period_summary_create/def1/request.json'
- $ref: './schemas/foreign_property_period_summary_create/def2/request.json'
examples:
full-expenditure-request-for-TY-2023-24:
description: Full Expenditure request for TY 2023-24 and before
Full Expenses request for TY 2023-24 and before:
value:
$ref: './examples/foreign_property_period_summary_create/def1/request.json'
consolidated-expenditure-request-for-TY-2023-24:
description: Consolidated Expenditure request for TY 2023-24 and before
Consolidated Expenses request for TY 2023-24 and before:
value:
$ref: './examples/foreign_property_period_summary_create/def1/consolidated_request.json'
full-expenditure-request-for-TY-2024-25:
description: Full Expenditure request for TY 2024-25 and after
Full Expenses request for TY 2024-25:
value:
$ref: './examples/foreign_property_period_summary_create/def2/request.json'
consolidated-expenditure-request-for-TY-2024-25:
description: Consolidated Expenditure request for TY 2024-25 and after
Consolidated Expenses request for TY 2024-25:
value:
$ref: './examples/foreign_property_period_summary_create/def2/consolidated_request.json'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ description: |
This endpoint allows a developer to retrieve the income and expenses for a Foreign Property business, using the submission ID for either or both of Furnished Holiday Lettings (FHL) in the European Economic Area (EEA) and all other Foreign Property submissions.
A National Insurance number, business ID, and tax year are required.
Note: This endpoint only supports submissions up to tax year 2024-25. New endpoints which support cumulative submission
are provided for tax year 2025-26 onwards.
<strong>Note: This endpoint only supports submissions up to tax year 2024-25. New endpoints which support cumulative submission
are provided for tax year 2025-26 onwards</strong>.
### Test data
Scenario simulation using Gov-Test-Scenario headers is only available in the sandbox environment.
Expand Down Expand Up @@ -56,20 +56,16 @@ responses:
- $ref: './schemas/foreign_property_period_summary_retrieve/def1/response.json'
- $ref: './schemas/foreign_property_period_summary_retrieve/def2/response.json'
examples:
full-expenses-response-for-TY-2023-24:
description: Full Expenses Response for TY 2023-24 and before
Full Expenses response for TY 2023-24 and before:
value:
$ref: './examples/foreign_property_period_summary_retrieve/def1/response.json'
consolidated-expenses-response-for-TY-2023-24:
description: Full Consolidated Expenses Response for TY 2023-24 and before
Consolidated Expenses response for TY 2023-24 and before:
value:
$ref: './examples/foreign_property_period_summary_retrieve/def1/consolidated_response.json'
full-expenses-response-for-TY-2024-25:
description: Full Expenses Response for TY 2024-25 and after
Full Expenses response for TY 2024-25:
value:
$ref: './examples/foreign_property_period_summary_retrieve/def2/response.json'
consolidated-expenses-response-for-TY-2024-25:
description: Full Consolidated Expenses Response for TY 2024-25 and after
Consolidated Expenses response for TY 2024-25:
value:
$ref: './examples/foreign_property_period_summary_retrieve/def2/consolidated_response.json'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "For TY 2024-25 and after",
"title": "For TY 2024-25",
"description": "This endpoint allows a developer to amend the income and expenses for a foreign property business. This submission is for either or both of Furnished Holiday Letting (FHL) in the European Economic Area (EEA) and all other foreign property submissions. A National Insurance number, business ID, tax year and submission ID are required.",
"type": "object",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "For TY 2024-25 and after",
"title": "For TY 2024-25",
"description": "This endpoint allows the developer to submit the income and expenses for a foreign property business that occurred between two dates. This submission is for either or both of Furnished Holiday Lettings (FHL) in the European Economic Area (EEA) and all other foreign Property submissions. A National Insurance number, tax year and business ID are required.",
"type": "object",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "For TY 2024-25 and after",
"title": "For TY 2024-25",
"description": "Retrieve a Foreign Property Income & Expenditure Period Summary",
"type": "object",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "For TY 2024-25 and after",
"title": "For TY 2024-25",

"description": "This endpoint allows a developer to re-submit the income and expenditure for a UK property business. This submission is for either or both of Furnished Holiday Letting (FHL) and Non FHL UK property submissions. A National Insurance number, business ID, tax year and submission ID are required.",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "For TY 2024-25 and after",
"title": "For TY 2024-25",
"description": "This endpoint allows the developer to submit the income and expenses for a foreign property business that occurred between two dates. This submission is for either or both of Furnished Holiday Lettings (FHL) in the European Economic Area (EEA) and all other foreign Property submissions. A National Insurance number and business ID are required.",
"type": "object",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ get:
description: |
This endpoint enables you to list the period summaries associated with UK or foreign Properties. A National Insurance number, tax year and business ID are required.
Note: This endpoint only supports submissions up to tax year 2024-25. New endpoints which support cumulative submission are provided for tax year 2025-26 onwards.
<strong>Note: This endpoint only supports submissions up to tax year 2024-25.
New endpoints which support cumulative submission are provided for tax year 2025-26 onwards</strong>.
### Test data
Scenario simulation using Gov-Test-Scenario headers is only available in the sandbox environment.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
summary: Amend a UK Property Income & Expenses Period Summary
description: |
This endpoint allows a developer to re-submit the income and expenditure for a UK property business. This submission is for either or both of Furnished Holiday Letting (FHL) and Non FHL UK property submissions. A National Insurance number, business ID, tax year and submission ID are required.
<strong>Note: This endpoint only supports submissions up to tax year 2024-25.
New endpoints which support cumulative submission are provided for tax year 2025-26 onwards</strong>.
### Test data
Scenario simulation using Gov-Test-Scenario headers is only available in the sandbox environment.
Expand Down Expand Up @@ -38,20 +41,16 @@ requestBody:
- $ref: './schemas/uk_property_period_summary_amend/def1/request.json'
- $ref: './schemas/uk_property_period_summary_amend/def2/request.json'
examples:
full-expenses-request:
description: Full Expenses request for TY 2023-24 and before
Full Expenses request for TY 2023-24 and before:
value:
$ref: './examples/uk_property_period_summary_amend/def1/request.json'
consolidated-expenses-request:
description: Consolidated Expenses request for TY 2023-24 and before
Consolidated Expenses request for TY 2023-24 and before:
value:
$ref: './examples/uk_property_period_summary_amend/def1/consolidated_request.json'
full-expenses-request-for-TY-2024-25:
description: Full Expenses request for TY 2024-25 and after
Full Expenses request for TY 2024-25:
value:
$ref: './examples/uk_property_period_summary_amend/def2/request.json'
consolidated-expenses-request-for-TY-2024-25:
description: Consolidated Expenses request for TY 2024-25 and after
Consolidated Expenses request for TY 2024-25:
value:
$ref: './examples/uk_property_period_summary_amend/def2/consolidated_request.json'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ post:
This endpoint allows a developer to submit the income and expenses for a UK property business. This submission is
for either or both of Furnished Holiday Letting (FHL) and Non FHL UK property submissions. A National Insurance
number, business ID and tax year are required.
<strong>Note: This endpoint only supports submissions up to tax year 2024-25.
New endpoints which support cumulative submission are provided for tax year 2025-26 onwards</strong>.
### Test data
Scenario simulation using Gov-Test-Scenario headers is only available in the sandbox environment.
Expand Down Expand Up @@ -44,20 +47,16 @@ post:
- $ref: './schemas/uk_property_period_summary_create/def1/request.json'
- $ref: './schemas/uk_property_period_summary_create/def2/request.json'
examples:
full-expense-request-for-TY-2021-22:
description: Full Expenses request for TY 2023-24 and before
Full Expenses request for TY 2023-24 and before:
value:
$ref: './examples/uk_property_period_summary_create/def1/request.json'
consolidated-expense-request-for-TY-2021-22:
description: Consolidated Expenses request for TY 2023-24 and before
Consolidated Expenses request for TY 2023-24 and before:
value:
$ref: './examples/uk_property_period_summary_create/def1/consolidated_request.json'
full-expense-request-for-TY-2024-25:
description: Full Expenses request for TY 2024-25 and after
Full Expenses request for TY 2024-25:
value:
$ref: './examples/uk_property_period_summary_create/def2/request.json'
consolidated-expense-request-for-TY-2024-25:
description: Consolidated Expenses request for TY 2024-25 and after
Consolidated Expenses request for TY 2024-25:
value:
$ref: './examples/uk_property_period_summary_create/def2/consolidated_request.json'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ summary: Retrieve a UK Property Income & Expenses Period Summary
description: |
This endpoint allows a developer to retrieve the income and expenses for a UK property business, that occurred between tax year. A National Insurance number, business ID, tax year and submission ID are required.
<strong>Note: This endpoint only supports submissions up to tax year 2024-25.
New endpoints which support cumulative submission are provided for tax year 2025-26 onwards</strong>.
### Test data
Scenario simulation using Gov-Test-Scenario headers is only available in the sandbox environment.
Expand Down Expand Up @@ -53,20 +56,16 @@ responses:
- $ref: './schemas/uk_property_period_summary_retrieve/def1/response.json'
- $ref: './schemas/uk_property_period_summary_retrieve/def2/response.json'
examples:
full-expense-response-for-TY-2022-23:
description: Full Expenditure response for TY 2023-24 and before
Full Expenses response for TY 2023-24 and before:
value:
$ref: './examples/uk_property_period_summary_retrieve/def1/response.json'
consolidated-expense-response-for-TY-2022-23:
description: Consolidated Expenditure response for TY 2023-24 and before
Consolidated Expenses response for TY 2023-24 and before:
value:
$ref: './examples/uk_property_period_summary_retrieve/def1/consolidated_response.json'
full-expense-response-for-TY-2024-25:
description: Full Expenditure response for TY 2024-25 and after
Full Expenses response for TY 2024-25:
value:
$ref: './examples/uk_property_period_summary_retrieve/def2/response.json'
consolidated-expense-response-for-TY-2024-25:
description: Consolidated Expenses request for TY 2024-25 and after
Consolidated Expenses response for TY 2024-25:
value:
$ref: './examples/uk_property_period_summary_retrieve/def2/consolidated_response.json'

Expand Down

0 comments on commit 31ce27a

Please sign in to comment.