GET declaration/updates?declarationType={declarationType}&year={year}

This feature is not available in all subscriptions. Contact your accountmanager for more information.

This returns a list of all declarations for the requested type and year. The output is a JSON-file of the requested type / year showing the unique ID’s of the customer and declaration together with (when available/applicable) current state of the declaration, last modified date and start/end-date of the fiscal period. If the last modifieddate is blank or hasn't changed since previous request, you can skip the declaration since there won't be any changes to the content.

For this purpose, only these declarationTypes are supported:

  • 4 (IncomeTax).
  • 6 (ValueAddedTax).
  • 15 (CorporateTax).

Request Information

URI Parameters

NameDescriptionTypeAdditional information
declarationType

The type of the declaration.

FiscaalGemak.Core.Models.Models.DeclarationType

Required

year

The year of the declarations.

integer

Required

Body Parameters

None.

Response Information

Resource Description

The DeclarationUpdateViewModel, containing information about the declaration updates.

Collection of FiscaalGemak.Web.Api.Models.Models.DeclarationUpdateViewModel
NameDescriptionTypeAdditional information
LastUpdateDate

Shows the last modification date, blank if never edited.

date

None.

ClientId

The unique ClientId which can be used to map to the CRM-data.

integer

None.

CurrentStepName

Shows the state the declaration is in workflow wise.

string

None.

DeclarationId

Unique ID needed to retrieve the data for that specific declaration.

integer

None.

PeriodEnd

Denotes the end of the period the declaration covers.

date

None.

PeriodStart

Denotes the start of the period the declaration covers.

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "LastUpdateDate": "2024-12-04T19:59:44.6938967+01:00",
    "ClientId": 1,
    "CurrentStepName": "sample string 2",
    "DeclarationId": 3,
    "PeriodEnd": "2024-12-04T19:59:44.6938967+01:00",
    "PeriodStart": "2024-12-04T19:59:44.6938967+01:00"
  },
  {
    "LastUpdateDate": "2024-12-04T19:59:44.6938967+01:00",
    "ClientId": 1,
    "CurrentStepName": "sample string 2",
    "DeclarationId": 3,
    "PeriodEnd": "2024-12-04T19:59:44.6938967+01:00",
    "PeriodStart": "2024-12-04T19:59:44.6938967+01:00"
  }
]