TaxDo
Back to Tax ID Guides

Check a Latvia Tax ID: the Tax Identification Number (TIN), Personas Kods and PVN

Updated On November 14, 2026
11 minutes Read

Sources last verified: 28 October 2026

Official sources cited at the end of this page.

A Copenhagen pharmaceutical wholesaler is onboarding two Latvian payees: a Riga contract laboratory and a self-employed pharmacist. Both quote 11-digit tax numbers. The laboratory’s is its Register of Enterprises registration number, the pharmacist’s her personas kods (personal code); once either registers for VAT, LV in front makes it a PVN number, which the State Revenue Service (VID) database and the EU’s VIES confirm.

The onboarding file needs three answers that no single Latvian service gives together: whether the number is built correctly, whether it belongs to the party on the invoice, and whether that party is registered for VAT today. Below, the file goes through each official route: how to check each number, what each route leaves out, and the individual’s side.

01 · Latvia Tax ID Number at a Glance

Every Latvian taxpayer has one nodokļu maksātāja reģistrācijas kods (taxpayer registration code) of 11 digits, and for most it is a number another register issued first.

PointLatvia, as verified on 28 October 2026
Issuing authorityPilsonības un migrācijas lietu pārvalde (PMLP, Office of Citizenship and Migration Affairs) for the personas kods; Uzņēmumu reģistrs (Register of Enterprises) for registered entities; Valsts ieņēmumu dienests (VID, State Revenue Service) for the rest
Local name (individuals)personas kods (personal code), identical to the taxpayer registration code
Local name (businesses)reģistrācijas numurs (registration number); PVN reģistrācijas numurs (VAT registration number)
Format and length11 digits. Personal codes to 30 June 2017: date of birth, century digit, four digits. From 1 July 2017: 3, then random digits. Entities: 4 or 5 (Register of Enterprises), 9 (VID)
Check ruleNo check digit in the law or in the OECD and EU sheets
Registry number relationSame number: the Register of Enterprises number is the taxpayer registration code
VAT/GST relationPVN number = LV + the registration number or personal code
Legal basisCabinet Regulation No 537 of 2015, point 21; Natural Persons Register Law, Section 6; the OECD sheet also cites Section 15.1 of the Law On Taxes and Fees
Official lookup for businessesVID public database (PVN status); Register of Enterprises portal; VIES
Official lookup for individualsYour own code is on your passport, identity card and driving licence; VAT-registered individuals appear in the VID database and VIES
Where it is printedIdentity documents; registration documents; tax invoices
Last verified28 October 2026

The same rows for other countries sit in our global tax ID validation guide, which compares how each jurisdiction issues its numbers.

Buyers taking on Latvian laboratories, distributors or freelancers can run each registration number, personal code and PVN number through our tax identity engine, which tests the 11-digit structure before the payee record is saved and keeps a dated note of each check made against it.

02 · How to Check a Latvian Tax ID Number

Checking a Latvian number starts with its shape: eleven digits, no letters apart from the LV of a PVN number, and a leading digit that points to the register behind it.

Tax identification number types and their formats

IdentifierWho holds itFormatExample (fictitious)
Personas kods, old formPeople coded up to 30 June 2017 who kept itDDMMYY birth date, century digit (0 for the 1800s, 1 for the 1900s, 2 for the 2000s), four digits300299-1XXXX: fails, as 30 February does not exist
Personas kods, new formPeople first registered from 1 July 2017, or who asked to change3, then 2 to 9 (since June 2021), then nine random digits37XXXX-XXXXX (masked)
Registration numberEntities in the Register of Enterprises11 digits beginning 4 or 540XXXXXXXXX (masked)
VID taxpayer codeTaxpayers outside both registers11 digits; VID entity numbers begin 990XXXXXXXXX (masked)
PVN numberVAT-registered taxpayersLV + the 11-digit codeLV40XXXXXXXXX (masked)

The masking copies the OECD sheet, so no example can match a real person; the one full example rests on an impossible date.

Errors that recur in Latvian supplier files

The hyphen is the first trap. Identity documents print the code as six digits, a hyphen and five digits, while the European Commission’s sheet says no dash belongs in the reported TIN, so strip it and store the eleven digits alone.

The LV prefix is the second trap. It makes a VAT number only once VID has registered the holder, and VID’s own search wants the digits without the letters. LV written in front of a code never registered for VAT gives a number VIES will not confirm.

A leading 3 does not prove the new form. Someone born on the 30th or 31st has an old code opening with 3 and then 0 or 1, while under the rule in force since 2021 a new code continues with 2 to 9. No check digit is published: Cabinet Regulation No 98 of 2009, since repealed, made PMLP’s code-forming algorithm restricted-access information. A format test confirms length, the date logic of an old code and the opening digits, and no more.

03 · TIN Verification and Lookup for Latvian Businesses

Three official routes verify a Latvian supplier, each answering its own question: the Register of Enterprises for who the entity is, the VID public database for PVN status, and VIES for a supply between EU countries.

Step 1: the Register of Enterprises

The analyst starts in the Register of Enterprises information portal, which takes a company name, registration number or keyword. Current public data, free and without login, covers name, number, status, current officials and legal address; history, documents and data on natural persons need authentication. The portal cites Section 4.11 of the law On the Register of Enterprises for the rule that what it publishes matches the register. For the laboratory, a fictitious SIA, the analyst matches name, number (40XXXXXXXXX) and legal address to the invoice and notes the active status.

The register does not show VAT status. VAT registration is a separate application to VID, so a company can be entered, active and correctly named without a PVN number.

Step 2: PVN status in the VID public database

Next comes VID’s search of VAT payers. VID’s instructions (updated 27 August 2026) say it searches by the exact number only, eleven digits without LV, sometimes behind a security code typed by hand. The data may serve only purposes set by the law On Taxes and Fees.

VID’s guidance on VAT registration (31 July 2025) adds a point onboarding checklists tend to miss. A number issued under the special procedure of Section 139.2 of the VAT Law may be used only to receive services from foreign VAT payers or to buy goods in the EU, and the database marks it. On that description, a laboratory invoicing testing services needs a general registration, so a marked result is a reason to ask.

Step 3: VIES for cross-border supplies

For the supply from Riga to Copenhagen, VIES validates VAT numbers used in cross-border transactions. It answers for a number, never a name, and shows name and address only where the Member State permits. VID’s guidance names VIES and its own database as the places a third party checks a PVN number.

Entities outside the Register of Enterprises

Bodies that cannot be entered in the Register of Enterprises receive an 11-character code from VID under point 21.3 of Cabinet Regulation No 537; the OECD sheet gives VID numbers the form 9xxxxxxxxxx. For them the official route is VID’s public database, which includes a register of taxpayers and their structural units.

04 · Personal Code and TIN for Individuals

For a person, the Latvian TIN is the personas kods: the code PMLP assigns on first entry in the Register of Natural Persons is also the taxpayer registration code.

Point 21.1 of Cabinet Regulation No 537 sets that rule. Section 6(1) of the Natural Persons Register Law has PMLP generate the code when it first records a person, so a resident holds a TIN without applying to VID; the OECD sheet confirms that Latvia issues TINs to all resident individuals and entities automatically.

Finding your own personal code

Your code is printed on your passport, identity card and driving licence, the three documents the OECD sheet reproduces with the number highlighted. A foreign worker without a personal code receives an 11-character taxpayer registration code from VID instead (point 21.2).

The self-employed pharmacist

The pharmacist registered with VID as self-employed, and her taxpayer code is her personas kods, here 37XXXX-XXXXX. Registered for VAT, she would quote LV37XXXXXXXXX, because VID builds a natural person’s VAT number from the personal code itself. An individual with an old-form code therefore shows a birth date inside the VAT number, the kind of exposure the Ombudsman cited in 2025 when defending codes without one.

Changing an old code

A person coded by 30 June 2017 may ask PMLP for a new-form code, and the decision takes effect when adopted (Section 6(3) and (4)); a payer holding the old number then needs the new one.

05 · TIN Format and Structure in Depth

Latvia’s personal code changed shape on 1 July 2017, and both shapes remain in use, because a code with a birth date stays valid until its holder replaces it.

The old form, assigned up to 30 June 2017

Transitional provision 4 of the Natural Persons Register Law describes it: six digits for the day, month and year of birth, then a century digit, 0 for the 19th, 1 for the 20th and 2 for the 21st, with an optional hyphen after the sixth digit.

The new form and its three legal steps

Amendments to the Population Register Law, adopted on 17 December 2015 and applied to personal codes from 1 July 2017, set 11 digits beginning “32” (Latvijas Vēstnesis 2016/2.3). The Natural Persons Register Law, adopted on 14 December 2017 and in force from 1 July 2020, fixed only the first digit, 3. Amendments of 17 June 2021 (Latvijas Vēstnesis 2021/118.4) made the second digit a random one from 2 to 9.

The reference sheets show the drift. The Commission’s Latvian sheet, version 15 June 2017, still says new codes start with 32; the OECD sheet, last modified 20 June 2025, gives 3 followed by 2 to 9. A validator built on the older sheet rejects new codes beginning 33 to 39, so test against the law.

Entity numbers and the TIN and VAT number connection

These numbers are 11 digits too: 4xxxxxxxxxx or 5xxxxxxxxxx from the Register of Enterprises and 9xxxxxxxxxx from VID, per the OECD sheet. VID’s 2025 guidance gives the PVN number as the registration number or personal code with the prefix LV, so in Latvia the TIN and VAT number connection is the same digits plus two letters. The same guidance describes a separate number carrying the code EX, used only for the small-business VAT exemption in another Member State (Section 139.1 of the VAT Law). For customs, point 20 of Cabinet Regulation No 18 of 3 January 2017 builds the EORI number from LV and the same 11-digit code, without spaces or hyphen.

06 · Where the Latvian Tax Number Is Required

The 11-digit code follows a Latvian taxpayer onto VAT invoices, customs declarations and the account-opening forms that ask for a TIN.

Section 125(1) of the VAT Law lists the supplier’s VID VAT registration number (point 4) and the customer’s VID or other Member State number (point 6) among the details of a tax invoice, so the laboratory’s invoice carries both PVN numbers. Rates and thresholds are in our Latvia VAT guide, and the steps in our article on Latvian VAT registration.

Issuing authority and the registration process

Tax registration follows the register: a company’s code comes from the Register of Enterprises, a person’s from PMLP’s first record, and anyone else’s from VID. VAT registration is a separate application to VID; under Section 66 of the VAT Law, it may be lodged with the Register of Enterprises together with the company’s registration, and VID decides within five working days.

Banks, self-certification and tax compliance in Latvia

Because Latvia issues a TIN to every resident, a Latvian resident completing a CRS self-certification abroad should give the personas kods, and an entity its registration number; a blank TIN field is a gap to chase. The steps are in our guide to CRS 2.0 and DAC8 self-certification.

07 · Verifying Latvian Tax IDs at Scale

Hundreds of Latvian payees need the same routes run as one process.

1. Test the structure. Syntax validation across 1,000+ TIN types in 210+ countries catches a malformed number before it is sent to an official source.

2. Ask the source. Real-time official lookup in 130+ countries confirms that a number exists, is active and belongs to the declared holder, naming the source on each result, through TIN lookup.

3. Identify the entity. Search by company name across 120+ official business registries, and for higher-risk payees run Verify+, with its 30+ tax-native checks across eight areas.

4. Repeat it on a schedule. Use the API at onboarding, upload up to 50,000 tax ID validations per upload, depending on subscription, and re-validate before payment runs and filings.

5. Hold the record. Every check is stored as audit-ready evidence of the number, the source and the answer.

Individuals looking for their own personal code will find it on the identity documents described in section 04. Responsibility for checking each payee’s number stays with the business; TaxDo supplies the check and the evidence that it was made.

08 · Recent Changes

The rules behind Latvia’s identifiers have moved four times since 2017, and a further change has been requested.

1 July 2017. New personal codes without a birth date, beginning 32; holders of old codes may ask for a new one.

1 July 2020. The Natural Persons Register Law replaces the Population Register Law; Section 6 governs the personal code.

June 2021. The law of 17 June 2021 makes the second digit of a new code random between 2 and 9.

2025. VAT Law amendments of 12 December 2024 add EX numbers for the small-business exemption in another Member State (from 1 January) and the Section 139.2 special registration (from 1 July).

Pending. On 13 February 2025 the Saeima referred to its Legal Committee a collective submission from 10,277 citizens asking that children’s personal codes again carry the date of birth. In a letter of 28 March 2025 to the Committee, the Ombudsman’s office opposed the change; the letter cites no pending draft law. The rule would change only if the Saeima amended Section 6.

09 · Related Reading

Neighbouring guides: Estonia · Lithuania · Global tax ID validation guide

Product: TIN lookup · Business registry

Common Questions

The tax ID in Latvia is the taxpayer registration code, an 11-digit number usually issued by another register first. For a person it is the personas kods from PMLP, printed on the passport and identity card. For a company it is the Register of Enterprises number, beginning 4 or 5. Taxpayers in neither register, such as a foreign worker without a personal code, receive a code from VID. A VAT-registered holder’s PVN number is the same code with LV in front.

References

General information on Latvia’s personas kods, Register of Enterprises numbers and PVN numbers under the Natural Persons Register Law, Cabinet Regulation No 537 of 2015 and the VAT Law, checked against the official sources above on 28 October 2026. It is not tax advice: confirm how the rules apply to you with the State Revenue Service (VID) or a Latvian tax adviser.
TaxDo
TaxDo Team Tax & Regulatory Advisory Team LinkedIn Facebook X

Unmatched Real-Time Tax ID Validation in 130+ Countries

TaxDo gives you instant access to real-time Tax ID validation/lookup in 130+ countries, powered by direct connections to official tax authorities. Skip the format checks. Get the truth.