High-performance validation tools for Latvian business data.
Fetch Latvian company data by registration number.
| Parameter | Type | Description |
|---|---|---|
reg_nr |
String | Required. 11-digit registration number. |
curl "https://api.bergmanis.com/company?reg_nr=40003000631"
{
"success": true,
"reg_nr": "40003000631",
"data": {
"name": "LATVENERGO, AS",
"address": "Pulkveža Brieža iela 12, Rīga, LV-1230",
"status": "Active",
"type": "Akciju sabiedrība"
}
}
Validate Latvian VAT number format.
| Parameter | Type | Description |
|---|---|---|
number |
String | Required. Format: LV12345678901 |
curl "https://api.bergmanis.com/vat?number=LV40003000631"
{
"success": true,
"country_code": "LV",
"vat_number": "40003000631",
"full_vat": "LV40003000631",
"valid_format": true,
"message": "VAT format is valid."
}
Validate Latvian IBAN structure and checksum.
| Parameter | Type | Description |
|---|---|---|
iban |
String | Required. 21 characters starting with LV. |
curl "https://api.bergmanis.com/iban?iban=LV21HABA0001234567890"
{
"success": true,
"iban": "LV21HABA0001234567890",
"country": "Latvia",
"bank_code": "HABA",
"valid": true,
"message": "IBAN is valid."
}
Missing or invalid parameters.
Endpoint does not exist.
Unexpected server error.