Provider
|
eTax_webservice
|
Method
|
SubmitFeeStatusUpdates
|
Description
|
This method is intended for use by accounting systems to update the status of a fee in Arbejdsgiver Registret (AR), specifically when a fee is Posted (Bogført) or Rolled Back (Tilbageført) in the accounting system.
|
Production URL: Prisme
|
https://aka.nanoq.gl/etax_webservice/FeeCallBackService.asmx
|
Production URL: XAL
|
https://aka.nanoq.gl/etax_webservice/FeeCallBackService.asmx
|
Test URL: Prisme
|
http://etaxprisme.knno.local/etax_webservice/FeeCallBackService.asmx
|
Test URL: XAL
|
Not applicable.
|
Input
|
SubmitFeeStatusUpdatesRequest object. This object has 2 properties: a Credentials object consisting of a username and password, and an array of FeeStatus objects, which consist of a FeeId and a Status.
|
Name
|
Type
|
Format
|
Allow Null
|
Username
|
String
|
|
No
|
Password
|
String
|
|
No
|
FeeId
|
String
|
36 character GUID
|
No
|
Status
|
String
|
Enum - Posted or RolledBack
|
No
|
Output
|
SubmitFeeStatusUpdatesResponse object. This object has one property, an array of FeeStatusError objects, which consist of a FeeId, an ErrorType, and a Message. If the returned array is empty, all FeeStatusUpdates can be assumed to have been received and processed by AR.
|
Name
|
Type
|
Format
|
Notes
|
FeeId
|
String
|
36 character GUID.
|
Unique identifier of the Fee in AR.
|
ErrorType
|
String
|
Enum - InvalidOrNoEntity, InvalidValue or ServiceUnavailable.
|
- InvalidOrNoEntity: No Fee matching the input FeeId exists in AR.
- InvalidValue: The input Status does not conform to the Status enum.
- ServiceUnavailable: A 'catch-all' error indicating a system error in AR.
|
Message
|
String
|
|
An optional message containing information about the error.
|
Error contingency actions
If fee callbacks are submitted and the sender never gets the response, the sender will natually want to send theese again since the sender have no valid proof that they were received. Therefore if fee callbacks are sent again and these already have been received, the method will not return with an error response, but instead return with a received response, but will not change them - since they already are changed.