Skip to content

invalid_tax_number

HTTP 422invalid_tax_numberInvalid tax number

The tax number does not have 8 digits or fails the mod-11 check. We reject it before the query reaches the database.

Common causes

  • a typo
  • a missing leading zero

What to do

  • Check the input; we strip the SI prefix, spaces and dashes ourselves.
Retry?No, the result will be the same unless the request changes.
Billing0 units.
typehttps://maticna.si/docs/errors/invalid_tax_number

Example response

HTTP/1.1 422
Content-Type: application/problem+json
X-Request-Id: req_01JB2Q8X6S7T
{
"type": "https://maticna.si/docs/errors/invalid_tax_number",
"title": "Invalid tax number",
"status": 422,
"detail": "The tax number does not have 8 digits or fails the mod-11 check. We reject it before the query reaches the database.",
"instance": "/v1/entities/12345679",
"code": "invalid_tax_number",
"request_id": "req_01JB2Q8X6S7T",
"errors": [
{
"field": "tax_number",
"code": "checksum"
}
]
}

All errors

Source: FURS · unofficial source, not an official extract · Terms · Privacy · maticna.si