{
  "code": "LV",
  "name": "Latvia",
  "status": "limited",
  "currency": "EUR",
  "identifier_schema": [
    {
      "field": "registry_code",
      "label": "Registration number",
      "required": true,
      "pattern": "^[0-9]{6}$|^[0-9]{8,9}$|^[3-5][0-9]{10}$",
      "notes": "Most companies carry an eleven-digit number, but tens of thousands of legacy registrations carry six, eight or nine digits. A strict eleven-digit rule rejects roughly seven per cent of company records, so the published pattern admits the legacy forms deliberately."
    },
    {
      "field": "vat_number",
      "label": "VAT number",
      "required": false,
      "pattern": "^LV[0-9]{11}$",
      "notes": "The country prefix followed by the registration number. Modern registrations only."
    },
    {
      "field": "legal_form",
      "label": "Legal form",
      "required": false,
      "pattern": null,
      "notes": "Decides which statements the entity is obliged to prepare, and therefore which ratios can exist."
    }
  ],
  "rating_scales": [
    {
      "id": "bureau_score_numeric",
      "label": "Bureau risk score",
      "kind": "numeric",
      "direction": "lower_is_better",
      "grades": null,
      "min": 100,
      "max": 600,
      "notes": "This market publishes a numeric risk score rather than a letter grade, and a lower value is the better one. No published mapping between this scale and a letter scale exists, so the contract does not convert; a policy operating here states its floor as a number on this scale."
    }
  ],
  "industry_schemes": [
    "mcc",
    "nace",
    "national_activity"
  ],
  "notes": "Financial data in this market is published as national open data and refreshed daily, so a value is either published or it does not exist. Two ratios cannot be computed for most companies: the cash flow statement is required only of medium and large undertakings, so operating_cash_flow_ratio returns not_filed for the overwhelming majority of this population; and the published data carries balance-sheet totals without their constituent lines, so short-term borrowings are unavailable and debt_service_coverage cannot be computed here at all. One further ratio, debt_to_ebitda, depends on a depreciation line that only one of the two permitted profit-and-loss schemes contains, and most companies file under the scheme that does not; it is reported as available per case when the value is present and is never promised in advance. Read the credit-risk consequence from the assessment payload rather than inferring it from a ratio count: of the three credit-risk ratios, one is published for every filer, one is conditional and one is unobtainable, so most Latvian assessments carry thinner credit-risk evidence than decision rules generally assume and are capped accordingly. Transaction categories are not supplied by the account-information provider in this market and are derived by a Credit Atlas classifier from transaction text, so every category carries a confidence and category_source says so on each transaction. Bureau data is contracted for this market, but it arrives as a numeric risk score rather than a letter grade, so a policy floor written as a grade has no scale here and must be restated as a score. The bureau also reports existing credit per subject: open facilities, outstanding balances, monthly instalments and credit limits."
}
