Slovenia: company identifier formats (Matična številka)

Shape, check digit, accepted and refused examples and the API call for Matična številka in Slovenia. Every example on this page is run through the same validators as the free identifier validator, so a value shown as accepted is a value the validator accepts.

Matična številka

FieldValue
RegisterBusiness Register of Slovenia (PRS), AJPES
ShapeN{6} C N{3}
Check digitAdvisory. 10 digits: a six-digit serial, the check digit and 000, the company itself (any other ending is a business unit of it). A 7-digit number is read with 000 added; spaces, dots and hyphens are dropped. Weights 7,6,5,4,3,2 over the first six digits, t = sum mod 11, check = 11 minus t (10 reads 0), the seventh digit. Advisory: a mismatch is a warning, not a rejection.
Worked example (accepted)5043611000
Normalised form5043611000
Also accepted as input5043611 · 5043 611 000
A one-character slip5043612000 is accepted with a warning
Regex (normalised form)^[0-9]{7}000$
API callGET /companies/search?country=SI&company_number=5043611000
VAT numberThe register data holds no VAT number for this identifier.

Notes and scope

The matična številka is the company number of the Business Register of Slovenia, not the tax number: no VAT number is served. The check digit is only a guide, because a few real companies do not satisfy it. Companies only (d.o.o., d.d., d.n.o., k.d. and SE); sole traders, business units, branches, cooperatives, associations, institutes and public bodies are never served.

Call it from code

curl "https://api.prometiam.com/functions/v1/risk-api/companies/search?country=SI&company_number=5043611000" \
  -H "Authorization: Bearer YOUR_API_KEY"

Shape notation: N digit · L letter · X digit or letter · C check digit or character · {n} repeat n times.

A valid shape and check digit prove that a number is well-formed, not that a company holds it. Only a lookup in the register answers that.

Source and credit

Register data that the API serves for Slovenia carries this credit:

Source: Poslovni register Slovenije – AJPES (the Business Register of Slovenia of the Agency of the Republic of Slovenia for Public Legal Records and Related Services), published on the Open Data Slovenia portal (OPSI, https://podatki.gov.si/dataset/9ee1a9aa-c224-4995-b2ad-3760d7af0748) under the Creative Commons Attribution 4.0 licence (https://creativecommons.org/licenses/by/4.0/). Adapted by Prometiam (status read from the name marker and the marker removed from the name, house numbers normalised).

Related pages

Sign up · API documentation

The free trial lasts 14 days and includes 500 credits. A card is required and nothing is charged during the trial; it then continues as Starter (EUR 9.99/month) unless you cancel.

Frequently asked questions

How is the Matična številka checked?
10 digits: a six-digit serial, the check digit and 000, the company itself (any other ending is a business unit of it). A 7-digit number is read with 000 added; spaces, dots and hyphens are dropped. Weights 7,6,5,4,3,2 over the first six digits, t = sum mod 11, check = 11 minus t (10 reads 0), the seventh digit. Advisory: a mismatch is a warning, not a rejection.