Latvia

Validate tax registration numbers as per Latvia's validation rule. All businesses in Latvia are assigned 11 or 13 -digit global unique identifier called Latvia LV VAT.

Ensure that the following details are correct for Latvia LV VAT:

  • Country Code: LV

  • Validation Type: ORA_LT_VAT

  • Description: Latvia LV VAT

  • Number of digits: 11 or 13

  • Format:

    If 13 digits entered, then first 2 digits are the CONTRY CODE and the next eleven digits after the Country Code prefix should be numeric. If only 11 digits entered, then all digits have to be numeric.

    Legal Person 13 characters: N(1-10)+C(1) N(1)={4,5,6,7,8,9}

    Natural person N(1-11) if N(3-4)={02} and N(5-6)%4>0, N(1-2)={01-28} if N(3-4)={02} and N(5-6)%4=0, N(1-2)={01-29} if N(3-4)={04,06,09,11}, N(1-2)={01-30} if N(3-4)={01,03,05,07,08,10,12}, N(1-2)={01-31} N(3-4)={01-12}

    A(1-2) = {LV}

  • Check digits: No

  • Check Digit Validation: No

  • Default Validation: ORA_LV_VAT

Example:

Good:

  • LV40003584818

Bad:

  • LB41234567891 (Invalid country code)

  • 41234567891 (Missing country code)

  • LV4123456789 (Invalid format - too short)

  • LV412345678911 (Invalid format - too long)