Skip to main content

Export

The Swedish Tax Agency may request an export of register data from the journal memory in XML format.

export

From the efsta EFR point of view, an export is still triggered locally from the EFR. The content of the file, however, must follow the Swedish standard export model and now includes TCS / control-system related elements when applicable.

Export via API

The export can also be triggered via GET request.

GET /control/export

Query

NameValueExample
fromOptional from date (yyyy-mm-dd)2000-01-01
tillOptional till date (yyyy-mm-dd)2001-01-01
targetOptional, name of target pathC:/temp

Response Header

NameValue
Content-typeApplication/octet-stream
Content-dispositionAttachment;filename=export.tar

Request Example

GET http://localhost:5618/control/export?target=C:/temp