invalid_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
SIprefix, spaces and dashes ourselves.
| Retry? | No, the result will be the same unless the request changes. |
|---|---|
| Billing | 0 units. |
type | https://maticna.si/docs/errors/invalid_tax_number |
Example response
HTTP/1.1 422Content-Type: application/problem+jsonX-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" } ]}Other errors with status 422
invalid_vat_id· Invalid VAT IDinvalid_registration_number· Invalid registration numberquery_too_short· Query too shortinvalid_webhook_url· Invalid webhook URL
Source: FURS · unofficial source, not an official extract · Terms · Privacy · maticna.si