The most common issues and error situations that may occur when using the Vero API interfaces.
Ensure that all required technical specifications and onboarding procedures have been completed before starting production use.
Scam messages have been sent out in the Tax Administration’s name. Read more about scams.
The most common issues and error situations that may occur when using the Vero API interfaces.
Ensure that all required technical specifications and onboarding procedures have been completed before starting production use.
Make sure that you have completed the API portal acceptance testing:
If the acceptance testing has not been completed, the APIs will return the following error:
Check the status of the software registered in the API portal, the selected APIs, and the API key used in the requests:
Read more: Software registration and acceptance procedure - vero.fi
Make sure that the following headers are included in every API request. If any of the following headers are missing, the request will fail and API access will be blocked.
Depending on the missing header, the following error messages may be returned:
Required headers:
Additional headers required by Vero APIs:
Read more: Technical Guidelines for Vero API Interfaces - vero.fi
The HTTP 429 (Too Many Requests) error is returned when there are too many concurrent requests to the interface or when the number of requests exceeds the processing capacity of the interface.
Call throttling and load management
The Vero API interfaces apply throttling and rate limiting to ensure the stability and balanced use of the service. This means that the service controls both the request arrival rate and the number of concurrent requests, and dynamically limits them according to the capacity available. The limitations are typically based on the following principles:
If any of the above limits is exceeded, the interface returns the response: HTTP 429 Too Many Requests
Operating model for interface users
Interface users should implement client-side load management in accordance with the following best-practice principles:
Example starts
Example:
1. Attempt 1: immediately
2. Attempt 2: +1 s
3. Attempt 3: +2 s
4. Attempt 4: +4 s (+ random variation)
Example ends
Limiting concurrency
Idempotent calls
Making use of hints
Important to note
Certificate-related error messages:
API interface access not granted in the Certificate Service:
Certificate has expired:
Use of test and production certificates:
Check whether the API requires Suomi.fi authorization.
Other authorization-related errors:
The requirement for Suomi.fi authorization is specified in each API’s documentation in the API portal. Not all APIs require Suomi.fi authorization.
Invalid input or connection issues:
Avoid calling APIs during scheduled maintenance windows:
Frequently asked questions that may occur when using the Vero API interfaces:
Returns submitted through the Vero API (for example, VAT Recapitulative Statements) are not transmitted to MyTax immediately after submission.
The returns are processed in batch runs in the background system on weeknights, and only after that will the information be transmitted to MyTax.
If a return is submitted after office hours, it will not be processed in the batch run until the next weeknight. Further, returns are not processed on weekends and midweek holidays: the processing will take place on the next weeknight.
Note: if a task is generated for the Tax Administration because the return requires examination, the information will not be transmitted to MyTax until after the task has been processed.
The GetVATPeriods endpoint can be used to retrieve information from the concluded filing periods of a chosen year. In other words, a filing period can be retrieved, at the earliest, on the first working day of the following month.
For example, if the duration of the filing period is
If no periods are found an empty message is returned.
What causes the following error? Are there any specific requirements for the format of the Finnish personal identity code (personal ID) when testing the Vero API?
400 Bad Request on POST request for "https://apitest.vero.fi/FIS/General/Notification/Test/Subscribe/v1":
{"ErrorCode":"1007","ErrorText":"Validation errors in input","ErrorDetails":[{"ErrorCode":"1102","ErrorReference":"123456-9123","ErrorDescriptionEN":"Invalid Personal Id.","ErrorDescriptionFI":"Invalid Personal Id.","ErrorDescriptionSE":"Invalid Personal Id."}, ...]}
Answer:
The error occurs because the individual number (the latter part of the personal identity code) starts with 9. Personal identity codes whose individual number begins with 9 are artificial personal identity codes intended for specific entities, and therefore additional validation checks are applied to them. For testing purposes, it is recommended to use personal identity codes where the individual number begins with 8 or lower.