What the API can and cannot do
The API is also called NemVirksomhed and consists of three services for accounting software vendors. The program pre-fills the return, the user follows a link to TastSelv Erhverv and approves, and the receipt can be shown in the program.
| Service | What it does | What to know |
|---|---|---|
VirksomhedKalenderHent | Fetches the business’s deadlines | Gives deadlines only, not periods — derive the period from the frequency |
ModtagMomsangivelseForeloebig | Sends a draft and returns a link | Does not file; the business approves on skat.dk |
MomsangivelseKvitteringHent | Fetches the receipt | Before approval it answers with an advisory |
The API is free; the vendor carries its own costs and first-line support under the cooperation agreement with the Tax Agency.
Five things we learned
- Only rsa-sha1. The gateway rejects rsa-sha256 signatures and accepts only rsa-sha1 with a sha1 digest. An expired timestamp is rejected too.
- Errors come with HTTP 200. Business errors sit in the response structure (error or advisory), not as a SOAP Fault. A client that only catches Faults reads “no data” when it actually has no access.
- Error codes missing from the table. We met 8283 (search period over 2 years), 2510 (foreign purchase VAT requires the “Rubrik A-varer” box — explicitly 0 for purchases outside the EU) and 475 (no returns for the period).
- Whole kroner. Amounts are integers in kroner without øre, in 17 fields in a fixed order.
- Access expires quietly. The customer’s delegation to the software vendor expires after 3 years. A sudden error 4801 for a customer that has worked for years is an expired delegation, not a bug.
The right has another name. The system user’s right in TastSelv Erhverv is called “Adgang til EMCS B2B Systembruger” — without the word VAT. And a production certificate (OCES3 system certificate, ordered in MitID Erhverv) does not work against the test environment.
Should you build it yourself?
If you use a registered accounting program, it must support VAT filing through the Tax Agency’s VAT API — so normally you build nothing. Building makes sense if you have your own finance system or are a software vendor. The contact to the Tax Agency’s API team is on skat.dk.
Questions and answers
Can the API file VAT without anyone approving?
No. The return becomes a draft that the business or accountant approves on skat.dk.
What does the API cost?
It is free to use; the vendor carries its own costs.
Where are the endpoints?
They are handed out under the cooperation agreement and are confidential, so we do not show them here.
Sources
- skat.dk: API for VAT filing — read 19 November 2026 (Danish)
- BEK nr. 811 af 22. september 2026 — annex 3: VAT filing via the VAT API (Danish)
- Our own tests against the Tax Agency’s test environment, August–October 2026
Fixed price, no commitment
Building a VAT integration?
Tell us which system it concerns. We answer with a plan for the integration and a fixed price.
- A fixed price before we start
- An answer by e-mail, no calls
- Your details are used only to answer you