---
title: "DeclarationsByYearSinceModified (Twinfield)"
description: "Declarations by Year Since Modified"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/twinfield/Twinfield.Twinfield.DeclarationsByYearSinceModified
original: https://documentation.invantive.eu/en/datamodels/twinfield/Twinfield.Twinfield.DeclarationsByYearSinceModified
updated: 2026-11-01T17:45:47Z
license: https://documentation.invantive.eu/en/
---

# DeclarationsByYearSinceModified: Twinfield Declarations by Year Since Modified

`read only` `per partition` `XML`

- Catalog: `Twinfield`
- Schema: `Twinfield`
- Label: Declarations by Year Since Modified

The data in this table is partitioned per value of the `COMPANY_CODE` column.

Can only retrieve data.

## Summary

Declaration summaries of one declaration year, changed on or after a moment. An asterisk as company code answers for every company of the organisation the user may see.

## API Source

- XML service: `webservices/declarations.asmx`
- XML topic: `DeclarationsByYearSinceModified`
- XML path: `/tns:vatReturn/tns:DeclarationSummary`
- SOAP action: `GetRangeOfSummariesByDeclarationYearAndSinceModified`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Average access latency (ms) | 54 |
| Full scan rows per minute | 1,690 |
| Point query rows per minute | 1,111 |
| Write rows per minute | 823 |

The result can be cached on the client.

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `COMPANY_CODE` | `` | [ ] |  | Code of company. |
| `count` | `` | [x] |  | Count. |
| `declarationYear` | `` | [x] |  | Year of the declaration. |
| `modifiedSince` | `` | [x] |  | Only declarations modified or generated on or after this moment. |
| `startIndex` | `` | [x] |  | Start index. |

## Table Columns

The columns of the table `DeclarationsByYearSinceModified` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `ASSIGNEECODE` | `varchar2` | Tfd Assignee Code | [ ] | `/soap:Envelope/soap:Body/tns:GetRangeOfSummariesByDeclarationYearAndSinceModifiedResponse/tns:vatReturn/tns:DeclarationSummary/tns:Assignee/tns:Code` |  |
| `ASSIGNEENAME` | `varchar2` | Tfd Assignee Name | [ ] | `/soap:Envelope/soap:Body/tns:GetRangeOfSummariesByDeclarationYearAndSinceModifiedResponse/tns:vatReturn/tns:DeclarationSummary/tns:Assignee/tns:Name` |  |
| `COMPANY_CODE` | `varchar2` | Company ID | [x] |  |  |
| `COMPANY_NAME` | `varchar2` | Company Name | [x] |  |  |
| `DOCUMENTCODE` | `varchar2` | Tfd Document Code | [ ] | `/soap:Envelope/soap:Body/tns:GetRangeOfSummariesByDeclarationYearAndSinceModifiedResponse/tns:vatReturn/tns:DeclarationSummary/tns:DocumentCode` |  |
| `ID` | `int32` | Tfd ID | [x] | `/soap:Envelope/soap:Body/tns:GetRangeOfSummariesByDeclarationYearAndSinceModifiedResponse/tns:vatReturn/tns:DeclarationSummary/tns:Id` |  |
| `NAME` | `varchar2` | Tfd Name | [ ] | `/soap:Envelope/soap:Body/tns:GetRangeOfSummariesByDeclarationYearAndSinceModifiedResponse/tns:vatReturn/tns:DeclarationSummary/tns:Name` |  |
| `PERIOD` | `varchar2` | Tfd Period | [x] | `/soap:Envelope/soap:Body/tns:GetRangeOfSummariesByDeclarationYearAndSinceModifiedResponse/tns:vatReturn/tns:DeclarationSummary/tns:DocumentTimeFrame/tns:Period` |  |
| `STATUSDESCRIPTION` | `varchar2` | Tfd Status Description | [ ] | `/soap:Envelope/soap:Body/tns:GetRangeOfSummariesByDeclarationYearAndSinceModifiedResponse/tns:vatReturn/tns:DeclarationSummary/tns:Status/tns:Description` |  |
| `STATUSEXTRAINFORMATION` | `varchar2` | Tfd Status Extra Information | [ ] | `/soap:Envelope/soap:Body/tns:GetRangeOfSummariesByDeclarationYearAndSinceModifiedResponse/tns:vatReturn/tns:DeclarationSummary/tns:Status/tns:ExtraInformation` |  |
| `STATUSSTEP` | `int32` | Tfd Status Step | [x] | `/soap:Envelope/soap:Body/tns:GetRangeOfSummariesByDeclarationYearAndSinceModifiedResponse/tns:vatReturn/tns:DeclarationSummary/tns:Status/tns:StepIndex` | Status: 1 = Created, 2 = Modified, 3 = Sending, 4 = Error while sending, 5 = Sent, 6 = Rejected, 7 = Approved, 8 = Authorized. |
| `YEAR` | `int32` | Tfd Year | [x] | `/soap:Envelope/soap:Body/tns:GetRangeOfSummariesByDeclarationYearAndSinceModifiedResponse/tns:vatReturn/tns:DeclarationSummary/tns:DocumentTimeFrame/tns:Year` |  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Twinfield](/en/release-notes/drivers?driver=twinfield)

### Changes of This Table, 26.0 to 27.0

<div class="rn-item" id="TFD-27.0-D023">

##### Table function Twinfield.Twinfield.DeclarationsByYearSinceModified is added

The table function has 12 columns and can select.

<div class="rn-chips">

- importance 3

</div>

</div>

[All changes of the driver, 26.0 to 27.0](/en/release-notes/drivers?driver=twinfield&step=26.0-to-27.0#twinfield-26.0-to-27.0)

