Provider
|
eTax_webservice
|
Method
|
GetPTCensusPeriods
|
Description
|
This method will return all the fully taxable periods the person have had since the given date.
Periods with an end
date before the given date will not be included.
|
Method URL
|
https://aka.nanoq.gl/etax_webservice/PersonalTax.asmx?op=GetPTCensusPeriods
|
Test method URL
|
https://aka.nanoq.gl/etax_webservice/PersonalTax.asmx?op=GetPTCensusPeriods_Test
|
Test method request/response
|
To use the test method the correct user credentials must still be used.
No matter the date and cpr number passed to the method, the method will return two periods and an error message:
Period 1 2015-01-01 to 2015-12-31, period 2 2016-01-01 to 2016-05-31.
ErrorMessage: "No error message"
|
WSDL
|
https://aka.nanoq.gl/etax_webservice/PersonalTax.asmx?WSDL
|
Status
|
In production.
|
Input
|
|
Name
|
Type
|
Format
|
Allow Null
|
Description
|
UserId
|
String
|
|
No
|
The username
|
PassWord
|
String
|
|
No
|
The password.
|
CPR number
|
Number
|
10 digits e.g. 0101991233
|
No
|
The CPR-number of the person to request census periods for.
|
FromDate
|
String
|
dd-mm-yyyy
(ex. 01-12-2016)
|
No
|
The date from when to get periods from. Periods with an ending
date older than this will be included.
|
Output
|
|
Type
|
GetPTCensusPeriodsResponse object.
|
GetPTCensusPeriodsResponse.Periods |
Type=List<PTCensusPeriod>. Empty list if no periods were found. |
PTCensusPeriod |
Startdate, type=DateTime, format=ex. 2016-12-31T00:00:00, not nullable.
EndDate, type=DateTime, format=ex. 2016-12-31T00:00:00, not nullable. |
GetPTCensusPeriodsResponse.ErrorMessage |
Type=string. Containing a terse error message, explaining the error. Null if no error. |