When you log in to MyTax, your tax-related letters will change from paper to electronic form automatically. Read more about the changes.
Vero API testing: Are there any specific requirements for the format of the personal identity code?
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.